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
Paul Arthur
4aa256cb07
Clean up some PHPDoc crap
...
Remove misleading, unvetted, or in some cases just plain wrong data.
Packages and categories weren't being used correctly. They still
aren't.
2011-04-04 17:37:10 -04:00
momo-i
aee809f1dc
header comment replace for phpdoc
2011-02-03 10:07:39 +09:00
Paul 'flowerysong' Arthur
1cb0983ed0
Cosmetics: remove trailing whitespace
2010-03-14 20:14:52 +00:00
Karl 'vollmerk' Vollmer
45f382b06d
Add vim modelines to all php files (Thx ascheel)
2010-03-14 04:53:15 +00:00
Karl 'vollmerk' Vollmer
053a91397b
fix typo on get_class() check causing it to not identify song objects correctly
2009-05-11 12:41:25 +00:00
Karl 'vollmerk' Vollmer
abc6eac0e3
maybe fix #404 , unconfirmed implemented #405 other misc cleanup
2009-03-01 23:47:36 +00:00
Karl 'vollmerk' Vollmer
2080e50d0a
bump xspf jukebox version
2009-01-28 21:15:18 +00:00
Karl 'vollmerk' Vollmer
9862fe72c6
fixed a problem where random urls were not being used by the flash player
2008-11-14 20:40:23 +00:00
Karl 'vollmerk' Vollmer
f593f18131
Commit, still no internet paying for it.. curse you free.fr
2008-10-27 09:24:34 +00:00
Karl 'vollmerk' Vollmer
0b733c05ee
new flash player that still does not work, fixed some bad references to the ellipsis thresholds
2008-04-11 02:35:32 +00:00
Karl 'vollmerk' Vollmer
f5d4dc8c3b
few more copyright updates
2008-01-06 10:03:47 +00:00
Karl 'vollmerk' Vollmer
c09c526a31
new version of the flash player, fixes a playlist repeat bug
2007-11-04 18:09:35 +00:00
Karl 'vollmerk' Vollmer
0f0ec52f25
switched to lacy morrows flash player, allows skinning.. (Thx hugoh)
2007-10-15 08:04:43 +00:00
Karl 'vollmerk' Vollmer
d61f395465
more tweaks, hopefully fixing the flash player mostly needs to be embeded to fix some remaining bugs
2007-07-29 22:27:45 +00:00
Karl 'vollmerk' Vollmer
83c7a25a76
missed some requires, tweaked the lastfm class and removed an unused function from general
2007-07-05 07:13:25 +00:00
Karl 'vollmerk' Vollmer
edf482ff3d
moved back to a GPL flash player for 3.4 codebase, fixed some stream issues (non-m3u playlist types were failing) and tweaked the look of the /test.php page and fixed the xspf playlist generation
2007-07-05 06:05:18 +00:00
pb1dft
6fa5b901d5
Embedded the flash player & fix for admin>users
2007-03-07 22:22:08 +00:00
Karl 'vollmerk' Vollmer
3460950693
tweaked album of the moment mojo and theoritical fix for flash player
2007-01-08 02:32:45 +00:00
pb1dft
2e34002871
Updated flash player
2007-01-04 16:35:16 +00:00
pb1dft
095bc809d6
Added new flash player and fixed a lot of other problems. Implemented Export to ItunesDB
2006-11-13 17:48:51 +00:00
Karl 'vollmerk' Vollmer
598a200b96
ok this is ugly but it works
2006-10-30 04:46:45 +00:00
Karl 'vollmerk' Vollmer
acdf53ccfd
wups forgot the file I moved
2006-10-29 19:59:42 +00:00
Karl 'vollmerk' Vollmer
c157e9fdd6
moving some stuff around, fixed a few stylesheet bugs and a sorting issue on albums
2006-10-29 19:59:21 +00:00
pb1dft
877e82302c
Added the needed flash files for a flash based player
2006-10-09 22:29:58 +00:00