INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 3  (Read 7708 times)

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
[ANN] Official JRiver last.fm/audioscrobbler plugin Beta 3
« on: September 11, 2006, 01:39:44 pm »

[ANN] Official JRiver last.fm/audioscrobbler plugin Beta 2

Hi All,

The next beta of the official JRiver plugin can be downloaded here:

http://www.jdnet.co.uk/jriver/as_beta.zip


*IMPORTANT* - Please uninstall any previous Beta as well as clearing out the files in this directory (if you have it):

<Documents and Settings>\<User>\Application Data\J River\last.fm\


This is a stand-alone module at the moment (i.e. download the .ZIP file, extract the .EXE and run it) but in the future it may be merged into the main MC program.

When you first fire up MC after installation you will be prompted to enter your username/password, after clicking OK MC will start registering the following filetypes:

  *.mp3,*.wav,*.ogg,*.flac,*.ape,*.mpc,*.wma,*.wv


If there's any other audio filetypes I have missed let me know.


Please post any bug reports in this thread.


Here's what's new since the previous beta:

Refactored submission code and changed internal track object to be a ref counting smart ptr for efficiency.
Added buddy system so you can see what your friends are listening too, default hotkey is Alt+Win+B
Made sure tracks submitted using UTC time (as per AS spec) however can be overriden by setting UseUTC=False in .INI file.
Password is mangled to prevent casual theft


If there are no problems with this then I will release this as v1 shortly since it's functional.   I'll then start on the other enhancements people have asked for, e.g. the ability to exclude track submission based on search criteria.



P.S.  If anyone is using the PlayingNow plugin I suggest you make sure that the last.fm support in it is disabled or else you will be registering your tracks twice!
Logged

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 3
« Reply #1 on: September 11, 2006, 02:15:57 pm »

Beta 2 Seems To Working, Submitted Fine, Using A Version Yet To Be Announced By J River.
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

lOth

  • Citizen of the Universe
  • *****
  • Posts: 785
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 3
« Reply #2 on: September 11, 2006, 10:03:12 pm »

Hi Rhino,

about this (from a previous thread):

Quote
I will be investigating recommendations.   I envisage that you would hit a hotkey combination to bring up a list of recommended tracks (which are in your MC database) that you can pick/chose what to play.   However I don't know if it's doable that way but I'll find out soon enough.

You must have a look at how Amarok integrates last.fm suggestions into its own interface. To my mind this program should be a reference for anyone who wants to use last.fm personalized data within a music player. But I guess I might have already said this in the past...
Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 3
« Reply #3 on: September 12, 2006, 01:07:25 am »

I did say ...

Quote
I'll then start on the other enhancements people have asked for, e.g. the ability to exclude track submission based on search criteria.


Your request is an enhancement and not a requirement to get last.fm support working, so I will look at it after I get v1 out.
Logged

GHammer

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1930
  • Stereotypes are a real timesaver!
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 3
« Reply #4 on: September 12, 2006, 09:57:47 pm »

This installs to C:\Program Files\J River\Media Center 11\Plugins\last.fm v1.0
No matter what version of MC is installed on the system.

Still works, just makes the directory messy. Ha!
Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 3
« Reply #5 on: September 13, 2006, 01:49:23 am »

It installs to whatever directory you want, it's just that the default it offered is MC11 since that's the current production version.   Also remember that eventually this will probably be rolled into the main MC distribution so there won't be an install.
Logged

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 3
« Reply #6 on: September 13, 2006, 05:34:27 am »

I would like to see a way to have me the user prompted before sending data.

I would Not want all songs\media I play to be sent to last.fm
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 3
« Reply #7 on: September 13, 2006, 06:09:42 am »

You would use it for about a minute then switch it off.   Prompting *every* time the plugin detected a change, asking you if you wanted to send the track would become very tiresome.

If you wanted to prompt at submition time consider the fact that the last.fm website is up and down like a yo-yo, hence the queing mechanism which is also preserved over MC sessions, so you would be prompted many times even for track you may have played hours ago.

