INTERACT FORUM

Please login or register.

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

Author Topic: last.fm - how does it work in MC?  (Read 14740 times)

Fred1

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 491
  • Change this by choosing profile
last.fm - how does it work in MC?
« on: January 27, 2008, 10:22:46 pm »

Would someone please explain how the last.fm plugin works in MC?

I do know what last.fm is, but i dont know what i can do with it in MC.
In MC's help i can't seem to find a hint and even a search in the forum isn't really helpful.

Can you tell me what the plugin does?
Is it possible to record with it?

Best regards
Fred
Logged

datdude

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2222
Re: last.fm - how does it work in MC?
« Reply #1 on: January 27, 2008, 10:26:35 pm »

The plugin located under the Tree -> Services and Plug-ins (you may need to enable it under Tools -> Plug-in manager -> Interface) is simply for submitting the songs you listen to in MC to the last.fm (audioscrobbler) service. If you have a last.fm account, you can login to that and see the songs you played in MC.
Logged
"You are not a beautiful or unique snowflake." -  Just a very big snowball

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9140
Re: last.fm - how does it work in MC?
« Reply #2 on: January 28, 2008, 01:33:15 am »

if you enable the "buddy system", pressing the chosen key combo will produce a list of tracks recently listened to by people in your friends list at last.fm
entries with a smiley face beside them also exist in your own library... double click to play.

It is not possible to record with it, no.

-marko.

p7389

  • World Citizen
  • ***
  • Posts: 171
Re: last.fm - how does it work in MC?
« Reply #3 on: January 28, 2008, 09:50:09 am »

last.fm is pretty great. I use it mostly for myself, to see what I have listened to, and to see if it generates something interesting recommendationwise. Theoretically, I could get this information out of MC, but at last.fm it's "safer", and more convenient. And you can show it to others. Yup, I recommend it.

It'd be cool if you could listen to last.fm radio through MC. tags/similar to/people's playlists, etc... Perhaps even integrate some tagging and "love this"-functionality. But I guess last.fm maybe wouldn't like that...
Logged
[img width= height= alt=My Top Albums]http://lastfm.obsessive-media.de/3month/7x1/p7389.jpeg[/img]

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: last.fm - how does it work in MC?
« Reply #4 on: January 28, 2008, 11:07:30 am »

Theoretically, I could get this information out of MC, but at last.fm it's "safer", and more convenient.
Can you explain what you mean by safer?
Logged

p7389

  • World Citizen
  • ***
  • Posts: 171
Re: last.fm - how does it work in MC?
« Reply #5 on: January 28, 2008, 01:04:38 pm »

Nothing more than the human equation - nothing to do with MC ;). If the stats are on last.fm, nothing on my end will screw them up (in terms of formatting computer, computer crash, hardware failure etc)...
Logged
[img width= height= alt=My Top Albums]http://lastfm.obsessive-media.de/3month/7x1/p7389.jpeg[/img]

adamsp70

  • Regular Member
  • World Citizen
  • ***
  • Posts: 247
  • Unwired for sound...
Re: last.fm - how does it work in MC?
« Reply #6 on: January 29, 2008, 10:27:56 am »

Sadly it doesn't seem to work for MC running off a remote library (as a client).....
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9140
Re: last.fm - how does it work in MC?
« Reply #7 on: January 29, 2008, 11:00:06 am »

Quote
18. Changed: Last.fm plugin now works with library server files.
try build 422 available from the thread at the top of this forum. it should be working now.

adamsp70

  • Regular Member
  • World Citizen
  • ***
  • Posts: 247
  • Unwired for sound...
Re: last.fm - how does it work in MC?
« Reply #8 on: January 31, 2008, 02:08:41 am »

Oh - fantastic! I'm scrobbling again.....

 :D
Logged

adamsp70

  • Regular Member
  • World Citizen
  • ***
  • Posts: 247
  • Unwired for sound...
Re: last.fm - how does it work in MC?
« Reply #9 on: February 02, 2008, 10:01:37 am »

Although..... it only seems to work if i have the last.fm service page open in MC, then i see all the tracks being uploaded fine.

As soon as i switch away to "playing now" or anything else, it stops uploading, and when i go back to the service page, all the tracks that have been uploaded have been cleared!

I've installed it on a few machines, all with the same result....
Logged

