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 5  (Read 4637 times)

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
[ANN] Official JRiver last.fm/audioscrobbler plugin Beta 5
« on: August 02, 2007, 02:38:29 am »

Hi Folks,

Please find enclosed v1.0.0.5 of the last.fm plugin.

*VERY VERY VERY 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\


Here's a list of changes since the last official beta:

Code: [Select]
// 1.0.0.5 02/Aug/07 - Beta
// ! If a track submission failed with BADAUTH we did not add it to the resubmission queue (if enabled)
// - By default the plugin does not start when MC starts, you have to enable this mode in the options screen (a J River request)
// - Implemented new XML parser which supports unicode
// - Now only supply unicode version of plugin
// - Queue and replacements information now saved as XML
// - Added display of last.fm response from submission to Gui log
// + Added more support for the INTERVAL command
// + Added option to submit any queued tracks immediately when the plugin starts, this is the default
//
//
// 1.0.0.4
// ! Fixed issue where reattempt flag was not being saved
// - Added ~da to the beginning of the filename qualifier, so filter now becomes ~d=a filename=...
// - Plugin now only works under MC12 (a J River request)




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 will be merged into the main MC program.

When you first fire up MC you will have to go to the plugin section and click on the last.fm plugin to activate it.
The plugin will then prompt you to enter your username/password.
I also suggest you click on the "Run the plugin when Media Center starts" so the plugin always runs.


General comments:

1)  The plugin now only works under MC 12 - this is a J River decision so if you haven't upgraded by now I suggest you do so.
2)  The plugin by default does not start with MC.   Again this is a J River decision to speed up the starting of MC.   Therefore when you start MC after installing the plugin I suggest you go to the plugin, hit options and check "Run the plugin when Media Center starts".
3)  The plugin is now Unicode which means it should handle foreign characters sets better.
4)  The submission queue and replacements information is now held in XML.



Please post any bug reports in this thread.



Here's the link:

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


Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14277
  • I won! I won!
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 5
« Reply #1 on: August 02, 2007, 02:58:13 am »

FYI for Vista Users the LAST.FM directory to clear out is in something like "C:\Users\Administrator\AppData\Roaming\J River\last.fm\"

EDIT - All working well  ;D
Logged
JRiver CEO Elect

craft

  • Guest
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 5
« Reply #2 on: August 02, 2007, 04:16:08 am »

sweet  ;D
thanks a lot!
Logged

Higginz

  • Junior Woodchuck
  • **
  • Posts: 97
  • I'm Swedish
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 5
« Reply #3 on: August 02, 2007, 09:07:41 am »

Thanks! Installed, and scrobbling fine ;)

I really appreciate this plug-in.

Logged

221bBS

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 703
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 5
« Reply #4 on: August 02, 2007, 11:35:24 am »

Thanks!!  ;D

I still can't seem to get the filters to work.

I'm trying to get everything in the "Folder (A)" field that equals "Audio" to not submit to last.fm

normally it would be "-[Folder (A)]=Audio" but that doesn't seem to work. I've also tried
-"Folder (A)"=Audio
-"Folder (A)"="Audio"
-[Folder (A)]=[audio]

I made "foldera" the keyword for "Folder (A)" field and tried
-foldera=audio
-foldera=[audio]
but that didn't work either

I'm wonder if i have to add something in front? The file type has the "filetype=" before listing the file types... do i need to add anything?

Currently i am doing
Filetype=[mp3],[wav],[ogg],[flac],[ape],[mpc],[wma],[wv],-[Folder (A)]=audio
Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 5
« Reply #5 on: August 02, 2007, 12:33:36 pm »

Comma's are used to provide multiple entries in a list.   In the example you have given you are specifying -[Folder (A)]=audio as a filetype.

Try:

Filetype=[mp3],[wav],[ogg],[flac],[ape],[mpc],[wma],[wv] -[Folder (A)]=audio
Logged

221bBS

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 703
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 5
« Reply #6 on: August 02, 2007, 11:48:25 pm »

Comma's are used to provide multiple entries in a list.   In the example you have given you are specifying -[Folder (A)]=audio as a filetype.

Try:

Filetype=[mp3],[wav],[ogg],[flac],[ape],[mpc],[wma],[wv] -[Folder (A)]=audio


