IPB

Welcome Guest ( Log In | Register )

17 Pages V  « < 12 13 14 15 16 > »   
Reply to this topicStart new topic
foo_softplaylists, Aggregated playlists from last.fm's loved track feature
marc2003
post Feb 4 2011, 17:51
Post #326





Group: Members
Posts: 4439
Joined: 27-January 05
From: England
Member No.: 19379



QUOTE (JohanDeBock @ Feb 4 2011, 16:26) *
For recent tracks I even had to limit it to 10 tracks per page.


that was a bug at last.fm's end and should be fixed now.

http://www.last.fm/group/Last.fm+Web+Servi.../21604/_/669343

Go to the top of the page
+Quote Post
JohanDeBock
post Feb 4 2011, 17:54
Post #327





Group: Developer
Posts: 250
Joined: 23-March 05
Member No.: 20866



QUOTE (marc2003 @ Feb 4 2011, 17:51) *
QUOTE (JohanDeBock @ Feb 4 2011, 16:26) *
For recent tracks I even had to limit it to 10 tracks per page.


that was a bug at last.fm's end and should be fixed now.

http://www.last.fm/group/Last.fm+Web+Servi.../21604/_/669343


Ah ok, thanks for the info, will make changes accordingly.


--------------------
foo_softplaylists: http://tiny.cc/kh9m9
Go to the top of the page
+Quote Post
JohanDeBock
post Feb 4 2011, 18:01
Post #328





Group: Developer
Posts: 250
Joined: 23-March 05
Member No.: 20866



<error code="6">Invalid limit. Please supply a limit between 1 and 200</error></lfm>

So 200 it will be wink.gif


--------------------
foo_softplaylists: http://tiny.cc/kh9m9
Go to the top of the page
+Quote Post
marc2003
post Feb 4 2011, 18:17
Post #329





Group: Members
Posts: 4439
Joined: 27-January 05
From: England
Member No.: 19379



i notice last.fm still let you go wild on the loved tracks feed. this lack of consistency is quite annoying really. i'd be happy with 200 on all of them but some are supposedly limited to 50 still.
Go to the top of the page
+Quote Post
JohanDeBock
post Feb 4 2011, 22:15
Post #330





Group: Developer
Posts: 250
Joined: 23-March 05
Member No.: 20866



New version:
Soft Playlists 2011-02-04
-changed feed downloading to match Last.fm api changes
-recent tracks playlist: duplicates are not removed anymore


--------------------
foo_softplaylists: http://tiny.cc/kh9m9
Go to the top of the page
+Quote Post
JohanDeBock
post Feb 5 2011, 04:22
Post #331





Group: Developer
Posts: 250
Joined: 23-March 05
Member No.: 20866



New version:
Soft Playlists 2011-02-05
-added Last.fm custom playlist functionality, creating a new one must be done on www.last.fm for now

This post has been edited by JohanDeBock: Feb 5 2011, 04:23


--------------------
foo_softplaylists: http://tiny.cc/kh9m9
Go to the top of the page
+Quote Post
fuffi
post Feb 13 2011, 03:53
Post #332





Group: Members
Posts: 194
Joined: 10-February 07
From: kölle an rhein
Member No.: 40490



Hello JohanDeBock,
I love you plugin. Really! Thanks!

Especially in this household with a big NAS, where all the people put their music into the foobar shares, I can enjoy music i would have never listened to while searching the media library by hand.

Great! :-)

but anyway...

A request:

If i choose "Similar Tracks", your fine plugin has the option to "ABORT" the search for similar tracks.
But if i press "ABORT", your plugin opens a new playlist with no music in it.

I'd rather like to have all those music in the list which your plugin was able to find before i pressed "ABORT".

so, if the plugin searches for more than 5 minutes for similar tracks on last.fm, and i don't want to wait anymore, i'd like to press a button, like i.e. "STOP THE CURRENT SEARCH AND START PLAYING THE UNCOMPLETED LIST IMEDIATELY"

is this possible?
would you mind to implement such feature, if possible?

cheers,


Go to the top of the page
+Quote Post
hymerman
post Feb 16 2011, 22:29
Post #333





Group: Members
Posts: 85
Joined: 1-June 05
Member No.: 22429



Just found a bug with the latest version, 2011-02-05, using foobar 1.1. For any artist with an ampersand (&) in their name, the Last.fm context menu displays the first item ("artist top tracks") normally, but all other items have the previous item prepended, making for some crazy long strings towards the bottom of the list. I can't imagine my foobar being a minor version out of date is the problem. Can anyone else confirm this?

