1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-03 17:59:21 +02:00
Commit graph

1091 commits

Author SHA1 Message Date
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
d4390d2dfc Add Catalog count to handshake response for API, Wiki updated to reflect change 2011-11-23 16:17:14 -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
5b4628c766 Cosmetics: clean up some cruft in vainfo 2011-11-22 17:03:59 -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
a3a087e404 Update Horde_Browser to latest. 2011-10-27 21:07:54 -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
3c347c0a7f Fix custom session handle to comply with PHP spec
read must always return a string.
2011-10-14 17:08:41 -04:00
dipsol
a352cb965d FS#189, added the catalog name to the browse instead of the id. 2011-09-15 10:08:18 +02:00
dipsol
fe21acc1a1 FS#186 fixed runtime error in log files. 2011-09-13 16:50:19 +02:00
Paul Arthur
3b296619c0 Null is an acceptable session auth type if use_auth=false. FS#182. 2011-09-12 10:25:27 -04:00
Paul Arthur
46d4bb84b6 Some Catalog cleanup and enhancement. 2011-08-12 12:11:59 -04:00
Paul Arthur
fb40835e42 Make the API return more data for songs 2011-06-28 14:50:41 -04:00
Paul Arthur
1e05bfe554 Fix broken API method
Api::search_songs needed to declare a type, and Search::run needed to
honour that declaration.
2011-06-28 14:30:52 -04:00
Paul Arthur
6fd6cc1fcc Add default value for parameter on Artist::get_albums
Reported by Michel Stam
2011-06-24 17:48:02 -04:00
Paul Arthur
89f0b963fe DBA changes
Make fetch_* automatically clean up result sets by default.  Add a seek
function for any cases where we want to iterate over the same result set
multiple times.
2011-06-24 11:56:35 -04:00
Paul Arthur
383c21ffa9 Use Dba::fetch_assoc instead of mysql_fetch_assoc 2011-06-24 11:55:37 -04:00
Paul Arthur
7852811c2a Add clear_cache() to database_object 2011-06-24 11:53:42 -04:00
Paul Arthur
998f74ac71 Make require_session work with local auth. 2011-05-31 23:08:06 -04:00
Paul Arthur
7c491ec1c7 Clean up API::handshake
Use Access::check_network to check the ACLs. Be more restrictive about
validating timestamps.  Miscellaneous cleanup (line wraps, etc.)
2011-05-26 18:35:30 -04:00
Paul Arthur
bddc208c19 Clean up Access::check_network
Remove unused cases and duplicate SQL queries.  Return false if the ACL
type isn't in the list of approved types.
2011-05-26 18:27:34 -04:00
Stephen A. Goss
a46d320e98 fix broken xml.server.php login on 32 bit servers 2011-05-23 12:20:16 -07:00
Paul Arthur
edb297d4ba Consistently use $album_disk in Catalog::check_album 2011-05-04 17:15:15 -04:00
Paul Arthur
edd458690d Remove unused metadata functions from Song class 2011-05-03 00:04:30 -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
916d2e7f59 On login, set password to the correct value if we have a mangled one stored 2011-04-26 16:59:06 -04:00
Paul Arthur
d18fe3e95d Reset $attribute inside keyed_array loop.
Also avoids PHP warnings due to uninitialised variables.
2011-04-26 16:37:53 -04:00
Paul Arthur
ed6dc3df9e Prevent spurious API login failure messages. 2011-04-26 16:36:43 -04:00
Paul Arthur
073ea584dc Fix forced transcoding. FS#163 2011-04-21 19:36:27 -04:00
Paul Arthur
a273b0e566 Set the correct variable. 2011-04-11 00:52:37 -04:00
Paul Arthur
f7c1e57cf0 Transcoding/streaming cleanup.
Derive our new filesize from the length, not the previous bitrate and
size.  Allow higher bitrates than the source when they're different
formats.  Return HTTP error codes when an error occurs.  Minor cleanup.
2011-04-08 23:26:21 -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
32db091453 Remove obsolete function 2011-04-04 15:35:23 -04:00
Paul Arthur
aa791a400b Replace useless return with useful return. 2011-04-04 15:24:58 -04:00
Paul Arthur
fd718fe786 Remove outdated comment. 2011-04-04 15:12:20 -04:00
Paul Arthur
ec14f90bbc Remove unnecessary hack. 2011-04-04 15:06:06 -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
Paul Arthur
a9da6a6fa2 Reworked search
Still has tentacles and should have been integrated into the existing
API/Browse implementation better, but it's functional.
2011-04-02 00:48:58 -04:00
Paul Arthur
fa505d7708 Add support for autodetecting encoding for broken id3v2 tags
Mostly untested.  Must be enabled in config, so we won't be breaking
people's perfectly valid tags by default.
2011-02-21 15:13:08 -05:00
Paul Arthur
997c05143c Fixed issue with updating ACLs under Windows (reported by Citlali) 2011-02-21 14:00:44 -05:00
Paul Arthur
1817f6098b Partial revert of 678cf4b6aa
id3v2 encoding detection was removed for a reason: it breaks valid tags,
and id3v2 has proper support for multiple standard multibyte encodings.
2011-02-21 13:46:43 -05:00
momo-i
626308280b modified comment for phpdoc 2011-02-21 07:23:49 +09:00
momo-i
60fa5f5846 Merge gitorious.org:~momo-i/ampache/momo-is-ampache
Conflicts:
	config/ampache.cfg.php.dist
2011-02-17 13:26:41 +09:00
momo-i
a1fa4d54e2 modified tag broken problems 2011-02-17 13:22:48 +09:00
momo-i
e3d5874b99 some id3tags still broken. 2011-02-17 10:49:08 +09:00