Suggested Songs Dynamic Playlist
Seb Ruiz
me at sebruiz.net
Thu Dec 14 17:38:49 UTC 2006
my plan is to make the suggested dynamic mode much more robust, with
artist-suggestion mappings etc, but can only do so when i return home.
will be a couple of months at least until results begin to appear.
seb
On 14/12/06, Lucky Captain Rabbit King <jer at gweep.net> wrote:
> Hi!
>
> I've been seeing the Suggested Songs Dynamic Playlist getting wedged on a single
> artist. When another artist is played, the song that is queued is based on
> the first artist played. I think this is due to the playlist cache <b>m_cachedItemSet</b>
> being generated seeded with the first artist, and new tracks are queued from this
> cache.
>
> locally, I've changed _DynamicMode::retrieveTracks_ to not use the cache
> if the dynamicList type is SUGGESTION:
>
> if(( m_cachedItemSet.count() <= trackCount ) || (appendType() == SUGGESTION) )
> {
> debug() << "Refreshing cached items" << endl;
> rebuildCachedItemSet();
> }
>
> but, a better answer would be to associate an artist name with the cache,
> and use the same cache for multiple tracks by the same artist. This could
> explode greatly with a lot of different artists.
> or refresh only when the artist changes from the last time the cache was filled.
>
> -jer
> --
> jer at sidehack.gweep.net Programmer / Sysadmin / Gweep
> mpython at gnu.org -><- Author of Xtacy, an X11 Graphics Hack
> jer_johnson at real.life.edu http://www.gweep.net/~jer/index.html
> ICQ#: 19599864 AIM: DruelChaos YM!: DruelChaos GT: druelchaos
> _______________________________________________
> Amarok mailing list
> Amarok at kde.org
> https://mail.kde.org/mailman/listinfo/amarok
>
--
http://www.sebruiz.net/
More information about the Amarok
mailing list