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 … 13 14 15 16 17 … 20 Next »
NPVR version of WizRenameRecordings? What's this IGL, then?

 
  • 0 Vote(s) - 0 Average
NPVR version of WizRenameRecordings? What's this IGL, then?
Braklet
Offline

Senior Member

Posts: 532
Threads: 60
Joined: Sep 2006
#1
2013-02-18, 04:15 PM
I'm in the process of moving from GB-PVR to NPVR. My current recording flow involves the WizRenameRecording utility, so I'm looking for something else that will support simultaneous file renaming and database modification. Ideally this would operate on a single recording basis since I'm happy with my recording archive as-is and am not quite ready for a wholesale database migration.

Searching for forae leads me to Martin's ImageGrabLite. I have absolutely no idea how to use it. The CLI help text seems a bit sparse:

Code:
C:\Program Files\NPVR>imageGrabLite.exe --help
Syntax:  imageGrabLite [--oid # | --updateepg ] [--first] [--zap2it] [--language xx]

Checked the Wiki and found IGL listed on the SearchLite page. Doesn't say much about renaming recordings.

First of all, is ImageGrabLite appropriate for single recording renaming, and secondly is there a rank n00b guide to this stuff?

My alternative is manual DB and filename modification, which blows.

TIA!
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,817
Threads: 954
Joined: May 2006
#2
2013-02-18, 06:31 PM
Yes it will rename single episodes.

Start here http://forums.nextpvr.com/showthread.php...abLite-1-2 and the referenced link show the syntax.

The rename implementation is in post-processing. In North America with true unique_id values I recommend this.

"C:\Program Files\NPVR\imageGrabLite.exe" --oid %3 --rename --zap2it

Feel free after adding that line to create a wiki entry,

Martin
Braklet
Offline

Senior Member

Posts: 532
Threads: 60
Joined: Sep 2006
#3
2013-02-18, 07:30 PM
Is it still possible to run IGL directly from command line as mentioned here?

I tried various permutations of this command only to get unhandled exceptions, e.g.:

Code:
C:\Program Files\NPVR>"C:\Program Files\NPVR\imageGrabLite.exe" --oid %3 --rename --zap2it "e:\Video\NPVR\The Simpsons\The Simpsons_20130217_20002035.ts"

Unhandled Exception: System.FormatException: Input string was not in a correct format.
   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   at imageGrab.Program.Main(String[] args)

I also tried putting that command in c:\Program Files\NPVR\test.bat and running 'test "e:\Video\NPVR\The Simpsons\The Simpsons_20130217_20002035.ts"', got same result.

The various processing batch files kick off after NPVR recording or EPG events, but I'd like to see what's going to happen first. Silly questions perhaps, but I have to start somewhere. If IGL works for me I'd be happy to add some text to the Wiki. Thanks!
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,817
Threads: 954
Joined: May 2006
#4
2013-02-18, 07:42 PM
Yes, it is just a command line utility, but must be installed in the Program Files directory. Of course you need to the use the actual OID from the scheduled_recording table and not the parameter %3 or the filename so assuming it is 1234

C:\Program Files\NPVR>"C:\Program Files\NPVR\imageGrabLite.exe" --oid 1234 --rename --zap2it

for testing to revert back to NextPVR style

C:\Program Files\NPVR>"C:\Program Files\NPVR\imageGrabLite.exe" --oid 1234 --reset --zap2it

Martin
Braklet
Offline

Senior Member

Posts: 532
Threads: 60
Joined: Sep 2006
#5
2013-02-18, 08:04 PM
Ah! scheduled_recording.oid was the missing bit. I was trying event OID and finally managed to find imagegrablite.log which explained why nothing happened.

OK, the following command successfully renamed using the SxxxEyyy format, along with episode sub-title which is really what I'm after:

Code:
C:\Program Files\NPVR>"c:\Program Files\NPVR\imageGrabLite.exe" --oid 2538 --rename --zap2it
{returning the changed file name, also reflected in npvr.db3}
E:\Video\NPVR\The Simpsons\The Simpsons.S24E13.Hardly Kirk-ing.ts

Very nice utility there, Martin. I will probably end up integrating it into the normal scripts, eliminating my usual manual intervention. Gonna take me a while before I'm really comfortable using it, though.

Thanks again for the tips.
Braklet
Offline

Senior Member

Posts: 532
Threads: 60
Joined: Sep 2006
#6
2013-02-23, 01:53 AM
mvallevand Wrote:Feel free after adding that line to create a wiki entry

OK, I added something here. See what you think.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,817
Threads: 954
Joined: May 2006
#7
2013-02-23, 02:06 AM
Nice, you did a great job of summarizing the 3 threads. Is that the current version showing for d/l?

Martin
Braklet
Offline

Senior Member

Posts: 532
Threads: 60
Joined: Sep 2006
#8
2013-02-23, 02:11 AM
mvallevand Wrote:Is that the current version showing for d/l?

That's the version I got on my system a few days ago.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,817
Threads: 954
Joined: May 2006
#9
2013-02-23, 02:13 AM
Ok thanks, I'll keep it current and try and clean up some of my old posts.

Martin
Braklet
Offline

Senior Member

Posts: 532
Threads: 60
Joined: Sep 2006
#10
2013-02-23, 02:34 AM
De nada, least I could do after IGL helped my NPVR migration by replacing WizRenameRecordings.

Say, is there any way to set IGL loose on an entire directory of recordings, or an entire collection? Or would I have to write some sort of script to extract scheduled_recording.oid and feed it to an IGL system call?
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Update NPVR Database with UniqueID element using NextTool ChrisHammond56 7 1,975 2022-08-18, 03:29 AM
Last Post: sub
  VideoConduit - Standalone App to Import Lost TV Recordings into NPVR 27InchSony 54 23,926 2021-12-29, 10:08 PM
Last Post: mvallevand
  Need nextPVR Add-on for testing using Kodi Version 19 jmooremcc 3 3,415 2019-06-28, 08:02 PM
Last Post: mvallevand
  Npvr and IR Blaster Buddha B 11 5,869 2018-11-13, 06:16 PM
Last Post: sub
  System Plugin Confused by New NPVR Naming Scheme Lao Pan 1 2,654 2016-09-25, 08:26 AM
Last Post: imilne
  Unified Remote (Android) NPVR custom remote. fuzzweed 5 7,561 2016-08-10, 01:52 AM
Last Post: baj1
  hy is there a way to use an LCD or VFD (2x16 or 4x40 chars) in NPVR tto 7 4,729 2016-06-19, 01:38 PM
Last Post: jdauthre
  Network Recorder with more than 1 NPVR (how to)? SFX Group 9 5,955 2016-03-03, 05:57 PM
Last Post: UncT
  NPVR to XBMC File Renaming Utility craigrs84 6 4,707 2014-10-03, 02:59 PM
Last Post: tron999
  mc2xml data changing channels (frequencies) cause nPVR TV Guide discrepancies eskimoquin 3 3,744 2014-09-19, 02:14 AM
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