I'm releasing a utility I created to rename files recorded from NPVR to a format supported by XBMC. It works by scraping the required information from TheTvDB and TheMovieDB. It was designed specifically to work with Zap2It based EPGs such as Schedules Direct or the Microsoft EPG. I'm not sure how well it will work with other types of EPGs. So far it's only been tested against the Microsoft EPG.
It doesn't require an exact match in order for the file renaming to occur. It will try its best to rename the file using fuzzy matching. In some cases it's possible this behavior may cause an incorrect match but I haven't run into any mismatches lately. If a match can't be found it will create NFO files.
Installation:
Note: .net framework 4.5 required
1. Extract the files from the archive and copy them all to c:\pvrscraper\.
2. Edit PvrScraper.exe.config and set the npvrDbPath, xbmcTvPath, and xbmcMoviePath variables to suit your own needs.
[INDENT]a. npvrDbPath - the location of your NPVR SQLite database, usually c:\users\public\npvr\npvr.db3[/INDENT]
[INDENT]b. xbmcTvPath - the folder containing tv shows that XBMC reads from. PvrScraper will move the files to this folder during the renaming process.[/INDENT]
[INDENT]c. xbmcMoviePath - the folder containing movies that XBMC reads from. PvrScaper will move the files to this folder during the renaming process. [/INDENT]
Usage:
Running for a specific OID:
pvrscraper.exe oid <insert oid here>
Re-running for recordings that have failed to match in the past:
pvrscraper.exe failed
Recommended Batch Files:
PostProcessing.bat
"c:\pvrscraper\pvrscraper.exe" oid %3
PostUpdateEPG.bat
"c:\pvrscraper\pvrscraper.exe" failed
It doesn't require an exact match in order for the file renaming to occur. It will try its best to rename the file using fuzzy matching. In some cases it's possible this behavior may cause an incorrect match but I haven't run into any mismatches lately. If a match can't be found it will create NFO files.
Installation:
Note: .net framework 4.5 required
1. Extract the files from the archive and copy them all to c:\pvrscraper\.
2. Edit PvrScraper.exe.config and set the npvrDbPath, xbmcTvPath, and xbmcMoviePath variables to suit your own needs.
[INDENT]a. npvrDbPath - the location of your NPVR SQLite database, usually c:\users\public\npvr\npvr.db3[/INDENT]
[INDENT]b. xbmcTvPath - the folder containing tv shows that XBMC reads from. PvrScraper will move the files to this folder during the renaming process.[/INDENT]
[INDENT]c. xbmcMoviePath - the folder containing movies that XBMC reads from. PvrScaper will move the files to this folder during the renaming process. [/INDENT]
Usage:
Running for a specific OID:
pvrscraper.exe oid <insert oid here>
Re-running for recordings that have failed to match in the past:
pvrscraper.exe failed
Recommended Batch Files:
PostProcessing.bat
"c:\pvrscraper\pvrscraper.exe" oid %3
PostUpdateEPG.bat
"c:\pvrscraper\pvrscraper.exe" failed