adafruit / pi_video_looper

Application to turn your Raspberry Pi into a dedicated looping video playback device, good for art installations, information displays, or just playing cat videos all day.
GNU General Public License v2.0
451 stars 239 forks source link

How to Randomize / Shuffle Videos in OMXplayer? #136

Closed testataaaa closed 2 years ago

testataaaa commented 2 years ago

Hi there, Love it! So simple! I was wondering how to get OMXplayer to play a random video on the USB stick, rather than playing them in a row? I just can't get it working, not sure how to do this.

Does anybody have suggestions for this?

Thanks!

christiansievers commented 2 years ago

just change the videolooper.ini file. This file is stored in the /boot part of the Raspberry Pi's SD card which means you can edit it directly on your computer. Shutdown your Raspberry Pi, pull out the micro SD card, and insert it into your computer. After your computer displays the files on the card open the video_looper.ini file in a text editor.

Find the line that says "is_random = false“ and change it to "is_random = true“ . That’s it.

testataaaa commented 2 years ago

Too easy! Thanks so much!