Posts: 2
Joined: Mar 2014
Reputation:
0
When music is scanned in, a cuesheet present in the directory may be used for metadata. That this will be done is not made obvious anywhere and there does not appear to be any way to disable it. A user should be able to indicate that they do not want metadata from cuesheets used for XBMC, especially as this information is seemingly not overridden by the file's tags or scrapers.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Why would you have .cue sheets with inaccurate information?
Regardless, a setting for it would be an option, though that setting would apply to ALL usage of .cue sheets.
Posts: 1,251
Joined: Dec 2008
Reputation:
15
What about <excludefromscan> in advancedsettings.xml?
Posts: 46
Joined: Jun 2013
Reputation:
0
I don't think disabling .cue sheets during music scanning is necessary. From what I can see we have two cases:
a) single music files + cue
b) multiple music files + cue
a) is depending on a valid cue file to make any sense.
b) is probably what is causing problems (correct tags on the files but outdated cue file).
From what I can see there are two kind of easy solutions to this problems.
1) add an advancedsettings so that it does not pick up data from cue files from cue files containing multiple media files (would probably be a check in FileItem.ccp CFileItemList::FilterCueItems for MediaFileVec of lenght > 1)
2) Always prefer tags to information from cue files for cue files containing multiple media files (also update in FileItem.ccp CFileItemList::FilterCueItems)
What do you think? I could probably create a PR for this if any of these options would be acceptable
Posts: 2
Joined: Mar 2014
Reputation:
0
b) is indeed the issue here. My collection consists of FLACs ripped with either EAC or Morituri which I have subsequently retagged with MusicBrainz Picard. The cuesheets from EAC often contain incorrect metadata because of the limitations of its freedb-based metadata structure. The cuesheets therefore remain incorrect without manual intervention (which would be time-consuming), but the files have been accurately tagged.
I can't speak to what would be acceptable to the dev team, but either of the listed options would be suitable for my purposes.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
I'd have no problem with number 2. It seems to me if there's a single file then overriding the tag info in the file seems reasonable. In fact, I'd almost be tempted to just ignore the .cue completely in that case, though I guess it might be used for silly things like .WAV or whatever where there's no tags at all?