Afterster
22cb316a48
Ampache code now respect PSR-2 code style
2013-11-17 18:54:14 +01:00
Paul Arthur
ef4d366060
Cosmetics: death to tabs
...
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.
2013-01-26 03:38:46 -05:00
Paul Arthur
1069d54c85
Move clean functions into their respective classes
...
Uniformly name them gc()
2013-01-25 21:45:47 -05:00
Paul Arthur
d14b5215eb
Cosmetics: s/incase/in case/
2013-01-25 20:30:36 -05:00
Paul Arthur
16c3ba34fd
Cosmetics: clean up heads in lib/
2013-01-25 18:38:22 -05:00
Paul Arthur
d772b031a9
Switch from print_r to json_encode in debug output
2012-11-13 18:31:33 -05:00
Paul Arthur
f65076b93d
Switch from _() to T_()
...
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.
2012-04-12 21:13:29 -04:00
Paul Arthur
ec9389f5c6
Make Art->get_from_source() static
...
Half the calls to it were already trying to call it as a static method
anyway. The only time $this was referenced was to get the type, so pass
type as a parameter.
2012-04-09 16:18:13 -04:00
Paul Arthur
3bd110181c
Add some caching to the Art class
...
Based on a patch by lotan_rm in FS#215
2012-03-01 12:39:55 -05:00
lotan_rm
073f49c3e8
FS#212 - Incorrect album art uri
...
Missing ampersand.
2012-02-20 23:38:48 -05:00
Paul Arthur
e2a53eac78
Some more cleanup of Last.FM art method
2011-11-09 04:45:20 -05:00
Paul Arthur
1599f59619
FS#195 - Unable to gather album art from lastfm
...
Cleaned up the code, might work now. Untested.
2011-11-09 04:32:40 -05:00
Paul Arthur
cd9123f0da
Restore mistakenly reverted commit:
...
Implement db art method. Fixes FS#121.
Conflicts:
lib/class/catalog.class.php
2011-10-26 00:24:41 -04:00
dipsol
fe21acc1a1
FS#186 fixed runtime error in log files.
2011-09-13 16:50:19 +02:00
Paul Arthur
4aa256cb07
Clean up some PHPDoc crap
...
Remove misleading, unvetted, or in some cases just plain wrong data.
Packages and categories weren't being used correctly. They still
aren't.
2011-04-04 17:37:10 -04:00
Paul Arthur
90786a8c85
Catalog work
...
Reduce the frequency of some expensive database operations when
processing multiple catalogs. More debugging output. Remove
unnecessary or unused parameters from function calls.
2011-04-02 15:43:38 -04:00
momo-i
17bba7eedd
art.class.php temporarily fixed.
...
Added $type = 'album' to constructor
2011-02-04 10:16:28 +09:00
momo-i
5da3caed31
Modified header comment for phpdoc
2011-02-03 10:25:54 +09:00
Chris Slamar
4910d13fa4
Catalog Filtering Added Bug#60
2011-01-24 19:25:01 -06:00
Paul Arthur
b62ba121d6
Fix art gathering.
2011-01-07 23:30:25 -05:00
Paul Arthur
2952778b89
Implement db art method. Fixes FS#121.
2011-01-04 23:22:21 -05:00
Chris Slamar
422c3f31d3
Fixed db in art_order doing nothing.
2010-12-26 01:17:51 -06:00
Paul 'flowerysong' Arthur
057351b1f3
Some art gathering cleanup.
2010-07-02 04:43:44 +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
4b5756ba9d
Miscellaneous cleanup.
2010-06-13 08:11:09 +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
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
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
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
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
Karl 'vollmerk' Vollmer
bf3e739449
really really fix the art stuff I broke, missing UID reference
2010-03-22 12:22:17 +00:00
Karl 'vollmerk' Vollmer
329aecfdb9
Switch Album so it uses new art methods
2010-03-21 21:31:29 +00:00
Karl 'vollmerk' Vollmer
3ce42f5e88
More changes to art - have not removed old functionality yet
2010-03-21 20:53:15 +00:00
Karl 'vollmerk' Vollmer
181d9c5dcf
Switched to new art method for primary image display
2010-03-21 15:03:20 +00:00
Paul 'flowerysong' Arthur
1cb0983ed0
Cosmetics: remove trailing whitespace
2010-03-14 20:14:52 +00:00
Karl 'vollmerk' Vollmer
45f382b06d
Add vim modelines to all php files (Thx ascheel)
2010-03-14 04:53:15 +00:00
Karl 'vollmerk' Vollmer
f1e0007860
Add Art class, empty but will be used for album/artist/movie art
2010-02-17 04:37:14 +00:00