I’m just putting some finishing touches to the Classical Extras plugin, but have a bit of a head-scratch:
- It’s possible to get a list of file names in an album by using
but if you try and do the same for just a track, it returns an empty list, even though the get_files_from_objects function says
Return list of files from list of albums, clusters, tracks or files.
- Also, the list of files is just the filenames, not the full path. I can get a list of files with the full path by using
album.tagger.filesbut that returns a list of every file loaded in Picard and I can’t see a way to restrict it to just the files linked with a specific object (album or track).
- I could, of course, get a list of paths and filenames for an album by matching the two lists, but that still doesn’t solve the problem of getting the full path and filename for a specific track object. At the moment, my work-round is to look for matching metadata, but that only works properly if the existing file has MBIDs.*
*Edit: Actually, that’s a bit misleading as, assuming the file exists, you can match on the track id that Picard has just assigned from the lookup - i.e. match
These should both exist. However for some reason (possibly network issues) Picard doesn’t always get the latter.