- March 24, 2007
- 12,073
- 7,459
- Home Country
- Germany
- Moderator
- #21
Can you post the current source code (or a link to it)?
If you depend on local filesystem only (for browsing), I think you won't need an additional ResourceProvider.I created a new MetadataExtractor and MediaAspect in a plugin.
How can i register the MediaAspect (so that it shows up when adding server shares)?
Is the MAME called as .exe in own process? Or is the functionality provided by a .dll that runs inside host? In first case it could be possible to run 64bit version, in 2nd not.I don't know about "old consoles", but there are plenty of games in MAME that benefit greatly from a 64bit compiled exe.
Can you post the current source code (or a link to it)?
If you depend on local filesystem only (for browsing), I think you won't need an additional ResourceProvider.I created a new MetadataExtractor and MediaAspect in a plugin.
How can i register the MediaAspect (so that it shows up when adding server shares)?
Registration of MDE happens inside plugin.xml:
https://github.com/MediaPortal/Medi...rs/SeriesMetadataExtractor/plugin.xml#L21-L25
I think what you you need is a new MediaCategory (like Series is a subcategory of Video):
https://github.com/MediaPortal/Medi...aExtractor/SeriesMetadataExtractor.cs#L70-L77
Edit 1:
New MediaAspects have to be added using this service: https://github.com/MediaPortal/Medi...t/IMediaItemAspectTypeRegistration.cs#L38-L51. Check the comments of the methods.
Your MDE (plugin) would also need to register new Aspects and must also run in MP2-Server, so importer is able to use it as well.
Is the MAME called as .exe in own process? Or is the functionality provided by a .dll that runs inside host? In first case it could be possible to run 64bit version, in 2nd not.I don't know about "old consoles", but there are plenty of games in MAME that benefit greatly from a 64bit compiled exe.
Did you come further with your development? I can give more support if required