Nope, this has it submitting everything
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8967
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 5
« Reply #7 on: August 03, 2007, 02:29:08 am »

try placing the filetype specifications in the "supported extensions" field on the "Advanced" tab, and place the exclusion, -[Folder (A)]=audio in the "Advanced Filter" tab.

that ought to to do the trick.

I'm off to have another go at installing Vista....
back soon :)

-marko.

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 5
« Reply #8 on: August 03, 2007, 02:33:16 am »

Nope, this has it submitting everything

Have a look at the trace log and see what search criteria it is passing to MC, then issue that in the MC search box to see what it qualifies.   If it doesn't qualify your (valid) track then we can ask J River to look at it.
Logged

anteo

  • Member
  • *
  • Posts: 3
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 5
« Reply #9 on: August 03, 2007, 12:11:37 pm »

Seems like plugin still sends data to last.fm in plain ASCII. Therefore, cyriillic names are scrobbling wrong (using standard encoding ISO8859-1)

I found out that old last.fm plugin (it works good with cyrillic) uses POST http method to send data to server instead of GET. Additionaly, it encodes all data values in UTF-8.

To prove it, I wrote small transparent proxy in PHP. I take all GET's data from your plugin, encode it in UTF-8 and send POST query to last.fm server using CURL library. Now it works!

Hope it helps...
Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 5
« Reply #10 on: August 03, 2007, 02:55:44 pm »

That I am very surprised about.   Since the plugin is Unicode all the CString construction is in Unicode, which is what I use to create the last.fm URL, then I call the InternetOpenUrl API which takes a unicode string for the url.

I'll have a look at the weekend to see what is going on.
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 5
« Reply #11 on: August 04, 2007, 12:49:04 am »

Filtering podcasts doesn't seem to work. For me.
-genre=podcasts

But the stock includes are fine and submissions are working fine.
Logged

PushiTooL

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 71
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 5
« Reply #12 on: August 04, 2007, 02:19:14 am »

Quote
Quote
Quote from: PushiTooL on March 27, 2007, 04:18:19 PM
Can the plugin handle login/passwords that include extended ascii chars? I'm getting "Response: BADAUTH", though I'm sure the l/p I've entered are correct. My password contains an "æ" though, and I'm guessing that this is the issue. Perhaps the conversion to the scrambled/encrypted password in the .ini is where the problem occurs, or later when the scrambled pass in the .ini is de-scrambled/decrypted back to the original pass.

Whatever the case, I can't log onto the servers due to bad authentication.
Quote from: RhinoBanga on March 29, 2007, 10:04:18 PM
Hmmm ... no idea.   In theory it should be OK as I treat the string as a set of unsigned char's which will preserve the full 8-bit set.   I'm back from France now so when I settle back to normality (probably this weekend) I'll check into it.

Did you ever get a chance to check this, Rhino? I still can't authenticate to the last.fm servers with my non-standard password, even now with b5.
Logged

221bBS

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 703
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 5
« Reply #13 on: August 04, 2007, 01:02:35 pm »

My Filter is set...
Filetype=[mp3],[wav],[ogg],[flac],[ape],[mpc],[wma],[wv] -[Folder (A)]=Audio

but the search is doing...
Filetype=[mp3],[wav],[ogg],[flac],[ape],[mpc],[wma],[wv] -Music=Audio

not sure why it is replace "-[Folder (A)]=Audio" with "-Music=Audio"
Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 5
« Reply #14 on: August 06, 2007, 04:14:38 am »

Filtering podcasts doesn't seem to work. For me.
-genre=podcasts

But the stock includes are fine and submissions are working fine.

Works fine for me.   #38/37 show only submitting genre=podcasts and #52/50 show excluding genre=podcasts

