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 … 8 9 10 11 12 … 20 Next »
ImageGrabLite does not replace/update subtitle information

 
  • 0 Vote(s) - 0 Average
ImageGrabLite does not replace/update subtitle information
vmq
Offline

Member

Posts: 128
Threads: 27
Joined: Dec 2007
#1
2014-11-15, 05:32 PM
When using iGL to update previously recorded shows I found the filename looked a little funny.

When running "imageGrabLite.exe --oid 1055 --rename --zap2it" the previous file name
Saving Grace/S03E08-Popcorn_090804.avi
was renamed to
Saving Grace.S03E08.-Popcorn.avi
Note the '-'.

Although iGL matched the recording - see attachment - it used the old subtitle, but subtracted the SxxEyy information keeping the '-'. The season and episode information is updated, see the content of scheduled_recordings event_data before and after iGL below.

This is a little inconsistent, I would really like if the old information would be replaced by the newly found information and if renaming would use the subtitle string that matched the search. (Two issues)

Thanks for your help.

Volker

P.S.: This is the metadata before the iGL call:
Code:
<Event>
      <OID>0</OID>
      <Title>Saving Grace</Title>
      <SubTitle>S03E08-Popcorn</SubTitle>
      <Description>The squad investigates the murder of a whistle blower; Grace&apos;s brother Leo is convinced his neighbor is keeping a dead body in his house; Johnny pressures Grace to arrange for him to meet Earl.</Description>
      <ChannelOID>0</ChannelOID>
      <StartTime>2009-08-05T02:00:00.0000000Z</StartTime>
      <EndTime>2009-08-05T03:00:00.0000000Z</EndTime>
    </Event>

And this after:
Code:
<Event>
      <OID>0</OID>
      <Title>Saving Grace</Title>
      <SubTitle>S03E08-Popcorn</SubTitle>
      <Description>The squad investigates the murder of a whistle blower; Grace's brother Leo is convinced his neighbor is keeping a dead body in his house; Johnny pressures Grace to arrange for him to meet Earl.</Description>
      <ChannelOID>0</ChannelOID>
      <StartTime>2009-08-05T02:00:00.0000000Z</StartTime>
      <EndTime>2009-08-05T03:00:00.0000000Z</EndTime>
      <Season>3</Season>
  <Episode>8</Episode>
</Event>
[SIZE="2"]PVR: Phenom 9150e / 4GB / XP / ATI HD 4200 / HVR-1600 / ATI HD 650 TV WOnder / NextPVR 3.9.2
PVR2: i7-6700k / Win10Pro / 32 GB / GeForce 1070 / WinTV-dualHD / NPVR 3.9.2 / 4TB NAS[/SIZE]
vmq
Offline

Member

Posts: 128
Threads: 27
Joined: Dec 2007
#2
2014-11-15, 05:50 PM
vmq Wrote:This is a little inconsistent, I would really like if the old information would be replaced by the newly found information and if renaming would use the subtitle string that matched the search. (Two issues)

Thinking about this, it is actually nice to have the subtitle show the season and episode information, so instead of just updating/reverting it would be nice to set the subtitle to SxxEyy: newly downloaded subtitle. I'm really sorry for throwing out all those ideas at you.

In any case, for the rename option, the subtitle string that matched the search should be used to create a filename that is consistent with the correct title and subtitle information for the show.

