Skip to content

Commit 328a9f9

Browse files
committed
update username variable for nfc media player
1 parent 60ecc7e commit 328a9f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Raspberry_Pi_NFC_Movie_Player/nfc_movie_player.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
from adafruit_pn532.spi import PN532_SPI
1515

1616
# ---- Update these file paths for your raspberry pi! ----
17-
home_path = "/home/YOUR-USERNAME"
18-
image_path = f"{home_path}/Pictures/blinka.png"
19-
movie_path = f"{home_path}/Videos"
17+
username = "YOUR-USERNAME"
18+
image_path = f"/home/{username}/Pictures/blinka.png"
19+
movie_path = f"/media/{username}/YOUR-M.2-DRIVE-NAME"
2020
csv_file = "movies.csv"
2121
# ----
2222

0 commit comments

Comments
 (0)