NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) v
« Previous 1 … 7 8 9 10 11 … 20 Next »
Probably a stupid question...

 
  • 0 Vote(s) - 0 Average
Probably a stupid question...
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,192
Threads: 958
Joined: May 2006
#11
2015-02-03, 01:42 AM
For iGL it's one line to a batch file.

Martin
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#12
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
etnpnys
Offline

Junior Member

Posts: 23
Threads: 1
Joined: Jan 2015
#13
2015-02-03, 06:33 PM
mvallevand Wrote:For iGL it's one line to a batch file.

Martin

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 --zap2it
...and I recorded a couple things that I found this morning for the kids and it looks like everything is in place: I waited until the recordings were done and I checked Plex and most of them were right there, organized properly and everything. Awesome!

I 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.
I didn't do that last --nfo flag that you suggested, as you can see. Would that help to find that show? (If not, I'm seriously over it because I doubt I'll be recording it again anyway).
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,192
Threads: 958
Joined: May 2006
#14
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
etnpnys
Offline

Junior Member

Posts: 23
Threads: 1
Joined: Jan 2015
#15
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.

Martin

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.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,192
Threads: 958
Joined: May 2006
#16
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
etnpnys
Offline

Junior Member

Posts: 23
Threads: 1
Joined: Jan 2015
#17
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

Version=2.2.5433.16677 NYPlayer's log for his test was Version=2.2.5491.33321

Martin

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.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,192
Threads: 958
Joined: May 2006
#18
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
etnpnys
Offline

Junior Member

Posts: 23
Threads: 1
Joined: Jan 2015
#19
2015-02-04, 05:53 AM
Totally worked. Renamed, shows up in Plex about 30 seconds after that command was run.

Looking good!!
etnpnys
Offline

Junior Member

Posts: 23
Threads: 1
Joined: Jan 2015
#20
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)
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextTool for Windows question MrReis 12 2,755 2023-03-31, 10:23 PM
Last Post: mvallevand
  Web radio question jd1940 13 5,143 2014-06-05, 09:19 PM
Last Post: Reddwarf
  videos plugin skinning question jam_zhou 0 1,609 2012-11-13, 05:10 PM
Last Post: jam_zhou
  Network Recorder Thanks and a Question mikeh49 5 4,016 2012-10-27, 06:22 PM
Last Post: epelic

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode