Quantcast
Channel: Kodi Community Forum - All Forums
Viewing all articles
Browse latest Browse all 84004

A Video Scraper Addon for Humax Foxsat DVR files

$
0
0
I am interested in finding or developing a Video Addon to scrape my video files as copied from a Humax Foxsat DVR.

These files look like the following file+directory structure :

How I Met Your Mother/
How I Met Your Mother_20121115_1257.hmt
How I Met Your Mother_20121115_1257.nts
How I Met Your Mother_20121115_1257.ts

I want to get the information about these files into the Library.
I guess I could use the IMDB video scraper and modify the addon.xml to be able to get the relevant information out of the filenames as above i.e. ignore the "_20121115_1257" and only list the actual video ".ts" files.

However the ".hmt" file contains the EPG information about the recording e.g. TV show title and Episode details. I had thought to create my own scraper addon to read these .hmt files to get this info, instead of going to a website such as IMDB.

Is making my own ".hmt" addon a sensible idea, or should I just stick with modifying the existing IMDB addon ?

If it is a good idea to make this new ".hmt" scraper addon, then are there any similar addons to use as an example ?

I've tried searching and found nothing. I believe the existing video scrapers are not python code but rely on the xbmc.metadata.scraper.library, which is written in c++ (in file xbmc\addons\Scraper.cpp).

- how can I get my python addon to be called by the VideoInfoScanner.cpp ?
- maybe this is only able to call the Scraper.cpp ?
- Can my python addon inherit from xbmc.metadata.scraper.library ?


I've just noticed that xbmc\addons\Scraper.cpp looks for NFO files which can be used as additional info/hints - perhaps it is better for me to write a program to convert my HMT files to NFO files, and then I can use any existing video scraper .....

Sorry I am new to xbmc, and python coding. Any help gratefully received.

Thanks

Viewing all articles
Browse latest Browse all 84004

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>