Skip to content

Commit 10b39d0

Browse files
committed
Update nfc_movie_player.py
1 parent bbee0be commit 10b39d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Raspberry_Pi_NFC_Movie_Player/nfc_movie_player.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def read_card():
9696
movie_name = get_movie(title)
9797
if movie_path:
9898
video = f"{movie_path}/{movie_name}.mp4"
99-
subprocess.run(["sudo", "-u", "adafruit", "vlc", "--fullscreen", video], check=False)
99+
subprocess.run(["sudo", "-u", username, "vlc", "--fullscreen", video], check=False)
100100
now_playing = True
101101
else:
102102
current_time = datetime.now().strftime("%I:%M %p")

0 commit comments

Comments
 (0)