1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-04 18:29:40 +02:00
Commit graph

18 commits

Author SHA1 Message Date
thinca
0391d24438 Set Encoding parameter in ASX files
dd563989%28v=vs.85%29.aspx
2013-06-04 12:23:49 -04:00
Paul Arthur
a90c666801 Cosmetic cleanup of the ASX output 2013-06-04 12:23:13 -04:00
Paul Arthur
d2f3ef1ab9 Scrub output fields in ASX playlists
Closes GH #35
2013-06-04 12:08:08 -04:00
Paul Arthur
323554838d Correct debug output for Stream_Playlist adds 2013-04-29 15:18:24 -04:00
Paul Arthur
cb3484865e Fix song downloads
'download' wasn't in the list of allowed types for Stream_Playlist, so
download attempts were processed as M3U playlists.
2013-04-11 18:19:54 -04:00
Paul Arthur
3a8feaeeff FS#272 - Adding songs to democratic playlist
This is more likely to fix democratic handling.  Untested.
2013-02-07 22:42:44 -05:00
Paul Arthur
46cb6c81c5 FS#272 - Adding songs to democratic playlist
This might fix democratic handling.  Untested.
2013-02-07 14:35:03 -05:00
Paul Arthur
239ea81fdf Some cleanup of play URL handling
Move parsing from Song into Stream_URL and make it parse more things.
Add the type parameter to all generated URLs instead of adding video to
Video URLs.
2013-02-07 14:24:40 -05:00
Paul Arthur
253f2e621a Use parameterised queries in Stream_Playlist 2013-01-29 10:48:44 -05:00
Paul Arthur
fbbb015950 Use Session for stream sessions 2013-01-28 21:46:00 -05:00
Paul Arthur
1a164ba699 Yank out the Flash player by the roots. 2013-01-28 13:26:11 -05:00
Holger Brunn
959aebe07f Add an HTML5 player
Merge request #20.  Basic, not very pretty, but works and, unlike the
Flash player, is maintainable.
2013-01-28 13:26:11 -05:00
Paul Arthur
ef4d366060 Cosmetics: death to tabs
The refactoring I've been doing has reminded me of my strong preference
for spaces, and I feel inclined to impose my will on the tree.
2013-01-26 03:38:46 -05:00
Paul Arthur
1069d54c85 Move clean functions into their respective classes
Uniformly name them gc()
2013-01-25 21:45:47 -05:00
Paul Arthur
9c28ed5ad1 Consistently use _ in two-word class names 2013-01-25 19:54:11 -05:00
Paul Arthur
16c3ba34fd Cosmetics: clean up heads in lib/ 2013-01-25 18:38:22 -05:00
Paul Arthur
246e9094d1 Fix regression in generation of xspf playlists
When it's a video, add some special sauce.
2013-01-15 15:56:54 -05:00
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