p7389

  • World Citizen
  • ***
  • Posts: 171
Re: last.fm - how does it work in MC?
« Reply #10 on: February 02, 2008, 10:22:47 am »

Although..... it only seems to work if i have the last.fm service page open in MC, then i see all the tracks being uploaded fine.

As soon as i switch away to "playing now" or anything else, it stops uploading, and when i go back to the service page, all the tracks that have been uploaded have been cleared!

I've installed it on a few machines, all with the same result....

I guess this isn't it?

http://yabb.jriver.com/interact/index.php?topic=44553.msg304968#msg304968

Seems something of a stretch since you tried it on several computers. And usually people mention that they use Vista if they're having problems...  ::)
Logged
[img width= height= alt=My Top Albums]http://lastfm.obsessive-media.de/3month/7x1/p7389.jpeg[/img]

c1c9k72

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 332
  • So many worlds, so much to do, so little done...
Re: last.fm - how does it work in MC?
« Reply #11 on: February 02, 2008, 11:18:15 am »

Although..... it only seems to work if i have the last.fm service page open in MC, then i see all the tracks being uploaded fine.

As soon as i switch away to "playing now" or anything else, it stops uploading, and when i go back to the service page, all the tracks that have been uploaded have been cleared!

I've installed it on a few machines, all with the same result....

Same problem here.

Sounds like a Vista issue.  Having to deal with a lot of those these days.  Thanks, Microsoft.
Logged

p7389

  • World Citizen
  • ***
  • Posts: 171
Re: last.fm - how does it work in MC?
« Reply #12 on: February 02, 2008, 11:25:01 am »

Same problem here.

Sounds like a Vista issue.  Having to deal with a lot of those these days.  Thanks, Microsoft.

Do you have UAC enabled or disabled? I'll just quote the post I linked to above:

Quote
Yesternight I deactivated UAC in order to modify and install som graphics drivers (to work with mobility card).

Anyway, today I noticed that the last.fm plugin was acting up. It didn't start up, except when you had it active in MC, and once you left it it terminated by itself (log said "Told to exit"). I tried to restart the app, the computer etc.

So I thought, what's different? I reactivated UAC, and now it works again.

I don't mind UAC (it's a bit annoying at initial install, but not in day to day operations), so it's not an issue for me. But it is strange nevertheless.

I really don't get why it should have anything to do with it though, if it indeed is the problem...
Logged
[img width= height= alt=My Top Albums]http://lastfm.obsessive-media.de/3month/7x1/p7389.jpeg[/img]

c1c9k72

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 332
  • So many worlds, so much to do, so little done...
Re: last.fm - how does it work in MC?
« Reply #13 on: February 02, 2008, 11:26:02 am »

Do you have UAC enabled or disabled? I'll just quote the post I linked to above:

I really don't get why it should have anything to do with it though, if it indeed is the problem...

My UAC was turned on, but I just turned it off to test things.  Unfortunately, I'm in the midst of something, so I can't reboot at the moment.  Will check that soon and report back.

EDIT: Turned the UAC off, and the same thing happened.  The last.fm plug-in was "told to exit" when it's window wasn't open.  Turned the UAC back on, and it's still doing the same thing.
Logged

p7389

  • World Citizen
  • ***
  • Posts: 171
Re: last.fm - how does it work in MC?
« Reply #14 on: February 02, 2008, 12:33:15 pm »

OK. For me the problem seemed to coincide almost to perfectly with my spell of UAC turned off to be a... coincidence. But I dunno...
Logged
[img width= height= alt=My Top Albums]http://lastfm.obsessive-media.de/3month/7x1/p7389.jpeg[/img]

Smoofus

  • Recent member
  • *
  • Posts: 6
Re: last.fm - how does it work in MC?
« Reply #15 on: February 03, 2008, 01:49:26 pm »

I ran into the issue of the last.fm plugin stopping if not actively viewing it as well... I changed the PluginMode registry setting to get it to stay running.

HKEY_LOCAL_MACHINE\SOFTWARE\JRiver\Media Center 12\Plugins\Interface\last.fm

Make sure the PluginMode setting is set to '1' not '0'.

This should force the plugin to be 'Always active' rather than 'Active when visible'.
Logged

c1c9k72

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 332
  • So many worlds, so much to do, so little done...
Re: last.fm - how does it work in MC?
« Reply #16 on: February 03, 2008, 03:39:07 pm »

