NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 2 3 4 5 6 … 56 Next »
imageGrabLite 1.2

 
  • 0 Vote(s) - 0 Average
imageGrabLite 1.2
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,940
Threads: 956
Joined: May 2006
#1
2012-12-01, 04:32 PM
Attached is an update to imageGrabLite that will create XBMC compatible TV Show and Movie NFO files so all files will be available in the libraries even when they can't be renamed. Since this option uses the NextPVR filename, it can be run in ParallelProcessing.bat.

The syntax to fetch metadata that will work in NextPVR and also create the NFO files iin ParallelProcessing.bat on 32bit is

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

I expect the normal use for the --nfo option would be in PostProcessing.bat. If you add the --nfo option in PostProcessing.bat it will create the .NFO files. Combined with use of the --rename option when the file can't be found online, or when the file is in use, an NFO file will be created. If the file can be renamed, no NFO file is made, and existing NFO files for that file will be deleted.

Other new features

- command line --season can be used to respect the NextPVR season and episode values in renaming (and in NFO files)
- automatic parsing of description that end with a season and episode number
- improved matching in a few more cases

It's time for some wiki work I think until then other information post on imageGrabLite are here

http://forums.nextpvr.com/showthread.php...bLite-Beta
http://forums.nextpvr.com/showthread.php...abLite-1-1

Please post support questions here

http://forums.gbpvr.com/forumdisplay.php...and-skins)

File now on wiki. http://www.nextpvr.com/nwiki/pmwiki.php?...geGrabLite

Martin
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#2
2012-12-01, 06:07 PM
very nice, thanks Martin. The possibility of getting all the recordings into the very nice XBMC libraries without dealing with after-the-fact renaming (which I've found to be messy for various reasons) is quite tempting. While I'm not ready to use XBMC yet, I think I'll implement the NFO creation now... certainly can't hurt anything.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#3
2012-12-01, 06:24 PM
it seems reasonable for those using this to add "nfo" to the <DeleteAdditionalExtensions> list in config.xml. Perhaps sub could add that to the default list in the next release?
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,940
Threads: 956
Joined: May 2006
#4
2012-12-01, 06:32 PM
Thanks johnsonx42, I had noted to myself to document the deletion of the .nfo extension. I will need sub to make a change since I'd like NextPVR to delete the folder when the only file in it is tvshow.nfo

Mart
smajor
Offline

Posting Freak

Posts: 840
Threads: 115
Joined: Feb 2006
#5
2012-12-02, 09:05 PM
I have this now working like a charm. Pretty sweet!

I was search through the previous threads to see if there is a way to bulk rename my existing Recordings. I saw that it wasn't supported back in the beta thread. Has their been progress on this and I'm just not seeing it in my search?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,940
Threads: 956
Joined: May 2006
#6
2012-12-02, 11:07 PM
Glad it is working for you. I don't plan on adding this functionality since there are plenty of other rename utilities that probably do a better job. Using a script and sqlite3 you could fake it using this script

Code:
.mode columns
.output "iglout.bat"
select '"C:\Program Files (x86)\nPVR\imageGrabLite" --nfo --zap2it --oid ', oid
from scheduled_recording
where status = 2
and filename not like '%.S%';

Store that as iglall.sql (edit as necessary )and then run

sqlite3 npvr.db3 < igall.sql

This should create a file iglout.bat that will catch you up.

Since it is downloading art and potentially renaming, it might take a while. If you are going to be adding the --rename option, I wouldn't interrupt it either.

Martin
smajor
Offline

Posting Freak

Posts: 840
Threads: 115
Joined: Feb 2006
#7
2012-12-02, 11:52 PM
Nice. I want to get my old recordings caught up because I'm going to experiment with XBMC as a client and I prefer how it displays TV shows with all the metadata and fan art. Obviously, having properly named episodes it can decipher helps!
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#8
2012-12-03, 01:26 AM
mvallevand Wrote:
Code:
.mode columns
.output "iglout.bat"
select '"C:\Program Files (x86)\nPVR\imageGrabLite" --nfo --zap2it --oid ', oid
from scheduled_recording
where status = 2
and filename not like '%.S%';

Too clever by half!
gEd
Offline

Posting Freak

London
Posts: 3,514
Threads: 100
Joined: Jan 2005
#9
2012-12-03, 07:14 AM
very clever, thanks Martin.

I gave it a go (what could possibly go wrong) and generally it worked very well.

I had some programmes incorrectly named to "24 hours in A&E" which I suspect is alphabetically the first recording in my database. There were also some erroneous episode numbers created.

e.g.
Our Food.S01E115.Season 1, Episode 1 of 4 - Norfolk.ts
Comedy Kings Best of Just for Laughs.S01E243.Season 1, Episode 5 of 8.ts

there are plenty of other rename utilities that probably do a better job
not that work with npvr.db there aren't ! :-)
“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,940
Threads: 956
Joined: May 2006
#10
2012-12-03, 12:43 PM
gEd Wrote:I had some programmes incorrectly named to "24 hours in A&E" which I suspect is alphabetically the first recording in my database. There were also some erroneous episode numbers created.

Right I forgot to encode the invalid XML characters when writing the NFO files I have fixed that.

Quote:e.g.
Our Food.S01E115.Season 1, Episode 1 of 4 - Norfolk.ts
Comedy Kings Best of Just for Laughs.S01E243.Season 1, Episode 5 of 8.ts

I suspect those have a bad episode number but I will check through the last database you emailed me. Are you processing your xmltv file at all or is it imported "raw"? If it is raw, I might add same parsing to cross check against the Season 1, Episode 5 o ...

Quote:there are plenty of other rename utilities that probably do a better job
not that work with npvr.db3 there aren't ! :-)

I was think about creating NFO files, I wasn't considering renaming.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (10): 1 2 3 4 5 … 10 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Considering dropping support for imageGrabLite mvallevand 8 4,075 2016-01-08, 08:23 AM
Last Post: liteswap
  imageGrabLite Beta mvallevand 84 61,689 2013-10-04, 06:40 PM
Last Post: mvallevand
  imageGrabLite 1.1 mvallevand 118 42,329 2012-08-30, 11:25 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