Code: [Select]
06/08/2007 10:12:05.498 (       65) > Waiting for something to do ...
06/08/2007 10:12:05.373 (       64) > Saving queue to c:\Documents and Settings\jdickson\Application Data\J River\last.fm\Queue.xml ... 0 entries
06/08/2007 10:12:04.327 (       63) > Sleeping 1 seconds
06/08/2007 10:12:04.265 (       62) >   Response: INTERVAL 1
06/08/2007 10:12:04.202 (       61) >   Response: OK
06/08/2007 10:12:03.765 (       60) > Built post reply: 'u=rhinobanga&s=7d7c7e168fad7ef3b8c6d835c6e3b6e9&a[0]=ZZ%20Top&t[0]=Gimme%20All%20Your%20Lovin&b[0]=Eliminator&m[0]=&l[0]=244&i[0]=2007-08-06%2009:12:02&'
06/08/2007 10:12:02.735 (       59) > Sleeping 1 seconds
06/08/2007 10:12:02.704 (       58) >   Response: INTERVAL 1
06/08/2007 10:12:02.672 (       57) >   Response: http://87.117.229.205:80/protocol_1.1
06/08/2007 10:12:02.657 (       56) >   Response: 0dc7dd8f916f647f477b3a99da649237
06/08/2007 10:12:02.626 (       55) >   Response: UPTODATE
06/08/2007 10:12:02.579 (       54) > Timeout
06/08/2007 10:12:02.547 (       53) > Saving queue to c:\Documents and Settings\jdickson\Application Data\J River\last.fm\Queue.xml ... 1 entries
06/08/2007 10:12:02.501 (       52) > Added 1 entries to queue
06/08/2007 10:12:02.438 (       51) > Wait status 1
06/08/2007 10:12:02.376 (       50) > Issuing the following filter: ~d=a filename="C:\My Music\ZZ Top\1983 - Eliminator\01 - Gimme All Your Lovin.mp3" Filetype=[mp3],[wav],[ogg],[flac],[ape],[mpc],[wma],[wv] -genre=podcasts
06/08/2007 10:11:56.303 (       49) > Waiting for something to do ...
06/08/2007 10:11:56.287 (       47) > AS thread starting
06/08/2007 10:11:56.256 (       46) > Loaded 0 entries
06/08/2007 10:11:56.224 (       45) > Loading queue from c:\Documents and Settings\jdickson\Application Data\J River\last.fm\Queue.xml
06/08/2007 10:11:56.209 (       44) > AS thread shutdown
06/08/2007 10:11:56.178 (       43) > AS thread killed
06/08/2007 10:11:56.162 (       42) > Saving queue to c:\Documents and Settings\jdickson\Application Data\J River\last.fm\Queue.xml ... 0 entries
06/08/2007 10:11:56.115 (       41) > Told to exit
06/08/2007 10:11:56.053 (       40) > Wait status 0
06/08/2007 10:11:55.990 (       39) > Shutting down AS thread
06/08/2007 10:11:24.594 (       38) > File did not qualify (0) therefore it's not being submitted!
06/08/2007 10:11:24.547 (       37) > Issuing the following filter: ~d=a filename="C:\My Music\ZZ Top\1983 - Eliminator\01 - Gimme All Your Lovin.mp3" Filetype=[mp3],[wav],[ogg],[flac],[ape],[mpc],[wma],[wv] genre=podcasts
06/08/2007 10:11:17.802 (       36) > Waiting for something to do ...
06/08/2007 10:11:17.787 (       34) > AS thread starting
Logged

RhinoBanga

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

My Filter is set...
Filetype=[mp3],[wav],[ogg],[flac],[ape],[mpc],[wma],[wv] -[Folder (A)]=Audio

but the search is doing...
Filetype=[mp3],[wav],[ogg],[flac],[ape],[mpc],[wma],[wv] -Music=Audio

not sure why it is replace "-[Folder (A)]=Audio" with "-Music=Audio"

No string manipulation of the filter takes place.   Can you post the subset of the logfile showing what the plugin is doing please.
Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 5
« Reply #16 on: August 06, 2007, 04:18:56 am »

Quote from: RhinoBanga on March 29, 2007, 10:04:18 PM
Hmmm ... no idea.   In theory it should be OK as I treat the string as a set of unsigned char's which will preserve the full 8-bit set.   I'm back from France now so when I settle back to normality (probably this weekend) I'll check into it.


Did you ever get a chance to check this, Rhino? I still can't authenticate to the last.fm servers with my non-standard password, even now with b5.

Sorry, I haven't looked into it.   Drop me an email (jamie(_at_)jdnet.co.uk) and we'll get this sorted.
Logged

221bBS

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 703
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 5
« Reply #17 on: August 06, 2007, 10:39:08 am »

Here's my log

