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

1307 commits

Author SHA1 Message Date
Paul 'flowerysong' Arthur
63031fb6c1 Use a function to format bytes -> human-readable sizes. Also bump catalog build
memory profiling logging to level 5; fixes FS#141.
2010-10-15 19:16:42 +00:00
Paul 'flowerysong' Arthur
f82f5454f9 Refactor mail handling a bit and make registration use the same method as the
other places that send mail.
2010-10-09 08:06:12 +00:00
Paul 'flowerysong' Arthur
4f3d8851cf Break everyone's config by changing metadata gathering. 2010-10-06 16:58:31 +00:00
Paul 'flowerysong' Arthur
df80bd7243 Refactored Last.FM recommendations; drop new dependency on curl since
Snoopy works just as well for this application.
2010-08-17 20:59:16 +00:00
momo-i
bb8900e6c4 Check cURL before install.
if cURL have not installed, get_like() should be return false.
2010-07-30 00:11:07 +00:00
Chris 'cslamar' Slamar
720dd019a0 Search for similar artists 2010-07-29 13:58:43 +00:00
Paul 'flowerysong' Arthur
06e9339109 Use the correct variable. Reported by LostInMotion. 2010-07-20 19:21:24 +00:00
Paul 'flowerysong' Arthur
57b778a269 Don't escape album names twice. 2010-07-02 22:35:13 +00:00
Paul 'flowerysong' Arthur
057351b1f3 Some art gathering cleanup. 2010-07-02 04:43:44 +00:00
Paul 'flowerysong' Arthur
10b5b251f8 Process config arrays in a loop, instead of by hand. 2010-07-02 04:43:23 +00:00
Paul 'flowerysong' Arthur
7b804afb55 Fix installation (base.js requires prototype). Also squelch a warning in update. 2010-06-29 04:18:47 +00:00
Paul 'flowerysong' Arthur
d5d87f9f7b Missing ` 2010-06-24 03:35:15 +00:00
Paul 'flowerysong' Arthur
6277492321 JavaScript cleanup. Consistently use camelCase for naming JS functions. Use
Prototype functionality where possible (particularly for Ajax).  Move our JS
into lib/javascript (I dropped kajax as an external module since the new
ajax.js is completely different apart from function headers.)  Remove unused
JS functions from base.js.
2010-06-24 02:52:01 +00:00
Paul 'flowerysong' Arthur
7549180515 Some vainfo cleanup. Since id3v2 allows multiple charsets and has a standard way of
indicating them, don't try to work around broken id3v2 tags (especially since that
breaks valid tags). For id3v1, use a charset detection approach that actually has a
chance of working.
2010-06-22 21:08:20 +00:00
Paul 'flowerysong' Arthur
a66bf4c5f6 Plugin work. Plugins are now pluggable: no plugin-specific code in the main Ampache
code.  Plugins are now updatable, if configuration changes are needed for a new
version.
2010-06-22 19:00:45 +00:00
Paul 'flowerysong' Arthur
a2836c9af9 Always check for validity before inserting images. Also, whitespace cleanup. 2010-06-17 06:12:06 +00:00
Paul 'flowerysong' Arthur
6491034154 Add missing scrub_out; fixes some display issues. 2010-06-17 06:10:57 +00:00
Paul 'flowerysong' Arthur
733f507937 Browsing by tag is broken. This doesn't fix it. 2010-06-15 21:18:17 +00:00
Paul 'flowerysong' Arthur
33213b8ea8 Be less forgiving when checking whether an album currently exists. Fixes
FS#113, reported by fabninja.
2010-06-15 01:45:43 +00:00
Paul 'flowerysong' Arthur
ed2cc43d15 Use scrub_out when displaying update status; scrub_out calls htmlentities with
the proper charset argument.  Fixes mangled output string w/non-ASCII filenames.
2010-06-14 20:31:45 +00:00
Paul 'flowerysong' Arthur
4b5756ba9d Miscellaneous cleanup. 2010-06-13 08:11:09 +00:00
Paul 'flowerysong' Arthur
836af45d57 Remove leftover references to $id from before I decided to make Query non-static. 2010-06-12 23:12:13 +00:00
Paul 'flowerysong' Arthur
13629b3cf7 $key wasn't defined in Error::add, I'm going to assume it was supposed to be $name. 2010-06-12 22:35:56 +00:00
Paul 'flowerysong' Arthur
7f36693353 Change Browse from static to instantiable. Among other things, fixes FS#13;
probably also breaks things.  Most things appear to still work, but I may have
missed some cases.
2010-06-10 05:33:57 +00:00
Paul 'flowerysong' Arthur
2f7068c18d Aggressively make sure we don't end up with extra spaces when joining the prefix. 2010-06-07 06:46:48 +00:00
Paul 'flowerysong' Arthur
27477ceae8 Move prefix trimming into a static function. Reduces duplicate code and allows
for the possibility of using it elsewhere.
2010-06-07 02:57:36 +00:00
Paul 'flowerysong' Arthur
b9937cd7ce Clean up the rating code by moving uniqueness constraints into the database,
using SQL's AVG() when we want an average, updating the cache when a rating
changes, etc.
2010-06-07 00:49:47 +00:00
Paul 'flowerysong' Arthur
bafc1b97ce Change debugging output on transcode. 2010-05-29 23:34:47 +00:00
Paul 'flowerysong' Arthur
92c2191e36 Fix bin/print_tags so it accurately reflects what Ampache will see; it was
stomping on 'file' results for some reason.  Also a smidge of cleanup in vainfo.
2010-05-29 17:47:24 +00:00
Paul 'flowerysong' Arthur
cceb1a4a9b Minor output change. FS#96, reported by Nate Gotz. 2010-05-29 16:59:55 +00:00
Paul 'flowerysong' Arthur
67be60ae09 Cleanup and rationalisation of authentication related code. Among other things,
fixes FS#99.
2010-05-29 08:33:48 +00:00
Paul 'flowerysong' Arthur
c4ea23c83b Make Art::clean actually work. 2010-05-10 06:19:18 +00:00
Paul 'flowerysong' Arthur
3a5a8dad2e Some more Art-related cleanup. Removing references to album_data, removing old
art methods from Album, etc.  Should fix FS#76
2010-05-09 19:50:35 +00:00
Paul 'flowerysong' Arthur
20d7fa5b08 Testing is all well and good...but uncomment things before you commit them. 2010-05-06 05:29:09 +00:00
Paul 'flowerysong' Arthur
21ba4d395a Use lowest addition_time for ordering "newest" items. FS#54. 2010-05-06 05:03:41 +00:00
Paul 'flowerysong' Arthur
b60419df85 You know, maybe I shouldn't be allowed to use computers. Revert accidentally
committed hunk.
2010-05-05 01:53:30 +00:00
Paul 'flowerysong' Arthur
8e5b7fec1f Really unbreak gather_musicbrainz. 2010-05-05 01:49:59 +00:00
Paul 'flowerysong' Arthur
e3e4c72466 Art work. Rationalise DB schema, support multiple thumbnail sizes and
caching thereof, call Catalog->gather_art instead of Catalog->gather_album_art,
unbreak (hopefully) gather_musicbrainz.
2010-05-05 01:43:51 +00:00
Karl 'vollmerk' Vollmer
a7e1258587 make downsampling command log a little clearer 2010-05-05 00:28:26 +00:00
Karl 'vollmerk' Vollmer
e3a62e8c5f fix notice due to undefined indexes when checking for unset config values 2010-05-04 19:51:23 +00:00
Paul 'flowerysong' Arthur
82780455c4 Cosmetics: use tabs for indentation. 2010-05-04 05:32:16 +00:00
Paul 'flowerysong' Arthur
1dedf65f0f Cosmetics: remove trailing whitespace. 2010-05-04 04:58:15 +00:00
Paul 'flowerysong' Arthur
c29052f9bc Use strpos correctly in the API class. Fixes FS#68, reported by Bryce Geiser. 2010-05-03 17:35:17 +00:00
Paul 'flowerysong' Arthur
4c22b56f89 Remove unused img_resize function, cosmetic changes around the altered version
of it in art.class.php.
2010-05-03 17:26:21 +00:00
Paul 'flowerysong' Arthur
feae94b52b Cosmetics. %s/assoicated/associated/g 2010-04-28 22:25:23 +00:00
Paul 'flowerysong' Arthur
b290f52c8d Some missed hunks for playlist editing and miscellaneous related cleanup. 2010-04-28 22:20:42 +00:00
Paul 'flowerysong' Arthur
df1c8d74d5 Clean up democratic/tmpplaylist relationship to work under E_STRICT. 2010-04-28 00:07:30 +00:00
Paul 'flowerysong' Arthur
08840e8ea0 Clean up catalog size calculation - mainly removes a section of code which did
some string mangling to calculate a $size that was never actually used.
2010-04-19 02:12:36 +00:00
Paul 'flowerysong' Arthur
4b4728f0ac Pad track number with zeros, like the doc says. Fixes FS#58, reported by Adam Grissom. 2010-04-15 21:23:41 +00:00
Karl 'vollmerk' Vollmer
0dc4669407 Remove album art functions from album class, this most likely breaks things 2010-04-01 12:04:08 +00:00