Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Increase supported sessionID length | Paul Arthur | 2013-10-30 | 1 | -0/+19 |
| | | | | Should fix GH #74 | ||||
* | Clean up Update | Paul Arthur | 2013-10-30 | 1 | -93/+29 |
| | | | | Remove some cruft, update some comments. | ||||
* | Update the stream_playlist table to use MyISAM | Paul Arthur | 2013-04-29 | 1 | -1/+14 |
| | | | | | | | | | | | | InnoDB's performance is unacceptable out of the box, and there's no clean way to batch these insertions into transactions, and stuff. Benchmarks for 1000 inserts: InnoDB: 54.826 MyISAM: 0.091 InnoDB transaction: 0.159 Fixes GH #14 | ||||
* | Switch Dba from mysql to PDO-MySQL | Paul Arthur | 2013-01-29 | 1 | -1/+3 |
| | | | | | The mysql extension is deprecated in PHP 5.5 and will be removed in the future. | ||||
* | Fix incorrect updates | Paul Arthur | 2013-01-28 | 1 | -9/+1 |
| | | | | | Starting with a fresh 3.3.3.5 import these updates failed. Kick them to the curb. | ||||
* | Drop unnecessary updates | Paul Arthur | 2013-01-28 | 1 | -219/+2 |
| | | | | | We only claim to support updates from 3.3.3.5, and that tarball has 340002. | ||||
* | Clean up updates | Paul Arthur | 2013-01-28 | 1 | -148/+12 |
| | | | | | Drop useless updates that created or modified tables which were later dropped. | ||||
* | Make the update process potentially sane | Paul Arthur | 2013-01-28 | 1 | -606/+361 |
| | | | | | Make sure our writes succeed before declaring the update a success and updating the DB version. | ||||
* | Rename the 'local' auth method to 'pam' | Paul Arthur | 2013-01-28 | 1 | -2/+14 |
| | | | | It's what it should have been from the start. | ||||
* | Cosmetics: death to tabs | Paul Arthur | 2013-01-26 | 1 | -1649/+1649 |
| | | | | | 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. | ||||
* | Cosmetics: clean up heads in lib/ | Paul Arthur | 2013-01-25 | 1 | -11/+1 |
| | |||||
* | Remove explicit collation settings from updates | Paul Arthur | 2013-01-25 | 1 | -17/+17 |
| | | | | Shouldn't be necessary, might be wrong, hmm. | ||||
* | Make playlist downloads idempotent | Paul Arthur | 2013-01-15 | 1 | -0/+25 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Switch from print_r to json_encode in debug output | Paul Arthur | 2012-11-13 | 1 | -1/+0 |
| | |||||
* | Switch from _() to T_() | Paul Arthur | 2012-04-12 | 1 | -2/+2 |
| | | | | | | Even if we move away from php-gettext in the future, it's easy to write a quick T_() as a simple wrapper; it's not so easy to rewrite PHP to allow redeclaration of a function. | ||||
* | Increase the size of the mbid column in artist | Paul Arthur | 2012-03-31 | 1 | -0/+15 |
| | | | | | | Picard is putting multiple MBIDs in the tags now that MusicBrainz' new schema is live. The easiest way to deal with this is to store all of them as an aggregate value and match against that. | ||||
* | Add CLI tool for running database updates | Paul Arthur | 2012-03-06 | 1 | -8/+24 |
| | |||||
* | Lengthen varchar for `tmp_playlist`.`session` | Paul Arthur | 2012-02-21 | 1 | -0/+16 |
| | | | | Sessions can be longer than 32 characters. Bump to 64. | ||||
* | Fix DB updates so catalog remote_username and remote_password are added ↵ | Karl Vollmer | 2011-11-23 | 1 | -1/+39 |
| | | | | correctly, also fix catalog creation so they are stored in the database | ||||
* | Use Dba::fetch_assoc instead of mysql_fetch_assoc | Paul Arthur | 2011-06-24 | 1 | -1/+1 |
| | |||||
* | Make require_session work with local auth. | Paul Arthur | 2011-05-31 | 1 | -0/+13 |
| | |||||
* | Clean up some PHPDoc crap | Paul Arthur | 2011-04-04 | 1 | -9/+0 |
| | | | | | | Remove misleading, unvetted, or in some cases just plain wrong data. Packages and categories weren't being used correctly. They still aren't. | ||||
* | Reworked search | Paul Arthur | 2011-04-02 | 1 | -0/+22 |
| | | | | | Still has tentacles and should have been integrated into the existing API/Browse implementation better, but it's functional. | ||||
* | header comment modified for phpdoc | momo-i | 2011-02-03 | 1 | -1/+1 |
| | |||||
* | header comment for phpdoc | momo-i | 2011-02-03 | 1 | -1/+1 |
| | |||||
* | test header for phpdoc. now using only classes and libraries. | momo-i | 2011-02-02 | 1 | -17/+41 |
| | |||||
* | Fix installation (base.js requires prototype). Also squelch a warning in update. | Paul 'flowerysong' Arthur | 2010-06-29 | 1 | -1/+1 |
| | |||||
* | Miscellaneous cleanup. | Paul 'flowerysong' Arthur | 2010-06-13 | 1 | -1/+4 |
| | |||||
* | Change Browse from static to instantiable. Among other things, fixes FS#13; | Paul 'flowerysong' Arthur | 2010-06-10 | 1 | -0/+23 |
| | | | | | probably also breaks things. Most things appear to still work, but I may have missed some cases. | ||||
* | Clean up the rating code by moving uniqueness constraints into the database, | Paul 'flowerysong' Arthur | 2010-06-07 | 1 | -0/+14 |
| | | | | | using SQL's AVG() when we want an average, updating the cache when a rating changes, etc. | ||||
* | Minor output change. FS#96, reported by Nate Gotz. | Paul 'flowerysong' Arthur | 2010-05-29 | 1 | -1/+1 |
| | |||||
* | Testing is all well and good...but uncomment things before you commit them. | Paul 'flowerysong' Arthur | 2010-05-06 | 1 | -1/+1 |
| | |||||
* | You know, maybe I shouldn't be allowed to use computers. Revert accidentally | Paul 'flowerysong' Arthur | 2010-05-05 | 1 | -18/+0 |
| | | | | committed hunk. | ||||
* | Art work. Rationalise DB schema, support multiple thumbnail sizes and | Paul 'flowerysong' Arthur | 2010-05-05 | 1 | -0/+61 |
| | | | | | caching thereof, call Catalog->gather_art instead of Catalog->gather_album_art, unbreak (hopefully) gather_musicbrainz. | ||||
* | Cosmetics: remove trailing whitespace | Paul 'flowerysong' Arthur | 2010-03-14 | 1 | -32/+32 |
| | |||||
* | Cosmetics: use tabs for indentation, tweak some indentation/coding style. | Paul 'flowerysong' Arthur | 2010-03-14 | 1 | -95/+95 |
| | |||||
* | Add vim modelines to all php files (Thx ascheel) | Karl 'vollmerk' Vollmer | 2010-03-14 | 1 | -0/+1 |
| | |||||
* | Typo - will require another db update eventually... sigh | Karl 'vollmerk' Vollmer | 2010-02-17 | 1 | -1/+1 |
| | |||||
* | Fix typos, and tweak insert_now_playing preping for Video now playing | Karl 'vollmerk' Vollmer | 2010-02-14 | 1 | -0/+10 |
| | |||||
* | Tweaked how features / bandwidth level is checked, not happy with it. | Karl 'vollmerk' Vollmer | 2010-02-14 | 1 | -2/+6 |
| | |||||
* | moved database alterations to proper place | martian | 2010-02-11 | 1 | -0/+10 |
| | |||||
* | Adding the bandwidth option to the preferences. This changes the complexity ↵ | martian | 2010-02-09 | 1 | -4/+13 |
| | | | | of the UI and toggles album art. | ||||
* | Add AmpacheAPI external, start work on future db changes | Karl 'vollmerk' Vollmer | 2010-02-04 | 1 | -1/+40 |
| | |||||
* | Replaced almost every dba::query to dba::read or dba::write. | dipsol | 2009-12-14 | 1 | -780/+780 |
| | |||||
* | whole bunch more Dba::query replacements | Karl 'vollmerk' Vollmer | 2009-12-14 | 1 | -6/+6 |
| | |||||
* | add MBID support Thx flowerysong | Karl 'vollmerk' Vollmer | 2009-06-02 | 1 | -2/+17 |
| | |||||
* | api fixes, added librefm scrobbler (untested) and fixed minor error in ↵ | Karl 'vollmerk' Vollmer | 2009-05-18 | 1 | -0/+16 |
| | | | | header file with rtl vs ltr languages also removed dead RioPlayer plugin | ||||
* | add download for video that does not work, and most likely break song ↵ | Karl 'vollmerk' Vollmer | 2009-05-15 | 1 | -0/+11 |
| | | | | downloads \o/ | ||||
* | reset database charset on db update to make sure it remains in sync | Karl 'vollmerk' Vollmer | 2009-03-22 | 1 | -0/+4 |
| | |||||
* | move server prefs to admin menu (Thx geekdawg) fix missing web_path on radio ↵ | Karl 'vollmerk' Vollmer | 2009-03-18 | 1 | -2/+2 |
| | | | | creation link |