I ran into the issue of the last.fm plugin stopping if not actively viewing it as well... I changed the PluginMode registry setting to get it to stay running.

HKEY_LOCAL_MACHINE\SOFTWARE\JRiver\Media Center 12\Plugins\Interface\last.fm

Make sure the PluginMode setting is set to '1' not '0'.

This should force the plugin to be 'Always active' rather than 'Active when visible'.

Mine was set to 0.  Which raises the question: Is it supposed to be 1?  And if it's supposed to be 1, why are some of them getting switched?
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9140
Re: last.fm - how does it work in MC?
« Reply #17 on: February 03, 2008, 05:43:29 pm »

Mine was set to 0.  Which raises the question: Is it supposed to be 1?  And if it's supposed to be 1, why are some of them getting switched?
a-hem...
Services and Plugins > Last.fm > Options (button in top-left) > General > "Run the plugin when media center starts"

p7389

  • World Citizen
  • ***
  • Posts: 171
Re: last.fm - how does it work in MC?
« Reply #18 on: February 03, 2008, 06:35:13 pm »

When I had the problem that was checked, and I'd guess that this is the case for the other people here too. Of course, my problem disappeared as mysteriously as it appeared.
Logged
[img width= height= alt=My Top Albums]http://lastfm.obsessive-media.de/3month/7x1/p7389.jpeg[/img]

Smoofus

  • Recent member
  • *
  • Posts: 6
Re: last.fm - how does it work in MC?
« Reply #19 on: February 03, 2008, 07:32:44 pm »

Quote
Mine was set to 0.  Which raises the question: Is it supposed to be 1?  And if it's supposed to be 1, why are some of them getting switched?

I wondered that same thing myself. I believe it is supposed to be 'Always active' as I know for a fact it was 'Always active' when I first started using it and then it just stopped working unless I had it visible... which blew.  I have MC installed on two machines and the last.fm plugin changed to 'Active when visible' on my Vista machine only.  I am certain that it was always on to begin with though.

If you go to Tools->Plug-In Manager... and then choose Interface->last.fm you can see what the mode is currently set at.  Some how my mode changed to 'Active when visible' and the only way I could get it back to 'Always Active' was to do the following...

Quote
I changed the PluginMode registry setting to get it to stay running.

HKEY_LOCAL_MACHINE\SOFTWARE\JRiver\Media Center 12\Plugins\Interface\last.fm

Make sure the PluginMode setting is set to '1' not '0'.

I wish I knew what I did that changed it to the 'Active when visible' mode but I just don't know.. That setting does not even seem like its user editable unless you change it in the registry and the only time I edited the registry was to change it back to the logical 'Always active' mode.

I thought it was just me but it looks like others are having the same issue so I'm not sure if that makes me feel better or if it aggravates me more for not knowing how it got dorked to begin with..
Logged

c1c9k72

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 332
  • So many worlds, so much to do, so little done...
Re: last.fm - how does it work in MC?
« Reply #20 on: February 03, 2008, 09:26:01 pm »

a-hem...
Services and Plugins > Last.fm > Options (button in top-left) > General > "Run the plugin when media center starts"

It was checked the whole time.  All four checks were checked the whole time.

Thanks a lot, Smoofus, for finding this.  It was really going to screw me up if I didn't get that fixed, and it looks like you've done it with minimal muss or fuss.
Logged

adamsp70

  • Regular Member
  • World Citizen
  • ***
  • Posts: 247
  • Unwired for sound...
Re: last.fm - how does it work in MC?
« Reply #21 on: February 04, 2008, 03:51:34 am »

Fantastic - that registry hack works for me too.

Many thanks....
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: last.fm - how does it work in MC?
« Reply #22 on: February 07, 2008, 03:57:47 am »

I want to use last.fm - sometimes. I don't want to start it when MC starts.

Also, I don't want to edit the Windows registry. Registry editing is not something that users are supposed to need to do or understand.

I don't think it works properly now. I am experiencing the same thing as others above did. last.fm works only when the plugin page is visible.

The plugin page could have a few additional easy buttons (there is plenty of room besides the Options button):

