summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add an HTML5 playerHolger Brunn2013-01-284-5/+218
| | | | | Merge request #20. Basic, not very pretty, but works and, unlike the Flash player, is maintainable.
* Fix sed errorPaul Arthur2013-01-261-2/+2
|
* Cosmetics: death to tabsPaul Arthur2013-01-2664-22145/+22145
| | | | | 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 [un]format_bytes() from general.lib.php to UIPaul Arthur2013-01-265-56/+62
|
* Move get_user_icon from ui.lib.php to UI::get_iconPaul Arthur2013-01-266-76/+64
|
* Move update_text from ui.lib.php to UIPaul Arthur2013-01-263-31/+34
|
* Move ajax_include() from ui.lib.php to UIPaul Arthur2013-01-262-17/+15
|
* Move show_box_{top,bottom}() from ui.lib.php to UIPaul Arthur2013-01-264-62/+58
|
* Move show_{footer,header}() from ui.lib.php to UIPaul Arthur2013-01-262-24/+21
|
* Continue moving things into UIPaul Arthur2013-01-268-57/+50
| | | | | check_php_iconv() from lib/debug.lib.php becomes UI::check_iconv() truncate_with_ellipsis() from lib/ui.lib.php becomes UI::truncate()
* Move access_denied() from lib/ui.lib.php to UIPaul Arthur2013-01-262-14/+13
|
* Move flip_class() from lib/ui.lib.php to UIPaul Arthur2013-01-263-24/+18
|
* Move Catalog::get_disabled() to SongPaul Arthur2013-01-262-22/+21
|
* Drop unused Catalog::get_catalog_ids()Paul Arthur2013-01-261-17/+0
|
* Catalog::_check_ticker() -> UI::check_ticker()Paul Arthur2013-01-262-19/+53
|
* Move Catalog::optimize_tables() to DbaPaul Arthur2013-01-262-21/+22
|
* Query::clean() -> Query::gc()Paul Arthur2013-01-262-3/+3
|
* Catalog::clean() -> Catalog::gc()Paul Arthur2013-01-261-9/+10
|
* Rename shoutBox to ShoutboxPaul Arthur2013-01-252-3/+3
|
* Rename tmpPlaylist to Tmp_PlaylistPaul Arthur2013-01-255-12/+12
|
* Move clean functions into their respective classesPaul Arthur2013-01-2516-194/+140
| | | | Uniformly name them gc()
* Move duplicate searching from Catalog to SongPaul Arthur2013-01-252-70/+61
| | | | | Catalog::get_duplicate_songs() -> Song::find_duplicates() Catalog::get_duplicate_info() -> Song::get_duplicate_info()
* Move Catalog::clear_stats() to Stats::clear()Paul Arthur2013-01-252-19/+13
|
* Cosmetics: s/incase/in case/Paul Arthur2013-01-252-3/+3
|
* Consistently use _ in two-word class namesPaul Arthur2013-01-256-81/+81
|
* conf() -> Config::get()Paul Arthur2013-01-253-4/+4
| | | | | I have a feeling a lot of these are in stale, unused code, but there might be some actual bugs here. conf() was replaced a while back.
* require and require_once aren't functionsPaul Arthur2013-01-251-1/+1
| | | | | Since the parentheses are optional, we leave them off to remind ourselve that PHP be crazy, yo.
* Clean up outdated commentPaul Arthur2013-01-251-2/+1
|
* Cosmetics: clean up heads in lib/Paul Arthur2013-01-2563-658/+135
|
* Remove explicit collation settings from updatesPaul Arthur2013-01-251-17/+17
| | | | Shouldn't be necessary, might be wrong, hmm.
* Rework transcodingPaul Arthur2013-01-236-161/+111
| | | | | | | | 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 calculationPaul Arthur2013-01-231-22/+30
| | | | Dynamic downsampling, I suppose.
* Tear the offset/eof/size crap out of StreamPaul Arthur2013-01-231-28/+2
| | | | | | 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.
* Mess around with rating searchPaul Arthur2013-01-231-26/+10
| | | | | Simplify the rating search and drop the ugly subquery; make it a straight query against the current user's ratings.
* Mess around with ratingsPaul Arthur2013-01-232-17/+12
| | | | | | | | | | 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.
* Change the gc on stream sessionsPaul Arthur2013-01-151-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.
* Fix regression in generation of xspf playlistsPaul Arthur2013-01-151-2/+7
| | | | When it's a video, add some special sauce.
* Drop unused nusoap libraryPaul Arthur2013-01-151-1/+0
|
* Always output masked passwordFred Thomsen2013-01-151-1/+6
| | | | | Previously, users who didn't have access to modify the password were shown the actual current setting instead of asterisks.
* Make playlist downloads idempotentPaul Arthur2013-01-153-454/+486
| | | | | | | | | | | | | | | | | | | | 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.
* Break Localplay->add(), it's been replacedPaul Arthur2013-01-152-10/+4
|
* Rename localplay.abstract.phpPaul Arthur2013-01-152-1/+1
| | | | | The actual class name is localplay_controller, the filename should reflect that.
* localplay: make add_url actually do somethingPaul Arthur2013-01-151-11/+6
|
* Add Stream_URL class for passing them aroundPaul Arthur2013-01-152-0/+85
|
* Cosmetics: correct outdated tmpPlaylist commentPaul Arthur2013-01-151-2/+0
|
* Cosmetics: remove unused variables in StreamPaul Arthur2013-01-141-2/+0
|
* Drop unused static rating, whatever that wasPaul Arthur2012-12-191-9/+0
|
* Add a convenience function to generate an AJAX urlPaul Arthur2012-12-191-1/+9
|
* Use Ajax::action to generate the browse AJAX.Paul Arthur2012-12-191-1/+3
|
* Finalise 3.6-alpha43.6-alpha4Paul Arthur2012-11-271-1/+1
|