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 2  (Read 5859 times)

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
[ANN] Official JRiver last.fm/audioscrobbler plugin Beta 2
« on: August 14, 2006, 09:44:16 am »

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:

  Fix - Issue where entering/exiting options dialog would constantly add tracks to queue
  Fix - Setup now deletes .INI and logfiles when uninstalling
  Fix - Now can submit stuff with ampersands, etc.
  Change - Now using the J River authorised submition ID to the last.fm website.
  New - Added quick summary showing what's submitted/failed (non-skinned atm).
  New - Added ability to replace text in submitted data.


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

EpF

  • Citizen of the Universe
  • *****
  • Posts: 649
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 2
« Reply #1 on: August 14, 2006, 01:41:26 pm »

Just installed it, and MC tells me there's no username defined and that the plugin is dasabled, but when I click ok and MC starts, it's not disabled and there is a username - it's the same as the one for this board; is there a minimum character limit for username that is over 3?

zxsix

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1753
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 2
« Reply #2 on: August 15, 2006, 01:52:10 am »

Working fine for me.
Thanks for adding my suggested feature.
 8)
Logged

toja

  • Member
  • *
  • Posts: 1
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 2
« Reply #3 on: August 15, 2006, 02:56:56 am »

It looks like it has the same problem as the Playing now plugin, no unicode support. Unfortunately that makes it pretty unusable.
Logged

jojo1967

  • Recent member
  • *
  • Posts: 47
  • I'm a music junkie
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 2
« Reply #4 on: August 15, 2006, 03:01:34 am »

I realy like the additional info, .....

For some reason I've lost sending track info.  I've checked what I can think of.

btw;  I liked the idea one member had mentioned regrding the plugin.  I loved the Amarok handled the Last.fm info, and added sugestions to the current play list.
Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 2
« Reply #5 on: August 15, 2006, 04:48:25 am »

It looks like it has the same problem as the Playing now plugin, no unicode support. Unfortunately that makes it pretty unusable.

Unicode support is almost done.
Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 2
« Reply #6 on: August 15, 2006, 04:49:23 am »

Just installed it, and MC tells me there's no username defined and that the plugin is dasabled, but when I click ok and MC starts, it's not disabled and there is a username - it's the same as the one for this board; is there a minimum character limit for username that is over 3?

No, there is no limit.   Either there is a username or there isn't as far as the code is concerned.   Try uninstalling then deleting all the files in the settings directory then re-install.
Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 2
« Reply #7 on: August 15, 2006, 04:52:29 am »

I realy like the additional info, .....

For some reason I've lost sending track info.  I've checked what I can think of.

btw;  I liked the idea one member had mentioned regrding the plugin.  I loved the Amarok handled the Last.fm info, and added sugestions to the current play list.

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.

Regarding having lost the ability to send ... what does the status logfile say?
Logged

JohnM

  • Regular Member
  • World Citizen
  • ***
  • Posts: 104
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 2
« Reply #8 on: August 15, 2006, 06:16:14 am »

Hi!

I have some questions (and problems) with the plugin:
  • I suppose I don't have to download and install anything from last.fm?
  • I managed to get some files to be submitted to last.fm but only after I rebooted the computer. Now no files are added to the queue (from Playing Now)... Oh, the plugin added 10 files to the queue as I'm writing this... There must be a time setting that tells the plugin when to act.
  • How often does it submit to last.fm?
  • I noticed that the time "When submitted" is 3 hours off from my system time. (The time in the status file is ok but the time in the queue file is 3 hours earlier)


BR John
Logged

jojo1967

  • Recent member
  • *
  • Posts: 47
  • I'm a music junkie
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 2
« Reply #9 on: August 15, 2006, 10:57:03 am »

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.

Regarding having lost the ability to send ... what does the status logfile say?
I'll copy the logfile from my music server and send it up to you

<edit>
OK, good news, it's working as it should, now.... I cleared out everything, then logged off, re-installed again and apears to be working now.  I think one file (audioscrobbler.dl wasn't deleting because it was in use..

Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 2
« Reply #10 on: August 15, 2006, 11:58:13 am »

Hi!

I have some questions (and problems) with the plugin:
  • I suppose I don't have to download and install anything from last.fm?
Correct.


Quote
  • I managed to get some files to be submitted to last.fm but only after I rebooted the computer. Now no files are added to the queue (from Playing Now)... Oh, the plugin added 10 files to the queue as I'm writing this... There must be a time setting that tells the plugin when to act.

When more than 50% of the track is played or when more than 240 seconds has passed the track is added to the plugins submission queue.   MC's playing now list is scanned 3 times a second.   The plugin also polls the submission queue every 30 seconds to see if there's something to do.


Quote
  • How often does it submit to last.fm?

When there's something to submit, subject to the above condition.

Your questions have prompted me to go over that section of the code and I notice that there is a chance of an infinite-loop albeit one which will not spin CPU.   I have fixed this so in the next version the plugin will submit the queue every 30 seconds (or when the currently playing track should be submitted) whichever is soonest.

Quote
  • I noticed that the time "When submitted" is 3 hours off from my system time. (The time in the status file is ok but the time in the queue file is 3 hours earlier)

Could it be that the track was recorded earlier and connection problems prevented the track from being submitted?
Logged

JohnM

  • Regular Member
  • World Citizen
  • ***
  • Posts: 104
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 2
« Reply #11 on: August 15, 2006, 02:26:40 pm »

Thanks, RihinoBanga!

Quote
Could it be that the track was recorded earlier and connection problems prevented the track from being submitted?

