Thanks for the instructions above, I have followed them through from a brand new install of raspbian lite and have had a couple of problems. I completed the instructions and then rebooted after the crontab instructions.
Nothing happened when I restarted (I am not sure if it should, but figured as much info as possible is useful), so I ran vlc.py in the vlc folder.
That didn't seem to work either, and resulted in the following error message:
Traceback (most recent call last):
File "vlc.py", line 122, in
File "vlc.py", line 102, in start
return_value = subprocess.check_output(['./vlc.sh'])
File "/usr/lib/python2.7/subprocess.py", line 566, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 710, in init
File "/usr/lib/python2.7/subprocess.py", line 1335, in executechild
OSError: [Errno 13] Permission denied
I wondered if it might be because I followed the python 3 instructions earlier, and did the pip2 installation as well as pip3, but it said the dependencies had already been met.
The hardware works, and I copied and pasted the contents of the files, so I think they are ok. I got decent playback from the contents of the playlist using vlc, so that seems ok, and the sound is pretty reasonable.
Any thoughts on what I have done wrong, or what I can do to fix the problems?