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 … 6 7 8 9 10 … 20 Next »
ImageGrabLite rename questions

 
  • 0 Vote(s) - 0 Average
ImageGrabLite rename questions
swkerr
Offline

Junior Member

Posts: 2
Threads: 1
Joined: Jan 2015
#1
2015-04-25, 01:18 AM (This post was last modified: 2015-04-25, 01:27 AM by swkerr.)
I have moved from SageTV to NextPVR using Kodi\XBMC as the primary interface. For this to work as desired I need for the recording to show up in the Kodi TV Shows Library.
I have found IGL to be the best (possibly only) way get the shows to show up in the Kodi Library but I still have a few issues and questions that I have not been able to answer\solve.

I am running IGL in the "PostProcessing.bat" using the following:
"C:\Program Files (x86)\NPVR\ImageGrabLite.exe" --oid %3 --season --rename --nfo
"C:\Program Files (x86)\NPVR\ImageGrabLite.exe" --oid %3 --nfo

I use the --rename option mainly because I want the SXXEXX naming standard so that the shows will show up in Kodi\Plex and SageTV after they are recorded.
What I have found with using the --rename option is that if it renames the file it will not create the --nfo file.
If the renamed file gets the SXXEXX information then generally the .nfo is not necessary but often it renames with something like: "The Daily Show With Jon Stewart.2015-04-23.Neil deGrasse Tyson.ts"
Generally only News type programs or specials don't get a good match but there are some files like "The Daily Show With Jon Stewart" that also don't match well with Season\Episode information.
The non Season\Episode naming standard does not seem to scan into Kodi without the .nfo file.
For that reason I run the second IGL lookup just to add the nfo file.

This approach generally gets everything into Kodi but since I use multiple recording Libraries I can end up with multiple folders in Kodi for a show like "The Daily Show With Jon Stewart".
I may have an entry for the show for each recording drive instead of one folder for all episodes of a show. (So not all episodes are grouped together)

Questions:
Is there another approach where I can only create the .nfo file when there is not a Season\Episode match? (Or another approach in general that might work better)

Also: I see the Season\Episode information in the Guide before the recording in most cases but it does not appear to get used in the rename process. I see in the IGL log that the Season\Episode data seems to be missing.
Is there an option that might force it to rename with the Guide Season\Episode data?

Lastly: I was able to fix one issue I was having by updating the version of IGL I was using. But...the update seemed to be buried in the forum. Is there a location where the latest beta version of IGL is always located?


Log from the Daily show rename: (from Schedules Direct)
[...startup]
2015-04-24 20:22:59.259 [DEBUG][1] imageGrabLite, Version=2.2.5530.32668, Culture=neutral, PublicKeyToken=null
2015-04-24 20:22:59.259 [DEBUG][1] Command Line --oid 17621 --season --rename --nfo
2015-04-24 20:22:59.276 [DEBUG][1] Rename file True
2015-04-24 20:22:59.323 [DEBUG][1] Searching select scheduled_recording.name, event_details, start_time, filename, service_type from scheduled_recording, channel, channel_mapping where scheduled_recording.oid = 17621 limit 1
2015-04-24 20:22:59.340 [DEBUG][1] Zap2it reference http://tvlistings.zap2it.com/tv/the-dail...2930532516
2015-04-24 20:22:59.340 [DEBUG][1] Zap2it image page http://www.zap2it.com/tv/the-daily-show-...2930530000
2015-04-24 20:22:59.342 [DEBUG][1] Subtitle: Length=19 Neil deGrasse Tyson
2015-04-24 20:22:59.347 [DEBUG][1] OID is 4009678
2015-04-24 20:22:59.347 [DEBUG][1] Season is 0
2015-04-24 20:22:59.347 [DEBUG][1] Episode is 0
2015-04-24 20:22:59.347 [DEBUG][1] OriginalAirDate is 2015-04-23
2015-04-24 20:22:59.347 [DEBUG][1] First run
2015-04-24 20:22:59.347 [DEBUG][1] Recorded 2015-04-23
2015-04-24 20:22:59.347 [DEBUG][1] Record Ended 2015-04-23
2015-04-24 20:22:59.347 [DEBUG][1] Meta files exists C:\Users\Public\NPVR\Media/Shows/The Daily Show With Jon Stewart.xml
2015-04-24 20:22:59.354 [DEBUG][1] Episodic: True C:\Users\Public\NPVR\Plugins/SearchLite/Series/The Daily Show With Jon Stewart.xml
2015-04-24 20:22:59.354 [DEBUG][1] C:\Users\Public\NPVR\Media/Shows/The Daily Show With Jon Stewart.xml
2015-04-24 20:22:59.392 [DEBUG][1] Using daily renaming rules
2015-04-24 20:22:59.393 [DEBUG][1] The Daily Show With Jon Stewart.2015-04-23.Neil deGrasse Tyson
2015-04-24 20:22:59.405 [DEBUG][1] PlaybackPositionHelper.GetPlaybackPosition(D:\DVR\The Daily Show With Jon Stewart\The Daily Show With Jon Stewart_20150423_22590700.ts)
2015-04-24 20:22:59.407 [DEBUG][1] D:\DVR\The Daily Show With Jon Stewart\The Daily Show With Jon Stewart_20150423_22590700.ts
2015-04-24 20:22:59.407 [DEBUG][1] False
2015-04-24 20:22:59.407 [DEBUG][1] False



