Get started with a Raspi with ethernet or WiFi, and connect it to your network, so you can easily login via ssh to make changes to the script, other files or the system in general:
User pi, password mp4museum, find your IP with this guide from raspberrypi.org
Windows SSH Client: Download PuTTy
Mac: Use the Terminal App and type ssh pi@(add IP here, or try “mp4musem.local” instead of IP)
Many commands involve sudo to get admin access, so be careful. Or not, you can always re-write the standard image 😉 There is no such thing as failure, just call it “iterative design”.
Also, find additional resources on GitHub
Remount for Write Access
After logging in, start by remounting the filesystem for write access.
sudo mount -o remount,rw /
Replace the path / with /media/video if you would like to change the loop file on mp4musem-sync.
Edit the main script
With Nano, you get a basic text editor in the console. For example, use
to open the main script file. It contains event handlers for button functionality, playing the startup logo film, and the main loop indexing and playing from USB.
After your changes are done, press “CTRL + X” to exit, and answer “y” to save the editor to the file.
Note: On mp4m-sync, the player is started as a service, there is no script.
Reboot the machine
to see if your changes are successful. Please not that this will put the card back into read-only mode.