rpi-vidlooper
rpi-vidlooper copied to clipboard
Log when videos are watched
Write to a log file when videos are watched. i.e. /var/log/vidlooper
Helpful in my use case where the player is being installed in a remote location, and I would like some minimal kind of analytics.
I have a quick and dirty method added to the code currently on my player, however I am considering contributing more polished code to GitHub.
Example log entry:
2022-07-08T13:55:25.747095 Playing Video /home/pi/vid/1.mp4
Considerations:
- Command line parameter for specifying custom log file
- logrotate functionality for handling log file rotation
Creating this issue primarily for tracking purposes.
(PSA: My player IS on network at the remote location, but it is a limited access subnet, and I use a VPN and jumpbox to access it. Never expose devices like this directly to the public internet!)