Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rework transcoding | Paul Arthur | 2013-01-23 | 9 | -223/+210 |
| | | | | | | | | Remove some of the roundabout complexity that had built up. Push people toward using a single, flexible tool for most of their transcoding needs. Increase backend and configuration flexibility to support user-requested format changes (e.g. for an HTML5 player); this functionality is not yet exposed. | ||||
* | Clean up the bitrate calculation | Paul Arthur | 2013-01-23 | 2 | -35/+41 |
| | | | | Dynamic downsampling, I suppose. | ||||
* | Tear the offset/eof/size crap out of Stream | Paul Arthur | 2013-01-23 | 2 | -28/+5 |
| | | | | | | Now that playback doesn't pretend it's supported, we don't need the fragile hacks to support guessing the content size or 'seeking' within a transcoded stream. | ||||
* | Clean up Content-Range handling for playback | Paul Arthur | 2013-01-23 | 1 | -26/+56 |
| | | | | | | | | | | | | | | | Transcoding can't cleanly support Content-Range, so ignore it if we receive it and send 'Accept-Ranges: none' so smart clients won't send it. The logic that determines when enough has been streamed that the stream should be recorded in the stats was complexified. Since we've given up on predetermining the file size for transcodes we have to account for that. Content-Ranges that start well into the file now won't update the stats, since we've probably already done it (this assumption is wrong if the client immediately seeks, but nothing's perfect.) Finally, a straight file size / 4 seemed too straighforward, so small files will be / 1.1 and large files will have the value capped. | ||||
* | Mess around with rating search | Paul Arthur | 2013-01-23 | 2 | -26/+13 |
| | | | | | Simplify the rating search and drop the ugly subquery; make it a straight query against the current user's ratings. | ||||
* | Mess around with ratings | Paul Arthur | 2013-01-23 | 3 | -25/+27 |
| | | | | | | | | | | Drop the public variables from the rating class; everyone should use the getters. Add the ability for themes and applications to distinguish between a user's actual rating and the global average rating; in the web interface the average shows up if a user hasn't rated something but at least one other user has. | ||||
* | Update Horde_Browser to git HEAD | Paul Arthur | 2013-01-22 | 1 | -114/+210 |
| | | | | | git clone git://github.com/horde/horde git diff f93a5f19 112808d8 framework/Browser/lib/Horde/Browser.php | ||||
* | Use the standard footer on the login form. | Paul Arthur | 2013-01-16 | 1 | -12/+5 |
| | |||||
* | Change the gc on stream sessions | Paul Arthur | 2013-01-15 | 1 | -19/+2 |
| | | | | | | It's a little suspect to automatically delete them just because another was used. Waiting for them to expire will get rid of them plenty quick, with less chance for weird issues. | ||||
* | Update footer with correct year | Paul Arthur | 2013-01-15 | 1 | -10/+1 |
| | |||||
* | Fix regression in generation of xspf playlists | Paul Arthur | 2013-01-15 | 1 | -2/+7 |
| | | | | When it's a video, add some special sauce. | ||||
* | Cosmetics: kill some more PHPDoc clutter | Paul Arthur | 2013-01-15 | 6 | -92/+2 |
| | |||||
* | Drop unused nusoap library | Paul Arthur | 2013-01-15 | 14 | -17679/+0 |
| | |||||
* | Update prototype to git HEAD (4ce0b0f) | Paul Arthur | 2013-01-15 | 2 | -37/+61 |
| | | | | git://github.com/sstephenson/prototype.git | ||||
* | Cosmetics: reformat changelog | Paul Arthur | 2013-01-15 | 1 | -2086/+2083 |
| | |||||
* | Always output masked password | Fred Thomsen | 2013-01-15 | 2 | -1/+8 |
| | | | | | Previously, users who didn't have access to modify the password were shown the actual current setting instead of asterisks. | ||||
* | Make playlist downloads idempotent | Paul Arthur | 2013-01-15 | 7 | -466/+522 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Clean up the VLC localplay controller | Paul Arthur | 2013-01-15 | 1 | -21/+8 |
| | |||||
* | Remove old and busted shoutcast controller | Paul Arthur | 2013-01-15 | 2 | -638/+4 |
| | |||||
* | mpd: Drop silly ClearPLIfStopped | Paul Arthur | 2013-01-15 | 2 | -23/+0 |
| | |||||
* | Clean up the MPD localplay controller | Paul Arthur | 2013-01-15 | 1 | -21/+16 |
| | |||||
* | Clean up the httpQ localplay controller | Paul Arthur | 2013-01-15 | 1 | -75/+42 |
| | |||||
* | Break Localplay->add(), it's been replaced | Paul Arthur | 2013-01-15 | 2 | -10/+4 |
| | |||||
* | Rename localplay.abstract.php | Paul Arthur | 2013-01-15 | 2 | -1/+1 |
| | | | | | The actual class name is localplay_controller, the filename should reflect that. | ||||
* | localplay: make add_url actually do something | Paul Arthur | 2013-01-15 | 1 | -11/+6 |
| | |||||
* | Add Stream_URL class for passing them around | Paul Arthur | 2013-01-15 | 2 | -0/+85 |
| | |||||
* | Yank obsolete batch download stuff from stream.php | Paul Arthur | 2013-01-15 | 1 | -42/+22 |
| | |||||
* | Some cleanup of the switch in stream.php | Paul Arthur | 2013-01-15 | 1 | -8/+8 |
| | | | | | Add correct array indices to hand-crafted arrays in single_song and download cases. Yank unimplemented popular stuff. | ||||
* | Cosmetics: correct outdated tmpPlaylist comment | Paul Arthur | 2013-01-15 | 1 | -2/+0 |
| | |||||
* | Cosmetics: remove unused variables in Stream | Paul Arthur | 2013-01-14 | 1 | -2/+0 |
| | |||||
* | Drop unused static rating, whatever that was | Paul Arthur | 2012-12-19 | 2 | -67/+0 |
| | |||||
* | Use Ajax::url in the browse filters | Paul Arthur | 2012-12-19 | 1 | -2/+1 |
| | |||||
* | Add a convenience function to generate an AJAX url | Paul Arthur | 2012-12-19 | 1 | -1/+9 |
| | |||||
* | Drop unused ajax_url variables | Paul Arthur | 2012-12-19 | 7 | -7/+0 |
| | |||||
* | Use Ajax::action to generate the browse AJAX. | Paul Arthur | 2012-12-19 | 1 | -1/+3 |
| | |||||
* | Use Ajax::action to generate the refresh URL | Paul Arthur | 2012-12-19 | 2 | -2/+2 |
| | | | | Handcrafting it is unnecessary. | ||||
* | Finalise 3.6-alpha43.6-alpha4 | Paul Arthur | 2012-11-27 | 2 | -2/+4 |
| | |||||
* | Rip out ugly lyrics code | Paul Arthur | 2012-11-13 | 2 | -118/+0 |
| | |||||
* | Cosmetics: fix typo | Paul Arthur | 2012-11-13 | 1 | -1/+1 |
| | |||||
* | Drop undocumented mail option for bin/print_tags | Paul Arthur | 2012-11-13 | 1 | -11/+2 |
| | |||||
* | MPD: Drop outdated README, use json_encode | Paul Arthur | 2012-11-13 | 2 | -65/+7 |
| | |||||
* | Switch from print_r to json_encode in debug output | Paul Arthur | 2012-11-13 | 5 | -6/+6 |
| | |||||
* | check_database() -> Dba::check_database() | Paul Arthur | 2012-11-08 | 1 | -1/+1 |
| | |||||
* | Clean up remaining direct calls to mysql functions | Paul Arthur | 2012-11-08 | 3 | -41/+32 |
| | | | | | This makes it theoretically possible to replace Dba with a different implementation somewhat painlessly. | ||||
* | Clean up check_database, more direct mysql calls | Paul Arthur | 2012-11-08 | 4 | -40/+44 |
| | |||||
* | Clean up direct callers of mysql_error() | Paul Arthur | 2012-11-08 | 2 | -10/+9 |
| | |||||
* | Cosmetics: clean up spaces | Paul Arthur | 2012-11-08 | 1 | -13/+13 |
| | |||||
* | Move check_database_inserted into the Dba class | Paul Arthur | 2012-11-08 | 3 | -24/+25 |
| | |||||
* | Move check_database into the Dba class | Paul Arthur | 2012-11-08 | 4 | -27/+22 |
| | |||||
* | Cosmetics: Fix capitalisation | Paul Arthur | 2012-10-18 | 1 | -1/+1 |
| |