Raspberry pi Slice - Slideshow 25,000 images and random background mp3 track
Raspberry pi Slice - Slideshow 25,000 images and random background music
The Pi Slice (or more accurately, Kodi) has tremendous problems playing slideshows with a large number of images. It also appears that this problem is exacerbated by overclocking - more on that in another article. You'll soon discover the system freezes and becomes unresponsive as soon as more than a few thousand photographs are added. This problem is almost certainly a failure when scraping the images for the Exif information. A shame because I don't want to use it, but there is no option within Kodi to override this behaviour.
The same problem exists when you want to randomly play from a large number of mp3 files too. [20,000]
With a little customisation I have managed to overcome this massive shortcoming. This is what I did:
Split my music files, randomly, into 50 music directories and 50 picture directories.
On system startup, set the Slice's music directory and the Slice's picture directory randomly to one directory of each type and drop immediately into the slideshow, with a randomly chosen picture and mp3 track. The music is set to pause as the system reboots nightly and I don;t want music playing at midnight!
Remap the Slice's remote control so the following functions can be controlled when the slideshow is running:
• Next / previous mp3 track • Play / pause mp3 track • Next / previous picture • Volume up / down
Reboot the system nightly so there is (almost) always a different selection of pictures and music for each day.
TO BE CONTINUED