< Attached patch rather than inlining >

I've hacked playlist.py to allow for automatic slideshows - when I play
all files (randomly or not) in a directory freevo will show them as a
slideshow.

This requires a SLIDESHOW_DURATION setting in /etc/freevo/local_conf.py
- but will not crash without it.
Not having SLIDESHOW_DURATION set, or having it set to 0 will continue
to act as it does currently, not advancing until keys are pressed.

I'm sure there's a better way to do this, but it's working fine for me
here - I wanted it to have playing when audio is in detach mode.
playlist.play is convenient, as prior to this random playlists are just
strings (filenames) - it is here that they get items created for each
element.

Thanks,
Chris

Attachment: playlist.py.patch
Description: application/unknown

Reply via email to