Re: [Banshee-List] Help get us to a release/Last steps in porting smart playlists



>  3) Refresh Dependents When Reloaded
>
>  I implemented SmartPlaylistSource's DependsOn (SmartPlaylistSource
>  other_source) method - it does a depth-first scan of the
>  ConditionTree, similar to what will need to be done for task (1).
>  When a SmartPlaylistSource is Reloaded, it needs to reload the
>  SmartPlaylistSources that depend on it.  Right now, when a
>  DatabaseTrackInfo is updated, it causes the Library to reload, which
>  in turn reloads all its children - so this fix would need to work with
>  that - ideally reloading the smart playlists in the right order (eg
>  reload ones that have dependents first - see DependencyComparer in
>  SmartPlaylistCore - and maybe move it to SmartPlaylistSource), and
>  only having the dependents reload when the Library isn't already going
>  to reload them.

I claim this!

-Scott


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]