mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-04 18:29:40 +02:00
![]() 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. |
||
---|---|---|
.. | ||
Original | ||
crossdomain.xml | ||
LICENSE | ||
xspf_jukebox.fla | ||
xspf_jukebox.swf | ||
xspf_player.php |