foo_lastfm_radio |
![]() ![]() |
foo_lastfm_radio |
Nov 28 2012, 23:36
Post
#526
|
|
|
Group: Members (Donating) Posts: 233 Joined: 18-December 02 From: Geelong Member No.: 4141 |
Hope this is the proper forum section for this. I've been using Foobar for a few months now listening to last.fm. This morning I went to file... open last.fm.... open a custom station... typed in an artist... and got the following error message... QUOTE Error retrieving Last.fm radio playlist: Please check your username, password, or Internet connection. All working again today! Let's see what happens on December 1. |
|
|
|
Dec 4 2012, 20:32
Post
#527
|
|
|
Group: Members Posts: 35 Joined: 9-June 12 Member No.: 100550 |
don't work anymore...
error: Forbidden (403) |
|
|
|
Dec 4 2012, 21:10
Post
#528
|
|
|
Group: Members Posts: 16 Joined: 4-May 07 Member No.: 43184 |
|
|
|
|
Dec 5 2012, 09:11
Post
#529
|
|
|
Group: Members Posts: 20 Joined: 9-November 12 Member No.: 104409 |
don't work anymore... error: Forbidden (403) same here RIP foobar lastfm (2008-2012).. been using it almost every single day. now I might have to replace foobar I'm pretty new to this stuff. I found foobar after a fairly time involving search. Can you suggest any alternatives you have in mind? |
|
|
|
Dec 5 2012, 20:46
Post
#530
|
|
![]() Group: Members Posts: 1237 Joined: 6-March 04 From: Sweden Member No.: 12509 |
don't work anymore... error: Forbidden (403) same here RIP foobar lastfm (2008-2012).. been using it almost every single day. now I might have to replace foobar You need the subscription for the radio part of Last.fm to work. Scrobbling still works as usual. This post has been edited by Canar: Dec 5 2012, 21:13
Reason for edit: Don't feed the trolls.
|
|
|
|
Dec 6 2012, 04:33
Post
#531
|
|
|
Group: Members Posts: 55 Joined: 31-October 04 Member No.: 17927 |
I'm a subscriber but in Malaysia. Used to work but now getting the same error.
-------------------- http://www.last.fm/user/primula
|
|
|
|
Dec 6 2012, 16:58
Post
#532
|
|
|
Group: Members Posts: 35 Joined: 9-June 12 Member No.: 100550 |
|
|
|
|
Dec 6 2012, 23:50
Post
#533
|
|
|
Group: Members Posts: 19 Joined: 6-February 09 From: Colombia Member No.: 66680 |
Forbidden (403) :S
|
|
|
|
Dec 7 2012, 12:39
Post
#534
|
|
|
Group: Members Posts: 16 Joined: 4-May 07 Member No.: 43184 |
now we need a skilled coder. unfortunately I have no experience with programming API's and plugins.. only some javascript and autohotkey skills :/
but I've found that the sourcecode for foo_softplaylists has been published http://www.hydrogenaudio.org/forums/index....st&p=815519 this plugin downloaded top lists from users or tags and created a playlist, using the local files from your mp3 library. maybe it can be helpful for anyone who'd like to code a new plugin. |
|
|
|
Dec 12 2012, 01:22
Post
#535
|
|
|
Group: Members Posts: 35 Joined: 9-June 12 Member No.: 100550 |
I download last.fm desktop application, and use it for now until someone update this component.
Interesting thing I found is that if you enter another proxy in settings from U.S. or UK even if you from another country , you can listen radio for free without subscription. It would be great to make this possible in new last.fm plugin for foobar... This post has been edited by mire777: Dec 12 2012, 01:23 |
|
|
|
Dec 12 2012, 03:52
Post
#536
|
|
|
Group: Members Posts: 35 Joined: 9-June 12 Member No.: 100550 |
http://www.dodaj.rs/f/3v/DF/2RNj2vuB/capture.png This post has been edited by mire777: Dec 12 2012, 03:53 |
|
|
|
Dec 17 2012, 10:41
Post
#537
|
|
|
Group: Members Posts: 8 Joined: 8-February 11 Member No.: 88008 |
http://www.dodaj.rs/f/3v/DF/2RNj2vuB/capture.png Mire777, You found a way to play last.fm in foobar again!? Now that is great news! Perhaps Matt Ashland and the programmers over at J River Media Center might be a resource for you. They have had Media Center on the new Foobar API for quite some time now. Here is a link to their addressing their use of the Foobar API. http://yabb.jriver.com/interact/index.php?topic=75882.0 Will we be requiring an updated foo_audioscrobbler.dll and a foo_lastfm_radio.dll in the Foobar components directory? This post has been edited by supersnake: Dec 17 2012, 11:10 |
|
|
|
Dec 17 2012, 16:35
Post
#538
|
|
|
Group: Members Posts: 35 Joined: 9-June 12 Member No.: 100550 |
http://www.dodaj.rs/f/3v/DF/2RNj2vuB/capture.png Mire777, You found a way to play last.fm in foobar again!? Now that is great news! Perhaps Matt Ashland and the programmers over at J River Media Center might be a resource for you. They have had Media Center on the new Foobar API for quite some time now. Here is a link to their addressing their use of the Foobar API. http://yabb.jriver.com/interact/index.php?topic=75882.0 Will we be requiring an updated foo_audioscrobbler.dll and a foo_lastfm_radio.dll in the Foobar components directory? Thanks i'll check this... Here's the link where you can try out how this works: http://www.gabifrings.de/download.html you must download python programing language: http://www.python.org/download/, install it and run main.py, after that open foobar, in add location enter this: http://localhost:1881/last.fm.mp3 Problem I encountered is that you can not change the station, you can not do that even if going on last.fm, because you can't play any station from there anymore if you not subscriber. I'm not a programmer, but it seems easy to change something in this script to make it work,and allow as to change station... This is old hack for last.fm, here is forum: http://www.last.fm/group/LastFMProxy I asked Gabelle is it possible to change the station: http://www.last.fm/user/last2gabelle ,she did not answer so far... I'll try everithing: http://localhost:1881/artist/Regina%2Belle...ilarartists.mp3 http://localhost:1881/globaltags/rock.mp3 Nothing works... |
|
|
|
Dec 17 2012, 23:30
Post
#539
|
|
|
Group: Members Posts: 8 Joined: 8-February 11 Member No.: 88008 |
Thanks i'll check this... Here's the link where you can try out how this works: http://www.gabifrings.de/download.html you must download python programing language: http://www.python.org/download/, install it and run main.py, after that open foobar, in add location enter this: http://localhost:1881/last.fm.mp3 Problem I encountered is that you can not change the station, you can not do that even if going on last.fm, because you can't play any station from there anymore if you not subscriber. I'm not a programmer, but it seems easy to change something in this script to make it work,and allow as to change station... This is old hack for last.fm, here is forum: http://www.last.fm/group/LastFMProxy I asked Gabelle is it possible to change the station: http://www.last.fm/user/last2gabelle ,she did not answer so far... I'll try everithing: http://localhost:1881/artist/Regina%2Belle...ilarartists.mp3 http://localhost:1881/globaltags/rock.mp3 Nothing works... Thanks, the highlighting that you see above and below is mine. Whoa! QUESTION Right now I have the config.py opened up in the Python Shell Gui and I see that I am going to have to plug in the author's: (a) Last.FM user name (b) Last.Fm password © API key (d) API secret and it looks like I'm also going to have to make useproxy "True" and plug in the LastFMProxy's host and port? Is this what I should be doing? Thanks, Supersnake In the meantime I individually ran each of the below sample URLs in the JRiver Media Center without any problem; for your interest I do have a Last.FM individual user subscription and have Media Center configured with my Last.FM user name and password. http://localhost:1881/last.fm.mp3 http://localhost:1881/lastfm://globaltags/rock http://localhost:1881/lastfm://artist/Madonna/similarartists http://localhost:1881/lastfm://user/vidarino/neighbours ======================================================================== # Port and address to listen to listenport = 1881 #bind_address = "127.0.0.1" bind_address = "yourMachine" # Stick your last.fm username and password between the quotes below. username = "yourLast.fmUsername" password = "yourLast.fmPassword" # Which theme (skin) to use theme = "default" # Change "useproxy" to True and set the host and port if # you need an external proxy. useproxy = False proxyhost = "my.proxy.host" proxyport = 8000 # Set these if your proxy requires authentication. # Note: Only "Basic" authentication is supported. proxyuser = "" proxypass = "" # your last.fm api credentials api_key = "yourLast.fmApi_key" api_secret = "yourLast.fmApi_key" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Below is the LastFMProxy Read Me) ============================================================================================ LastFMProxy v1.4c © 2005-2007 Vidar Madsen 2010 Gabi Frings For a detailed instruction with screenshots visit www.gabifrings.de/download.html 1. Introduction LastFMProxy is a proxy server for the last.fm radio streams. It allows you to use your regular old audio player to listen to the last.fm streams. It does this by acting as a player itself, connecting to the server on your behalf, but instead of playing the stream, it simply relays it to whichever other application connecting to it. 2. Basic usage First, make sure you have a Python environment installed. You might have one already, but if not, go to http://www.python.org/ftp/python/ and download one suitable for your operating system. (If you're using a Windows operating system, you will need to get Windows Installer to install Python.) Now, uncompress and unpack the archive file. In Unix-like operating systems, you can do this by running the command: tar xvzf lastfmproxy.tar.gz Under Windows, WinZip or a similar compression tool should do fine. Now go into the directory "lastfmproxy", and modify the file "config.py" and set our last.fm login and password. If you need (or want) to use an external proxy for web access, you must set also set useproxy to "True", and set the proxy host name and port. The config file has a "bind_address" options, which tells the proxy which network interface to listen on. The default is to bind only to the localhost interface (127.0.0.1). If you want to be reach the proxy from other hosts or just use "0.0.0.0", which binds it to all interfaces available. Note that this is potentially less secure than binding only to the localhost IP, though. Now you can start the proxy. This is done by simply running "main.py". It will then show the URL at which you must aim your player. Mark andcopy this URL to your clipboard or similar. Finally, fire up your web browser of choice. Select "Open location" or something similar, and paste the URL there. You should see the proxy status page, vaguely resembling the last.fm player. Click "Start radio", and you're done! (You can also bookmark the URL in your browser for next time, to save you a little bit of work.) By default, the server starts playing your last station (or your "musical neighbours" station, if it couldn't be determined for some reason). Normally you will want to use the "changestation" script to change channels (see paragraph below). If not, you can use the web interface directly. The web interface is not perfect, but it's not too hard to do manually. To play another station, you can simply modify the browser URL; Just append the "lastfm:" station address directly to your proxy URL. Some example URLs; http://localhost:1881/lastfm://globaltags/rock http://localhost:1881/lastfm://artist/Madonna/similarartists http://localhost:1881/lastfm://user/vidarino/neighbours You should get the picture. Also, whenever you change stations, they will be added to the station history pulldown menu in the lower right, where they quickly and easily can be fetched again. Note; You can also select a station directly when starting the player. Justopen an URL on the form "http://localhost:1881/globaltags/jazz.m3u" to start streaming *and* select a station at the same time. This is particularly useful if you don't have a browser at all, and just want to listen to music. Under Linux, using mplayer, you can listen to any channel by starting the proxy, then launch: mplayer -playlist "http://localhost:1881/globaltags/metal.m3u" 3. Configuring the changestation.py script (Mozilla Firefox only) Here's how to make the lastfm://station links work: - In Firefox, open the location "about:config" - Right-click, select "New String" - As name, enter "network.protocol-handler.app.lastfm", "OK" - As value, enter the full path to the included "changestation.py" script (e.g. "C:\Program Files\lastfmproxy\changestation.py"), then "OK" That should do the trick. Now, when you click on station link on the last.fm site, the proxy should catch on and start playing your selection in a few seconds. 4. Caveats Nothing is perfect. Here are some things you should know: - The author Vidar has only tested it under Linux. But user feedback seems to indicate success under various Windows versions and Mac OS X. Adaption to the new web service API for love and hate rating was done by Gabi on a Windows environment. - It is probably full of bugs. Hopefully the most annoying of these can get stomped out eventually. - The Record to Profile and Discovery Mode checkboxes lag. RTP will take a few seconds to toggle, while Discovery will not update until the next song change. This is a known issue, but I'm not sure about the right way to fix it (if at all). The checkboxes reflect what the server reports about its current status, and not what it will do in the future. - Remote start of the proxy is in alpha stadium. 5. Troubleshooting I can't promise much support, but feedback is always welcome. You can drop me a message on last.fm (nick "last2gabelle" for Gabi or "vidarino" for Vidar). Also, there's now a LastFMProxy group on the last.fm site. Feel free to join us: http://www.last.fm/group/LastFMProxy This post has been edited by supersnake: Dec 17 2012, 23:39 |
|
|
|
Dec 18 2012, 17:49
Post
#540
|
|
|
Group: Members Posts: 35 Joined: 9-June 12 Member No.: 100550 |
Thanks i'll check this... Here's the link where you can try out how this works: http://www.gabifrings.de/download.html you must download python programing language: http://www.python.org/download/, install it and run main.py, after that open foobar, in add location enter this: http://localhost:1881/last.fm.mp3 Problem I encountered is that you can not change the station, you can not do that even if going on last.fm, because you can't play any station from there anymore if you not subscriber. I'm not a programmer, but it seems easy to change something in this script to make it work,and allow as to change station... This is old hack for last.fm, here is forum: http://www.last.fm/group/LastFMProxy I asked Gabelle is it possible to change the station: http://www.last.fm/user/last2gabelle ,she did not answer so far... I'll try everithing: http://localhost:1881/artist/Regina%2Belle...ilarartists.mp3 http://localhost:1881/globaltags/rock.mp3 Nothing works... Thanks, the highlighting that you see above and below is mine. Whoa! QUESTION Right now I have the config.py opened up in the Python Shell Gui and I see that I am going to have to plug in the author's: (a) Last.FM user name (b) Last.Fm password © API key (d) API secret and it looks like I'm also going to have to make useproxy "True" and plug in the LastFMProxy's host and port? Is this what I should be doing? Thanks, Supersnake In the meantime I individually ran each of the below sample URLs in the JRiver Media Center without any problem; for your interest I do have a Last.FM individual user subscription and have Media Center configured with my Last.FM user name and password. http://localhost:1881/last.fm.mp3 http://localhost:1881/lastfm://globaltags/rock http://localhost:1881/lastfm://artist/Madonna/similarartists http://localhost:1881/lastfm://user/vidarino/neighbours ======================================================================== # Port and address to listen to listenport = 1881 #bind_address = "127.0.0.1" bind_address = "yourMachine" # Stick your last.fm username and password between the quotes below. username = "yourLast.fmUsername" password = "yourLast.fmPassword" # Which theme (skin) to use theme = "default" # Change "useproxy" to True and set the host and port if # you need an external proxy. useproxy = False proxyhost = "my.proxy.host" proxyport = 8000 # Set these if your proxy requires authentication. # Note: Only "Basic" authentication is supported. proxyuser = "" proxypass = "" # your last.fm api credentials api_key = "yourLast.fmApi_key" api_secret = "yourLast.fmApi_key" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Below is the LastFMProxy Read Me) ============================================================================================ LastFMProxy v1.4c © 2005-2007 Vidar Madsen 2010 Gabi Frings For a detailed instruction with screenshots visit www.gabifrings.de/download.html 1. Introduction LastFMProxy is a proxy server for the last.fm radio streams. It allows you to use your regular old audio player to listen to the last.fm streams. It does this by acting as a player itself, connecting to the server on your behalf, but instead of playing the stream, it simply relays it to whichever other application connecting to it. 2. Basic usage First, make sure you have a Python environment installed. You might have one already, but if not, go to http://www.python.org/ftp/python/ and download one suitable for your operating system. (If you're using a Windows operating system, you will need to get Windows Installer to install Python.) Now, uncompress and unpack the archive file. In Unix-like operating systems, you can do this by running the command: tar xvzf lastfmproxy.tar.gz Under Windows, WinZip or a similar compression tool should do fine. Now go into the directory "lastfmproxy", and modify the file "config.py" and set our last.fm login and password. If you need (or want) to use an external proxy for web access, you must set also set useproxy to "True", and set the proxy host name and port. The config file has a "bind_address" options, which tells the proxy which network interface to listen on. The default is to bind only to the localhost interface (127.0.0.1). If you want to be reach the proxy from other hosts or just use "0.0.0.0", which binds it to all interfaces available. Note that this is potentially less secure than binding only to the localhost IP, though. Now you can start the proxy. This is done by simply running "main.py". It will then show the URL at which you must aim your player. Mark andcopy this URL to your clipboard or similar. Finally, fire up your web browser of choice. Select "Open location" or something similar, and paste the URL there. You should see the proxy status page, vaguely resembling the last.fm player. Click "Start radio", and you're done! (You can also bookmark the URL in your browser for next time, to save you a little bit of work.) By default, the server starts playing your last station (or your "musical neighbours" station, if it couldn't be determined for some reason). Normally you will want to use the "changestation" script to change channels (see paragraph below). If not, you can use the web interface directly. The web interface is not perfect, but it's not too hard to do manually. To play another station, you can simply modify the browser URL; Just append the "lastfm:" station address directly to your proxy URL. Some example URLs; http://localhost:1881/lastfm://globaltags/rock http://localhost:1881/lastfm://artist/Madonna/similarartists http://localhost:1881/lastfm://user/vidarino/neighbours You should get the picture. Also, whenever you change stations, they will be added to the station history pulldown menu in the lower right, where they quickly and easily can be fetched again. Note; You can also select a station directly when starting the player. Justopen an URL on the form "http://localhost:1881/globaltags/jazz.m3u" to start streaming *and* select a station at the same time. This is particularly useful if you don't have a browser at all, and just want to listen to music. Under Linux, using mplayer, you can listen to any channel by starting the proxy, then launch: mplayer -playlist "http://localhost:1881/globaltags/metal.m3u" 3. Configuring the changestation.py script (Mozilla Firefox only) Here's how to make the lastfm://station links work: - In Firefox, open the location "about:config" - Right-click, select "New String" - As name, enter "network.protocol-handler.app.lastfm", "OK" - As value, enter the full path to the included "changestation.py" script (e.g. "C:\Program Files\lastfmproxy\changestation.py"), then "OK" That should do the trick. Now, when you click on station link on the last.fm site, the proxy should catch on and start playing your selection in a few seconds. 4. Caveats Nothing is perfect. Here are some things you should know: - The author Vidar has only tested it under Linux. But user feedback seems to indicate success under various Windows versions and Mac OS X. Adaption to the new web service API for love and hate rating was done by Gabi on a Windows environment. - It is probably full of bugs. Hopefully the most annoying of these can get stomped out eventually. - The Record to Profile and Discovery Mode checkboxes lag. RTP will take a few seconds to toggle, while Discovery will not update until the next song change. This is a known issue, but I'm not sure about the right way to fix it (if at all). The checkboxes reflect what the server reports about its current status, and not what it will do in the future. - Remote start of the proxy is in alpha stadium. 5. Troubleshooting I can't promise much support, but feedback is always welcome. You can drop me a message on last.fm (nick "last2gabelle" for Gabi or "vidarino" for Vidar). Also, there's now a LastFMProxy group on the last.fm site. Feel free to join us: http://www.last.fm/group/LastFMProxy just folow instruction carefully, set bind_address to:127.0.0.1 , enter your last.fm api and secret, password and username in config.py that's all. Then run main.py and enter adress in foobar -add location: http://localhost:1881/lastfm.mp3 , it should work. let me know if you find out something new about this... This post has been edited by mire777: Dec 18 2012, 17:51 |
|
|
|
Dec 18 2012, 22:36
Post
#541
|
|
|
Group: Members Posts: 8 Joined: 8-February 11 Member No.: 88008 |
Thanks. I obtained a Last.fm API account and configured the config.py file; main.py ran it and told me to use http://localhost:1881/ Now for the change station challenge...
Try this, it worked for me. 1. Plug http://localhost:1881/lastfm.mp3 into Add location, then see if it displays and plays. If it does then 2. Add this second station http://mp1.somafm.com:880. 3. I saved the two listed radio stations to a playlist and named it "Two", it became Two.fpl 4. I can now launch Two.fpl anytime I want and change from one of the stations to the other. The Python console also displayed that I changed stations. Notes: - For some reason I am unable to add a third station to a playlist. - For some reason Foobar will not let me play a valid URL but JRiver Media Player will, e.g. http://localhost:1881/lastfm://artist/Madonna/similarartists. - I read somewhere that it's best to run lastfmproxy with a version 2 Python and avoid any of the version 3 Pythons because lastfmproxy is such an old app, which is why I was using python-2.7.3.amd64.msi on my Windows7 (64) machine. Was that a factor? Who knows.. - It is worth your time to see if another client will play your URL (Winamp, JRiver Media Player, etc) before trying to play it in Foobar. Taking a break.. Cheers. This post has been edited by supersnake: Dec 18 2012, 23:35 |
|
|
|
Dec 24 2012, 04:22
Post
#542
|
|
|
Group: Members Posts: 35 Joined: 9-June 12 Member No.: 100550 |
Thanks. I obtained a Last.fm API account and configured the config.py file; main.py ran it and told me to use http://localhost:1881/ Now for the change station challenge... Try this, it worked for me. 1. Plug http://localhost:1881/lastfm.mp3 into Add location, then see if it displays and plays. If it does then 2. Add this second station http://mp1.somafm.com:880. 3. I saved the two listed radio stations to a playlist and named it "Two", it became Two.fpl 4. I can now launch Two.fpl anytime I want and change from one of the stations to the other. The Python console also displayed that I changed stations. Notes: - For some reason I am unable to add a third station to a playlist. - For some reason Foobar will not let me play a valid URL but JRiver Media Player will, e.g. http://localhost:1881/lastfm://artist/Madonna/similarartists. - I read somewhere that it's best to run lastfmproxy with a version 2 Python and avoid any of the version 3 Pythons because lastfmproxy is such an old app, which is why I was using python-2.7.3.amd64.msi on my Windows7 (64) machine. Was that a factor? Who knows.. - It is worth your time to see if another client will play your URL (Winamp, JRiver Media Player, etc) before trying to play it in Foobar. Taking a break.. Cheers. Thank you, everything worked until a few days ago. here is radio availability changes on last.fm: http://www.last.fm/announcements/radio2013 |
|
|
|
Dec 24 2012, 04:47
Post
#543
|
|
|
Group: Members Posts: 8 Joined: 8-February 11 Member No.: 88008 |
Thank you, everything worked until a few days ago. here is radio availability changes on last.fm: http://www.last.fm/announcements/radio2013 Just read that Last.fm announcement that you referred me to. Am sorry to read that. I guess Last.fm is restructuring itself to keep up with the lowering economy. Since my USA Last.fm subscription price is only $3.00 (USD) per month I will remain with it. I'll take a look at the Jango.com that you switched to, am always interested in good streaming sites. Perhaps you might like to visit these two, see if you like them. 1. http://www.1.fm/ 1.FM has a medium size amount of streaming categories to choose from but their fidelity is very good for an .mp3 compressed site. 2. V Turner Radio has a large selection to choose from and at various bit rates. The interface is easier to get around than is Shoutcast http://www.vtuner.com/setupapp/guide/asp/B...ategory=New+Age EDIT: Just looked over Jango.com and I definitely prefer it to the two I listed. It reminds me of Last.fm in its capability to recommend similar artists/compositions and it creates radio stations based on the user's tastes, just like Last.fm. Thanks Supersnake This post has been edited by supersnake: Dec 24 2012, 04:57 |
|
|
|
Dec 25 2012, 23:04
Post
#544
|
|
|
Group: Members Posts: 35 Joined: 9-June 12 Member No.: 100550 |
Thanks for suggestion,i'll check this sites...I hope that in the future last.fm will change its decision. Thank you for everything.
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 21st May 2013 - 15:17 |