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 --import

 
  • 0 Vote(s) - 0 Average
imageGrabLite --import
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,771
Threads: 954
Joined: May 2006
#1
2014-12-13, 08:01 PM
Here's a beta test version of iGL that has a basic import. I'm going through an annual ritual of a on month rental to record all the Homeland episodes to watch during the Holidays. Since I get them from OnDemand while I catch up, I don't have metadata. This import has a very specific logic to get the file from thetvdb It wants the input file to be Show S##E## so for my Homeland example,

I take the file from my HDPVR C:\Recordings\Homeland\2014_11_13_11_15_13.ts

Rename it to C:\Recordings\Homeland\Homeland.S04E04.ts

run imageGrabLite --import "C:\Recordings\Homeland\Homeland.S04E04.ts"

and it up with C:\Recordings\Homeland\Homeland.S04E04.Iron in the Fire.ts in my database

There is an optional parameter to pass a channel oid if you want the icon to be from a correct channel.

Martin
leaded1
Offline

Member

Posts: 135
Threads: 15
Joined: Jul 2007
#2
2014-12-15, 09:47 PM
That looks like it could come in really handy. I'm planning on transcoding and re-arranging a bunch of old cartoon recordings. as long as I rename them with S--E-- notation, I should be able to re-import them into NPVR easily with this.
I'll let you know how it goes with a couple trial runs
Server - AMD 6 Core windows 10 with Hauppage WINTV-PVR2 USB2, HDHomerun Dual, and WINTV-HVR 1600 tuners | Clients -PCH A-100 and iOS
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,771
Threads: 954
Joined: May 2006
#3
2014-12-15, 10:22 PM
leaded1 Wrote:That looks like it could come in really handy. I'm planning on transcoding and re-arranging a bunch of old cartoon recordings. as long as I rename them with S--E-- notation, I should be able to re-import them into NPVR easily with this.
I'll let you know how it goes with a couple trial runs

Only files that show up on thetvdb.org will be imported, it's largely a less sophisticated scraper then used by Plex and XBMC.

Martin
gEd
Offline

Posting Freak

London
Posts: 3,512
Threads: 100
Joined: Jan 2005
#4
2015-03-17, 12:49 AM
If the file you download is known to thetvdb with SnnEnn notation rename it to .ts run imageGrabLite --import filename and then it should be in your database with full metadata, just don't forget to rename it back to mp4/avi/mkv. Martin

