NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 2 3 4 5 6 … 56 Next »
imageGrabLite 1.2

 
  • 0 Vote(s) - 0 Average
imageGrabLite 1.2
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,778
Threads: 954
Joined: May 2006
#51
2013-02-20, 08:26 PM
Graham's example is very specific to EPG data that has valid season / episode numbers in the EPG. In the US and Canada unless you are using embedded ATSC data (yuck) you'd want a command like like this in PostProcessing.bat

"C:\Program Files\NPVR\imagegrablite" --oid %3 --rename --zap2it

or with 64bit

"C:\Program Files (x86)\NPVR\imagegrablite" --oid %3 --rename --zap2it

Martin
papreston
Offline

Junior Member

Posts: 8
Threads: 1
Joined: Feb 2013
#52
2013-02-20, 09:45 PM
thanks guys. The link to the .bat file stuff in the wiki is going to be a big help. I think thats the piece I was missing.
papreston
Offline

Junior Member

Posts: 8
Threads: 1
Joined: Feb 2013
#53
2013-02-22, 04:18 PM
I got it working. Thanks againg for the help. I was WAY over thinking it Smile Now my second question....has anyone been able to include anything in the same bat file to triger a library update on XBMC. Maybe using EventGhost?

Thanks
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,778
Threads: 954
Joined: May 2006
#54
2013-02-22, 05:01 PM
The problem is xbmc has to be running but you can call its json interface from the batch file

Code:
wget -q  --header='Content-Type: application/json' --post-data='{"jsonrpc": "2.0", "method": "VideoLibrary.Scan"}' http://ip:8000/jsonrpc

It could get annoying automating it.

Martin
kricker
Offline

Member

Posts: 131
Threads: 11
Joined: Jun 2007
#55
2013-03-11, 03:55 PM
I've finally got around to trying this out to integrate my recordings into XBMC's TV database. I have a few questions.
1. I've placed the following in my postprocessing.bat file:
Code:
"D:\HTPC\NPVR\imageGrabLite.exe" --oid %3 --nfo
I assume this will only create the .nfo file for the last recorded show. Is this correct?

2. How do I run this manually for all the shows I have recorded in the past? I'm not sure what the oid value would be for each recording.

3. What happens for shows that are not on theTVdb? I think I asked this before, but don't recall the answer.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,778
Threads: 954
Joined: May 2006
#56
2013-03-11, 10:03 PM
1. If that is to you "Program Files" directory, yes. For nfo I'd use it in parallelprocessing.bat then you can cancel and potentially watch in-progress recordings.

2. I have posted a sqlite command to do this a couple of times.

3. The will make the library with an episode number = date. xbmc devs were too stubborn and fixated on their filenaming rules overriding nfo files to have a useful discussion. You will need this in advancedsettings.xml

Code:
<tvshowmatching action="prepend">
      <regexp>[\\/\._ -](20[0-9]{6})_.+\.ts</regexp>  <!-- Match NextPVR date as a season -->
    </tvshowmatching>

or you will get two entries, episode = date and episode = 0 I couldn't get across why I felt that their multi-episode match was absurd. This was better pre-Frodo.

Martin
kricker
Offline

Member

Posts: 131
Threads: 11
Joined: Jun 2007
#57
2013-03-12, 03:50 PM
Thanks for the reply. Yes, that path is where my NPVR is located so that's good. I'll search the forums for the sqlite command. I need to talk to the devs again about getting shows into the library even if info is not available. I think it is very limiting to only allow shows with scrapeable info into the library. It has been driving me crazy for a long time.
Wisefire
Offline

Junior Member

Posts: 1
Threads: 0
Joined: Sep 2013
#58
2013-09-21, 06:10 PM
So is there is a guide to using this, everything I find and try doesn't seem to work. I'm new to nPVR...

So far if I run "C:\Program Files (x86)\NPVR\imagegrablite" --oid %3 --rename --zap2it inside a command prompt, I get an error within Windows stating that imageGrabLite has stopped working. If push through this error the command prompt puts out the following:

Unhandled Exception: System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles option, NumberBuffer& number, NumberformatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at imageGrab.Program.Main(String[] args)

I have no idea what is going on, hell, I'm probably using it wrong or something. Any help would be appreciated!
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,778
Threads: 954
Joined: May 2006
#59
2013-09-21, 06:15 PM
The examples for imageGrabLite renaming are meant to be called from PostProcessing.bat If you want to just test it try with 12345 instead of the %3

Martin
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#60
2013-09-23, 03:28 PM
enhancement request for next version:

Can you enhance the rename functionality so that it updates the filename in the PLAYBACK_POSITION table too?

A very common usage scenario here is that we watch an in-progress recording until we catch up to live, then exit and come back a little later when it's finished and comskip is done; we'd just hit Resume and be right back where we left off. Now that I use IGL, the resume point is lost.

Thanks.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (10): « Previous 1 … 4 5 6 7 8 … 10 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Considering dropping support for imageGrabLite mvallevand 8 3,964 2016-01-08, 08:23 AM
Last Post: liteswap
  imageGrabLite Beta mvallevand 84 61,316 2013-10-04, 06:40 PM
Last Post: mvallevand
  imageGrabLite 1.1 mvallevand 118 41,661 2012-08-30, 11:25 AM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode