Re: [SlimDevices: Plugins] Last.fm & Trackstat

2010-10-21 Thread erland
lrossouw;584264 Wrote: > > I've also played arround with measuring the similarity of two tracks > using tag data, though not part of the script this could be very useful > for a musicip replacement. > Can you give us some more details about this, sounds interesting. -- erland Erland Isaks

Re: [SlimDevices: Plugins] Last.fm & Trackstat

2010-10-21 Thread lrossouw
hajnes;581487 Wrote: > Well, quite a time since the last post in this thread... > > Have you made any progress with your script?? > > Would realy be nice to update Trackstat with the information from > Last.fm My script is running more or less but something has recently changed resulting in pr

Re: [SlimDevices: Plugins] Last.fm & Trackstat

2010-10-08 Thread hajnes
Well, quite a time since the last post in this thread... Have you made any progress with your script?? Would realy be nice to update Trackstat with the information from Last.fm -- hajnes hajnes's Profile: http://forums.s

Re: [SlimDevices: Plugins] Last.fm & Trackstat

2009-08-27 Thread lrossouw
Managed the utf8. I hadn't set the connection with MySQL to utf8 mode. This simplifies things a lot. Only needed decode statements in one or two places. And seems to be working. So now did a full scan of last.fm global play count data for my library. Also imported my last.fm history. Now jus

Re: [SlimDevices: Plugins] Last.fm & Trackstat

2009-08-25 Thread lrossouw
craigim;451736 Wrote: > I am not a programmer Neither am I :D Will get something done over the weekend. But it won't be a plugin. It will be a separate script that you need to run outside of SqueezeCentre. Something like the flac2mp3 script if you've used that. -- lrossouw 'Last.fm' (htt

Re: [SlimDevices: Plugins] Last.fm & Trackstat

2009-08-25 Thread craigim
> Will do, if there is interest. No point otherwise. I actually came to the forum today to see if there was a plugin to do this very thing. I am not a programmer, so I can offer no advice whatsoever, but if it ever becomes a working plugin, I would use it every day and would be happy to test out

Re: [SlimDevices: Plugins] Last.fm & Trackstat

2009-08-25 Thread erland
lrossouw;451556 Wrote: > Oops no :) I'm using SQL as my script is not written as a plugin. > Everything is done with SQL statements and get statements to fetch xml > from the Last.fm website. > > Is there a place I can look at the source for your plugins to learn a > few lessons on this? I

Re: [SlimDevices: Plugins] Last.fm & Trackstat

2009-08-25 Thread lrossouw
erland;451530 Wrote: > I'm guessing you read the artist name from a Slim::Schema::* object and > not directly using SQL ? Oops no :) I'm using SQL as my script is not written as a plugin. Everything is done with SQL statements and get statements to fetch xml from the Last.fm website. erland;4

Re: [SlimDevices: Plugins] Last.fm & Trackstat

2009-08-24 Thread erland
lrossouw;451522 Wrote: > > Will have a look to see what the scrobbler does when it submits tracks. > If I can find it... > It's in Slim/Plugin/AudioScrobbler/Plugin.pm and it seems to do the same thing as far as I can see. I'm guessing you read the artist name from a Slim::Schema::* object and

Re: [SlimDevices: Plugins] Last.fm & Trackstat

2009-08-24 Thread lrossouw
Thanks for your comprehensive reply. erland;451388 Wrote: > You can probably expect a database change between 7.4 and 8.0 as 7.4 > will be based on MySQL while 8.0 is planned to be based on SQLite. > I read about this and not sure how I will handle this as yet. erland;451388 Wrote: > If it's

Re: [SlimDevices: Plugins] Last.fm & Trackstat

2009-08-24 Thread erland
lrossouw;451114 Wrote: > > 1) The tables I create seem to survive rescans. Do they survive > squeezecentre upgrades? Only needed to keep the weekly history of > (c)-(e). > There are no guarantees. Mine has survived all upgrades beside the upgrades where the database engine changed (6.3(SQLit

[SlimDevices: Plugins] Last.fm & Trackstat

2009-08-23 Thread lrossouw
Hi I'm writing a perl script which would import the last.fm counts to Erland's Trackstats plugin's tables. It would compare weekly playcounts and increase the Trackstats counts based on this. This should allow for a way to get plays form any Last.fm compatible player into the trackstats. I.e. i