I installed the plugin on my work computer so it takes a while before I can check this but what I can recall I noticed the same difference in time on both the queue-file and in the status-file. I.e. the timestamp in the status file for an addition to the queue differs from the time  stamped in the queue file for the tracks... UTC time in the queue file, system time in the status file?

Quote
When there's something to submit, subject to the above condition.

Your questions have prompted me to go over that section of the code and I notice that there is a chance of an infinite-loop albeit one which will not spin CPU.   I have fixed this so in the next version the plugin will submit the queue every 30 seconds (or when the currently playing track should be submitted) whichever is soonest.

Today I had over 1000 tracks in the playing now, played over 40 tracks about 15-20 of them got transferred to the queue-file and none got submitted to last.fm. No error file was created...

John
Logged

JohnM

  • Regular Member
  • World Citizen
  • ***
  • Posts: 104
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 2
« Reply #12 on: August 16, 2006, 12:39:12 am »

Quoting myself:
Quote
Today I had over 1000 tracks in the playing now, played over 40 tracks about 15-20 of them got transferred to the queue-file and none got submitted to last.fm. No error file was created...
Well this morning when I started MC all the files (it was more than the 15-20) in the the queue file (played yesterday) were submitted to last.fm.

It seems to work now... except for the timestamps. In the tree view the When submitted and When played timestamps differs 3 hours from my system time.   I live in Finland so UTC - GMT+2 is 3...
Does the plugin take the time from last.fm servers? I noticed that the last.fm time is by default UTC but i changed that to GMT+2 yesterday.

Edit: last.fm handles the time correctly though. Recent tracks shows when played correctly (6 mins ago, 10 mins ago etc)

BR John
Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 2
« Reply #13 on: August 16, 2006, 12:44:24 pm »

Quoting myself:Well this morning when I started MC all the files (it was more than the 15-20) in the the queue file (played yesterday) were submitted to last.fm.

It seems to work now... except for the timestamps. In the tree view the When submitted and When played timestamps differs 3 hours from my system time.   I live in Finland so UTC - GMT+2 is 3...
Does the plugin take the time from last.fm servers? I noticed that the last.fm time is by default UTC but i changed that to GMT+2 yesterday.

Edit: last.fm handles the time correctly though. Recent tracks shows when played correctly (6 mins ago, 10 mins ago etc)

BR John

Hi John,

I have fixed the time issue.   I was sending the system time and not the local time.   Look for it in the next beta.
Logged

JohnM

  • Regular Member
  • World Citizen
  • ***
  • Posts: 104
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 2
« Reply #14 on: August 17, 2006, 12:16:18 am »

 ;D

Thanks!

John

Logged

wilfredjg

  • World Citizen
  • ***
  • Posts: 102
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 2
« Reply #15 on: August 17, 2006, 01:23:45 am »

Thanks for the idea about rebooting. I was getting a error message.  Timeout while waiting for the background thread to terminate. After rebooting error went away.
Logged

jojo1967

  • Recent member
  • *
  • Posts: 47
  • I'm a music junkie
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 2
« Reply #16 on: August 18, 2006, 08:21:37 pm »

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.


That's a great start, I was hoping for a bit more automatic, say it just ads say 1-5 songs from your library into the playlist.  Most of the time I let the system play, every now and then I pick an album.
Logged

zirum

  • Galactic Citizen
  • ****
  • Posts: 403
  • still learning.
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 2
« Reply #17 on: August 23, 2006, 07:03:49 am »

Hi,

Just did a quick test of the scrobbler on work, but does'nt seem to get thru the proxy. But thats not where my itch is. Noticed the password in the ini-file is stored in clear text. Ain't to comfortable with having my password stored in clear text.

You have probaly thought of it, and maybe even plan to fix it in a later beta/rc, but just wanted to mention it :)
Logged
Note to myself: Read, think, write - Read, think, write - think, read, write - think, write, read - think, write, read... Aahhw, i always mess that up...

EpF

  • Citizen of the Universe
  • *****
  • Posts: 649
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 2
« Reply #18 on: September 03, 2006, 01:25:46 pm »

RhinoBanga; any chance of an 'exclude' function, where we could stop the plugin from sending info depending on tag criteria, such as 'if [genre]=audiobook do not send'?

The plugin is working for me now, by the way - no problem with username as mentioned earlier.

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 2
« Reply #19 on: September 03, 2006, 02:21:45 pm »

Hi,

Just did a quick test of the scrobbler on work, but does'nt seem to get thru the proxy. But thats not where my itch is. Noticed the password in the ini-file is stored in clear text. Ain't to comfortable with having my password stored in clear text.

You have probaly thought of it, and maybe even plan to fix it in a later beta/rc, but just wanted to mention it :)

My view is that by default XP security should protect your files.   If someone gets access to your account on your machine then I think you have more things to worry about than the PN password.

However in saying that I'll consider encrypting it in the future.
Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 2
« Reply #20 on: September 03, 2006, 02:29:47 pm »

RhinoBanga; any chance of an 'exclude' function, where we could stop the plugin from sending info depending on tag criteria, such as 'if [genre]=audiobook do not send'?

The plugin is working for me now, by the way - no problem with username as mentioned earlier.

Hmmm ... that may be difficult since all I effectively have is the currently playing track.   I'll see if I can create a hybrid search criteria that will take your component and add in the currently playing filename and perform a search.   If I get 1 qualifying track then it has failed.   Will keep you posted.
Logged

RhinoBanga

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