gharris999;592729 Wrote: 
> So, an absolute wipecche scan would involve deleting all client
> playlists.  Otherwise, there is no garentee that you won't end up with
> tracks included in the db that lay outside of your music folder. 
> That's easy enougrh to handle, I suppose, for currently connected
> players.  But what about non-connected players?  Is there any sort of
> API to delete stale kruft client playlists?  If not, isn't this a
> problem?  I was mystified by this behavior until erland set me
> straight.  I can see other users being mystified by this too.
> 
I believe the current logic verifies that the files exist when the
"clientplaylist" file is loaded into memory, I suppose this happens
sometime after the wipecache rescan but I haven't checked exactly when.
It's also important to notice that it verifies that the files exists on
the disk but they may not be in the database if they are outside the
main music folder.

I'm not sure if the "clientplaylist" files (which is stored in the
prefs directory) are scanned during the wipecache scanning or if the
scanner only looks for playlist files in the playlist directory and in
the main music folder directory.

For unconnected players, if the "clientplaylist" files aren't scanned
during scanning, it would verify the paths when the "clientplaylist"
file is loaded when the player connects next time.

To get a complete accurate answer on all these questions, you will have
to check the code.


-- 
erland

Erland Isaksson ('My homepage' (http://erland.isaksson.info))
(Developer of 'many plugins/applets'
(http://wiki.slimdevices.com/index.php/User:Erland). If my answer
helped you and you like to encourage future presence on this forum
and/or third party plugin/applet development, 'donations are always
appreciated' (http://erland.isaksson.info/donate))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=83537

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to