1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-04 18:29:40 +02:00
ampache/modules/flash
Paul Arthur e2ca05d5b4 Make playlist downloads idempotent
Should fix the VLC plugin, as well as allow direct use of an Ampache
site on Android devices.

First, split the Stream class into an instantiable class that does the
playlist wrangling and a static class that handles the streaming stuff.

How does this work? Well, stream.php does its fancy stuff like
gathering the media IDs and clearing the playlist, but instead
of generating the playlist file there we use the Stream_Playlist
class to store the list of URLs in the database, then redirect to
play/index.php to create the actual download (there are some magic
playlist types like localplay that don't need to redirect.)
The playlist will be cached as long as that stream session is active, so
it can be downloaded multiple times and by clients that don't share the
browser's cookie cache.

Clean up the playlist generation by reducing copypasta.
2013-01-15 11:30:47 -05:00
..
Original switched to lacy morrows flash player, allows skinning.. (Thx hugoh) 2007-10-15 08:04:43 +00:00
crossdomain.xml Commit, still no internet paying for it.. curse you free.fr 2008-10-27 09:24:34 +00:00
LICENSE few more copyright updates 2008-01-06 10:03:47 +00:00
xspf_jukebox.fla fix typo on get_class() check causing it to not identify song objects correctly 2009-05-11 12:41:25 +00:00
xspf_jukebox.swf bump xspf jukebox version 2009-01-28 21:15:18 +00:00
xspf_player.php Make playlist downloads idempotent 2013-01-15 11:30:47 -05:00