This post has been edited by hymerman: Feb 16 2011, 22:31
Go to the top of the page
+Quote Post
marc2003
post Feb 16 2011, 22:35
Post #334





Group: Members
Posts: 4439
Joined: 27-January 05
From: England
Member No.: 19379



nope, that isn't happening here. (latest component / foobar)
Go to the top of the page
+Quote Post
Krautmaster
post Feb 22 2011, 20:39
Post #335





Group: Members
Posts: 31
Joined: 12-February 10
Member No.: 78105



1. thanks 4 the pluging but

2. foo_scrobblecharts was far much faster (why is it so fucking slow?? around 5 minutes to find 20x similar artists to ac/dc and 50 tracks each )

3. i miss the abillity to overwrite the "similar artists" playlist, why to create a new one all the time -> sucks

4. the playlist which is generated is randomized... i have to sort by artist first. Foo_scrobblecharts did that better. how to change this?

i use following values:



any tips 4 me please

This post has been edited by Krautmaster: Feb 22 2011, 20:54
Go to the top of the page
+Quote Post
JohanDeBock
post Feb 22 2011, 20:43
Post #336





Group: Developer
Posts: 250
Joined: 23-March 05
Member No.: 20866



QUOTE (Krautmaster @ Feb 22 2011, 20:39) *
2. foo_scrobblecharts was far much faster (why is it so fucking slow?? around 5 minutes to find 20x similar artists to ac/dc and 50 tracks each )
Because Last.fm is terribly slow lately.


--------------------
foo_softplaylists: http://tiny.cc/kh9m9
Go to the top of the page
+Quote Post
Krautmaster
post Feb 22 2011, 20:55
Post #337





Group: Members
Posts: 31
Joined: 12-February 10
Member No.: 78105



but foo_scrobblecharts uses last.fm too, or? with foobar 0.95 ... try it out. Its far much faster...

edit: Did some Benchmarks:

Same database: Result (up to 50 Tracks / Artist -> 20 similar Artists)
~150000 mp3s well sorted

similar Artists charts playlist to "Rammstein"

0.95 + foo_scrobblecharts

result: well orderd playlist -> including Rammstein again -> 704 items

1. run -> 68 seconds
2. run -> 2 seconds

1.13 + foo_softplaylist

result: new randomized playlist -> Rammstein not included -> 651 items

1. run -> 340 seconds !! blink.gif
2. run -> 69 seconds

Results can be compared...

scrobbelcharts TXT
http://dl.dropbox.com/u/21136636/Result%20...obblecharts.txt

softplaylist TXT
http://dl.dropbox.com/u/21136636/Result%20...oftplaylist.txt


=> interesting, isnt it? ohmy.gif o.O

Summary:

1. scrobblecharts is 5 times faster
2. track result is better (ordered playlist, artist included again)
3. playlist result is better, i dont have to delete the result playlists all the time! sucks
4. quality of results is the same!


Edit2:

i need a portation of scrobblecharts to foobar 1.1.3 please

This post has been edited by Krautmaster: Feb 22 2011, 21:35
Go to the top of the page
+Quote Post
Krautmaster
post Feb 22 2011, 21:41
Post #338





Group: Members
Posts: 31
Joined: 12-February 10
Member No.: 78105



http://chron.visiondesigns.de/foobar2000/f..._2007_12_08.zip

here is the source code by the way, thanks for speeding it up 5 times =) thanks

This post has been edited by Krautmaster: Feb 22 2011, 21:57
Go to the top of the page
+Quote Post
fuffi
post Feb 23 2011, 00:11
Post #339





Group: Members
Posts: 194
Joined: 10-February 07
From: kölle an rhein
Member No.: 40490



can anybody tell me, why those plugins take less time in the second run?
isn't the list of artists/songs sucked down from last.fm calculated freshly on each run?

just curious...
QUOTE (Krautmaster @ Feb 22 2011, 20:55) *
0.95 + foo_scrobblecharts
1. run -> 68 seconds
2. run -> 2 seconds

1.13 + foo_softplaylist

1. run -> 340 seconds !!
2. run -> 69 seconds

Go to the top of the page
+Quote Post
Krautmaster
post Feb 23 2011, 09:20
Post #340





Group: Members
Posts: 31
Joined: 12-February 10
Member No.: 78105



i wonderd too... maybe it saves the result in a temprary file but i can restart foobar and its feels like the second run again (only checkt on scrobblecharts component). Just strange.

Can somebody make this benchmark too?

