2009-09-26, 07:56
I've been working on a patch to allow myth:// recordings to be able to be added to the Video Library (http://trac.xbmc.org/ticket/7197)
To do this I've altered the VideoInfoScanner to check the VideoInfoTag associated with the Item, and if the season and episode number or original air date have been set, use those rather than parsing them out of the filename using regular expressions.
However, there seem to be a number of places where there are assumptions that only the filename is used for scraping.
Current problem is when the TV Show has "Refresh Information for All Episodes" chosen from the UI. This goes through the motions and the myth:// folder details are pulled from the directory cache. The cache doesn't store the associated VideoInfoTag information that the myth:// directory injects though so all Episodes are subsequently removed from the library.
Any ideas for the best way to move forward for this
To do this I've altered the VideoInfoScanner to check the VideoInfoTag associated with the Item, and if the season and episode number or original air date have been set, use those rather than parsing them out of the filename using regular expressions.
However, there seem to be a number of places where there are assumptions that only the filename is used for scraping.
Current problem is when the TV Show has "Refresh Information for All Episodes" chosen from the UI. This goes through the motions and the myth:// folder details are pulled from the directory cache. The cache doesn't store the associated VideoInfoTag information that the myth:// directory injects though so all Episodes are subsequently removed from the library.
Any ideas for the best way to move forward for this