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) Old Stuff (Legacy) ZTools and UltraXMLTV v
« Previous 1 … 7 8 9 10 11 12 Next »
ZRename Support and Suggestions

 
  • 0 Vote(s) - 0 Average
ZRename Support and Suggestions
-Oz-
Offline

Posting Freak

Posts: 803
Threads: 33
Joined: Aug 2006
#1
2007-05-01, 06:03 AM
this is awesome, i'm gonna try this pretty soon. too bad i did a lot of my upgrades today...
Dan Blomberg
[SIZE="1"]HTPC 1: MSI K8NGM2-FID, AMD 64 3000+, WD 200gb HDD, 1gb ram, NSK2400, PVR-500, Harmony 659
HTPC 2: ASUS M2NPV-VM, AMD 64 3200+, WD 250gb HDD, 1gb ram, nVidia DualTV MCE, NSK2400, Harmony 720
HTPC 3: GIGABYTE GA-E7AUM-DS2H GeForce 9400, Intel E5200 Wolfdale, WD 640gb HDD, 4gb ram, Antec Fusion 2, HVR-1600, hdhomerun, Harmony 880, PCH A-110
GBPVR 1.4.7 Additions: Weather2, UltraXMLTV, Comskip
Project: Setup Logitech Harmony Remote[/SIZE]
-Oz-
Offline

Posting Freak

Posts: 803
Threads: 33
Joined: Aug 2006
#2
2007-05-01, 03:30 PM (This post was last modified: 2007-05-01, 03:57 PM by zehd.)
allright, decided to test it this morning.

I do not have I-XMLTV.

First, for files not in the database (why they're in the recordings folder if they're not in the db is beyond me) it throws a few errors. I would worry about what would happen if it wasn't running manually, would it stop a postprocessing.bat in its track?

Second, what happens to the files with no data, I didn't want to press commit but this screen shows what I'm talking about:

[Image: zr2.jpg]

Third, the error is caused by "The". The show on epguides is just listed as unit. Any way to anticipate this. When i set the url to http://epguides.com/Unit/ it works great.

On that note, it got the ep num for the unit once i manually corrected it but couldn't get it for 24. Any idea why (screenshot below):

[Image: zr1.jpg]

Feature request: If it can't find the episode number can I have an option that by default if no episode number then format Show-Date-Title

So replace where the epnumber would normally go with the date from the file. YYYYMMDD like GBPVR currently does it would be best.

Last question/possible bug: What happens if the connection to epguides.com fails? This would be especially important not in manual mode.

Actual bug: If the file already exists the program gives a run-time error and crashes. Maybe skip in automatic, prompt in manual?

In automatic mode what happens if it can't find anything for the show? Just skip and move on?

This has potential to really be a boost to organization. Good job again Frank. I definitely updated a bunch of my programs this morning.
Dan Blomberg
[SIZE="1"]HTPC 1: MSI K8NGM2-FID, AMD 64 3000+, WD 200gb HDD, 1gb ram, NSK2400, PVR-500, Harmony 659
HTPC 2: ASUS M2NPV-VM, AMD 64 3200+, WD 250gb HDD, 1gb ram, nVidia DualTV MCE, NSK2400, Harmony 720
HTPC 3: GIGABYTE GA-E7AUM-DS2H GeForce 9400, Intel E5200 Wolfdale, WD 640gb HDD, 4gb ram, Antec Fusion 2, HVR-1600, hdhomerun, Harmony 880, PCH A-110
GBPVR 1.4.7 Additions: Weather2, UltraXMLTV, Comskip
Project: Setup Logitech Harmony Remote[/SIZE]
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#3
2007-05-01, 04:19 PM (This post was last modified: 2007-05-01, 04:23 PM by zehd.)
Thanks so much for beta testing my software

-Oz- Wrote:I do not have I-XMLTV.

My next step will be to uninstall ixmltv on my dev computer and watch the database. I don't anticipate any troubles, but I want to be sure it's compatible

Quote:First, for files not in the database (why they're in the recordings folder if they're not in the db is beyond me) it throws a few errors.

If there is a file, any file at all, not necessarily a video file, and it is not referenced in the db, then there should be no data available, and ZRename should not allow you to continue. When run from postprocessing.bat, ZRename would exit at this point.