u can get my empty portable foobar2k archive here

http://dl.dropbox.com/u/21136636/foobar2000.rar

edit:

would be nice if somebody of the softplaylist team would look into the source code. Beside the optimization of speed the following points are in my interest:

1. Result playlist sorted by artist and charts
2. Result playlist includes the artist again
3. Result overwrites the last "similar charts playlist"

maybe optional done by checkbox in the softplaylist settings. Should increase the usability

This post has been edited by Krautmaster: Feb 23 2011, 09:28
Go to the top of the page
+Quote Post
hymerman
post Feb 23 2011, 11:25
Post #341





Group: Members
Posts: 85
Joined: 1-June 05
Member No.: 22429



I'd love for the source to be made available, there are a couple of things I'd like to fiddle with, and I could implement some of the simpler and more sensible requests too, to show my appreciation and support. I understand if you don't want to show us your code though, I know there's plenty of code I've written that I would hate for people to see...
Go to the top of the page
+Quote Post
JohanDeBock
post Feb 23 2011, 16:34
Post #342





Group: Developer
Posts: 250
Joined: 23-March 05
Member No.: 20866



Will look into it when I have time. But it probably has to do with http caching and the change to the internal foobar http functionality at some point.
I always thought Last.fm has become slower and didn't bother.

I can't be the matching algorithm because that is serveral order of magnitude faster than the one in foo_scrobblecharts.

It can also be that foo_scrobblecharts fetches less top tracks per artist and with less pages.

This post has been edited by JohanDeBock: Feb 23 2011, 16:48


--------------------
foo_softplaylists: http://tiny.cc/kh9m9
Go to the top of the page
+Quote Post
Krautmaster
post Feb 23 2011, 18:12
Post #343





Group: Members
Posts: 31
Joined: 12-February 10
Member No.: 78105



thanks for the reply =)

I only compared the result for "Rammstein" - its similar as u can see by the results i added to my post. I would be happy if you can finde some time to look into the source.

I think the database algorythm is faster in the new foobar, the search is slightly faster. I cant say where the problem is. Maybe its possible to learn out of the source of scrooblecharts , i added it before too. Maybe its possible to copy the similar artists function nearly 1:1. Sadly foobar crashes with the usage of scrobblecharts but might be a little problem because the search works fine so far and if i ignore the failture in VS foobar2000 starts playing the new list normally.

Maybe anyone can portate it to 1.13 and check the reason for this crash by debuging.

Thanks!
Go to the top of the page
+Quote Post
fuffi
post Feb 23 2011, 20:08
Post #344





Group: Members
Posts: 194
Joined: 10-February 07
From: kölle an rhein
Member No.: 40490



QUOTE (Krautmaster @ Feb 23 2011, 09:20) *
Can somebody make this benchmark too?

how? tell the steps. very precise :)
Go to the top of the page
+Quote Post
Krautmaster
post Feb 23 2011, 20:21
Post #345





Group: Members
Posts: 31
Joined: 12-February 10
Member No.: 78105



1. hm take my foobar2000 0.95 from above, or make a new 0.95 portable install and include scrobblecharts component... -> http://dl.dropbox.com/u/21136636/foobar2000.rar <-

2. same with an 1.1.3 portable + foo_softplaylist

3. initialize the same music data...

4. Then choose an artist like "AC/DC"

5. rightclick on a song "last.fm" -> "similar artists charts playlist" or something like that... simmilar in both versions

6. measure the time

7. thx

wink.gif

This post has been edited by Krautmaster: Feb 23 2011, 20:22
Go to the top of the page
+Quote Post
hymerman
post Feb 23 2011, 20:39
Post #346





Group: Members
Posts: 85
Joined: 1-June 05
Member No.: 22429



QUOTE (marc2003 @ Feb 16 2011, 22:35) *
nope, that isn't happening here. (latest component / foobar)


I've just updated to 1.1.2 (the download link on foobar's home page points to 1.1.2, not 1.1.3!) and tried again.

I've narrowed it down; it only happens when right clicking something in the facets panel (foo_facets) of the default UI. Right clicking files in the playlist and elsewhere works as expected, just anything in the facets panel acts strangely.

Can anyone confirm this more specific reproduction?
Go to the top of the page
+Quote Post
Chronial
post Feb 26 2011, 03:28
Post #347





Group: Members
Posts: 384
Joined: 2-May 05
Member No.: 21825



QUOTE (fuffi @ Feb 23 2011, 01:11) *
can anybody tell me, why those plugins take less time in the second run?
isn't the list of artists/songs sucked down from last.fm calculated freshly on each run?

