1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-06 03:49:56 +02:00
Commit graph

260 commits

Author SHA1 Message Date
Karl Vollmer
56eb2ac7dc Fixed two PHP warnings, and some issues with how users were being constructed
in init (which makes me wonder) and started trying to figure out why libre.fm broke
2011-12-01 15:59:33 -04:00
Karl Vollmer
d1af05595c Typo caused songs to be put in null catalog :S 2011-12-01 15:15:32 -04:00
Karl Vollmer
96ea4a9655 Song and Album Art from remote catalogs now inserts locally, can't play the remote
songs yet.
2011-12-01 09:33:18 -04:00
Karl Vollmer
ac366c1c0c Removed defunct functions, in theory inserting remote songs, untested though 2011-11-28 16:06:34 -04:00
Karl Vollmer
2c06cb5440 Switched API to exceptions rather then trigger_error in most instances, more work on the
remote catalog indexing.
2011-11-28 11:22:47 -04:00
Karl Vollmer
e862098f66 Testing Bot e-mail function, but a little more work on the remote catalogs 2011-11-23 16:49:36 -04:00
Karl Vollmer
8fbbe64e8f AmpacheApi -- Store handshake information
Catalog -- pull handshake info, do something with it?
2011-11-23 15:59:41 -04:00
Karl Vollmer
d02561c96c Add remote_username/password to Catalog Edit page 2011-11-23 10:57:54 -04:00
Karl Vollmer
d7c6598528 Fix DB updates so catalog remote_username and remote_password are added correctly, also fix catalog creation so they are stored in the database 2011-11-23 10:45:43 -04: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
Paul Arthur
46d4bb84b6 Some Catalog cleanup and enhancement. 2011-08-12 12:11:59 -04:00
Paul Arthur
edb297d4ba Consistently use $album_disk in Catalog::check_album 2011-05-04 17:15:15 -04:00
Paul Arthur
3afd338a9c Do some clean up of the code for finding duplicate songs
No joins were necessary for what it was doing; cartesian joins even less
so.  Limiting display to two duplicates was bogus.  Ordering by the
number of duplicates in ascending order was an odd choice.
2011-04-29 16:02:29 -04: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
Paul Arthur
ac8b89708c Fix FS#156
PHP is being overly persnickety here, but I suppose we don't *have* to
use the conditional operator.
2011-04-02 01:02:04 -04:00
momo-i
f99643663c header comment modified for phpdoc 2011-02-03 09:43:46 +09:00
momo-i
d703009677 header comment for phpdoc 2011-02-03 07:30:23 +09:00
momo-i
add54bc230 test header for phpdoc. now using only classes and libraries. 2011-02-02 16:48:45 +09:00
momo-i
bc7344c9f5 test for phpdoc 2011-02-02 13:35:26 +09:00
Chris Slamar
4910d13fa4 Catalog Filtering Added Bug#60 2011-01-24 19:25:01 -06:00
Paul Arthur
2952778b89 Implement db art method. Fixes FS#121. 2011-01-04 23:22:21 -05:00
Chris Slamar
e2e589b20b Fix #121 - db position in art_order is now checked to make sure that previously selected art is not overwritten. 2010-12-26 03:43:07 -06:00
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
57b778a269 Don't escape album names twice. 2010-07-02 22:35:13 +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
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
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
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
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
feae94b52b Cosmetics. %s/assoicated/associated/g 2010-04-28 22:25:23 +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
06bb1969f0 Add missing debug output for failed sanity check on catalog clean. 2010-03-25 22:01:24 +00:00
Paul 'flowerysong' Arthur
babd76efb9 Add missing 'else' to avoid some spurious log lines when cleaning. 2010-03-25 05:42:02 +00:00
Karl 'vollmerk' Vollmer
bcf2c41c9f commit everything. 2010-03-22 04:11:39 +00:00
Karl 'vollmerk' Vollmer
b2dca63940 Add ability to generate thumbnails via catalog_update and also generate thumbnails during art add 2010-03-21 22:04:15 +00:00
Paul 'flowerysong' Arthur
1cb0983ed0 Cosmetics: remove trailing whitespace 2010-03-14 20:14:52 +00:00
Paul 'flowerysong' Arthur
ef48bf3fbd Another instance of the dropped column key being used. 2010-03-14 08:12:33 +00:00
Paul 'flowerysong' Arthur
171c8d235a Don't try to insert the key field, since it doesn't exist in the catalog table. 2010-03-14 06:26:05 +00:00
Paul 'flowerysong' Arthur
d78c207f76 Cosmetics: use tabs for indentation, tweak some indentation/coding style. 2010-03-14 06:10:27 +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
b9b1d03d05 use filemtime for catalog verify untested 2010-03-12 17:45:56 +00:00
Karl 'vollmerk' Vollmer
e88a5c3b39 Command line installation script completed - pending updates to lib/install.php also added memory profiling to Catalog add 2010-02-20 19:24:50 +00:00
Karl 'vollmerk' Vollmer
5ec3c0b90e Change catalog update display to 1/second 2010-02-19 04:05:27 +00:00
Karl 'vollmerk' Vollmer
3820eba106 Sync of r2270 from 3.5.x 2010-02-02 21:26:22 +00:00
Karl 'vollmerk' Vollmer
4c4c945d30 Remove Dba::query from a few more classes 2009-12-14 03:17:14 +00:00
Karl 'vollmerk' Vollmer
560f427d38 sync fix for doing something with collected m3u files during catalog creation 2009-11-14 08:00:43 +00:00
Karl 'vollmerk' Vollmer
dc72729c8f Added multiple id3v2 genre to tag patch from quack23 resolves #564 2009-11-14 04:37:16 +00:00