Someone asked for the ability to create the ability to automatically exclude tracks.   I am going to look at that when v1 is out the door.

Logged

lOth

  • Citizen of the Universe
  • *****
  • Posts: 785
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 3
« Reply #8 on: September 14, 2006, 09:20:37 am »

Quote
Someone asked for the ability to create the ability to automatically exclude tracks.   I am going to look at that when v1 is out the door

Yes, for instance something like "do not send when genre=podcast". You already sort of do this with filetypes right?
Logged

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 3
« Reply #9 on: September 14, 2006, 03:10:42 pm »

Quote
Someone asked for the ability to create the ability to automatically exclude tracks.   I am going to look at that when v1 is out the door.

How about a key word filter, that may be a better way to go anyway

Allow some fields to be selected so that the plug-in will search those fields, maybe even the url so anything from a http etc... would not be sent like  lOth stated, but not just the genre field.
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

lOth

  • Citizen of the Universe
  • *****
  • Posts: 785
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 3
« Reply #10 on: September 20, 2006, 09:18:17 pm »

While MC is playing music, if for some reason I lose my internet connection (which, unfortunately, happens quite often these days) and then reconnect, the plug-in fails to submit new songs and fail to submit the queue as well, even though the connection is back on. Then, if I open and close the plug-in options window I get a "timeout while waiting for the background thread to terminate!" error a few seconds after closing.