just curious...
QUOTE (Krautmaster @ Feb 22 2011, 20:55) *
0.95 + foo_scrobblecharts
1. run -> 68 seconds
2. run -> 2 seconds

1.13 + foo_softplaylist

1. run -> 340 seconds !!
2. run -> 69 seconds


The second run is way faster because of http caching. I can't speak for foo_softplaylist, but foo_scrobblecharts uses the windows (that's IE) http functionality, including it's Caching. Open IE and clear the cache - it should be slow again wink.gif.

QUOTE
Will look into it when I have time. But it probably has to do with http caching and the change to the internal foobar http functionality at some point.
I always thought Last.fm has become slower and didn't bother.

I'm not using the foobar http functionality. I'm calling the Windows API myself. I'm not saying you should do that (you should not ^^), but that may be the source of the poblem.

QUOTE
I can't be the matching algorithm because that is serveral order of magnitude faster than the one in foo_scrobblecharts.

Not going to lecture you on optimization, but: you're doing in wrong wink.gif. Orders of magnitude still don't matter if you are sorting a list of <1000 entries once on a modern cpu. One tends to optimize every line of code, but you should only optimize the parts of your code that actually take time. and in plugin like this one, this is obviously the networking part. I have no Idea why my plugin should be faster, but maybe you will find the reason when you compare the source codes.
Otherwise I would suggest you do mulitple http requests at once (try not to break the http specs too badly here wink.gif). foo_scrobblecharts isn't doing that, but it will speed up the process a lot anyways (it also would have done in foo_scrobblecharts, obviously).


Oh and as no one else wants to say it: Krautmaster, please stop trolling (yes, you're trolling).
QUOTE
2. track result is better (ordered playlist, artist included again)

That's not better, but a design decision. If you don't like the design decisions of a component creator, ask for an option to change it - once! If he doesn't want to change it and you can't live with it, write your own component and stop trolling.
QUOTE
3. playlist result is better, i dont have to delete the result playlists all the time! sucks

Also a design design - see above.

This post has been edited by Chronial: Feb 26 2011, 03:34
Go to the top of the page
+Quote Post
fuffi
post Feb 26 2011, 14:47
Post #348





Group: Members
Posts: 194
Joined: 10-February 07
From: kölle an rhein
Member No.: 40490



QUOTE (Chronial @ Feb 26 2011, 03:28) *
I would suggest you do mulitple http requests at once (try not to break the http specs too badly here wink.gif)

I always asked myself what happens, when we overload the last.fm api (or website?) with "Similar Tracks Recursion Limit >5"
Of course, it will be damn slow and take about 30 minutes to fill a list of maybe more and better hits, but would'nt that be too much "stress" for the last.fm site?

i myself didn't have the guts to try it (still have set to 1 and tried 2 a short while), because i want to live long with that great pluging and don't course any trouble last.fm maybe think: oh, they're abusing us, we will ban that plugin from getting data from us.
Go to the top of the page
+Quote Post
JohanDeBock
post Feb 26 2011, 15:13
Post #349





Group: Developer
Posts: 250
Joined: 23-March 05
Member No.: 20866



QUOTE (Chronial @ Feb 26 2011, 03:28) *
QUOTE
I can't be the matching algorithm because that is serveral order of magnitude faster than the one in foo_scrobblecharts.

Not going to lecture you on optimization, but: you're doing in wrong wink.gif. Orders of magnitude still don't matter if you are sorting a list of <1000 entries once on a modern cpu. One tends to optimize every line of code, but you should only optimize the parts of your code that actually take time. and in plugin like this one, this is obviously the networking part.
You are correct, but the XSPF part of the plugin doesn't use inet access. That is the main reason I sped it up with binary searches.

last.fm's speed depends a lot on when you access it. The times for fetching my +-500 tracks loved playlist:
Yesterday evening: 30s
Now: 5s


This post has been edited by JohanDeBock: Feb 26 2011, 15:27


--------------------
foo_softplaylists: http://tiny.cc/kh9m9
Go to the top of the page
+Quote Post
marc2003
post Feb 26 2011, 19:20
Post #350





Group: Members
Posts: 4439
Joined: 27-January 05
From: England
Member No.: 19379



i'd change the limit to 200. they allow it for recent tracks so i think it's fair game for loved tracks as well.
Go to the top of the page
+Quote Post

17 Pages V  « < 12 13 14 15 16 > » 
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: 28th July 2014 - 13:50