Modes:
- Run (submit in real-time)
- Queue items (i.e. submit later when internet is available)
- Stop (clear queue)
- Pause (preserve the existing queue, but don't gather new entries)

Actions:
- Submit queued items now

Options:
- Options (as it is now)


EDIT

I just experimented a bit more with it. It seems that when internet connection is not available the queue is not visible until the the submission actually happens. IMO, the items should appear as queued in the list. It should be possible to remove the unwanted queued items before the submission. For example, personally I do a lot of testing with various audio tracks which do not represent my listening preferences.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9140
Re: last.fm - how does it work in MC?
« Reply #23 on: February 07, 2008, 05:27:46 am »

I think that the queue file is written out if there's anything in it at the time MC is closed.

You could include a search filter in the plugin options to exclude files you're testing etc.?
presumably, 'test' files are not saved in the same location as your main library music is, so perhaps a [filename (path)] rule would do the job?

I do not see the "only works when plugin page is visible" thing reported here.
I have selected the option to run the plugin when MC starts and it just works for me without any hassle or registry editing. I don't know why, nor how to begin trouble shooting the problem.
Occasionally, I do fall foul of the last.fm spam filter, presumably because a track is submitted in real time before the queue is uploaded, or, because the queue is loaded back-to-front.
The spam filter problem definitely needs some attention.

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: last.fm - how does it work in MC?
« Reply #24 on: February 07, 2008, 06:12:30 am »

I think about 50% of my playback is something that I would not like add to my last.fm profile. I may be listening to arbitrary (possibly poorly tagged) tracks when tagging and organizing my library or, as I said, I may be testing MC. When testing I mostly use my own library, only rarely I use external test samples. I don't want to use last.fm as a documentation tool for creating a record of everything I have happened to play.

One would like to think that the option "enable last.fm support" would keep the plugin running after it is enabled in the current MC session. I wonder why the other option to not run last.fm when MC starts is available at all if it makes the plugin to stop when browsed away from the plugin page. The plugin is next to useless if it works only when it is visible.

The logic is different from e.g. Library Server's logic. You can start Library Server in the plugin page and it will not stop until you go there again and press the stop button. MC remembers the last used Library Server state between sessions. Different parts of MC should use similar logic when possible.

I would need the better queue features when I am using my laptop away from home or office. I would like to be able to submit the queued data when the internet connection is available again. The queue should be preserved even if MC is closed between sessions. If it would be possible to see the queue and remove tracks from it before the submission unwanted entries would not end up in the last.fm profile. In addition, some users have a dial-up or mobile internet connection and they may want to submit periodically.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: last.fm - how does it work in MC?
« Reply #25 on: February 07, 2008, 07:23:16 am »

I enabled all four "main > general" last.fm options, restarted MC and the plugin still works only when visible.

Probably that is related to this:



However, Plug-in Manager does not provide any means for changing the "active when visible" mode.

(... and no, I am not going to edit the registry. Not this time. I pretend to be an ordinary customer.  :) )
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

c1c9k72

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 332
  • So many worlds, so much to do, so little done...
Re: last.fm - how does it work in MC?
« Reply #26 on: February 07, 2008, 10:49:26 am »

(... and no, I am not going to edit the registry. Not this time. I pretend to be an ordinary customer.  :) )

However you want to handle it, or not, is fine.

One thing I can tell you is that you DO NOT want to turn off Vista's UAC if you do get last.fm working.  I made that mistake this morning, and when I launched MC12 for the first time, it told me that the last.fm plug-in could not be found or initialized.  It required a re-installation of the core MC12 program to get it running again, once I'd restarted the UAC.

I'm going to turn the UAC off again and then reinstall MC12 to see what happens.

EDIT: Ok, so when you turn off UAC (which I really do recommend, if you don't want to have to confirm every move you make twice), you have to reinstall MC12 to restore the functionality of last.fm.  But after the reinstallation, you have to also to the registry edit to get it be "Always Active" once again, because it defaults back to "Active when Visible."
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: last.fm - how does it work in MC?
« Reply #27 on: February 07, 2008, 12:02:35 pm »

However, Plug-in Manager does not provide any means for changing the "active when visible" mode.

On a second thought, I think this part is fine. If I have understood correctly, the "active when visible" text inside Plug-in Manager means that the plugin should be completely disabled when it is hidden. When it is set to "Show" it is available in the tree and ready to work.

All other options should be handled by the plugin's UI.  For example, Library Server is "active when visible" and it doesn't stop when other parts of MC are browsed.

However you want to handle it, or not, is fine.

I'm just a happy and ignorant customer. I am afraid of the registry. Here's my picture: :)