Code: [Select]
06/08/2007 11:29:07.328 (       76) > File did not qualify (0) therefore it's not being submitted!
06/08/2007 11:29:07.187 (       75) > Issuing the following filter: ~d=a filename="E:\Music\Artist\M\Madonna\Like A Virgin\(03) Madonna - Like A Virgin.flac" Filetype=[mp3],[wav],[ogg],[flac],[ape],[mpc],[wma],[wv],[m4a] -Pop | Hip Hop=audio
06/08/2007 11:21:47.562 (       74) > Waiting for something to do ...
06/08/2007 11:21:47.531 (       72) > AS thread starting
06/08/2007 11:21:47.515 (       71) > Loaded 0 entries
06/08/2007 11:21:47.484 (       70) > Loading queue from C:\Documents and Settings\221bBS\Application Data\J River\last.fm\Queue.xml
06/08/2007 11:21:47.468 (       69) > AS thread shutdown
06/08/2007 11:21:47.437 (       68) > AS thread killed
06/08/2007 11:21:47.406 (       67) > Saving queue to C:\Documents and Settings\221bBS\Application Data\J River\last.fm\Queue.xml ... 0 entries
06/08/2007 11:21:47.390 (       66) > Told to exit
06/08/2007 11:21:47.359 (       65) > Wait status 0
06/08/2007 11:21:47.328 (       64) > Shutting down AS thread
06/08/2007 11:21:15.015 (       63) > Waiting for something to do ...
06/08/2007 11:21:15.000 (       62) > Saving queue to C:\Documents and Settings\221bBS\Application Data\J River\last.fm\Queue.xml ... 0 entries
06/08/2007 11:21:13.968 (       61) > Sleeping 1 seconds
06/08/2007 11:21:13.953 (       60) >   Response: INTERVAL 1
06/08/2007 11:21:13.921 (       59) >   Response: OK
06/08/2007 11:21:13.593 (       58) > Sending http://87.117.229.205:80/protocol_1.1?u=Shat221bBS&s=4802cf75d727f7763d9a3b5d3f177bac&a[0]=Madonna&t[0]=Angel&b[0]=Like%20A%20Virgin&m[0]=&l[0]=235&i[0]=2007-08-06 15:21:11&
06/08/2007 11:21:12.562 (       57) > Sleeping 1 seconds
06/08/2007 11:21:12.531 (       56) >   Response: INTERVAL 1
06/08/2007 11:21:12.515 (       55) >   Response: http://87.117.229.205:80/protocol_1.1
06/08/2007 11:21:12.484 (       54) >   Response: 07b6333feeb311e8de4cb32e803338d6
06/08/2007 11:21:12.468 (       53) >   Response: UPTODATE
06/08/2007 11:21:11.953 (       52) > Timeout
06/08/2007 11:21:11.937 (       51) > Saving queue to C:\Documents and Settings\221bBS\Application Data\J River\last.fm\Queue.xml ... 1 entries
06/08/2007 11:21:11.906 (       50) > Added 1 entries to queue
06/08/2007 11:21:11.890 (       49) > Wait status 1
06/08/2007 11:21:11.750 (       48) > Issuing the following filter: ~d=a filename="E:\Music\Artist\M\Madonna\Like A Virgin\(02) Madonna - Angel.flac" Filetype=[mp3],[wav],[ogg],[flac],[ape],[mpc],[wma],[wv],[m4a] -genre=audio
06/08/2007 11:20:15.656 (       47) > Waiting for something to do ...
06/08/2007 11:20:15.625 (       45) > AS thread starting
06/08/2007 11:20:15.609 (       44) > Loaded 0 entries
06/08/2007 11:20:15.578 (       43) > Loading queue from C:\Documents and Settings\221bBS\Application Data\J River\last.fm\Queue.xml
06/08/2007 11:20:15.562 (       42) > AS thread shutdown
06/08/2007 11:20:15.531 (       41) > AS thread killed
06/08/2007 11:20:15.515 (       40) > Saving queue to C:\Documents and Settings\221bBS\Application Data\J River\last.fm\Queue.xml ... 0 entries
06/08/2007 11:20:15.484 (       39) > Told to exit
06/08/2007 11:20:15.468 (       38) > Wait status 0
06/08/2007 11:20:15.437 (       37) > Shutting down AS thread
06/08/2007 11:17:27.687 (       36) > Waiting for something to do ...
06/08/2007 11:17:27.671 (       35) > Saving queue to C:\Documents and Settings\221bBS\Application Data\J River\last.fm\Queue.xml ... 0 entries
06/08/2007 11:17:26.640 (       34) > Sleeping 1 seconds
06/08/2007 11:17:26.609 (       33) >   Response: INTERVAL 1
06/08/2007 11:17:26.593 (       32) >   Response: OK
06/08/2007 11:17:22.953 (       31) > Sending http://87.117.229.205:80/protocol_1.1?u=Shat221bBS&s=67f4d17d41ea35d64c028360dbff168e&a[0]=Madonna&t[0]=Material%20Girl&b[0]=Like%20A%20Virgin&m[0]=&l[0]=241&i[0]=2007-08-06 15:17:21&
06/08/2007 11:17:21.937 (       30) > Sleeping 1 seconds
06/08/2007 11:17:21.906 (       29) >   Response: INTERVAL 1
06/08/2007 11:17:21.890 (       28) >   Response: http://87.117.229.205:80/protocol_1.1
06/08/2007 11:17:21.859 (       27) >   Response: eb4b92a914174822f41f5fdcbd140e5e
06/08/2007 11:17:21.843 (       26) >   Response: UPTODATE
06/08/2007 11:17:21.468 (       25) > Timeout
06/08/2007 11:17:21.453 (       24) > Saving queue to C:\Documents and Settings\221bBS\Application Data\J River\last.fm\Queue.xml ... 1 entries
06/08/2007 11:17:21.421 (       23) > Added 1 entries to queue
06/08/2007 11:17:21.390 (       22) > Wait status 1
06/08/2007 11:17:21.234 (       21) > Issuing the following filter: ~d=a filename="E:\Music\Artist\M\Madonna\Like A Virgin\(01) Madonna - Material Girl.flac" Filetype=[mp3],[wav],[ogg],[flac],[ape],[mpc],[wma],[wv],[m4a] -Music=audio
06/08/2007 11:05:53.515 (       19) > AS thread started
06/08/2007 11:05:53.484 (       18) > AS thread starting
06/08/2007 11:05:53.468 (       17) > Loaded 0 entries
06/08/2007 11:05:53.437 (       16) > Loading queue from C:\Documents and Settings\221bBS\Application Data\J River\last.fm\Queue.xml
06/08/2007 11:05:53.421 (       15) > AS thread shutdown
06/08/2007 11:05:53.390 (       14) > AS thread killed
06/08/2007 11:05:53.375 (       13) > Saving queue to C:\Documents and Settings\221bBS\Application Data\J River\last.fm\Queue.xml ... 0 entries
06/08/2007 11:05:53.343 (       12) > Told to exit
06/08/2007 11:05:53.328 (       11) > Wait status 0
06/08/2007 11:05:53.296 (       10) > Shutting down AS thread
06/08/2007 11:04:27.296 (        9) > AS plugin initialised
06/08/2007 11:04:27.203 (        7) > AS thread started
06/08/2007 11:04:27.171 (        6) > AS thread starting
06/08/2007 11:04:27.156 (        5) > Loaded 0 entries
06/08/2007 11:04:27.125 (        4) > Loading queue from C:\Documents and Settings\221bBS\Application Data\J River\last.fm\Queue.xml
06/08/2007 11:04:27.093 (        3) > Created EventShutdown=0x3c4   EventData=0x400
06/08/2007 11:04:27.078 (        2) > Loaded 0 entries
06/08/2007 11:04:26.984 (        1) > Initialising AS plugin

