2015-02-03, 01:42 AM
For iGL it's one line to a batch file.
Martin
Martin
|
2015-02-03, 01:42 AM
For iGL it's one line to a batch file.
Martin
2015-02-03, 02:22 AM
For testing, you could add a snippet of code to retrieve the OID from the DB as follows. If you pass a fully qualified filename to this script, it will return the OID
Code: @ECHO off
SET SQLITE="c:/users/public/NPVR/Scripts/Utilities/sqlite3.exe"
SET FN="%~f1"
echo Searching for %FN%
Echo .echo off > sqlscript.scr
Echo .output stdout >> sqlscript.scr
Echo SELECT oid from SCHEDULED_RECORDING >> sqlscript.scr
Echo WHERE filename=%FN%; >> sqlscript.scr
REM Type sqlscript.scr
set OID=
%SQLITE% c:\Users\Public\NPVR\npvr.DB3 < sqlscript.scr > tmp.fil
set /p oid= < tmp.fil
del tmp.fil
Echo OID=%oid%
pause
2015-02-03, 06:33 PM
mvallevand Wrote:For iGL it's one line to a batch file. Whew! And I don't really watch a lot of TV, but what I do watch I want it to be easy for the wife also. I decided to just test everything the long way, so I added that one line to a new file named postprocessing.bat: Code: "C:\Program Files (x86)\NPVR\imagegrablite.exe" --oid %3 --rename --zap2itI had one show not show up in Plex, though, so I checked the IGL logs and found this: Code: 2015-02-03 07:32:08.538 [DEBUG][1] OID is 1141410
2015-02-03 07:32:08.538 [DEBUG][1] Season is 1
2015-02-03 07:32:08.538 [DEBUG][1] Episode is 6
2015-02-03 07:32:08.538 [DEBUG][1] OriginalAirDate is 2014-12-02
2015-02-03 07:32:08.538 [DEBUG][1] Recorded 2015-02-03
2015-02-03 07:32:08.538 [DEBUG][1] Record Ended 2015-02-03
2015-02-03 07:32:08.540 [DEBUG][1] Checking C:\Users\Public\NPVR\Media/Shows/Odd Squad.xml
2015-02-03 07:32:08.540 [DEBUG][1] Continuing
2015-02-03 07:32:08.540 [DEBUG][1] Meta files exists C:\Users\Public\NPVR\Media/Shows/Odd Squad.xml
2015-02-03 07:32:08.548 [DEBUG][1] Episodic: True C:\Users\Public\NPVR\Plugins/SearchLite/Series/Odd Squad.xml
2015-02-03 07:32:08.549 [DEBUG][1] C:\Users\Public\NPVR\Media/Shows/Odd Squad.xml
2015-02-03 07:32:08.549 [DEBUG][1] Download from tvdb 288449/all/en
2015-02-03 07:32:08.808 [INFO][1] Episodes Found on http://www.thetvdb.com
2015-02-03 07:32:08.808 [DEBUG][1] Download from tvdb complete
2015-02-03 07:32:08.809 [DEBUG][1] /Data/Episode[SeasonNumber = 1 and EpisodeNumber = 6]
2015-02-03 07:32:08.867 [ERROR][1] Read Error String was not recognized as a valid DateTime.
2015-02-03, 10:16 PM
Unfortunately you didn't post enough of the log to tell what version you are running. but I suspect you need this version, http://forums.nextpvr.com/showthread.php...post483624 I may not have put it on wiki, I forget sometimes.
Martin
2015-02-03, 10:50 PM
mvallevand Wrote:Unfortunately you didn't post enough of the log to tell what version you are running. but I suspect you need this version, http://forums.nextpvr.com/showthread.php...post483624 I may not have put it on wiki, I forget sometimes. The installer for the one you linked me to says 2.0.0, and so does the installer that I already had. I went ahead and installed the one you linked me to just in case. Also, sorry about that - here's the rest of the log: Code: [...startup]
2015-02-03 07:32:08.400 [DEBUG][1] imageGrabLite, Version=2.2.5433.16677, Culture=neutral, PublicKeyToken=null
2015-02-03 07:32:08.411 [DEBUG][1] Command Line --oid 873 --rename --zap2it
2015-02-03 07:32:08.432 [DEBUG][1] Rename file True
2015-02-03 07:32:08.504 [DEBUG][1] Searching select scheduled_recording.name, event_details, start_time, filename, service_type from scheduled_recording, channel, channel_mapping where scheduled_recording.oid = 873 and scheduled_recording.channel_oid = channel.oid and scheduled_recording.channel_oid = channel_mapping.channel_oid and scheduled_recording.capture_source_oid = channel_mapping.capture_source_oid
2015-02-03 07:32:08.531 [DEBUG][1] Zap2it reference http://tvlistings.zap2it.com/tv/odd-squad/EP020042990005
2015-02-03 07:32:08.531 [DEBUG][1] Zap2it image page http://www.zap2it.com/tv/odd-squad/SH020042990000
2015-02-03 07:32:08.534 [DEBUG][1] Subtitle: Length=36 Oscar and the Oscarbots; Picture Day
2015-02-03 07:32:08.538 [DEBUG][1] OID is 1141410
2015-02-03 07:32:08.538 [DEBUG][1] Season is 1
2015-02-03 07:32:08.538 [DEBUG][1] Episode is 6
2015-02-03 07:32:08.538 [DEBUG][1] OriginalAirDate is 2014-12-02
2015-02-03 07:32:08.538 [DEBUG][1] Recorded 2015-02-03
2015-02-03 07:32:08.538 [DEBUG][1] Record Ended 2015-02-03
2015-02-03 07:32:08.540 [DEBUG][1] Checking C:\Users\Public\NPVR\Media/Shows/Odd Squad.xml
2015-02-03 07:32:08.540 [DEBUG][1] Continuing
2015-02-03 07:32:08.540 [DEBUG][1] Meta files exists C:\Users\Public\NPVR\Media/Shows/Odd Squad.xml
2015-02-03 07:32:08.548 [DEBUG][1] Episodic: True C:\Users\Public\NPVR\Plugins/SearchLite/Series/Odd Squad.xml
2015-02-03 07:32:08.549 [DEBUG][1] C:\Users\Public\NPVR\Media/Shows/Odd Squad.xml
2015-02-03 07:32:08.549 [DEBUG][1] Download from tvdb 288449/all/en
2015-02-03 07:32:08.808 [INFO][1] Episodes Found on http://www.thetvdb.com
2015-02-03 07:32:08.808 [DEBUG][1] Download from tvdb complete
2015-02-03 07:32:08.809 [DEBUG][1] /Data/Episode[SeasonNumber = 1 and EpisodeNumber = 6]
2015-02-03 07:32:08.867 [ERROR][1] Read Error String was not recognized as a valid DateTime.
2015-02-03, 11:01 PM
I never update the installer version on minor update. Perhaps you had a browser cache issue. You show this
Version=2.2.5433.16677 NYPlayer's log for his test was Version=2.2.5491.33321 Martin
2015-02-04, 01:55 AM
mvallevand Wrote:I never update the installer version on minor update. Perhaps you had a browser cache issue. You show this Gotcha. It's going to record some stuff tonight and I'll chime in in the morning and let you know what we have! Thanx a million for your help.
2015-02-04, 02:12 AM
If you still have Odd Squad try running the new version with the same command line option if you don't want to wait.
"C:\Program Files (x86)\NPVR\imagegrablite.exe" --oid 873 --rename --zap2it Martin
2015-02-04, 05:53 AM
Totally worked. Renamed, shows up in Plex about 30 seconds after that command was run.
Looking good!!
2015-02-06, 01:27 AM
So, last night I recorded the new episode of Arrow. I didn't see it in Plex, so I checked out the logs and it says that it couldn't rename because the file was in use...?
Seen that before? Should I expect this from time to time or is there something I can do to avoid this? (I can provide the log if you want, but it seemed to be pretty clear) |
|
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| NextTool for Windows question | MrReis | 12 | 5,944 |
2023-03-31, 10:23 PM Last Post: mvallevand |
|
| Web radio question | jd1940 | 13 | 7,010 |
2014-06-05, 09:19 PM Last Post: Reddwarf |
|
| videos plugin skinning question | jam_zhou | 0 | 2,090 |
2012-11-13, 05:10 PM Last Post: jam_zhou |
|
| Network Recorder Thanks and a Question | mikeh49 | 5 | 4,980 |
2012-10-27, 06:22 PM Last Post: epelic |
|