PostProcessing.bat: (Runs Comskip after the rename)

"C:\Program Files (x86)\NPVR\ImageGrabLite.exe" --oid %3 --season --rename --nfo
"C:\Program Files (x86)\NPVR\ImageGrabLite.exe" --oid %3 --nfo

SET SQLITE="C:\Users\Public\NPVR\Utility\sqlite3.exe"
SET DB="C:\Users\Public\NPVR\npvr.DB3"
SET SQL=Select filename from SCHEDULED_RECORDING WHERE oid=%3;
Echo %SQL% > Xsqlscript.txt
%SQLITE% %DB% < Xsqlscript.txt > XOutput.txt
for /f "tokens=1 delims=|" %%a in (XOutput.txt) do Set ThePath="%%a%"

@echo on
cd /d "C:\Data\comskip"
hiderun comskip %ThePath%
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,814
Threads: 954
Joined: May 2006
#2
2015-04-25, 01:44 AM
Unless it is broken in Kodi right now, Kodi should support the logic for daily shows instead of S/E format

2015-04-24 20:22:59.392 [DEBUG][1] Using daily renaming rules

giving

2015-04-24 20:22:59.393 [DEBUG][1] The Daily Show With Jon Stewart.2015-04-23.Neil deGrasse Tyson

Martin
gEd
Offline

Posting Freak

London
Posts: 3,514
Threads: 100
Joined: Jan 2005
#3
2015-04-25, 11:14 AM
And as an FYI version 3.4.8 released today natively supports the SXXEXX naming standard whenever possible.
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,814
Threads: 954
Joined: May 2006
#4
2015-04-25, 12:32 PM
I was going to mention that except his source doesn't have them.

Martin
rkulagow
Offline

Member

Posts: 176
Threads: 12
Joined: Dec 2014
#5
2015-04-25, 12:37 PM
[I work for SchedulesDirect]

If you're using the current version of NextPVR with a SchedulesDirect account then this is what we have for that program:

{
"programID": "EP002930532516",
"titles": [
{
"title120": "The Daily Show With Jon Stewart"
}
],
"descriptions": {
"description1000": [
{
"descriptionLanguage": "en",
"description": "Astrophysicist Neil deGrasse Tyson."
}
]
},
"originalAirDate": "2015-04-23",
"genres": [
"Talk",
"Interview",
"Comedy"
],
"episodeTitle150": "Neil deGrasse Tyson",
"metadata": [
{
"Gracenote": {
"season": 18,
"episode": 95
}
}
],
"contentRating": [
{
"body": "USA Parental Rating",
"code": "TV14"
}
],
"cast": [
{
"billingOrder": "01",
"role": "Host",
"nameId": "71335",
"personId": "71335",
"name": "Jon Stewart"
},
{
"billingOrder": "02",
"role": "Correspondent",
"nameId": "348962",
"personId": "340088",
"name": "Samantha Bee"
},
{
"billingOrder": "03",
"role": "Correspondent",
"nameId": "200671",
"personId": "198846",
"name": "Jason Jones"
},
{
"billingOrder": "04",
"role": "Correspondent",
"nameId": "504392",
"personId": "490799",
"name": "Jessica Williams"
},
{
"billingOrder": "05",
"role": "Correspondent",
"nameId": "161363",
"personId": "160745",
"name": "Aasif Mandvi"
},
{
"billingOrder": "06",
"role": "Correspondent",
"nameId": "277617",
"personId": "274012",
"name": "Al Madrigal"
},
{
"billingOrder": "07",
"role": "Guest",
"nameId": "554037",
"personId": "533047",
"name": "Neil deGrasse Tyson"
}
],
"showType": "Series",
"hasImageArtwork": true,
"md5": "9+aznGBWYCPe0EvUjrWUhA"
}
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,814
Threads: 954
Joined: May 2006
#6
2015-04-25, 01:46 PM
Yes unfortunately a lot users of user choose mc2xml.

Martin
rkulagow
Offline

Member

Posts: 176
Threads: 12
Joined: Dec 2014
#7
2015-04-25, 04:29 PM
Ah, I understood that

"Log from the Daily show rename: (from Schedules Direct)"

from the OP meant that they were using Schedules Direct.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,814
Threads: 954
Joined: May 2006
#8
2015-04-25, 04:45 PM
Right you are, I was going by what iGL was reading from the database

2015-04-24 20:22:59.347 [DEBUG][1] Season is 0
2015-04-24 20:22:59.347 [DEBUG][1] Episode is 0

They are in my database,

Martin
swkerr
Offline

Junior Member

Posts: 2
Threads: 1
Joined: Jan 2015
#9
2015-04-26, 03:19 AM
Installed the update and the SXXEXX naming standard is on by default.
I have disabled IGL for now just to see how the new standard naming will work.
Using Schedules Direct I get very good SXXEXX data but I am sure I will still have issues with News and Sporting events.

I am wondering how this change will impact IGL as well.
What setting should I use in IGL to News & Sports into Kodi but not impact the already good SXXEXX files?
NYPlayer
Offline

Senior Member

Posts: 308
Threads: 22
Joined: Aug 2014
#10
2015-04-30, 08:29 PM
swkerr Wrote:Installed the update and the SXXEXX naming standard is on by default.
I have disabled IGL for now just to see how the new standard naming will work.
Using Schedules Direct I get very good SXXEXX data but I am sure I will still have issues with News and Sporting events.

I am wondering how this change will impact IGL as well.
What setting should I use in IGL to News & Sports into Kodi but not impact the already good SXXEXX files?

One thing to remember if the show has the year in THETVDB or country for example "Secrets and Lies (US)" ... "Castle (2009)" the only way to get this correctly is by using IGL. The default does not do a lookup on THETVDB but IGL does and names them correctly.
NEXTPVR Server Acer AM3910-UR10P Intel Core i3-540 3.06GHz Desktop, Windows 8.1 Pro. 64bit, 2 HdHomerun units(OTA Tuners) , 1 HD Homerun Prime , for a total of 7 HD Tuners , LinkSYS 16 port Gigabyte Switch.
D-link 857 Router
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  imageGrabLite update mvallevand 20 13,655 2020-04-04, 02:42 AM
Last Post: jksmurf
  ImageGrabLite "Read Error Object reference not set to an instance of an object." mjccox 6 5,097 2017-04-11, 07:07 AM
Last Post: rinomasaya
  imageGrabLite episode rename (Super Why) sosuke3 4 3,354 2016-11-24, 10:38 PM
Last Post: sosuke3
  A couple of questions about SearchLite wayloncovil 6 4,395 2016-10-25, 04:49 AM
Last Post: wayloncovil
  ImageGrabLite and the ampersand ttfitz 8 4,845 2016-05-26, 11:56 PM
Last Post: JavaWiz
  Imagegrablite and NCIS Los Angleles/New Orleans robokd 5 4,011 2016-03-02, 02:40 PM
Last Post: mvallevand
  ImageGrabLite Issues bigjess007 11 7,267 2016-01-08, 01:13 PM
Last Post: jksmurf
  ImageGrabLite Setup hootie318 8 5,884 2015-11-28, 11:32 PM
Last Post: pBS
  Imagegrablite renaming of continuation episode jghanisco 5 3,379 2015-11-26, 10:25 PM
Last Post: mvallevand
  ImageGrabLite problem with new Daily Show ttfitz 5 3,118 2015-11-17, 11:48 PM
Last Post: ttfitz

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

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

Linear Mode
Threaded Mode