foo_softplaylists, Aggregated playlists from last.fm's loved track feature |
![]() ![]() |
foo_softplaylists, Aggregated playlists from last.fm's loved track feature |
Nov 30 2009, 17:57
Post
#51
|
|
|
Group: Developer Posts: 250 Joined: 23-March 05 Member No.: 20866 |
I've already seen a position where this could happen.
How should I use the in_metadb_sync objects? -------------------- foo_softplaylists: http://tiny.cc/kh9m9
|
|
|
|
Nov 30 2009, 21:18
Post
#52
|
|
![]() Group: FB2K Moderator Posts: 2359 Joined: 30-November 07 Member No.: 49158 |
For example, instead of this:
CODE handle->metadb_lock(); Do this:// Call some handle->*_locked() methods or whatever handle->metadb_unlock(); CODE { See SDK/metadb.h for others - in_metadb_sync instantiates metadb (for access to the lock/unlock methods) itself internally, in_metadb_sync_fromptr uses an external pointer (for contexts where it's already available).
in_metadb_sync_fromhandle lock(handle); // Call some handle->*_locked() methods or whatever } -------------------- Full-quoting makes you scroll past the same junk over and over.
|
|
|
|
Dec 1 2009, 03:37
Post
#53
|
|
|
Group: Developer Posts: 250 Joined: 23-March 05 Member No.: 20866 |
New version:
Soft Playlists 2009-12-01 -Added: Last.fm Love Track command (enter Last.fm password in configuration) -Changed: Fixed some bugs -Changed: Optimized some code This post has been edited by JohanDeBock: Dec 1 2009, 03:39 -------------------- foo_softplaylists: http://tiny.cc/kh9m9
|
|
|
|
Dec 1 2009, 03:41
Post
#54
|
|
|
Group: Developer Posts: 250 Joined: 23-March 05 Member No.: 20866 |
JohanDeBock, can you see why is this happening: http://www.hydrogenaudio.org/forums/index....showtopic=76575 made some changes, does this still happen? -------------------- foo_softplaylists: http://tiny.cc/kh9m9
|
|
|
|
Dec 1 2009, 04:10
Post
#55
|
|
|
Group: Validating Posts: 2424 Joined: 21-May 08 Member No.: 53675 |
works great, thank you
don't want to spoil the party, but when I press abort if component is parsing last.fm - it just stays locked that way until I exit foobar. does it happens at yours foobar also? [edit] well it just doesn't abort, it's not locked if I limit users to 50, and press abort, then it waits for all download to finish - that's all This post has been edited by 2E7AH: Dec 1 2009, 04:16 |
|
|
|
Dec 1 2009, 04:19
Post
#56
|
|
|
Group: Developer Posts: 250 Joined: 23-March 05 Member No.: 20866 |
I actually didn't do anything special yet for the abort function. Haven't figured it out yet how to correctly implement it.
I think now it just tries to finish the command, without actually aborting, no? Just update the XSPF load code, should be much faster for 10000+ playlists. This post has been edited by JohanDeBock: Dec 1 2009, 04:20 -------------------- foo_softplaylists: http://tiny.cc/kh9m9
|
|
|
|
Dec 1 2009, 04:23
Post
#57
|
|
|
Group: Validating Posts: 2424 Joined: 21-May 08 Member No.: 53675 |
yes, I'm on restricted 10 KB/s for couple of hours, that's why I noticed
I'll play now with XSPF |
|
|
|
Dec 1 2009, 04:25
Post
#58
|
|
|
Group: Developer Posts: 250 Joined: 23-March 05 Member No.: 20866 |
Does the love track feature work for you?
It should normally write foo_softplaylists: successfully loved Event Horizon They Waited by Christ. on the console if it worked. This post has been edited by JohanDeBock: Dec 1 2009, 04:26 -------------------- foo_softplaylists: http://tiny.cc/kh9m9
|
|
|
|
Dec 1 2009, 04:31
Post
#59
|
|
|
Group: Validating Posts: 2424 Joined: 21-May 08 Member No.: 53675 |
yeah, works fine - this is my first loved track, I never used such function
|
|
|
|
Dec 1 2009, 04:35
Post
#60
|
|
|
Group: Developer Posts: 250 Joined: 23-March 05 Member No.: 20866 |
Then there will finally be something in your playlist when you do User Loved Tracks
-------------------- foo_softplaylists: http://tiny.cc/kh9m9
|
|
|
|
Dec 1 2009, 04:48
Post
#61
|
|
|
Group: Validating Posts: 2424 Joined: 21-May 08 Member No.: 53675 |
+ your component will make me scrobble again, after I stopped as last.fm radio stopped working for me
This post has been edited by 2E7AH: Dec 1 2009, 04:49 |
|
|
|
Dec 1 2009, 08:56
Post
#62
|
|
![]() Group: Members Posts: 720 Joined: 24-November 05 From: Grenoble Member No.: 25981 |
THANK YOU!
|
|
|
|
Dec 1 2009, 09:01
Post
#63
|
|
|
Group: Members Posts: 96 Joined: 23-November 09 From: The Netherlands Member No.: 75220 |
Thanks a ton
|
|
|
|
Dec 1 2009, 09:06
Post
#64
|
|
![]() Group: Members Posts: 374 Joined: 20-June 05 Member No.: 22863 |
-------------------- http://www.last.fm/user/magnumforce2006
|
|
|
|
Dec 1 2009, 11:10
Post
#65
|
|
![]() Group: Members Posts: 3287 Joined: 27-January 05 From: England Member No.: 19379 |
this is pretty cool. but i have a little problem...
if you try and love a track with an "&" in it, it fails. console message- CODE foo_softplaylists: failed to love Son & Moon by Cortney Tidwell |
|
|
|
Dec 1 2009, 12:14
Post
#66
|
|
![]() Group: Members Posts: 266 Joined: 21-August 04 Member No.: 16417 |
-Added: Last.fm Love Track command (enter Last.fm password in configuration) WOW, brilliant! Two things tho: - would it be possible to somehow synchronize love tracks from last.fm with tags (for the moment one can't know if the track is already marked, I solved it by retrieving my love tracks and tagging it and then adding separate column, but something more automatic would be nice - using new menu would be nice, at the moment context commands are in "Legacy commands" category. -------------------- http://foobar2000.pl/ :: unofficial polish forum
|
|
|
|
Dec 1 2009, 14:07
Post
#67
|
|
|
Group: Developer Posts: 250 Joined: 23-March 05 Member No.: 20866 |
if you try and love a track with an "&" in it, it fails. console message- Will check it out. - using new menu would be nice, at the moment context commands are in "Legacy commands" category. Can't do anything about that now, must wait for new SDK. This post has been edited by JohanDeBock: Dec 1 2009, 14:08 -------------------- foo_softplaylists: http://tiny.cc/kh9m9
|
|
|
|
Dec 1 2009, 14:12
Post
#68
|
|
![]() Group: Members Posts: 61 Joined: 27-January 09 From: Croatia Member No.: 66144 |
Thank you for "love track" feature, works great!
If you add support for generating playlist based on last.fm tags, this will be my favorite foobar component -------------------- http://www.last.fm/user/Nontryer
|
|
|
|
Dec 1 2009, 15:35
Post
#69
|
|
![]() Group: Members Posts: 266 Joined: 21-August 04 Member No.: 16417 |
- using new menu would be nice, at the moment context commands are in "Legacy commands" category. Can't do anything about that now, must wait for new SDK. Hmm... weird. I have some plugins (i.e. last.fm radio or foo_uie_tagger_mod) that put commands in context menu outside Legacy group. I just thought it was already possible, therefore the suggestion. Sorry if I made wrong assumption. -------------------- http://foobar2000.pl/ :: unofficial polish forum
|
|
|
|
Dec 1 2009, 16:00
Post
#70
|
|
![]() Group: FB2K Moderator Posts: 2359 Joined: 30-November 07 Member No.: 49158 |
There are fallbacks for some of the common group names, so that at least some of the non-updated components don't not end up in the Legacy group. If one context menu service doens't return multiple different default paths, that is. Or provide dynamic submenus, I think.
-------------------- Full-quoting makes you scroll past the same junk over and over.
|
|
|
|
Dec 1 2009, 16:19
Post
#71
|
|
![]() Group: Members Posts: 374 Joined: 20-June 05 Member No.: 22863 |
- would it be possible to somehow synchronize love tracks from last.fm with tags (for the moment one can't know if the track is already marked, I solved it by retrieving my love tracks and tagging it and then adding separate column, but something more automatic would be nice Great suggestion. Something like a simple masstagger script to tag each track with "loved track" would be sufficient enough, unless anyone else has any suggestions. -------------------- http://www.last.fm/user/magnumforce2006
|
|
|
|
Dec 1 2009, 17:09
Post
#72
|
|
![]() Group: Members Posts: 3287 Joined: 27-January 05 From: England Member No.: 19379 |
for anybody that uses columns UI, i've made a WSH panel mod button that can "love" a track and also tag the file at the same time.
download (includes WSH panel mod + images) - http://cid-649d3bfeaf541fbb.skydrive.live....oobar/loved.zip extract contents into foobar directory. add a WSH panel to your layout. now right click it and choose "Configure". use the text from "code.txt" to replace the existing contents. it should work straight away but check the comments at the top for settings you might want to change. when playing, it works on the "now playing" item and when playback is stopped, you can use it to love/tag the selected item. This post has been edited by marc2003: Dec 1 2009, 17:09 |
|
|
|
Dec 1 2009, 17:30
Post
#73
|
|
![]() Group: Members Posts: 720 Joined: 24-November 05 From: Grenoble Member No.: 25981 |
- would it be possible to somehow synchronize love tracks from last.fm with tags (for the moment one can't know if the track is already marked, I solved it by retrieving my love tracks and tagging it and then adding separate column, but something more automatic would be nice Great suggestion. Something like a simple masstagger script to tag each track with "loved track" would be sufficient enough, unless anyone else has any suggestions. ACtually the lastfm api can tell you if a track is loved (track.getInfo) So one thing we could do is do something like what biography_view does, which is add a temp tag to the playing song with the flag for loved. That way we could now if the playing track is already loved. After that we could imagine a masstag script to do so as a permanent tag. What do you think JohanDeBock? On something else, i dont know if you saw my last comment in audioscrobbler thread but i feel today like we have too much lastfm related plugins(lastfm_radio, biography_view and softplaylists), and that maybe, if all dev would agree, they should be combined in one ULTIME plugin. What do you think? |
|
|
|
Dec 1 2009, 18:26
Post
#74
|
|
|
Group: Members Posts: 96 Joined: 23-November 09 From: The Netherlands Member No.: 75220 |
On something else, i dont know if you saw my last comment in audioscrobbler thread but i feel today like we have too much lastfm related plugins(lastfm_radio, biography_view and softplaylists), and that maybe, if all dev would agree, they should be combined in one ULTIME plugin. What do you think? I totally agree. I would love to have one plugin that grabs all kinds of data from last.fm and puts it into custom taggin fields or temporary fields. I currently use biography_view to show similar artists and last.fm playcount, and make playlists with soft_playlists. I would love to hear the opinion of some component developers |
|
|
|
Dec 1 2009, 18:51
Post
#75
|
|
|
Group: Developer Posts: 250 Joined: 23-March 05 Member No.: 20866 |
CODE foo_softplaylists: failed to love Son & Moon by Cortney Tidwell This is already fixed, but not released yet. Also trying to solve problems with special characters like in "Röyksopp". I can already correctly get the top tracks of Röyksopp", but not love any tracks of Röyksopp". I'm sending the parameters utf8 encoded like they should be, but it still doesn't work. This post has been edited by JohanDeBock: Dec 1 2009, 18:52 -------------------- foo_softplaylists: http://tiny.cc/kh9m9
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 23rd May 2013 - 00:51 |