Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foo_lastfm_radio (Read 345292 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foo_lastfm_radio

Reply #326
Thanks for the new version. It seems to work ok, but I'm getting a 403 Forbidden error, I can start playback but streams cut out after a few seconds with an error like this in the console:
Code: [Select]
Last.fm Radio: Problem opening track "FOO_LASTFM_RADIO://play.last.fm/user/b4005f635a5b8d610988c0bd695cb39d.mp3LASTFM" : Forbidden (403)

Anyone else getting this? It happens with 0.5.6b and 0.5.7, so it's not caused by the latest version. Have last.fm changed something?

foo_lastfm_radio

Reply #327
no problems here using the v1 version.

foo_lastfm_radio

Reply #328
To everyone if you look on the website you ll see an update for 1.0!!!!!

Hi, must update the version in hydrogneaudio. Thanks to the developer, great work!

foo_lastfm_radio

Reply #329
Feature Request:

Would it be possible to have foo_lastfm_radio have it's own proxy settings? Useful for when I'm outside the UK and want to listen to lastfm.

Thanks

foo_lastfm_radio

Reply #330
Thanks for the new version. It seems to work ok, but I'm getting a 403 Forbidden error, I can start playback but streams cut out after a few seconds with an error like this in the console:
Code: [Select]
Last.fm Radio: Problem opening track "FOO_LASTFM_RADIO://play.last.fm/user/b4005f635a5b8d610988c0bd695cb39d.mp3LASTFM" : Forbidden (403)

Anyone else getting this? It happens with 0.5.6b and 0.5.7, so it's not caused by the latest version. Have last.fm changed something?

getting same issue.  for me, it happens after a long time leaving the radio on, like 5 hours.  it also sometimes goes away if i switch radio stations.

foo_lastfm_radio

Reply #331
I think I'm experiencing a bug with this plugin.  I enjoy the fact that it adds a context menu item to play the selected artist's radio station.  However, this menu does not appear when attempting to assign the command to a toolbar button.  Does anyone else have this problem?

foo_lastfm_radio

Reply #332
i'm guessing it's because the menu item is generated dynaically based on title formatting (the artist name). this is to prevent you from opening a whole selection at once - it's limited to one item.

foo_lastfm_radio

Reply #333
That makes sense.  I never tried selecting multiple items before, but sure enough, the item is no longer visible.

However, about the dynamic generation, foo_softplaylists also creates menu items whose names are based on title formatting, and those commands can be easily assigned to buttons.

foo_lastfm_radio

Reply #334
you can't assign certain softplaylist actions to buttons either - well not using the standard CUI/DUI toolbars. it can be done with WSH panel mod though (of course that could also be used to trigger this component as well).

foo_lastfm_radio

Reply #335
Your mention of using another component got me thinking.  Using a combination of foo_runcmd and foo_run (which I already use), I can just assign the following foo_run command to a toolbar button:

Code: [Select]
'"C:\Program Files (x86)\foobar2000\foobar2000.exe"' /runcmd-playing="Last.fm Radio/Open $replace(%artist%, , )'s station"


This works for me.

foo_lastfm_radio

Reply #336
Your mention of using another component got me thinking.  Using a combination of foo_runcmd and foo_run (which I already use), I can just assign the following foo_run command to a toolbar button:

Code: [Select]
'"C:\Program Files (x86)\foobar2000\foobar2000.exe"' /runcmd-playing="Last.fm Radio/Open $replace(%artist%, , )'s station"


This works for me.

Nice, i was looking for somthing like this!!!

foo_lastfm_radio

Reply #337
@Hitchhiker427: do you see a way to open an artist radio when the artist is not the playing one ???

foo_lastfm_radio

Reply #338
Here's the documentation on foo_runcmd: http://foosion.foobar2000.org/components/?...amp;version=1.1

I suppose the "foobar2000.exe /runcmd-files=<pattern> <list of files>" command could play the radio station of a file that was not currently playing.  I'm not sure how to do the rest with foo_run, though.  This seems like it would very doable with WSH panel mod.

foo_lastfm_radio

Reply #339
Here's the documentation on foo_runcmd: http://foosion.foobar2000.org/components/?...amp;version=1.1

I suppose the "foobar2000.exe /runcmd-files=<pattern> <list of files>" command could play the radio station of a file that was not currently playing.  I'm not sure how to do the rest with foo_run, though.  This seems like it would very doable with WSH panel mod.

ACtually after thinking about it i am not sure it s that doable. THe thing is that i dont have a file related to that artist! it s for the similar artists. BUt still i need to find a way to do it!

foo_lastfm_radio

Reply #340
Good point.  The only thing I can think of in that case is a link to open the radio station in a web browser.

foo_lastfm_radio

Reply #341
However, this menu does not appear when attempting to assign the command to a toolbar button.

Context menu keyboard shortcut assignment is fixed in v0.5.7c.

Regarding the future of this component
The component is still using the old Last.fm Radio API, which was due to be discontinued over half a year ago, and is therefore running on borrowed time. When the new radio API was released I went some way to updating, but hit some problems and then didn't have the time.

However the new radio API requires users to be subscribers in order to listen, and as I expect the continuing popularity of foo_lastfm_radio stems from the fact that you don't need to subscribe, it is unlikely that I'll update to the new API any time soon. This means that if and when the old radio API is deactivated, it will be RIP foo_lastfm_radio.

Just so you know...


 

foo_lastfm_radio

Reply #343
ACtually after thinking about it i am not sure it s that doable. THe thing is that i dont have a file related to that artist! it s for the similar artists. BUt still i need to find a way to do it!


just been thinking, you can bypass the context menu altogether.

Code: [Select]
WshShell.Run("lastfm://artist/Bat+For+Lashes/similarartists");


foo_lastfm_radio

Reply #344
ACtually after thinking about it i am not sure it s that doable. THe thing is that i dont have a file related to that artist! it s for the similar artists. BUt still i need to find a way to do it!


just been thinking, you can bypass the context menu altogether.

Code: [Select]
WshShell.Run("lastfm://artist/Bat+For+Lashes/similarartists");


ok. Now the problem is that it launches the lastfm client and not foobar.
How do you associate uri with foobar?

foo_lastfm_radio

Reply #345
the set associations application does it- under shell integration in the preferences.

foo_lastfm_radio

Reply #346
the set associations application does it- under shell integration in the preferences.

I had to reinstall foobar as non portable but that s so cool. I can now launch my similar artists radios !!!!!!

foo_lastfm_radio

Reply #347
most people won't have the last.fm client installed so it should work straight away without user intervention - mine did.


foo_lastfm_radio

Reply #349
It doesn't work for me, it just creates a script error:

Error: WSH Panel Mod (GUID: E553B707-3B0C-425E-9EBA-4B64695A52E5): (null):
(null)
Ln: 75, Col: 9
<source text only available in compile time>

Line 75 has the code you posted Marc, and I have other WshShell.run() things that work (safe mode is off).

Any ideas? I made sure lastfm radio is checked under File Types.