Volker
[SIZE="2"]PVR: Phenom 9150e / 4GB / XP / ATI HD 4200 / HVR-1600 / ATI HD 650 TV WOnder / NextPVR 3.9.2
PVR2: i7-6700k / Win10Pro / 32 GB / GeForce 1070 / WinTV-dualHD / NPVR 3.9.2 / 4TB NAS[/SIZE]
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,823
Threads: 954
Joined: May 2006
#3
2014-11-15, 10:23 PM
Don't be sorry about the suggestions, however I am confused why you would want the the S##E## twice in the filename. as that's why I added logic to remove it in the first place (not sure I've had confirmation that it worked before).

The XBMC and Plex scanners don't care about the subtitle anyway. In NextPVR I want the filename subtitle and the database subtile to stay synced. Originally I planned that iGL would update the subtitle in npvr.db3 but with the lack of the sort on subtitle it was kind of useless. The new metadata recordings screen will show them in S##E##` order from the filename. If I only update the filename the subtitle on the file and the subtitle on the meta data will be different.

What I will do is update the logic that cleans out the S/E and a leading space to also strip the dash or period.

Martin
vmq
Offline

Member

Posts: 128
Threads: 27
Joined: Dec 2007
#4
2014-11-15, 11:30 PM
mvallevand Wrote:Don't be sorry about the suggestions, however I am confused why you would want the the S##E## twice in the filename. as that's why I added logic to remove it in the first place (not sure I've had confirmation that it worked before).
Not twice, just once is fine. I was a little unclear. Just Saving Grace.S03E08.Popcorn.avi for this example. I have legacy recordings that (thanks to WizTools) have subtitles like S03E08-Popcorn in the metadata. That's not needed anymore with NPVR because it now knows season and episode.

mvallevand Wrote:The XBMC and Plex scanners don't care about the subtitle anyway. In NextPVR I want the filename subtitle and the database subtile to stay synced. Originally I planned that iGL would update the subtitle in npvr.db3 but with the lack of the sort on subtitle it was kind of useless. The new metadata recordings screen will show them in S##E##` order from the filename. If I only update the filename the subtitle on the file and the subtitle on the meta data will be different.
Yes, this was what I wanted in the first place. The suggestion with adding S##E## to the subtitle metadata was only because the old wizrename used that to add S##E## to the filename - suggestion withdrawn.

Still it would be neat to clean up old subtitle metadata information when it is different from the subtitle in the filename.

mvallevand Wrote:What I will do is update the logic that cleans out the S/E and a leading space to also strip the dash or period.
That would be great!

Volker
[SIZE="2"]PVR: Phenom 9150e / 4GB / XP / ATI HD 4200 / HVR-1600 / ATI HD 650 TV WOnder / NextPVR 3.9.2
PVR2: i7-6700k / Win10Pro / 32 GB / GeForce 1070 / WinTV-dualHD / NPVR 3.9.2 / 4TB NAS[/SIZE]
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,823
Threads: 954
Joined: May 2006
#5
2014-11-16, 12:47 AM
Ok now I see you want to use iGL to clean up NextPVR, I'm not sure about that yet. I've written that iGL works best when use the title subtitle from the EPG. I don't want to customize it for those that went their own way.

Martin
vmq
Offline

Member

Posts: 128
Threads: 27
Joined: Dec 2007
#6
2014-11-16, 05:12 PM
Martin, thanks, the new version get's rid of the leading period.

As for updating the subtitles I think I'll try to whip up a sql query / script with a regex that removes leading '^S[0-9]+E[0-9]+-' from my subtitle metadata. Would be much easier if sub would not have crammed all data in event_details. Wink

Volker
[SIZE="2"]PVR: Phenom 9150e / 4GB / XP / ATI HD 4200 / HVR-1600 / ATI HD 650 TV WOnder / NextPVR 3.9.2
PVR2: i7-6700k / Win10Pro / 32 GB / GeForce 1070 / WinTV-dualHD / NPVR 3.9.2 / 4TB NAS[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Update NPVR Database with UniqueID element using NextTool ChrisHammond56 7 1,982 2022-08-18, 03:29 AM
Last Post: sub
  imageGrabLite update mvallevand 20 13,656 2020-04-04, 02:42 AM
Last Post: jksmurf
  Desktop Gadget not working after Win10 Creators Update Bobbybear 1 3,518 2017-06-26, 09:01 PM
Last Post: Bobins
  ImageGrabLite "Read Error Object reference not set to an instance of an object." mjccox 6 5,100 2017-04-11, 07:07 AM
Last Post: rinomasaya
  imageGrabLite episode rename (Super Why) sosuke3 4 3,356 2016-11-24, 10:38 PM
Last Post: sosuke3
  ImageGrabLite and the ampersand ttfitz 8 4,846 2016-05-26, 11:56 PM
Last Post: JavaWiz
  Imagegrablite and NCIS Los Angleles/New Orleans robokd 5 4,012 2016-03-02, 02:40 PM
Last Post: mvallevand
  ImageGrabLite Issues bigjess007 11 7,271 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,380 2015-11-26, 10:25 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