diff options
author | Paul Arthur <flowerysong00@yahoo.com> | 2013-01-15 00:56:42 -0500 |
---|---|---|
committer | Paul Arthur <flowerysong00@yahoo.com> | 2013-01-15 11:30:47 -0500 |
commit | e2ca05d5b419944adb3723ab0253c7c35418a0e4 (patch) | |
tree | f4d0635b3690cd6c060acf69c3afebc8a7e67284 /docs/CHANGELOG | |
parent | e2484ee9a0e7f7de16fe2b3d015af59f0c9111c0 (diff) | |
download | ampache-e2ca05d5b419944adb3723ab0253c7c35418a0e4.tar.gz ampache-e2ca05d5b419944adb3723ab0253c7c35418a0e4.tar.bz2 ampache-e2ca05d5b419944adb3723ab0253c7c35418a0e4.zip |
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.
Diffstat (limited to 'docs/CHANGELOG')
-rwxr-xr-x | docs/CHANGELOG | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/CHANGELOG b/docs/CHANGELOG index 1b7ff2d4..a839d76a 100755 --- a/docs/CHANGELOG +++ b/docs/CHANGELOG @@ -4,6 +4,8 @@ -------------------------------------------------------------------------- v.3.6-FUTURE + - Fixed streaming on Android devices and anything else that expects to + be able to pass a playlist URL to an application and have it work - Removed the SHOUTcast localplay controller -------------------------------------------------------------------------- |