summaryrefslogtreecommitdiffstats
path: root/stream.php
Commit message (Collapse)AuthorAgeFilesLines
* Yank out the Flash player by the roots.Paul Arthur2013-01-281-1/+1
|
* Cosmetics: death to tabsPaul Arthur2013-01-261-103/+103
| | | | | 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.
* Move access_denied() from lib/ui.lib.php to UIPaul Arthur2013-01-261-1/+1
|
* Rename tmpPlaylist to Tmp_PlaylistPaul Arthur2013-01-251-1/+1
|
* Cosmetics: clean up heads in /Paul Arthur2013-01-251-7/+1
|
* Make playlist downloads idempotentPaul Arthur2013-01-151-9/+9
| | | | | | | | | | | | | | | | | | | | 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.
* Yank obsolete batch download stuff from stream.phpPaul Arthur2013-01-151-42/+22
|
* Some cleanup of the switch in stream.phpPaul Arthur2013-01-151-8/+8
| | | | | Add correct array indices to hand-crafted arrays in single_song and download cases. Yank unimplemented popular stuff.
* Switch from print_r to json_encode in debug outputPaul Arthur2012-11-131-1/+2
|
* Clean up uses of Config::set and Config::set_by_arrayPaul Arthur2012-03-061-1/+1
| | | | | Consistently pass in a boolean instead of a string or an int for the clobber flag.
* Clean up some PHPDoc crapPaul Arthur2011-04-041-6/+1
| | | | | | Remove misleading, unvetted, or in some cases just plain wrong data. Packages and categories weren't being used correctly. They still aren't.
* header comment replace for phpdocmomo-i2011-02-031-18/+30
|
* More useful debug output from stream.phpPaul 'flowerysong' Arthur2010-06-241-1/+1
|
* Miscellaneous cleanup.Paul 'flowerysong' Arthur2010-06-131-1/+3
|
* Cosmetics: remove trailing whitespacePaul 'flowerysong' Arthur2010-03-141-42/+42
|
* Add vim modelines to all php files (Thx ascheel)Karl 'vollmerk' Vollmer2010-03-141-0/+1
|
* Remove dead files and fix single song downloadKarl 'vollmerk' Vollmer2010-01-111-1/+1
|
* add download for video that does not work, and most likely break song ↵Karl 'vollmerk' Vollmer2009-05-151-1/+2
| | | | downloads \o/
* Update HTML header for RTL language.momo-i2009-05-061-0/+1
| | | | add debug_event for stream type check
* fix missing page headers on democratic playlist, also show the votersKarl 'vollmerk' Vollmer2009-03-111-4/+2
|
* maybe fix #404, unconfirmed implemented #405 other misc cleanupKarl 'vollmerk' Vollmer2009-03-011-7/+3
|
* make the httpq and mpd controlers understand live stream urlsKarl 'vollmerk' Vollmer2009-02-281-4/+0
|
* unify how the stream is constructed and played, this is a major change might ↵Karl 'vollmerk' Vollmer2009-02-281-48/+23
| | | | be some regressions
* fix edit links, and some interface issues I created with other changesKarl 'vollmerk' Vollmer2009-02-091-1/+0
|
* Add very basic buggy as crap video support, fix a few other minor bugs with ↵Karl 'vollmerk' Vollmer2009-02-021-5/+5
| | | | playlists and random elements
* fixed flash player issues with specific playlist_methodsKarl 'vollmerk' Vollmer2008-05-051-4/+3
|
* minor fixes to the playlist, fixed up the democratic playlist kinda, still ↵Karl 'vollmerk' Vollmer2008-03-101-1/+1
| | | | does not work completely
* major corrections to reading of preferences and a few misc fixes which I ↵Karl 'vollmerk' Vollmer2008-02-291-8/+8
| | | | have now forgotten
* fixed sending to localplay for democratic playlistKarl 'vollmerk' Vollmer2008-01-041-1/+1
|
* reimplemented the session function checkKarl 'vollmerk' Vollmer2007-12-251-17/+1
|
* fixed some playlist issues, (mime type and selection) cleaned up the ↵Karl 'vollmerk' Vollmer2007-12-161-1/+6
| | | | preferences lib a little more moved a lot into the class, updated references to old functions
* fixed url add to localplay, also changed some play links to addKarl 'vollmerk' Vollmer2007-12-011-1/+0
|
* slight tweak to prevent the user from trying to loop their democratic playKarl 'vollmerk' Vollmer2007-11-251-0/+6
|
* democratic play working, if still slightly sketchyKarl 'vollmerk' Vollmer2007-11-241-0/+5
|
* fixed the playlist methods, they all work now... semi-bug where the rightbar ↵Karl 'vollmerk' Vollmer2007-11-141-0/+6
| | | | does not refresh when the playlist is cleared so its not obvious it worked until a manual reload, will fix later
* fixed single downloads and that annoying minor css issue with albums of the ↵Karl 'vollmerk' Vollmer2007-08-191-6/+7
| | | | moment
* added dynamic playlist item support, default and genre currently workKarl 'vollmerk' Vollmer2007-07-241-1/+9
|
* - Added Live Stream (Internet Radio) supportKarl 'vollmerk' Vollmer2007-07-231-1/+23
| | | | | | | - New Database Update corrects some issues and makes internet radio possible - Fixed ratings - Added new Transcode preference, doesn't do anything yet - New "Radio Stations" browse type
* fixed a bug that was causing the entire playlist to be cleared on playback ↵Karl 'vollmerk' Vollmer2007-06-121-1/+0
| | | | due to a playlist prune
* switched over to Dba:: for all vauth functions and deleted independent dba libKarl 'vollmerk' Vollmer2007-06-121-11/+10
|
* added clear and play to the basketKarl 'vollmerk' Vollmer2007-05-131-0/+3
|
* fixed up part of single album view, show songs is all gone, working on ↵Karl 'vollmerk' Vollmer2007-04-231-2/+2
| | | | replacement browse method
* added favorite X play linksKarl 'vollmerk' Vollmer2007-04-231-1/+19
|
* it technically logs in and streams.. but thats it, complete rewrite almost ↵Karl 'vollmerk' Vollmer2007-04-231-0/+150
everything broken