>AFAIK it uses MiP to tell it what files are in the library, but still
>collects tag data from the files themselves.  Your 2nd para would be to
>do with the inner workings of the MiP/ SC integration plugin, of which I
>have no knowledge.

Yes, I believe the scanner always asks MiP for a list of all songs in its 
library.  It gets all tag info for those songs from MiP, and adds/updates the 
data in the SqueezeCenter DB.  This takes a long time.

Instead, for each song the SC scanner decides to process, it could make a 
single call through the MiP web api to determine if a song in the SC library is 
mixable:

        http://localhost:10002/api/status?song=<full path to song file>

eg:

        
http://localhost:10002/api/status?song=M:\Music\Phil%27s%20Music\Rips\Cardigans\[Singles]\My%20Favourite%20Game%20CD1\02%20-%20War.flac

This returns a 0 or 1 as the mixable status (followed by the path to the song).

The only problem I can see with this is if MiP DB analysis is completed after a 
scan has been done, SC may have stored that the song is not mixable.  However, 
I think the scanner is called each time a song is played, so the would correct 
itself the first time the song is played after MiP has determined that the song 
is in fact mixable (or a full rescan is performed).
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to