PDA

View Full Version : imageGrabLite 1.1 Questions



mvallevand
2012-07-03, 01:39 AM
I've just discovered imageGrabLite and I've got it working for the last few days. Great program! , but I have a question. It seems to rename most shows, but some it doesn't. The common denominator seems to be shows that don't have season and episode information in the EPG. Is there a way I can force it to rename programs with just the title and subtitle if there is no season/episode data? Here's an example of a show that won't rename with no episode data. I also noticed it doesn't make a .tbn or a .xml file for the show in the media folder either. I see it looks at Zap2it, I'm using schedules direct for my EPG if that makes a difference.



2012-07-02 19:43:12.255 [DEBUG][1] imageGrabLite, Version=1.1.4.33422, Culture=neutral, PublicKeyToken=null
2012-07-02 19:43:12.256 [DEBUG][1] Command Line --oid 3218 --rename
2012-07-02 19:43:12.339 [DEBUG][1] Searching select scheduled_recording.name, event_details, start_time, filename from scheduled_recording, channel where scheduled_recording.oid = 3218 and scheduled_recording.channel_oid = channel.oid
2012-07-02 19:43:12.347 [DEBUG][1] Zap2it reference http://tvlistings.zap2it.com/tv/rough-cut--woodworking-with-tommy-mac/EP013241960007
2012-07-02 19:43:12.347 [DEBUG][1] Zap2it image http://images.zap2it.com/images/tv-EP01324196/rough-cut--woodworking-with-tommy-mac-0.jpg
2012-07-02 19:43:12.351 [DEBUG][1] Subtitle: Length=8 Finishes
2012-07-02 19:43:12.351 [DEBUG][1] OID is 3706378
2012-07-02 19:43:12.352 [DEBUG][1] OriginalAirDate is 2010-11-13
2012-07-02 19:43:12.352 [DEBUG][1] Recorded 2012-07-01
2012-07-02 19:43:12.353 [DEBUG][1] Skip file exists C:\Users\Public\NPVR\Media/Shows/Rough Cut -- Woodworking With Tommy Mac.xml
2012-07-02 19:43:12.353 [DEBUG][1] Cannot rename file, no episode information


Also, imageGrabLite runs as my last line in my postprocessing.bat which also does post processing conversion to mp4 on one show only. As it is right now, I have imageGrabLite skip this particular show so I can use NScriptHelper and "%~f1" to get the file name and path for the .mp4 conversion. Is there a way you know of that I could get a variable like "%~f1" after imageGrabLite renames the recording so I could run the mp4 conversion?

Thanks

(withheld from PM)

mvallevand
2012-07-03, 02:04 AM
I've just discovered imageGrabLite and I've got it working for the last few days. Great program! , but I have a question. It seems to rename most shows, but some it doesn't. The common denominator seems to be shows that don't have season and episode information in the EPG.

I will have to look into that one, something is going wrong with it. They only hard rule is that if there is no sub-title I won't look it up.


Is there a way I can force it to rename programs with just the title and subtitle if there is no season/episode data?

I suggest using sub's rename program before running ImageGrabLite. That way it will be renamed the way you like and then if it can't be renamed with S##E## format you will have something (but I still don't think it will work with external programs)


Also, imageGrabLite runs as my last line in my postprocessing.bat which also does post processing conversion to mp4 on one show only. As it is right now, I have imageGrabLite skip this particular show so I can use NScriptHelper and "%~f1" to get the file name and path for the .mp4 conversion. Is there a way you know of that I could get a variable like "%~f1" after imageGrabLite renames the recording so I could run the mp4 conversion?

No variable but this batch information might give some ideas. http://forums.gbpvr.com/showthread.php?51435-imageGrabLite-1-1&p=432111#post432111 You could add sub's rename in the "fail" code.

Martin

mvallevand
2012-07-03, 02:35 AM
There are a couple of things going wrong with that show First TheTVDB.com knows it with only one dash "Rough Cut - Woodworking with Tommy Mac" I will likely make a rule to try with single and double dashes. Why EPG does show two as well.

A bigger problem is because this is an older show there is nothing to map to in the TheTVDB.com data base



<Episode>
<id>3294551</id>
<Combined_episodenumber>7</Combined_episodenumber>
<Combined_season>1</Combined_season>
<DVD_chapter></DVD_chapter>
<DVD_discid></DVD_discid>
<DVD_episodenumber></DVD_episodenumber>
<DVD_season></DVD_season>
<Director></Director>
<EpImgFlag></EpImgFlag>
<EpisodeName>Finishes/Christine Thomson</EpisodeName>
<EpisodeNumber>7</EpisodeNumber>
<FirstAired></FirstAired>
<GuestStars></GuestStars>
<IMDB_ID></IMDB_ID>
<Language>en</Language>
<Overview>Tommy is the first to say, finishes are an art unto themselves. That’s why he dedicated an entire episode to this topic featuring two very talented finishers, Christine Thomson, a period finisher from Salem, Massachusetts, and Mark Libby, a local finisher who has worked with Tommy for years. In this episode, Tommy provides detailed project instruction for work requiring a finishing technique. He visits Christine’s shop to see some of her techniques, and later, Mark Libby swings by Tommy’s shop.</Overview>
<ProductionCode></ProductionCode>
<Rating></Rating>
<RatingCount>0</RatingCount>
<SeasonNumber>1</SeasonNumber>
<Writer></Writer>
<absolute_number></absolute_number>
<filename></filename>
<lastupdated>1292443303</lastupdated>
<seasonid>373761</seasonid>
<seriesid>212931</seriesid>
</Episode>


Here the subtitle doesn't match exactly, there is no zap2it ID, and the first aired hasn't been filled out. TheTVDB.org is a community project and when the data isn't there, there isn't much that can be done.

I'd be happy to look at other problems though. The matching rules can always be improved.

Martin