IPB

Welcome Guest ( Log In | Register )

foo_lastfm_radio
nausea
post Aug 30 2008, 11:24
Post #1





Group: Developer
Posts: 142
Joined: 4-March 03
Member No.: 5322



This is a component for playing Last.fm radio stations in foobar2000.

Get version 0.5.7d here.

The component gives you several ways of adding stations. Artist stations can be added from the context menu. Your personal stations can be added from the "File/Open Last.fm Radio Station" menu, as can custom stations. The component will also catch Last.fm URIs entered from the "File/Add location..." dialog or command line, but these don't create automatically refreshing playlists.

Thanks to those that answered my questions during development. As usual, all feedback is welcome!

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.

A note on Love/Ban
This functionality is part of a separate API, and additionally requires a corresponding audioscrobbler submission (see http://www.last.fm/api/show?service=260). It therefore won't be implemented in foo_lastfm_radio. Sorry.

Changed in version 0.5.x:
  • 0.5.7d: Removed limit on text length in custom station dialog.
  • 0.5.7c: Can assign keyboard shortcuts to Last.fm Radio contextmenu items.
  • 0.5.7b: Recompiled with latest foobar2000 v1.0 SDK; no noticeable changes.
  • 0.5.7: Updated to support foobar2000 v1.0.
  • 0.5.6b: Working again now? Let's hope so.
  • 0.5.6: New technical info field "lastfm:imageURL". Use $info(lastfm:imageurl) to retrieve.
  • 0.5.5: Removed 'fan' custom station as it only returns empty playlists.
  • 0.5.5: New advanced preference: cache album art to a file.
  • 0.5.4: Context menu for opening artist stations now uses %artist% rather than %album artist%. This was causing problems with various artist albums.
  • 0.5.4: Small usability improvements to the Custom Station dialog.
  • 0.5.3: Updated new advanced preference from 0.5.2 to also disable 'Playback Follows Cursor' setting if set.
  • 0.5.2: No longer possible to add non-Last.fm tracks to Last.fm playlists. This includes tracks cut from Last.fm playlists. Prevents reordering playlist contents and potential problems with playlists not refreshing.
  • 0.5.2: New advanced preference: Set playback order to 'Default' when playing Last.fm radio.
  • 0.5.1: Fixed: Custom station dialog OK button would remain disabled when first selecting an item from history.
  • 0.5.1: Adding lastfm:// URLs from the command-line or 'File/Add Location...' dialog creates automatically updating playlists. Note that adding from the command-line halts playback and clears your default or current playlist in the same way adding any other file does.
  • Option to reuse a single playlist for all stations.
  • Favourite stations: managed from the preferences page, accessed in the File/Last.fm Radio menu.
Changed in previous versions:
  • 0.4.2: FIX: Using the close button in the custom station dialog doesn't return control to the main window.
  • 0.4.2: FIX?: Rare crash on track selection/playback.
  • 0.4.1: Playlists update silently.
  • 0.4.1: No more obnoxious popups on expired tracks, or empty playlist retrievals.
  • 0.4.1: FIX: On startup, sometimes two lots of tracks will be retrieved for a single playlist.
  • 0.4.1: FIX: $if(%album%,then,else) always returns then, even if album tag is empty.
  • 0.4: Album art support. (Specify a default image in the preferences page.)
  • 0.4: Improved custom station dialog. Now remembers previous entries.
  • 0.4: Last.fm links can be accessed from the context menu.
  • 0.4: Improved error handling.
  • Fixed crash when attempting to write tags.
  • Fixed tags disappearing on playback.
  • Fixed non-ANSI characters not displaying correctly.
  • Improved auto-refresh playlist logic. Old tracks (tracks retrieved prior to the currently playing item) are removed from all playlists, which refresh when 3 tracks or less are remaining.
  • Fixed crash when selecting keyboard shortcuts preferences page.
  • Playlists are given friendlier names and can be renamed.
  • Fixed escaped characters in tags.

Note: Played tracks are not scrobbled. (Use foo_audioscrobbler with "Only submit tracks from the Media Library" disabled if you want this functionality.)
Note 2: Users of foo_playback_custom (or other components which write tags to files during playback) should check "Only tracks in the media library update playback statistics" in that component's options to avoid problems with playback.

This post has been edited by nausea: Jan 30 2010, 22:58
Go to the top of the page
+Quote Post
 
Start new topic
Replies
nausea
post Sep 2 2008, 09:02
Post #2





Group: Developer
Posts: 142
Joined: 4-March 03
Member No.: 5322



Thanks for letting me know. See OP for fixed version.
Go to the top of the page
+Quote Post

Posts in this topic
- nausea   foo_lastfm_radio   Aug 30 2008, 11:24
- - TomBarlow   Oh my. This is awesome. One thing I would like is ...   Aug 30 2008, 12:17
- - Sounds Blast   nausea, thank you so very much for this awesome pl...   Aug 30 2008, 16:12
- - foosion   I've just tested it and noticed a few things. ...   Aug 30 2008, 17:41
- - NEMO7538   I also frequently get this error when trying to pl...   Aug 30 2008, 18:12
|- - foosion   QUOTE (NEMO7538 @ Aug 30 2008, 19:12) I a...   Aug 30 2008, 18:32
||- - nausea   Thanks for the feedback guys. QUOTE (foosion ...   Aug 30 2008, 21:44
||- - foosion   QUOTE (nausea @ Aug 30 2008, 22:44) Thank...   Aug 30 2008, 22:33
|- - Superunknown   QUOTE (NEMO7538 @ Aug 30 2008, 18:12) I a...   Sep 23 2008, 16:09
|- - nausea   Superunknown: do you have a specific station (arti...   Sep 23 2008, 16:29
|- - Superunknown   QUOTE (nausea @ Sep 23 2008, 16:29) Super...   Sep 23 2008, 17:01
- - nausea   Updated original post with info about version 0.2....   Aug 31 2008, 22:02
- - Sounds Blast   thanks for the update   Aug 31 2008, 23:02
- - m0rbidini   Thanks for the plugin, nausea. Looking forward for...   Sep 1 2008, 01:29
- - s33m33   Nice plugin nausea. Thanks for the effort you...   Sep 1 2008, 02:57
- - Neszton   It's good, but i'm waiting for the version...   Sep 1 2008, 09:04
- - TomBarlow   I'm getting a crash whenever I go to Prefs...   Sep 2 2008, 01:07
- - nausea   Thanks for letting me know. See OP for fixed versi...   Sep 2 2008, 09:02
|- - joen   This is fantastic, I've been hoping for a plug...   Sep 2 2008, 16:07
|- - lwiczek   QUOTE (joen @ Sep 2 2008, 17:07) Oh btw, ...   Sep 15 2008, 16:06
- - Onkel Andy   A really great plugin. I hope you can fix that tag...   Sep 2 2008, 15:57
- - London Mike   Yes, this is potentially a great plug in, I have v...   Sep 2 2008, 16:03
- - Canar   Awesome. Thanks. I've never really used this f...   Sep 2 2008, 18:27
|- - eradumvelhinho   QUOTE (Canar @ Sep 2 2008, 11:27) Awesome...   Sep 3 2008, 17:20
- - MusX   it's great!!! I was looking for th...   Sep 4 2008, 23:06
- - nausea   Updated original post with info about version 0.3....   Sep 7 2008, 09:54
|- - TomBarlow   Thanks for the latest version, this is great. foo_...   Sep 7 2008, 12:41
- - Hamallainen   Thank you for your plugin. This 0.3 version is wor...   Sep 7 2008, 10:47
- - London Mike   Thanks, tags now working fine. Now how to display ...   Sep 7 2008, 10:56
|- - nausea   QUOTE (London Mike @ Sep 7 2008, 09:56) A...   Sep 7 2008, 12:25
- - London Mike   I use Br3tt's Ibiza config (and always will I ...   Sep 7 2008, 12:30
- - London Mike   I'm having a problem with this now, the playli...   Sep 7 2008, 13:57
- - callisto   QUOTE (nausea @ Sep 7 2008, 13:25) QUOTE ...   Sep 7 2008, 15:26
- - NEMO7538   Thank you for this interesting component ...   Sep 7 2008, 15:41
- - nausea   QUOTE (London Mike @ Sep 7 2008, 12:57) I...   Sep 7 2008, 17:33
|- - London Mike   QUOTE (nausea @ Sep 7 2008, 17:33) I...   Sep 7 2008, 17:36
- - m0rbidini   I must admit I checked this topic everyday for the...   Sep 7 2008, 21:17
|- - Onkel Andy   The new features are pretty cool! i just figur...   Sep 8 2008, 14:35
- - nausea   Onkel Andy, does this happen during normal playbac...   Sep 8 2008, 20:46
- - Onkel Andy   As stated above the problem was the tagging plugin...   Sep 10 2008, 10:58
- - fusen   nice, this looks sweet   Sep 12 2008, 02:40
- - mobyduck   Thanks for that, I can finally stop using the anno...   Sep 12 2008, 11:17
- - Jleagle   This sounds awesome, installing now. I've not ...   Sep 12 2008, 14:25
- - bvm   I'm getting "Invalid Ticket(403)" ev...   Sep 12 2008, 14:34
- - servimo   Sorry for asking this: how I add a station with on...   Sep 12 2008, 15:57
- - nausea   Add a custom station (File->Open Last.fm Radio ...   Sep 12 2008, 16:03
- - servimo   WOW thanks for the quick reply. For now is only wh...   Sep 12 2008, 16:08
- - NEMO7538   It may come from the last.fm site but I get this e...   Sep 13 2008, 18:32
- - callisto   I got this error too, but now it works again   Sep 13 2008, 20:50
- - NEMO7538   yes, here too   Sep 13 2008, 21:52
- - nausea   The 503 error happens when Last.fm is busy (or som...   Sep 14 2008, 00:14
- - London Mike   How is development coming on? What changes can we ...   Sep 14 2008, 01:09
- - lwiczek   I'm getting error while reaching 50% of track....   Sep 14 2008, 14:02
- - BuZ   Wow, awesome plugin! Thank you so much! (:   Sep 14 2008, 14:18
- - nausea   I've added a fix for crash when attempting to ...   Sep 14 2008, 15:24
- - Sounds Blast   thanks for the update nausea   Sep 14 2008, 15:27
- - lwiczek   Thank's for the fix - now foobar doesn't c...   Sep 14 2008, 15:57
- - MusX   is it possible to stream specific track from last....   Sep 17 2008, 17:33
- - Jleagle   I think you have to pay to play a single song of y...   Sep 17 2008, 17:47
|- - MusX   no, I'm able to listen it in flash player for ...   Sep 17 2008, 18:02
|- - Jleagle   Im talking about non-downloadable full length song...   Sep 17 2008, 18:13
|- - MusX   don't really know what is ticket system but if...   Sep 17 2008, 19:52
- - mobyduck   I'm experiencing a little problem: song length...   Sep 18 2008, 14:05
- - halabund   I have two questions: 1. Can it cause problems wi...   Sep 18 2008, 14:16
- - lwiczek   Is it possible to get rid of window which pop-up w...   Sep 18 2008, 20:25
|- - halabund   QUOTE (lwiczek @ Sep 18 2008, 21:25) Is i...   Sep 18 2008, 21:57
- - lwiczek   That's correct in general, but if you use foo_...   Sep 19 2008, 13:58
- - nausea   New and improved version 0.4 is available. Check t...   Sep 21 2008, 10:24
|- - halabund   QUOTE (nausea @ Sep 21 2008, 11:24) QUOTE...   Sep 21 2008, 17:53
|- - nausea   QUOTE (halabund @ Sep 21 2008, 16:53) Any...   Sep 21 2008, 17:57
- - Hamallainen   I must say WOW for the album art support. It work ...   Sep 21 2008, 10:49
- - Sounds Blast   thanks for the update, nice too see this is a grea...   Sep 21 2008, 15:59
- - _oao   thanks for the update! album art works great ...   Sep 21 2008, 20:58
- - livedead13   just had to say thank you. this is a great compone...   Sep 21 2008, 21:00
- - TomBarlow   Thanks for the update. Is there any way to get the...   Sep 21 2008, 21:49
|- - halabund   QUOTE (TomBarlow @ Sep 21 2008, 22:49) Th...   Sep 21 2008, 21:56
- - London Mike   I'm using the Ibiza config and I'm not get...   Sep 21 2008, 21:56
- - ycz22   thanks for the update!   Sep 21 2008, 22:01
- - jogibaer   Phew, that's a big one I always wondered, h...   Sep 21 2008, 23:55
- - rectangle   I just want to thank you very much for this wonder...   Sep 22 2008, 07:20
- - hesher   Thanks for the plugin. It is a really really good...   Sep 22 2008, 08:40
- - joen   Many thanks for the new version, excellent improve...   Sep 22 2008, 09:25
- - halabund   A very minor polish request: Could you please foc...   Sep 22 2008, 15:51
|- - jogibaer   QUOTE (halabund @ Sep 22 2008, 16:51) A v...   Sep 25 2008, 09:14
- - TomBarlow   I have a slight feature request: sometimes I leave...   Sep 24 2008, 13:38
- - kopf   This is fantastic! Thank you!   Sep 24 2008, 16:14
- - starchaos   Thanks a ton! I have it setup now to where I d...   Sep 24 2008, 20:04
- - Superunknown   How the hell did you manage to make this app run ?...   Sep 25 2008, 15:41
|- - nausea   QUOTE (Superunknown @ Sep 25 2008, 14:41)...   Sep 25 2008, 15:58
|- - Superunknown   QUOTE (nausea @ Sep 25 2008, 15:58) QUOTE...   Sep 25 2008, 16:03
|- - nausea   Do you have any other components installed or DSPs...   Sep 25 2008, 16:10
|- - Superunknown   QUOTE (nausea @ Sep 25 2008, 16:10) Do yo...   Sep 25 2008, 18:01
- - Superunknown   It works after a clean re-install with foobar 0.9....   Sep 28 2008, 00:27
- - mobyduck   Hi nausea and thank you for your work on this comp...   Sep 28 2008, 09:42
- - Superunknown   I've managed to make it work on my good ol...   Sep 28 2008, 15:03
- - nausea   mobyduck: I'll work on less invasive error mes...   Sep 28 2008, 16:58
|- - Superunknown   QUOTE (nausea @ Sep 28 2008, 16:58) mobyd...   Sep 28 2008, 17:12
- - xbullethammer   I'm too stupid... How should I config my CUI...   Sep 29 2008, 06:21
- - halabund   xbullethammer, Use the built-in artwork view of Co...   Sep 29 2008, 08:57
- - Hamallainen   QUOTE (xbullethammer @ Sep 29 2008, 07:21...   Sep 29 2008, 09:16
6 Pages V   1 2 3 > » 


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 29th July 2014 - 16:10