Re: Proposal of new package Services_AudioScrobbler
| From: | Dan Rossi | Date: | Sun, 22 Jan 2006 02:19:49 +0000 |
| Subject: | Re: Proposal of new package Services_AudioScrobbler | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-41025@lists.php.net to get a copy of this message | ||
Ive made a few changes to the code that uses Event_Dispatcher for handling the return result, however it didnt seem to want to work so well in php 4.2.2 so not using on this server. I built a demo frontend example which runs the queries and returns the results, ive added the File_XSPF for parsing xspf files, however i had to make a small edit to the code to handle data input aswell as a url as i grab the data with HTTP_Request first. It still requires caching as there is access limits on their server.
Will please message me offlist if you would like to add posting components to this, as i never even thought about that as i generally use iscrobbler for that ??
http://www.electroteque.org/pear/Services_AudioScrobbler/
http://www.electroteque.org/pear/Services_AudioScrobbler/Services_AudioScrobbler.phps
http://www.electroteque.org/pear/Services_AudioScrobbler/index.phps
There isnt much lines of code there, so if someone wants to skim read it please do.
On 20/01/2006, at 2:10 AM, David Grant wrote:
Hi Dan, I've recently committed a XSPF package to the PEAR repository, which you might like to use in some way in your package as an option (AS offers XSPF as well as straight XML). http://pear.php.net/package/File_XSPF Dan Rossi wrote:The source code is here http://www.electroteque.org/pear/Services_AudioScrobbler/index.phps http://www.electroteque.org/pear/Services_AudioScrobbler/AudioScrobbler.phps Please dont be too harsh, but harsh feedback welcome, im new at proposing PEAR packages, some of the design is modelled from other Services packages.One point I might make is that I would prefer the service keys to be constants, rather than strings. David (djg on AS) --David Grant http://www.grant.org.uk/http://pear.php.net/package/File_Ogg 0.2.1http://pear.php.net/package/File_XSPF 0.1.0