to have a random list of videos you can use the playlist function of MPlayer :
The script :
- Code: Select all
## setup MPlayer aruments, remove -nosound if you want the video
## to play sound. If you have to specify the video driver to use
## then add that to the list
MPLAYERARGS="-nosound -nolirc -wid $XSCREENSAVER_WINDOW -nostop-xscreensaver -fs -really-quiet"
exec mplayer $MPLAYERARGS -loop 0 -shuffle -playlist /path/to/playlist
The playlist can be a simple text file with the path to a video file on each line.
Users browsing this forum: Google [Bot] and 3 guests