Quote: I would worry about what would happen if it wasn't running manually, would it stop a postprocessing.bat in its track?

Umm don't do anything till I get home and double check my code, but I'm pretty sure I built the safeguard. (writing a program is easy. User-proofing is like mind reading)

However if the text box directly below the button is saying 'no data available', (that's the OutPut path, and will be labeled next version) then your file does run the risk of being renamed as no data available. I'm going to recreate the problem, interestingly, I haven't had that...

Quote:Third, the error is caused by "The". The show on epguides is just listed as unit. Any way to anticipate this. When i set the url to http://epguides.com/Unit/ it works great.

Yeah. I will work that into a anticipation file. I think I will have a text file that stores the corrections.

Quote:On that note, it got the ep num for the unit once i manually corrected it but couldn't get it for 24. Any idea why ?

I was having trouble with parsing semi colons. I was using a file for 'Star Trek: Enterprise', but forgot that 24's eps have zillions of them. I will work on that parsing...

Quote:Feature request: If it can't find the episode number can I have an option that by default if no episode number then format Show-Date-Title

Actually it does that already, or it should. If there is no season info from net use Airdate. But the airdate is actually stored in the GB-PVR database by I-XMLTV. The standard EPG update does not capture that information.

I will tweak one more fail safe for the date.

---
Quote:Last question/possible bug: What happens if the connection to epguides.com fails? This would be especially important not in manual mode.

Simple. If ZRename is unable to get any usable data from the net, then it will fall back as if you decided not to use it, and use the airdate instead.

That's why you want to be sure it retrieves from the net in manual mode first before you start trusting the postprocessing.bat

Quote:Actual bug: If the file already exists the program gives a run-time error and crashes. Maybe skip in automatic, prompt in manual?

Good catch. What I will do is increment the file name (append a 2, 3, 4) or cancel the rename. I'll make that an option.

Quote:In automatic mode what happens if it can't find anything for the show? Just skip and move on?

Yes


As with all my programs, there's a log in the app directory. Currently ZRename logs the input file, whether it was succesfull getting data from db, net. what data it did find, and whether it aborted. You'll be able to see a list of all files.

I have also written a while ago, a much more robust manual renaming utility. It will help find those URLs that are slightly different from the norm. I have to user-proof it a bit better. More bells and whistles make for more support...
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
-Oz-
Offline

Posting Freak

Posts: 803
Threads: 33
Joined: Aug 2006
#4
2007-05-01, 07:01 PM
I tested it with the database without IXMLTV and it worked just fine (just to let you know).

Regarding the air-date thing, I would really think that GBPVR would store when it was recorded in the database (since it sorts by date). Couldn't that just be used rather than using airdate from ixmltv.

Quote:However if the text box directly below the button is saying 'no data available', (that's the OutPut path, and will be labeled next version) then your file does run the risk of being renamed as no data available. I'm going to recreate the problem, interestingly, I haven't had that...
That is exactly what I was thinking (done enough programming to know how I would write it and how that error would happen) Smile

Quote:Yeah. I will work that into a anticipation file. I think I will have a text file that stores the corrections.
I did a little browsing on epguides and it seems that there is no leading "the" so a simple regex should be able to strip the if its the first word.

I'm really happy for this program and can't wait for some of these tweaks to be worked out and then I'll include it in my nightly postprocessing. comskip, videoredo, xvid, rename, it'll be perfect.

BTW: Are these written in vb? or vb.net? If so, would you be willing to release the source code?
Dan Blomberg
[SIZE="1"]HTPC 1: MSI K8NGM2-FID, AMD 64 3000+, WD 200gb HDD, 1gb ram, NSK2400, PVR-500, Harmony 659
HTPC 2: ASUS M2NPV-VM, AMD 64 3200+, WD 250gb HDD, 1gb ram, nVidia DualTV MCE, NSK2400, Harmony 720
HTPC 3: GIGABYTE GA-E7AUM-DS2H GeForce 9400, Intel E5200 Wolfdale, WD 640gb HDD, 4gb ram, Antec Fusion 2, HVR-1600, hdhomerun, Harmony 880, PCH A-110
GBPVR 1.4.7 Additions: Weather2, UltraXMLTV, Comskip
Project: Setup Logitech Harmony Remote[/SIZE]
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#5
2007-05-01, 08:17 PM
-Oz- Wrote:I tested it with the database without IXMLTV and it worked just fine (just to let you know).

Regarding the air-date thing, I would really think that GBPVR would store when it was recorded in the database (since it sorts by date). Couldn't that just be used rather than using airdate from ixmltv.


That is exactly what I was thinking (done enough programming to know how I would write it and how that error would happen) Smile


I did a little browsing on epguides and it seems that there is no leading "the" so a simple regex should be able to strip the if its the first word.

I'm really happy for this program and can't wait for some of these tweaks to be worked out and then I'll include it in my nightly postprocessing. comskip, videoredo, xvid, rename, it'll be perfect.

BTW: Are these written in vb? or vb.net? If so, would you be willing to release the source code?

Yeah hard coding a strip of 'the' would work. Atleast untill something else trips it up.

It's written in VB6. I was planning on releasing this source code. I'm just worried about too many programmers in the kitchen...
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
-Oz-
Offline

Posting Freak

Posts: 803
Threads: 33
Joined: Aug 2006
#6
2007-05-01, 08:30 PM
yea, the catch to stripping the the is to make sure its only initial the's i think its using ^ for the regex.

I'd love to see the source code. Even if I made no changes I'd like to see how you parse things and such.
Dan Blomberg
[SIZE="1"]HTPC 1: MSI K8NGM2-FID, AMD 64 3000+, WD 200gb HDD, 1gb ram, NSK2400, PVR-500, Harmony 659
HTPC 2: ASUS M2NPV-VM, AMD 64 3200+, WD 250gb HDD, 1gb ram, nVidia DualTV MCE, NSK2400, Harmony 720
HTPC 3: GIGABYTE GA-E7AUM-DS2H GeForce 9400, Intel E5200 Wolfdale, WD 640gb HDD, 4gb ram, Antec Fusion 2, HVR-1600, hdhomerun, Harmony 880, PCH A-110
GBPVR 1.4.7 Additions: Weather2, UltraXMLTV, Comskip
Project: Setup Logitech Harmony Remote[/SIZE]
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#7
2007-05-02, 02:27 AM
New version 1.0.34 fixes your concerns, real good :eek:

http://forums.nextpvr.com/showthread.php?t=26473
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
-Oz-
Offline

Posting Freak

Posts: 803
Threads: 33
Joined: Aug 2006
#8
2007-05-02, 04:23 PM
Awesome Zehd.

Now trying 1.0.39 and am wondering about the following:
-Show: 24 - this is the only show that it seems unable to get the season number and episode number for. Any idea why?

I will say though that the date thing works great without ixmltv.

Bug Report: Periods. A show such as The O.C. needs to be stripped of its periods. Its trying to load http://epguides.com/O.C when it needs to load http://epguides.com/OC. I assume the name should keep the periods but the epguide lookup shouldn't.

Flaws that you can't do anything about: Some shows are stupidly name. Th eone that comes to mind is The Amazing Race. They put the season number at the end. You'd have to hard code each of these. The only way I can think to cover it is to ask the user to correct it then store it in an ini? Doesn't matter really to me but something for you and others to be aware of.

Possible Bug: I'm not sure if its when you're pulling it or how its stored but it has a problem with characters with accent marks. For example Lost: s03e14 is exposé. The system made it a weird set of characters. By manually correcting the title I could pull the correct episode. Not sure where the flaw lies.

Haven't tested it in batch processing yet. That'll probably happen on Thursday since I only record one show and can watch it Smile

Overall though, this is an awesome program that is really gonna make GBPVR perfect. I know it's been requested by a lot of people who are using addepisode or renamerecordings so I'm amazed more people aren't trying it out.
Dan Blomberg
[SIZE="1"]HTPC 1: MSI K8NGM2-FID, AMD 64 3000+, WD 200gb HDD, 1gb ram, NSK2400, PVR-500, Harmony 659
HTPC 2: ASUS M2NPV-VM, AMD 64 3200+, WD 250gb HDD, 1gb ram, nVidia DualTV MCE, NSK2400, Harmony 720
HTPC 3: GIGABYTE GA-E7AUM-DS2H GeForce 9400, Intel E5200 Wolfdale, WD 640gb HDD, 4gb ram, Antec Fusion 2, HVR-1600, hdhomerun, Harmony 880, PCH A-110
GBPVR 1.4.7 Additions: Weather2, UltraXMLTV, Comskip
Project: Setup Logitech Harmony Remote[/SIZE]
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#9
2007-05-02, 05:34 PM (This post was last modified: 2007-05-02, 05:38 PM by zehd.)
Quote:Now trying 1.0.39 and am wondering about the following:
-Show: 24 - this is the only show that it seems unable to get the season number and episode number for. Any idea why?

I'm pretty sure I fixed it. I have been testing with 24 eps a lot. Try ver 40 (or wait for my latest fixes), but I'll still look again when I get home. Maybe zip and post the log when you try a 24 ep on your end...

Quote:I will say though that the date thing works great without ixmltv.

I thought so

Quote:Bug Report: Periods. A show such as The O.C. needs to be stripped of its periods. Its trying to load http://epguides.com/O.C when it needs to load http://epguides.com/OC. I assume the name should keep the periods but the epguide lookup shouldn't.

Good one. I don't watch everything on TV. So there's bound to be shows that don't conform.

Quote:Flaws that you can't do anything about: Some shows are stupidly name. Th one that comes to mind is The Amazing Race. They put the season number at the end. You'd have to hard code each of these. The only way I can think to cover it is to ask the user to correct it then store it in an ini? Doesn't matter really to me but something for you and others to be aware of.

In my more robust version, NetNamer, I have it storing exceptions in an ini. Like you went back in time and suggested it to me...

Quote:Possible Bug: I'm not sure if its when you're pulling it or how its stored but it has a problem with characters with accent marks. For example Lost: s03e14 is exposé. The system made it a weird set of characters. By manually correcting the title I could pull the correct episode. Not sure where the flaw lies.

That's good stuff. I will play with the basic accents. That should be easy

Quote:Overall though, this is an awesome program that is really gonna make GBPVR perfect. I know it's been requested by a lot of people who are using addepisode or renamerecordings so I'm amazed more people aren't trying it out.

Get the word out! Many people are afraid of new. I had the code for ripping html for a year already, but only recently learned how to access the sqlite3 DB

You're really helping me out. Thank you. I have been reading the support threads for addepisode and renamerecording and this has helped me introduce options that I would have not thought of myself.

The biggest thing I wanted to make work, and now it does, is in the post processing batch file. I really thought there had to be a more elegant way of adding a rename command to a batch than is current used with the other renamers...

Next, I'll be incorporating the whole kit 'n kaboodle into ZProcess. So there will just one line in a PostProcessing.bat for everything...
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#10
2007-05-02, 05:44 PM
OZ, from your post #2 this thread your screen shot for '24' shows the episode is 1:00 AM

24 episode titles should look like this:

Code:
Day 6: 1:00 AM - 2:00 AM

Can you confirm that you have exactly that text in the episode text box when you manually open a 24 episode?
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  UltraXMLTV Support... zehd 73 35,839 2010-02-13, 05:59 PM
Last Post: subvertbeats
  TVxb: Does it support import of XML skoka123 1 2,034 2008-08-31, 04:04 PM
Last Post: zehd
  Will ZRENAME rename all files associated with the mpeg? dvasco 2 1,944 2007-10-17, 02:16 AM
Last Post: dvasco
  ZProcess Beta with dvr-ms center cut support zehd 7 3,069 2007-09-24, 04:08 PM
Last Post: zehd
  ZSchedFix Beta Support and Suggestions zehd 54 14,336 2007-07-23, 04:18 AM
Last Post: zehd
  ZRename is failing zehd 0 1,539 2007-07-16, 04:00 PM
Last Post: zehd
  ZRename error Hinde01 1 1,786 2007-07-02, 12:29 AM
Last Post: zehd
  zrename download -Oz- 1 2,065 2007-06-11, 05:37 AM
Last Post: zehd
  ZRename - Beta COMPLETE! zehd 12 5,120 2007-05-24, 06:03 AM
Last Post: zehd
  ZTools Support: Please send system specs and log files! zehd 0 1,990 2007-04-03, 10:08 PM
Last Post: zehd

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

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

Linear Mode
Threaded Mode