NextPVR Forums

Full Version: ImageGrabLite Help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I recently started using IGL. I have this as my ParallelProcessing.bat

Code:
@echo off
"C:\Program Files\NPVR\imageGrabLite.exe" --oid %3 --nfo
cd /d "C:\comskip"
Rem PostProcessing.bat
Rem This script will be run automatically by GBPVR when found after a recording is finished
Rem To enable it put this file inside your GBPVR default program directory (C:\Program Files\devnz\gbpvr\)
Rem together with Comskip.exe, Comskip.ini and Comskip.dictionary
Rem The script is called with two parameters
Rem %1 is the fully qualified name of the recorded mpeg file.
Rem %2 is the channel number of the recording
echo Parallelprocessing.bat invoked on %1 recorded from channel %2 >>parallelprocessing.log

Rem The part below can be used to not run Comskip on certain channels, please modify for your conveniance.
Rem The channel numbers that should be skipped are the numbers between the double quotes ("").
Rem You can add "if" lines as much as you want
Rem To disable this behaviour use channel numbers outside the normal range, put a "rem" before the "if" or delete the "if" lines

Rem list of channels to not run comskip on
Rem if "%2" == "27" goto eof
Rem if "%2" == "36" goto eof

Rem this trick also makes it possible to have dedicated comskip.ini file for certain channels.
if "%2" == "24" goto channel24
if "%2" == "66" goto channel66
Rem use the default comskip.ini for all other channels
goto generic

:channel24
comskip --ini=channel24.ini %1
goto continue
:channel66
comskip --ini=channel66.ini %1
goto continue


:generic
Rem The actual run of Comskip. Only one parameter, the name of the mpeg file to process.
Rem Comskip will read its settings from the Comskip.ini found in the same directory as Comskip.exe
Rem Both are supposed to be in the GBPVR default program directory. (C:\Program Files\devnz\gbpvr\)
hiderun comskip %1
:continue

Rem Once the commercials have been identified you can run comclean to delete the commercials from the recording.
Rem Do this only when you are not using the Skip function in the GBPVR viewer.
Rem To enable comclean remove the word "Rem" from the following line.
rem call comclean %1
:eof

IGL used to generate the *.nfo file but now every time it still runs but there is no *.nfo file created. Below is my imagegrablite.log

Code:
[...startup]
2013-10-08 21:59:05.379    [DEBUG][1]    imageGrabLite, Version=1.2.1.35094, Culture=neutral, PublicKeyToken=null
2013-10-08 21:59:05.381    [DEBUG][1]    Command Line --oid 993 --nfo
2013-10-08 21:59:06.387    [DEBUG][1]    Searching select scheduled_recording.name, event_details, start_time, filename from scheduled_recording, channel where scheduled_recording.oid = 993 and scheduled_recording.channel_oid = channel.oid
2013-10-08 21:59:06.459    [DEBUG][1]    Zap2it reference http://tvlistings.zap2it.com/tv/person-of-interest/EP014198470048
2013-10-08 21:59:06.459    [DEBUG][1]    Zap2it image http://images.zap2it.com/images/tv-EP01419847/person-of-interest-0.jpg
2013-10-08 21:59:06.498    [DEBUG][1]    Subtitle: Length=11 Lady Killer
2013-10-08 21:59:06.542    [DEBUG][1]    OID is 1537923
2013-10-08 21:59:06.542    [DEBUG][1]    Season is 3
2013-10-08 21:59:06.542    [DEBUG][1]    Episode is 3
2013-10-08 21:59:06.543    [DEBUG][1]    OriginalAirDate is 2013-10-08
2013-10-08 21:59:06.543    [DEBUG][1]    First run
2013-10-08 21:59:06.543    [DEBUG][1]    Recorded 2013-10-08
2013-10-08 21:59:06.544    [DEBUG][1]    Record Ended 2013-10-08
2013-10-08 21:59:10.573    [DEBUG][1]    Exact match for EP01419847
2013-10-08 21:59:15.245    [INFO][1]    Poster found on http://www.thetvdb.com
2013-10-08 21:59:15.835    [INFO][1]    Thumb found on http://www.thetvdb.com
2013-10-08 21:59:15.876    [DEBUG][1]    Episodic: True C:\Users\Public\NPVR\Plugins/SearchLite/Series/Person of Interest.xml
2013-10-08 21:59:15.876    [DEBUG][1]    C:\Users\Public\NPVR\Media/Shows/Person of Interest.xml
2013-10-08 21:59:15.876    [DEBUG][1]    Download from tvdb 248742/all/en
2013-10-08 21:59:16.792    [INFO][1]    Episodes Found on http://www.thetvdb.com
2013-10-08 21:59:16.792    [DEBUG][1]    Download from tvdb complete
2013-10-08 21:59:16.865    [ERROR][1]    Read Error '.', hexadecimal value 0x00, is an invalid character. Line 62, position 17.

Any help would be appreciated.
Compress and upload the file C:\Users\Public\NPVR\Media/Shows/Person of Interest.xml and I will have a look.

