Skip to content

Commit

Permalink
Update nfc_movie_player.py
Browse files Browse the repository at this point in the history
  • Loading branch information
BlitzCityDIY committed Nov 4, 2024
1 parent bbee0be commit 10b39d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Raspberry_Pi_NFC_Movie_Player/nfc_movie_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def read_card():
movie_name = get_movie(title)
if movie_path:
video = f"{movie_path}/{movie_name}.mp4"
subprocess.run(["sudo", "-u", "adafruit", "vlc", "--fullscreen", video], check=False)
subprocess.run(["sudo", "-u", username, "vlc", "--fullscreen", video], check=False)
now_playing = True
else:
current_time = datetime.now().strftime("%I:%M %p")
Expand Down

0 comments on commit 10b39d0

Please sign in to comment.