From 328a9f97592a5c1593d6e9c7807962c5adbae53e Mon Sep 17 00:00:00 2001 From: Liz Date: Mon, 4 Nov 2024 09:36:29 -0500 Subject: [PATCH] update username variable for nfc media player --- Raspberry_Pi_NFC_Movie_Player/nfc_movie_player.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Raspberry_Pi_NFC_Movie_Player/nfc_movie_player.py b/Raspberry_Pi_NFC_Movie_Player/nfc_movie_player.py index d2352aad2..3bfefc8bc 100644 --- a/Raspberry_Pi_NFC_Movie_Player/nfc_movie_player.py +++ b/Raspberry_Pi_NFC_Movie_Player/nfc_movie_player.py @@ -14,9 +14,9 @@ from adafruit_pn532.spi import PN532_SPI # ---- Update these file paths for your raspberry pi! ---- -home_path = "/home/YOUR-USERNAME" -image_path = f"{home_path}/Pictures/blinka.png" -movie_path = f"{home_path}/Videos" +username = "YOUR-USERNAME" +image_path = f"/home/{username}/Pictures/blinka.png" +movie_path = f"/media/{username}/YOUR-M.2-DRIVE-NAME" csv_file = "movies.csv" # ----