Martin
mvallevand Wrote:Compress and upload the file C:\Users\Public\NPVR\Media/Shows/Person of Interest.xml and I will have a look.

Martin

the file is attached
I'm sorry I asked for the wrong file, I really needed

C:\Users\Public\NPVR\Plugins/SearchLite/Series/Person of Interest.xml

Martin
Attached
That file was not complete, here is the complete file
I would offer the reason it was cut short the first time is the reason it failed. Delete that file and from the command line try

imageGrabLite --oid 993 --nfo

Martin
It was cut short because I had an error in copying the text (I was grabbing the file remotely) so please ignore that first one. I ran that command but the file was the same. I think the problem is that there is a "NUL" character on line 62 but I'm not sure why that is being created

Code:
<?xml version="1.0" encoding="UTF-8" ?>
<Data><Series>
  <id>248742</id>
  <Actors>|Jim Caviezel|Michael Emerson|Sarah Shahi|Taraji P. Henson|Kevin Chapman|Enrico Colantoni|Brett Cullen|Amy Acker|</Actors>
  <Airs_DayOfWeek>Tuesday</Airs_DayOfWeek>
  <Airs_Time>10:00 PM</Airs_Time>
  <ContentRating>TV-14</ContentRating>
  <FirstAired>2011-09-22</FirstAired>
  <Genre>|Action|Adventure|Drama|</Genre>
  <IMDB_ID>tt1839578</IMDB_ID>
  <Language>en</Language>
  <Network>CBS</Network>
  <NetworkID></NetworkID>
  <Overview>Person of Interest is a crime thriller about a presumed dead former-CIA agent, Reese, who teams up with a mysterious billionaire, Finch, to prevent violent crimes by using their own brand of vigilante justice. Reese's special training in covert operations appeals to Finch, a software genius who invented a program that uses pattern recognition to identify people about to be involved in violent crimes. Using state-of-the-art surveillance technology, the two work outside of the law, using Reese's adept skills and Finch's unlimited wealth to unravel the mystery of the &quot;person of interest&quot; and stop the crime before it happens. Reese's actions draw the attention of the NYPD, including homicide detective Carter, and Fusco, a cop whom Reese uses to his advantage. With infinite crimes to investigate, Reese and Finch find that the right person, with the right information, at the right time, can change everything.</Overview>
  <Rating>9.0</Rating>
  <RatingCount>143</RatingCount>
  <Runtime>60</Runtime>
  <SeriesID>80967</SeriesID>
  <SeriesName>Person of Interest</SeriesName>
  <Status>Continuing</Status>
  <added>2011-05-14 07:42:59</added>
  <addedBy>235881</addedBy>
  <banner>graphical/248742-g10.jpg</banner>
  <fanart>fanart/original/248742-14.jpg</fanart>
  <lastupdated>1381281854</lastupdated>
  <poster>posters/248742-8.jpg</poster>
  <tms_priority>0</tms_priority>
  <tms_wanted>1</tms_wanted>
  <zap2it_id>EP01419847</zap2it_id>
</Series>
<Episode>
  <id>4099507</id>
  <Combined_episodenumber>1</Combined_episodenumber>
  <Combined_season>1</Combined_season>
  <DVD_chapter></DVD_chapter>
  <DVD_discid></DVD_discid>
  <DVD_episodenumber></DVD_episodenumber>
  <DVD_season></DVD_season>
  <Director>David Semel</Director>
  <EpImgFlag>2</EpImgFlag>
  <EpisodeName>Pilot</EpisodeName>
  <EpisodeNumber>1</EpisodeNumber>
  <FirstAired>2011-09-22</FirstAired>
  <GuestStars>Natalie Zea|Kevin Chapman|James Hanlon</GuestStars>
  <IMDB_ID>tt1941917</IMDB_ID>
  <Language>en</Language>
  <Overview>Reese and Finch must figure out whether a young prosecutor is a victim or a suspect.</Overview>
  <ProductionCode>296807</ProductionCode>
  <Rating>7.7</Rating>
  <RatingCount>229</RatingCount>
  <SeasonNumber>1</SeasonNumber>
  <Writer>Jonathan Nolan</Writer>
  <absolute_number>1</absolute_number>
  <filename>episodes/248742/4099507.jpg</filename>
  <lastupdated>1379358402</lastupdated>
  <seasonid>465950</seasonid>
  <seriesid>248742</seriesid>
  <thumb_added></thumb_added>
  <thumb_height>225</thumb_height>
  <thumb_width>400</thumb_width>
  <tms_export>1</tms_export>
  <tms_priority>NUL</tms_priority

Note: that I had to physically type the "NUL" but in notepad++ it shows the NUL character and it can not be copied

The imageGrabLite.log was the same as before.
Yes I thought it was there but I hoped downloading it again would help. As it turns out it is a known issue http://forums.thetvdb.com/viewtopic.php?t=15453 so you will have to keep deleting the file in Series until they clean things up.

Martin
It seems as though it is fixed now, thanks!
Pages: 1 2