It adds the recording to the database but does not appear to search for, or find any metadata.Any idea what I am doing wrong?
Also, if IGL renames the file, how do I rename it back to .mp4 in the batch file? Does IGL export the new name as a variable? (i'm not very good at batch files)


ren %1 "%~dpn1.ts"
imageGrabLite.exe --import "%~dpn1.ts"
ren "%~dpn1.ts" %1

2015-03-17 00:29:20.025 [DEBUG][1] imageGrabLite, Version=2.2.5514.34446, Culture=neutral, PublicKeyToken=null
2015-03-17 00:29:20.039 [DEBUG][1] Command Line --import R:\Recordings\Game of Thrones\Season.2-4\Game.Of.Thrones.S02E02.ts
2015-03-17 00:29:20.067 [DEBUG][1] Episodic: False C:\Users\Public\NPVR\Plugins/SearchLite/Series/Game.Of.Thrones.xml
2015-03-17 00:29:20.067 [DEBUG][1] C:\Users\Public\NPVR\Media/Shows/Game.Of.Thrones.xml
2015-03-17 00:29:20.081 [DEBUG][1] C:\Program Files (x86)\NPVR
2015-03-17 00:29:20.216 [DEBUG][1] OID = 25910
2015-03-17 00:29:20.234 [DEBUG][1] Rename file True
2015-03-17 00:29:20.238 [DEBUG][1] Searching select scheduled_recording.name, event_details, start_time, filename, service_type from scheduled_recording, channel, channel_mapping where scheduled_recording.oid = 25910 limit 1
2015-03-17 00:29:20.248 [DEBUG][1] Subtitle: Length=0
2015-03-17 00:29:20.250 [DEBUG][1] OID is 1
2015-03-17 00:29:20.250 [DEBUG][1] Season is 2
2015-03-17 00:29:20.250 [DEBUG][1] Episode is 2
2015-03-17 00:29:20.250 [DEBUG][1] Recorded 1601-01-01
2015-03-17 00:29:20.250 [DEBUG][1] Record Ended 1601-01-01
2015-03-17 00:29:20.250 [DEBUG][1] Skip file exists C:\Users\Public\NPVR\Media/Shows/Game.Of.Thrones.xml
2015-03-17 00:29:20.250 [DEBUG][1] Cannot rename file, no episode information
2015-03-17 00:29:20.250 [DEBUG][1] R:\Recordings\Game of Thrones\Season.2-4\Game.Of.Thrones.S02E02.ts
2015-03-17 00:29:20.250 [DEBUG][1] Game.Of.Thrones
2015-03-17 00:29:20.250 [DEBUG][1] False
2015-03-17 00:29:20.250 [DEBUG][1] R:\Recordings\Game of Thrones\Season.2-4\Game.Of.Thrones.S02E02.ts
2015-03-17 00:29:20.250 [DEBUG][1] False
2015-03-17 00:29:20.250 [DEBUG][1] False
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,771
Threads: 954
Joined: May 2006
#5
2015-03-17, 12:57 AM
Ok those periods might be a problem. Does it work ok as "Game Of Thrones.S02E02.ts"


Martin
gEd
Offline

Posting Freak

London
Posts: 3,512
Threads: 100
Joined: Jan 2005
#6
2015-03-17, 01:13 AM
yep!
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,771
Threads: 954
Joined: May 2006
#7
2015-03-17, 01:16 AM
Ok in a future update I will do the lookup without them. Out damn spot.

Martin
gEd
Offline

Posting Freak

London
Posts: 3,512
Threads: 100
Joined: Jan 2005
#8
2015-03-17, 01:19 AM
it also doesn't like double spaces in the file name I noticed when I renamed a file in error.
"Out damn spot." - terrible!
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,771
Threads: 954
Joined: May 2006
#9
2015-03-17, 01:25 AM
"Bloody" awful.

There are two other options to --import in newer versions of iGL

--import fillename unique_id channelOID

unique_id is what to use as the NextPVR unique id typically in North America the zap2it id
channeOID is the id of the channel to show a nice icon.

Martin
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#10
2015-03-17, 01:39 AM
mvallevand Wrote:"Bloody" awful.
"Out, damn'd spot! out, I say!"

would have been more acceptable... Smile

Alex
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (6): 1 2 3 4 5 6 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextTool import Dale Dewing 13 3,037 2023-01-31, 02:54 PM
Last Post: mvallevand
  new format for NextTool import? spagio 7 2,171 2022-08-11, 01:17 PM
Last Post: mvallevand
  SageTV Import Utility mvallevand 97 39,434 2022-04-13, 04:42 PM
Last Post: sDiesel
  VideoConduit - Standalone App to Import Lost TV Recordings into NPVR 27InchSony 54 23,821 2021-12-29, 10:08 PM
Last Post: mvallevand
  RFC Recordings Import Utility mvallevand 24 8,790 2020-05-08, 02:16 PM
Last Post: Graham
  imageGrabLite update mvallevand 20 13,624 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,077 2017-04-11, 07:07 AM
Last Post: rinomasaya
  imageGrabLite episode rename (Super Why) sosuke3 4 3,334 2016-11-24, 10:38 PM
Last Post: sosuke3
  ImageGrabLite and the ampersand ttfitz 8 4,822 2016-05-26, 11:56 PM
Last Post: JavaWiz
  Imagegrablite and NCIS Los Angleles/New Orleans robokd 5 3,980 2016-03-02, 02:40 PM
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