The only way to get the plug-in to submit the queue and submit new songs again is to completely restart my computer (closing and restarting MC won't do).

I'm not sure what version of the plug-in I'm using: I downloaded it from this thread that says "beta 3", but the about tab in the options says 1.0.0.2.
Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 3
« Reply #11 on: September 21, 2006, 04:28:24 am »

what does the status log say?
Logged

lOth

  • Citizen of the Universe
  • *****
  • Posts: 785
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 3
« Reply #12 on: September 22, 2006, 11:27:53 am »

this is an example of what I get when I lose the connection:

Code: [Select]
22/09/2006 12:11:34.578 (      520) > Timeout
22/09/2006 12:11:34.578 (      519) > Wait status 258
22/09/2006 12:11:04.562 (      518) > Waiting for something to do ...
22/09/2006 12:11:04.562 (      517) > Got error 12002 while trying to connect to:
22/09/2006 12:11:04.562 (      517) > http://post.audioscrobbler.com/?hs=true&p=1.1&c=jmo&v=0.1&u=l0th
22/09/2006 12:11:04.562 (      517) > Timeout.

This is what I get when I get the connection back:

Code: [Select]
22/09/2006 12:14:27.828 (      566) > Timeout
22/09/2006 12:14:27.812 (      565) > Saving queue to C:\Documents and Settings\Guillaume\Application Data\J River\last.fm\Queue.txt ... 3 entries
22/09/2006 12:14:27.796 (      564) > Added 1 entries to queue
22/09/2006 12:14:27.781 (      563) > Wait status 1
22/09/2006 12:14:27.781 (      562) > Waiting for something to do ...
22/09/2006 12:14:27.781 (      561) > AS thread started
22/09/2006 12:14:27.765 (      560) > AS thread starting
22/09/2006 12:14:27.765 (      559) > Loaded 2 entries
22/09/2006 12:14:27.750 (      558) > Loading queue from C:\Documents and Settings\Guillaume\Application Data\J River\last.fm\Queue.txt
22/09/2006 12:14:27.750 (      557) > AS thread shutdown
22/09/2006 12:14:27.750 (      556) > AS thread killed
22/09/2006 12:14:15.875 (      555) > Shutting down AS thread

edit: in addition, I've noticed that once I get the error message, the plug-in stops adding songs to the queue, so that whatever is then listened to is lost forever for last.fm
Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 3
« Reply #13 on: September 22, 2006, 04:31:15 pm »

Yeah, it looks like there is a bug.   I have fixed it so look out for it in the next beta.
Logged

GHammer

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1930
  • Stereotypes are a real timesaver!
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 3
« Reply #14 on: September 29, 2006, 08:53:12 am »

I'd like to see WLM ability included in this.
Ever look to see how Yahoo Messenger does their message?
Logged

lOth

  • Citizen of the Universe
  • *****
  • Posts: 785
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 3
« Reply #15 on: September 29, 2006, 10:24:53 am »

Yeah, it looks like there is a bug.   I have fixed it so look out for it in the next beta.

Did something change on the last.fm end? I'm asking because your PlayingNow plugin (v. 1.3.0.10) now behaves in the same way. It used to work just fine for me but now I get this same behavior and error message with it.
Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 3
« Reply #16 on: September 29, 2006, 11:12:56 am »

Nope ... just a bug in the code.

P.S.  If anyone is interested I have added the ability to perform a filter on what is submitted using MC's searching capability.   It's cool.
Logged

AoXoMoXoA

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1551
  • I am a kangaroo . . . . no, really!
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 3
« Reply #17 on: September 29, 2006, 01:20:30 pm »

nice job Rhino,
thanx!
Logged
. . . the game is rigged

escaflo

  • Galactic Citizen
  • ****
  • Posts: 409
  • And the answer is.... 42!
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 3
« Reply #18 on: September 29, 2006, 02:42:28 pm »

Seems to have some problem uploading international characters.

http://www.last.fm/user/escaflo/

A lot of Japanese and Chinese fonts coming up as gibberish. Funny thing is some of it works but some of it doesn't.
Logged
Don't Panic!

lOth

  • Citizen of the Universe
  • *****
  • Posts: 785
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 3
« Reply #19 on: September 29, 2006, 06:41:28 pm »

Nope ... just a bug in the code.

P.S.  If anyone is interested I have added the ability to perform a filter on what is submitted using MC's searching capability.   It's cool.

I for one am interested in both the bug fix and this new ability.

I just saw iscrobbler 1.2 work on a Mac. Very interesting ability to submit to last.fm from the recently played smartlist... I think it must keep a list of songs submitted, compare it to the recently played smartlist and just send whatever has not been submitted yet. I think the point of this is to submit songs listened on a portable player right after you synced the playstats. Any chance we could end up getting something like this here? I'm tired of using audiopod and of forgetting to first plug my iPod without MC running (so that I can send my play stats to last.fm before MC resets the playcounts in the itunesdb file).
Logged

lOth

  • Citizen of the Universe
  • *****
  • Posts: 785
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 3
« Reply #20 on: October 06, 2006, 10:02:00 am »

bump.

I have seen so many submissions lost forever in the last few days (still same error message as above) that I'm on the verge of installing iTunes. Now, if that doesn't tell you how desperate I am for a fix...
Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 3
« Reply #21 on: October 06, 2006, 04:32:04 pm »

LOL ... far too many things have happened in my life over the past couple of weeks that working on this has dropped priority.

However don't despair ... once I've ordered my new car and got my birthday out of the way I will be back onto this at the beginning of next week.   I've also treated myself to an 80GB iPod so you never know ... I may even look at this playstats issue since it affects me now :D
Logged

lOth

  • Citizen of the Universe
  • *****
  • Posts: 785
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 3
« Reply #22 on: October 06, 2006, 09:46:42 pm »

Quote
LOL ... far too many things have happened in my life over the past couple of weeks that working on this has dropped priority.

yeah, reallife.com catching up on you. Don't we all know that... Could suck. Although working less is not necessarily bad.

Quote
I've also treated myself to an 80GB iPod so you never know ...

Before your birthday? So what are you getting ON your birthday. Must be real good.
Anyway, I'm glad you got one as I'm sure you'll shortly be looking into how to submit tracks you listen with your brand new ipod (in your brand new car? can I recommend this?). I'm also sure you'll stumble on audiopod* and that you'll wish you have something that better integrate within MC. And then I'm sure you'll start coding :D

Anyway, happy birthday.
Have fun.

* : about audiopod, you might want to look at what this guy did. Might give you ideas...
Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Logged
Pages: [1]   Go Up