Quote
One thing I can tell you is that you DO NOT want to turn off Vista's UAC if you do get last.fm working.

I have XP SP2.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

c1c9k72

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 332
  • So many worlds, so much to do, so little done...
Re: last.fm - how does it work in MC?
« Reply #28 on: February 07, 2008, 03:18:45 pm »

I have XP SP2.

Now that's interesting.  That means that this wasn't limited to Vista.  But it's not happening so much that everybody's having the same problem.  Weird.
Logged

adamsp70

  • Regular Member
  • World Citizen
  • ***
  • Posts: 247
  • Unwired for sound...
Re: last.fm - how does it work in MC?
« Reply #29 on: February 08, 2008, 01:23:14 am »

I was on XP as well - defintely not just a Vista thing.

The registry works the same in both OSes anyway.....
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: last.fm - how does it work in MC?
« Reply #30 on: February 23, 2008, 04:15:17 am »

So what should I do?

I just updated MC12 on my old W2k office PC (I have really not used MC on that PC). Before the update it had the v. 12.0.224 installed and last.fm was introduced in 12.0.313 for the first time.

The latest MC version on this PC shows the same Mode value as on the other PC: "Active when visible". If this is wrong then the installer has a problem.

On the other hand my default installation of Media Jukebox 12 shows "Always Active" and last.fm seems to work normally. It doesn't stop when I browse the other areas of MJ12.

Here is the system info of my office PC:

Quote
Media Center Registered 12.0.438 -- C:\Soft\MC12\

Microsoft Windows 2000 5.0 Service Pack 3 (Build 2195)
AMD Athlon 1398 MHz MMX / Memory: Total - 1048 MB, Free - 775 MB

Internet Explorer: 6.0.2800.1106 / ComCtl32.dll: 5.81.4916 / Shlwapi.dll: 6.0.2800 / Shell32.dll: 5.0.3900 / wnaspi32.dll: 4.71 (0002) , ASPI for Win32 (95/NT) DLL, Copyright ? 1989-2002 Adaptec, Inc. / Aspi32.sys: 4.71 (0002)

Ripping /   Drive G:   Mode:Normal  Type:Auto  Speed:Max
  Digital playback: Yes /  Use YADB: Yes /  Get cover art: No /  Calc replay gain: Yes /  Copy volume: 32767
  Eject after ripping: Yes /  Play sound after ripping: No 

Burning /  Drive G: PHILIPS  CDRWDVD2010        Addr: 1:0:0  Speed:4  MaxSpeed:4  BurnProof:No
  Test mode: No /  Eject after writing: Yes /  Direct decoding: No /  Write CD-Text: Yes
  Use playback settings: No /

Portable Device Info
  Removed devices:


Interface Plugins:
  last.fm (Active)
  Library Server (Active)
  TiVo Server (Active)
  UPnP Server (Active)
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: last.fm - how does it work in MC?
« Reply #31 on: February 25, 2008, 04:13:54 pm »

Bump
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: last.fm - how does it work in MC?
« Reply #32 on: February 26, 2008, 02:07:08 am »

Try this:

Switch off all anti-virus software (in case it's preventing registry access)
Uninstall MC
Delete the HKEY_LOCAL_MACHINE\SOFTWARE\JRiver path in the registry if it still exists
Delete the HKEY_CURRENT_USER\SOFTWARE\JRiver path in the registry if it still exists
Reboot
Make sure the old MC installation directory is deleted from your HDD
Install the latest MC
Run MC BUT THEN EXIT STRAIGHT AWAY
Have a look at the HKEY_LOCAL_MACHINE\SOFTWARE\JRiver\Media Center 12\Plugins\Interface\last.fm path to see what (if anything) is in there
Run MC and navigate to the last.fm plugin, click the tree entry to make it active.
You should get the options page showing.   Check the "Enable last.fm support" and "Run the plugin when MC starts" and hit OK.   The "Run..." entry toggles the PluginMode.
Exit MC and check the HKEY_LOCAL_MACHINE\SOFTWARE\JRiver\Media Center 12\Plugins\Interface\last.fm path to confirm the PluginMode is now indeed 1.
Enable your anti-virus app.
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9140
Re: last.fm - how does it work in MC?
« Reply #33 on: February 26, 2008, 02:24:58 am »

Quote
Delete the HKEY_CURRENT_USER\SOFTWARE\JRiver path in the registry if it still exists
If anyone tries this, I'd strongly advise exporting this registry entry before deleting it.
It will contain many MC customisations, settings, options and MRU's, including your navigational favourites list if you use the feature.

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: last.fm - how does it work in MC?
« Reply #34 on: February 27, 2008, 05:48:57 pm »

I have just tried to get straight answers.

Is the plugin mode intended to be "Always on"?
If yes, why does MC not set it so?

And yes, I tried a clean install -- uninstalled MC12, removed all MC12 registry entries (I didn't remove my MJ12 and MC11.1 entries), and reinstalled. After this the plugin mode was "Active when visible".

Also, as I explained, my other PC had a very old MC12 build before I installed the current build. It had never had the last.fm plugin installed before so the last.fm configuration was brand new.

The plugin seems to work fine if I manually change the registry key value to 1. I tried this after restoring my previous registry and MC configuration.

In any case, I don't think users are supposed to be able to edit the registry.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

c1c9k72

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 332
  • So many worlds, so much to do, so little done...
Re: last.fm - how does it work in MC?
« Reply #35 on: February 27, 2008, 05:56:22 pm »

I have just tried to get straight answers.

Is the plugin mode intended to be "Always on"?
If yes, why does MC not set it so?

The plugin seems to work fine if I manually change the registry key value to 1. I tried this after restoring my previous registry and MC configuration.

In any case, I don't think users are supposed to be able to edit the registry.

I think the plug-in has to be always on, or else it just doesn't work well (or at all, really).
But, there's a glitch somewhere in either the MC12 install or the plug-in installation that keeps switching the key value.  Alas, I can't tell you where the glitch is.  Or when it will be fixed.

It's a great plug-in, but unless you're a power user who is comfortable tinkering with your registry entries, it's usefulness is going to be extremely limited for those who have this problem.

Keep the thread going and someone will notice it.

EDIT: My upgrade to the latest version (.447) did not reset the value, so that might be a glimmer of hope.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42382
  • Shoes gone again!
Re: last.fm - how does it work in MC?
« Reply #36 on: February 27, 2008, 06:22:12 pm »

The idea for plugins is that we do not set them to "always run" until they are enabled.  This prevents the program from having to load every plugin.  For example, if you don't have a Tivo, running a Tivo server all the time is a little silly.  The same applies to the last.fm plugin.

Once last.fm is enabled, it should remain set to always run.

Are people seeing something other than this?
Logged
Matt Ashland, JRiver Media Center

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: last.fm - how does it work in MC?
« Reply #37 on: February 27, 2008, 07:08:36 pm »

The idea for plugins is that we do not set them to "always run" until they are enabled.  This prevents the program from having to load every plugin.  For example, if you don't have a Tivo, running a Tivo server all the time is a little silly.

That's why I wasn't exactly eager to edit the registry.

Quote
The same applies to the last.fm plugin.

Once last.fm is enabled, it should remain set to always run.

Are people seeing something other than this?

In this thread adamsp70, p7389, c1c9k72, Smoofus and I reported that it stops instantly when browsed away from the plug-in page. Only the registry hack seems to help.

In MJ12 the "Run the plugin when Media Center starts" option seems to change the mode status between the two values, but that doesn't happen in MC12. (BTW, you may want to fix the "Media Center" part of that text line in MJ12.)

Shouldn't it also be possible to start the plug-in when preferred without restarting the program? It seems like MJ12 has the same "stop" problem if the plugin is not set to run on startup. A mode when it runs only when visible is useless. It should have a simple on/off switch for those how don't want to run it all the time.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: last.fm - how does it work in MC?
« Reply #38 on: February 28, 2008, 04:06:56 am »

**** YOU DO NOT HAVE TO EDIT THE REGISTRY ****

As I mentioned before ...

Quote
You should get the options page showing.   Check the "Enable last.fm support" and "Run the plugin when MC starts" and hit OK.   The "Run..." entry toggles the PluginMode.

Are you saying changing the "Run..." option is not changing the plugin mode?
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: last.fm - how does it work in MC?
« Reply #39 on: February 28, 2008, 04:31:01 am »

Are you saying changing the "Run..." option is not changing the plugin mode?

I and four others are.

... In MJ12 the "Run the plugin when Media Center starts" option seems to change the mode status between the two values, but that doesn't happen in MC12. (BTW, you may want to fix the "Media Center" part of that text line in MJ12.) ...
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

c1c9k72

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 332
  • So many worlds, so much to do, so little done...
Re: last.fm - how does it work in MC?
« Reply #40 on: February 28, 2008, 05:13:26 am »

**** YOU DO NOT HAVE TO EDIT THE REGISTRY ****

As I mentioned before ...

Are you saying changing the "Run..." option is not changing the plugin mode?

Yes.
Logged

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: last.fm - how does it work in MC?
« Reply #41 on: February 28, 2008, 05:54:06 am »

Confirmed.

@ Matt ... there is something wrong with your version of the code.   My version of the plugin toggles the PluginMode fine.   The version being shipped with MC is not.
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: last.fm - how does it work in MC?
« Reply #42 on: February 28, 2008, 05:54:26 am »

I noticed that MJ12 has the following line in HKEY_CURRENT_USER:
Code: [Select]
[HKEY_CURRENT_USER\Software\JRiver\Media Jukebox 12\Plugins\Interface\last.fm]
"Active"=dword:00000001

MC12 does not have a last.fm item at all in HKEY_CURRENT_USER. Could this cause the problem?

I hope the problem can be solved, but I don't think the current logic with two separate switches is self-explaining. Wouldn't it be simpler if the "enable" and "run" tickboxes would be combined to a single on/off switch?

For example, Library server has such a switch (Start/Stop Server). Its last used setting is remembered on next startup.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

haylo75

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 61
Re: last.fm - how does it work in MC?
« Reply #43 on: February 28, 2008, 06:47:49 am »

I've confirmed via the StatusLog.txt file that even after checking the "Run the plugin when Media Center starts" box is checked, whenever I navigate away from the last.fm plugin interface the AS plugin thread terminates immediately.  Navigating back to the plugin interface restarts the AS plugin thread.  The mode in the Plug-in Manager remains "Active when visible" regardless of the checked status of the aforementioned checkbox.  I'm using MC 12.0.438 on XP SP2.  For me, this behavior is new to this build and I didn't experience the issue on prior builds.  I've read about the registry hacks, but that is not a road users should have to travel in order to get the plugin mode to work as designed.

Has this been registered as an official bug?  If not, is that done here via the forums?

I really like the integrated last.fm plugin!  Other than this latest wrinkle I have found it to be implemented well, and I especially like the queueing mechanism.
Logged
Kerr

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: last.fm - how does it work in MC?
« Reply #44 on: February 28, 2008, 08:10:49 am »

Has this been registered as an official bug?  If not, is that done here via the forums?

I wrote the software on behalf of J River ... so consider it officially recorded as a bug :D
Logged

DarkPenguin

  • Citizen of the Universe
  • *****
  • Posts: 1921
Re: last.fm - how does it work in MC?
« Reply #45 on: February 28, 2008, 10:41:34 am »

Relative paths are bad, m'kay?
Logged

DarkPenguin

  • Citizen of the Universe
  • *****
  • Posts: 1921
Re: last.fm - how does it work in MC?
« Reply #46 on: February 28, 2008, 10:54:17 am »

Should be fixed in 449.  (Plugin version 1.0.0.9.)
Logged

haylo75

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 61
Re: last.fm - how does it work in MC?
« Reply #47 on: February 28, 2008, 05:52:12 pm »

I wrote the software on behalf of J River ... so consider it officially recorded as a bug :D

Thanks so much for all your work on this plugin!

DarkPenguin - I see 447 is the current build available from the latest version thread.  I tried substituting 447 for 449 on the FTP link but received a 550 Failed to change directory error.  Do you anticipate 449 being publicly available soon, or am I just looking in the wrong place?
Logged
Kerr

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: last.fm - how does it work in MC?
« Reply #48 on: February 28, 2008, 06:16:38 pm »

449 isn't public yet.  Should be soon.
Logged

haylo75

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 61
Re: last.fm - how does it work in MC?
« Reply #49 on: February 29, 2008, 07:15:23 am »

Thanks, Jim... waiting ~patiently  ;D
Logged
Kerr
Pages: [1] 2   Go Up