1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-05 02:39:47 +02:00
Commit graph

1870 commits

Author SHA1 Message Date
Paul Arthur
08a4f848be Clean up Config::set and Config::set_by_array
Boolean parameters should be boolean.
2012-03-06 12:18:10 -05:00
Paul Arthur
585382422c Allow multiple valid forms of the same type
Use the SID for the primary key, instead of the non-unique form name.
Also add some debugging to the form functions in Core.
2012-03-06 10:58:07 -05:00
Paul Arthur
3d8e3ac86c Minor clean up of vauth::session_extend 2012-03-02 00:08:57 -05:00
Paul Arthur
dd3d42d644 FS#198 - Export To CSV - Blank Genre
Clean up Catalog->export.  Genre doesn't exist any more.
2012-03-01 14:24:26 -05:00
Paul Arthur
40e8484a57 FS#213 - User Registration
Add an option to have newly registered accounts disabled by default.
2012-03-01 14:06:03 -05:00
Paul Arthur
55ed43c332 Clean up xmlData::songs
Drop call to Song->format(); two of the values that we use are exposed
via public getters anyway, and it's not particularly ugly to call
Tag::get_top_tags instead of relying on Song to do that for us.

Remove genre cruft.

Based on a patch by lotan_rm in FS#215
2012-03-01 13:36:41 -05:00
Paul Arthur
6b33ec9be8 Clean up xmlData::tags_string
Drop unused parameters.  Make sure $tags is an array before we treat it
as one.  Correct count value.

Based on a patch by lotan_rm in FS#215
2012-03-01 13:14:42 -05:00
Paul Arthur
bac2618846 Cosmetics: clean up SQL statement in Tag::get_top_tags 2012-03-01 13:03:36 -05:00
Paul Arthur
b5965d2513 Add Art cache to the caches built by Song::build_cache 2012-03-01 12:48:11 -05:00
lotan_rm
500b6cbdb3 Avoid unnecessary work in Song::play_url
The only thing we're using that's set by format() is f_artist_full,
which is exactly the same as what's returned by get_artist_name().
2012-03-01 12:45:20 -05: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
Paul Arthur
6f0c651075 FS#216 - Cannot add music to catalog with 21 February commit
The wrong version of this change got pushed, somehow.  Fix parse errors.
2012-02-21 19:19:19 -05:00
Paul Arthur
e9e350b71e Lengthen varchar for tmp_playlist.session
Sessions can be longer than 32 characters.  Bump to 64.
2012-02-21 00:08:20 -05:00
lotan_rm
073f49c3e8 FS#212 - Incorrect album art uri
Missing ampersand.
2012-02-20 23:38:48 -05:00
Paul Arthur
e36d29434e vainfo: unset disk if totaldiscs is 1
ID3 should only set disk if it's part of a set, but the same is not true
of other metadata sources.

Also drop no-op attempted cleanup of disk; we've already run intval, so
it won't contain a slash.
2012-02-20 23:11:48 -05:00
Paul Arthur
a40824a96b Drop unnecessary case branch. 2012-02-20 22:50:41 -05:00
momo-i
95620b40a1 Fixed messages translatable. 2011-12-27 15:30:25 +09:00
momo-i
9f491c064a Fixed messages translatable. 2011-12-27 15:15:06 +09:00
Karl Vollmer
0c779f36f7 Switched Ping date to ISO 8601, added expire to handshake also ISO 8601 2011-12-19 12:43:51 -04:00
Paul Arthur
0c90811df4 Fix catalog clean 2011-12-02 10:28:20 -05:00
Karl Vollmer
312052f235 Fix some missing documentation, remove some obsolete functions 2011-12-01 22:00:40 -04:00
Karl Vollmer
a350ae1dbc Fix Libre.FM scrobbling, remove errant data in handshake response 2011-12-01 21:47:24 -04:00
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
296fb051c7 Add mbids and mode to the song xml response 2011-11-29 11:34:33 -04:00
Karl Vollmer
7d9313f808 Merge branch 'master' of gitorious.org:ampache/ampache 2011-11-28 16:07:24 -04:00
Karl Vollmer
ac366c1c0c Removed defunct functions, in theory inserting remote songs, untested though 2011-11-28 16:06:34 -04:00
Paul Arthur
ca3fe67e49 FS#201 - Video files broken in search
Video searching was trying to use explode instead of implode.  That
won't work.
2011-11-28 13:35:24 -05: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
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