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
Karl Vollmer
296fb051c7
Add mbids and mode to the song xml response
2011-11-29 11:34:33 -04:00
Paul Arthur
fb40835e42
Make the API return more data for songs
2011-06-28 14:50:41 -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
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
momo-i
626308280b
modified comment for phpdoc
2011-02-21 07:23:49 +09: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
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
Karl 'vollmerk' Vollmer
e3300cc53b
Resolved #39 - slightly differently then provided patch - Adds attribute hack to keyd_array in xmlclass and video xspf support
2010-03-21 13:07:00 +00:00
Paul 'flowerysong' Arthur
1cb0983ed0
Cosmetics: remove trailing whitespace
2010-03-14 20:14:52 +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
d60ba66efd
sync of fix for #554
2009-11-19 00:25:50 +00:00
Karl 'vollmerk' Vollmer
9f97853579
Fix xml response so offset is used even if limit is not reached
2009-11-18 16:56:45 +00:00
Karl 'vollmerk' Vollmer
fa9bef64d8
Sync to trunk
2009-11-14 06:46:30 +00:00
Karl 'vollmerk' Vollmer
02f8bb52fd
fix url to song, and throw some non-working tag cloud crap in
2009-05-19 22:47:49 +00:00
Karl 'vollmerk' Vollmer
d84e62dba7
api fixes, added librefm scrobbler (untested) and fixed minor error in header file with rtl vs ltr languages also removed dead RioPlayer plugin
2009-05-18 17:34:22 +00:00
Karl 'vollmerk' Vollmer
5bd82180f5
some incomplete work cleaning up the api a bit
2009-05-17 15:51:29 +00:00
Karl 'vollmerk' Vollmer
8858b6bc5a
fix typo in video xml
2009-04-14 21:35:19 +00:00
Karl 'vollmerk' Vollmer
cc36557ebd
add in the democratic methods (untested)
2009-03-15 23:40:34 +00:00
Karl 'vollmerk' Vollmer
fdb7c58cb1
fix typo causing height to not display on art retrival, update to db allowing gc of tmp_browse, add extension to api album art image urls
2009-03-15 16:16:04 +00:00
Karl 'vollmerk' Vollmer
eda8070b7f
fix tags in the api
2009-03-10 21:45:15 +00:00
Karl 'vollmerk' Vollmer
a3e1bf7850
add video data to the API and add missing count="X" value to tag information
2009-03-10 00:03:16 +00:00
Karl 'vollmerk' Vollmer
80e16c888b
add tags to the artist and album xml documents
2009-03-09 22:31:24 +00:00
Karl 'vollmerk' Vollmer
e4ad47579a
implement tag information on song xml document for the api, and put back genre (first tag) for backwards compatiblity
2009-03-09 21:38:27 +00:00
Karl 'vollmerk' Vollmer
abc6eac0e3
maybe fix #404 , unconfirmed implemented #405 other misc cleanup
2009-03-01 23:47:36 +00:00
Karl 'vollmerk' Vollmer
6777ec1e2e
first work on next db update, correct play_url() removing redundent path, fix democratic play clear
2009-03-01 00:10:49 +00:00
Karl 'vollmerk' Vollmer
dbdd96ed1b
unify how the stream is constructed and played, this is a major change might be some regressions
2009-02-28 18:13:48 +00:00
Karl 'vollmerk' Vollmer
784ccfd5cf
added mimetype to XML for song objects
2009-01-25 17:36:10 +00:00
Karl 'vollmerk' Vollmer
07f8ef395a
finished up the rss feed stuff for now playing, it is currently the only type that works, should conform to rss standards now
2008-12-07 14:02:12 +00:00
Karl 'vollmerk' Vollmer
287a46f11e
some work on the rss feed stuff
2008-12-06 18:47:09 +00:00
Kevin James 'purdyk' Purdy
c07ea5d5d4
Fixed typo in playlist xml.
2008-12-02 19:26:55 +00:00
Karl 'vollmerk' Vollmer
73809f0c1d
improved error messages for api, includes additional information on handshake failure, also translate the errors
2008-11-29 16:48:12 +00:00
Karl 'vollmerk' Vollmer
0bd925f488
add the ratings to the album and artist xml results, fixed a logic error on the api session extending
2008-11-19 17:02:37 +00:00
Karl 'vollmerk' Vollmer
0d0f8c23f4
more cleanup, added numeric values of ratings to the song xml return
2008-11-15 20:49:08 +00:00
Karl 'vollmerk' Vollmer
2878f7eebd
fixed lack of refresh when switching between localplay and other play methods
2008-05-08 15:32:01 +00:00
Karl 'vollmerk' Vollmer
06652fe040
implement xml error codes rather then relying on string parsing
2008-03-20 07:52:51 +00:00
Karl 'vollmerk' Vollmer
b96588ebc5
stupid typo on the art xml doc
2008-03-17 20:13:21 +00:00
Karl 'vollmerk' Vollmer
e95db50a74
added a few more fields to the xml documents passed by the api and included install doc patch
2008-03-17 04:12:15 +00:00
Karl 'vollmerk' Vollmer
adc4e061f4
add size to song xml
2008-03-14 15:00:28 +00:00
Karl 'vollmerk' Vollmer
5296a8d351
fixed issue with xmlapi when no limit provided, fixed now playing refresh, fixed single item update (Thx alex2008) added some more stuff for managing shoutbox stuff, started work on implementation of CoFs system added untested search method on xmlapi
2008-01-19 23:11:57 +00:00
Karl 'vollmerk' Vollmer
d709751a3f
fixed registration, show edit song title issue and added limit to xml api
2008-01-10 09:14:18 +00:00
Karl 'vollmerk' Vollmer
be699cab75
fixed opera playback, added playlist mojo to the xml api doodly, konqueror is still broken as is the API and XML-RPC stuff, also updated prototype.js
2007-12-22 05:14:14 +00:00
Karl 'vollmerk' Vollmer
67cbb218cd
renamed xml-rpc acl to rpc, added default mime type of image/jpg and added config options for batch download to the fs, no garbage collection for non-completed downloads yet.
2007-11-22 17:44:10 +00:00
Karl 'vollmerk' Vollmer
090d4f6899
some temporary tweaks to make the whole amarok thing work, will be tweaking this as it is currently slightly insecure
2007-11-21 18:26:00 +00:00
Karl 'vollmerk' Vollmer
9ded189f8c
really fixed image, and put in a quick hack on play for api access
2007-11-21 08:44:21 +00:00
Karl 'vollmerk' Vollmer
8f883bfa45
two fixes for invalid artist ids in album xml and parse error on image.php
2007-11-21 08:35:31 +00:00