+ Reply to Thread
Page 6 of 6 FirstFirst ... 456
Results 51 to 57 of 57

Thread: imageGrabLite 1.2

  1. #51
    Join Date
    May 2006
    Location
    Canada
    Posts
    17,880
    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

  2. #52
    Join Date
    Feb 2013
    Location
    USA
    Posts
    8
    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.

  3. #53
    Join Date
    Feb 2013
    Location
    USA
    Posts
    8

    Got it

    I got it working. Thanks againg for the help. I was WAY over thinking it 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

  4. #54
    Join Date
    May 2006
    Location
    Canada
    Posts
    17,880
    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

  5. #55
    Join Date
    Jun 2007
    Location
    USA
    Posts
    89
    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.

  6. #56
    Join Date
    May 2006
    Location
    Canada
    Posts
    17,880
    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

  7. #57
    Join Date
    Jun 2007
    Location
    USA
    Posts
    89
    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.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts