* For files referenced by a tags file: how to make the media library see "only one copy"?
I wanted to be able to edit both the media files and tags in the same layout, so instead of using the "restrict file types to only see .tags" option in fb2k preferences, I instead have two tabs in the layout - '♫ Library (Tags)' and '♪ Library (Files)' - and then filter the results for genre, artist, album artist, etc (I'm using Facets plug-in for that).
So under the '♫ Library (Tags)' tab, I have one instance of Facets -
Genre / Style : $if($strstr(%filename_ext%,.tags),%<genre>%)|$if($strstr(%filename_ext%,.tags),[%<style>%])
Artist : $if($strstr(%filename_ext%,.tags),$if3(%<artist>%,%<album artist>%,'('Unknown Artist')'))
Then under the '♪ Library (Files)' tab, I have a second instance of Facets using different columns -
Genre : $if($greater(%filesize%,100000),%<genre>%)
Album Artist : $if($greater(%filesize%,100000),$if3(%<album artist>%,%<artist>%,'('Unknown Artist')'))
I'm sure there is a more elegant way of filtering that last one (tag files not likely to be over 100000 bytes, whereas most media files would be), but hey it works!
(I could never figure out how to get an $if NOT statement working)
* Is there a way to quickly scan for orphans?
So how can we currently do to find orphans ? (.tags files that don't point to the right files anymore)
No easy way that I can see. However I noticed if you have a %codec% column in your tags-based playlist, and if there is an orphaned track, it sometimes displays "TAGS" instead of the codec. And you can even search the library for it (%codec% HAS tags). But this only seems to happen on occasion and I'm not sure when - perhaps after the filenames have been changed with the usual right-click > File Operations > Rename (on my Files tab above). Following that, you can right-click > Open Containing Folder, and open the .tags file in Wordpad to edit in the correct filename for that track. (Which I find is faster than making a new .tags file, because I keep my media files to only the basic tags)
Hope that helps 