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...QuoteError retrieving Last.fm radio playlist: Please check your username, password, or Internet connection.
Error retrieving Last.fm radio playlist: Please check your username, password, or Internet connection.
don't work anymore...error: Forbidden (403)
Quote from: mire777 on 04 December, 2012, 02:32:30 PMdon't work anymore...error: Forbidden (403)same hereRIP foobar lastfm (2008-2012).. been using it almost every single day. now I might have to replace foobar
I'm a subscriber but in Malaysia. Used to work but now getting the same error.
i found way to play last.fm in foobar again but don't have playlist and artist pic... maybe someone might to help about scripting?http://www.dodaj.rs/f/3v/DF/2RNj2vuB/capture.png
Quote from: mire777 on 11 December, 2012, 09:52:13 PM i found way to play last.fm in foobar again but don't have playlist and artist pic... maybe someone might to help about scripting?http://www.dodaj.rs/f/3v/DF/2RNj2vuB/capture.pngMire777,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.0Will 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.htmlyou 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.mp3Problem 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/LastFMProxyI 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...
Quote from: mire777 on 17 December, 2012, 10:35:27 AMThanks i'll check this... Here's the link where you can try out how this works:http://www.gabifrings.de/download.htmlyou 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.mp3Problem 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/LastFMProxyI 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! Before I run the main.py that you are pointing me to, it looks like I have to first modify the config.py, file is that right? And for me being a newbie with the Python interface, I'm going to need some time or help to figure out how to properly do that. QUESTIONRight 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? If it involves greater complexity to set up a proxy in the Last.FM proxy then I am going to pass on this.Thanks,SupersnakeIn 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.mp3http://localhost:1881/lastfm://globaltags/rockhttp://localhost:1881/lastfm://artist/Madonna/similarartistshttp://localhost:1881/lastfm://user/vidarino/neighbours========================================================================# Port and address to listen tolistenport = 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 usetheme = "default"# Change "useproxy" to True and set the host and port if # you need an external proxy.useproxy = Falseproxyhost = "my.proxy.host"proxyport = 8000# Set these if your proxy requires authentication.# Note: Only "Basic" authentication is supported.proxyuser = ""proxypass = ""# your last.fm api credentialsapi_key = "yourLast.fmApi_key"api_secret = "yourLast.fmApi_key"- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Below is the LastFMProxy Read Me)============================================================================================LastFMProxy v1.4c© 2005-2007 Vidar Madsen2010 Gabi FringsFor a detailed instruction with screenshots visit www.gabifrings.de/download.html1. IntroductionLastFMProxy 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 usageFirst, 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.gzUnder 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 playanother 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/neighboursYou should get the picture. One thing, though; when you're editing URLs, "hip%20hop".) The easiest shortcut is to browse the last.fm site, and "Copy link location" when you see a station you like, and simply paste it at the end of the browser location in the proxy window.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 startstreaming *and* select a station at the same time.This is particularly useful if you don't have a browser at all, and just wantto 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. CaveatsNothing 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. TroubleshootingI 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
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 then2. 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.fpl4. 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. I think it's no longer possible to listen last.fm... it depends on country you are from. Listen is possible only from: United States, United Kingdom, Germany, Canada, Australia, New Zealand, Ireland and Brazil. Last.fm no longer provide radio streaming to other countries. Because of this i quit last.fm and switched to jango.comhere is radio availability changes on last.fm:http://www.last.fm/announcements/radio2013
Last.fm has stopped radio streaming of its own music catalogue on April 28th, 2014 already, so the old method of using it in foobar does not work anymore:http://www.last.fm/announcements/subscriptions2014On their new beta site they integrate Spotify besides YouTube as a content provider, so your Last.fm personal radio stations (library, mix and recommendations) play in the Spotify desktop client now as well as similar artists and global tags radios. Furthermore on-demand playback of tracks listed on any Last.fm page was already implemented on Jan 2014:http://beta.last.fmI'm not sure if a foobar plugin for Last.fm radio stations would work with this constellation and/or make sense anymore.
I still hope that one day we can listen Lastfm radio on Foobar directly
Quote from: vanhoivanbinh on 08 July, 2015, 10:14:45 PMI still hope that one day we can listen Lastfm radio on Foobar directlyIf it ceased to exist, why would you still hope it could be played?
Thank you for the details replyI just know how to play youtube on Foobar but I still hope that one day we can listen Lastfm radio on Foobar directly...Because in my Last.fm webpage, I still can listen to many radio station (on my browser)My hobby is choosing a station and let it play during working.