[mythtv] mythutil --musicscan and "Music" SG?

warpme warpme at o2.pl
Tue Jan 21 10:19:55 UTC 2014


Paul,
I'm really happy MythMusic in fast way comes to usage of StorageGroups.
In this context, I have question regarding mythutil --musicscan
Looking on code I see 
QString getMusicDirectory(void){    if (musicDirectory.isEmpty())    {        musicDirectory = gCoreContext->GetSetting("MusicLocation");        musicDirectory = QDir::cleanPath(musicDirectory);        if (!musicDirectory.isEmpty() && !musicDirectory.endsWith("/"))            musicDirectory += "/";    }     return musicDirectory;}
If I'm reading it correctly, effectively it means that path taken by musicscan comes from "old" MusicLocation DB field - not from SG "Music" patch.
This is also what I also observe during tests of this enhancement.
IMHO more consistent will be to consider for common use of path from Music SG in both: player (already works) and scanner (not works).
What You think?
 
br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-dev/attachments/20140121/d32520c0/attachment.html>


More information about the mythtv-dev mailing list