Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Metadata: Add some more convenience methods to create Metadata XML si…
…mply. Creating exportable .mxml content is now as simple as (after including metadatacommon.h): QDomDocument doc = CreateMetadataXML(pginfo); You can do what you like with the result, but the metadata download classes search for a file in the same dir as the file being worked on (as defined in lookup->Set/GetFilename) with the same filename and a suffix of .mxml. So, still missing: * Decide where/when to create .mxml files for recordings (at which point it would work to drop the result in your video dir the mythvideo scanner will pick up the file + mxml and parse the metadata) * Add some code to dynamically reimport files from offline/portable storage groups into recordings (Chris P'm has mentioned he's written such code) * Add a MetadataFactory to the theoretical recording import class and tell it to do a lookup on the newly imported file (easy peasy: MetadataFactory *factory(this); factory->AddLookup(pginfo);) and listen for the result event that provides you the fully looked up info which you can assign to your programinfo as you see fit.
- Loading branch information