I figured out what's going on. anytime I use "[]" it replaces it with the value.

Line 21... I used "-[Folder (A)]-Audio" but it submitted "-Music=Audio". "Music" is what is stored in "[Folder (A)]"
Line 48... I used "-genre=audio" since there was no "[]" everything was fine
Line 75... I used "-[genre]" but it submitted "Pop | Hip Hop". "[Genre]" was replaced with the genre field
Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 5
« Reply #18 on: August 06, 2007, 10:56:47 am »

Here's my log

Code: [Select]
06/08/2007 11:29:07.328 (       76) > File did not qualify (0) therefore it's not being submitted!
06/08/2007 11:29:07.187 (       75) > Issuing the following filter: ~d=a filename="E:\Music\Artist\M\Madonna\Like A Virgin\(03) Madonna - Like A Virgin.flac" Filetype=[mp3],[wav],[ogg],[flac],[ape],[mpc],[wma],[wv],[m4a] -Pop | Hip Hop=audio
06/08/2007 11:21:47.562 (       74) > Waiting for something to do ...
06/08/2007 11:21:47.531 (       72) > AS thread starting
06/08/2007 11:21:47.515 (       71) > Loaded 0 entries
06/08/2007 11:21:47.484 (       70) > Loading queue from C:\Documents and Settings\221bBS\Application Data\J River\last.fm\Queue.xml
06/08/2007 11:21:47.468 (       69) > AS thread shutdown
06/08/2007 11:21:47.437 (       68) > AS thread killed
06/08/2007 11:21:47.406 (       67) > Saving queue to C:\Documents and Settings\221bBS\Application Data\J River\last.fm\Queue.xml ... 0 entries
06/08/2007 11:21:47.390 (       66) > Told to exit
06/08/2007 11:21:47.359 (       65) > Wait status 0
06/08/2007 11:21:47.328 (       64) > Shutting down AS thread
06/08/2007 11:21:15.015 (       63) > Waiting for something to do ...
06/08/2007 11:21:15.000 (       62) > Saving queue to C:\Documents and Settings\221bBS\Application Data\J River\last.fm\Queue.xml ... 0 entries
06/08/2007 11:21:13.968 (       61) > Sleeping 1 seconds
06/08/2007 11:21:13.953 (       60) >   Response: INTERVAL 1
06/08/2007 11:21:13.921 (       59) >   Response: OK
06/08/2007 11:21:13.593 (       58) > Sending http://87.117.229.205:80/protocol_1.1?u=Shat221bBS&s=4802cf75d727f7763d9a3b5d3f177bac&a[0]=Madonna&t[0]=Angel&b[0]=Like%20A%20Virgin&m[0]=&l[0]=235&i[0]=2007-08-06 15:21:11&
06/08/2007 11:21:12.562 (       57) > Sleeping 1 seconds
06/08/2007 11:21:12.531 (       56) >   Response: INTERVAL 1
06/08/2007 11:21:12.515 (       55) >   Response: http://87.117.229.205:80/protocol_1.1
06/08/2007 11:21:12.484 (       54) >   Response: 07b6333feeb311e8de4cb32e803338d6
06/08/2007 11:21:12.468 (       53) >   Response: UPTODATE
06/08/2007 11:21:11.953 (       52) > Timeout
06/08/2007 11:21:11.937 (       51) > Saving queue to C:\Documents and Settings\221bBS\Application Data\J River\last.fm\Queue.xml ... 1 entries
06/08/2007 11:21:11.906 (       50) > Added 1 entries to queue
06/08/2007 11:21:11.890 (       49) > Wait status 1
06/08/2007 11:21:11.750 (       48) > Issuing the following filter: ~d=a filename="E:\Music\Artist\M\Madonna\Like A Virgin\(02) Madonna - Angel.flac" Filetype=[mp3],[wav],[ogg],[flac],[ape],[mpc],[wma],[wv],[m4a] -genre=audio
06/08/2007 11:20:15.656 (       47) > Waiting for something to do ...
06/08/2007 11:20:15.625 (       45) > AS thread starting
06/08/2007 11:20:15.609 (       44) > Loaded 0 entries
06/08/2007 11:20:15.578 (       43) > Loading queue from C:\Documents and Settings\221bBS\Application Data\J River\last.fm\Queue.xml
06/08/2007 11:20:15.562 (       42) > AS thread shutdown
06/08/2007 11:20:15.531 (       41) > AS thread killed
06/08/2007 11:20:15.515 (       40) > Saving queue to C:\Documents and Settings\221bBS\Application Data\J River\last.fm\Queue.xml ... 0 entries
06/08/2007 11:20:15.484 (       39) > Told to exit
06/08/2007 11:20:15.468 (       38) > Wait status 0
06/08/2007 11:20:15.437 (       37) > Shutting down AS thread
06/08/2007 11:17:27.687 (       36) > Waiting for something to do ...
06/08/2007 11:17:27.671 (       35) > Saving queue to C:\Documents and Settings\221bBS\Application Data\J River\last.fm\Queue.xml ... 0 entries
06/08/2007 11:17:26.640 (       34) > Sleeping 1 seconds
06/08/2007 11:17:26.609 (       33) >   Response: INTERVAL 1
06/08/2007 11:17:26.593 (       32) >   Response: OK
06/08/2007 11:17:22.953 (       31) > Sending http://87.117.229.205:80/protocol_1.1?u=Shat221bBS&s=67f4d17d41ea35d64c028360dbff168e&a[0]=Madonna&t[0]=Material%20Girl&b[0]=Like%20A%20Virgin&m[0]=&l[0]=241&i[0]=2007-08-06 15:17:21&
06/08/2007 11:17:21.937 (       30) > Sleeping 1 seconds
06/08/2007 11:17:21.906 (       29) >   Response: INTERVAL 1
06/08/2007 11:17:21.890 (       28) >   Response: http://87.117.229.205:80/protocol_1.1
06/08/2007 11:17:21.859 (       27) >   Response: eb4b92a914174822f41f5fdcbd140e5e
06/08/2007 11:17:21.843 (       26) >   Response: UPTODATE
06/08/2007 11:17:21.468 (       25) > Timeout
06/08/2007 11:17:21.453 (       24) > Saving queue to C:\Documents and Settings\221bBS\Application Data\J River\last.fm\Queue.xml ... 1 entries
06/08/2007 11:17:21.421 (       23) > Added 1 entries to queue
06/08/2007 11:17:21.390 (       22) > Wait status 1
06/08/2007 11:17:21.234 (       21) > Issuing the following filter: ~d=a filename="E:\Music\Artist\M\Madonna\Like A Virgin\(01) Madonna - Material Girl.flac" Filetype=[mp3],[wav],[ogg],[flac],[ape],[mpc],[wma],[wv],[m4a] -Music=audio
06/08/2007 11:05:53.515 (       19) > AS thread started
06/08/2007 11:05:53.484 (       18) > AS thread starting
06/08/2007 11:05:53.468 (       17) > Loaded 0 entries
06/08/2007 11:05:53.437 (       16) > Loading queue from C:\Documents and Settings\221bBS\Application Data\J River\last.fm\Queue.xml
06/08/2007 11:05:53.421 (       15) > AS thread shutdown
06/08/2007 11:05:53.390 (       14) > AS thread killed
06/08/2007 11:05:53.375 (       13) > Saving queue to C:\Documents and Settings\221bBS\Application Data\J River\last.fm\Queue.xml ... 0 entries
06/08/2007 11:05:53.343 (       12) > Told to exit
06/08/2007 11:05:53.328 (       11) > Wait status 0
06/08/2007 11:05:53.296 (       10) > Shutting down AS thread
06/08/2007 11:04:27.296 (        9) > AS plugin initialised
06/08/2007 11:04:27.203 (        7) > AS thread started
06/08/2007 11:04:27.171 (        6) > AS thread starting
06/08/2007 11:04:27.156 (        5) > Loaded 0 entries
06/08/2007 11:04:27.125 (        4) > Loading queue from C:\Documents and Settings\221bBS\Application Data\J River\last.fm\Queue.xml
06/08/2007 11:04:27.093 (        3) > Created EventShutdown=0x3c4   EventData=0x400
06/08/2007 11:04:27.078 (        2) > Loaded 0 entries
06/08/2007 11:04:26.984 (        1) > Initialising AS plugin

I figured out what's going on. anytime I use "[]" it replaces it with the value.

Line 21... I used "-[Folder (A)]-Audio" but it submitted "-Music=Audio". "Music" is what is stored in "[Folder (A)]"
Line 48... I used "-genre=audio" since there was no "[]" everything was fine
Line 75... I used "-[genre]" but it submitted "Pop | Hip Hop". "[Genre]" was replaced with the genre field


Aha ... found it!   The code it was issuing a GetFilledTemplate on the filter prior to searching.   PM me with an email address and I'll send you this latest version to see if the problem is now resolved.
Logged

221bBS

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 703
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 5
« Reply #19 on: August 06, 2007, 03:46:58 pm »

 ;D That did it, the filter is working perfectly  ;D
Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: [ANN] Official JRiver last.fm/audioscrobbler plugin Beta 5
« Reply #20 on: August 07, 2007, 06:51:09 am »

Cool.   I'll get beta 6 out tonight.
Logged

RhinoBanga

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