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) v
« Previous 1 … 8 9 10 11 12 … 125 Next »
File Renaming Utility: AddEpisode

 
  • 0 Vote(s) - 0 Average
File Renaming Utility: AddEpisode
unixdude
Offline

Junior Member

Posts: 29
Threads: 7
Joined: Feb 2006
#71
2006-09-18, 10:39 PM
turkey Wrote:yup, you got it. it only works on a file with the original gbpvr naming configuration. this is because it pulls some of the renaming info straight from the filename for efficiency. i never indended it to be a command line utility, but i may change that for the next release.

Sweet. Thanks! Big Grin
unixdude Cool[SIZE="1"]
-------------------------------------------------------------------------------------------------------
System One: GB-PVR v0.98.8/Windows XP Pro SP2/AMD Athlon XP 2100+ 1.74Ghz
512MB RAM/Hauppauge PVR 150/ATI Radeon 9600 w/HDTV Adapter(1080i)

System Two: GB-PVR v0.99.5/Windows XP Pro SP2/AMD Athlon 64 3400+ 2.41Ghz
1GB RAM/Hauppauge PVR 150/Nvidea GeForce4 MX 440[/SIZE]
unixdude
Offline

Junior Member

Posts: 29
Threads: 7
Joined: Feb 2006
#72
2006-09-19, 01:20 AM
Sorry for eating up so much bandwidth, but I really like this tool and every time I play with it, I run into more questions...

Here is an example I was following from the wiki...

addepisode %1 “({episode}{or}{show} - {monthnameshort} {day} {yearshort})”

So I tried the following...

addepisode %1 “({episode}{or}{show} - {date})”

But this results in two bad things:

1) It fails and causes my postprocessing.bat to stop and not execute remaining commands.
2) Because I ran addepisode on a file (even though it didn't change the name), it won't try to change it again, so I'm stuck with the original name.

Again... What am I doing wrong?

Thanks!
unixdude Cool[SIZE="1"]
-------------------------------------------------------------------------------------------------------
System One: GB-PVR v0.98.8/Windows XP Pro SP2/AMD Athlon XP 2100+ 1.74Ghz
512MB RAM/Hauppauge PVR 150/ATI Radeon 9600 w/HDTV Adapter(1080i)

System Two: GB-PVR v0.99.5/Windows XP Pro SP2/AMD Athlon 64 3400+ 2.41Ghz
1GB RAM/Hauppauge PVR 150/Nvidea GeForce4 MX 440[/SIZE]
turkey
Offline

Member

Posts: 206
Threads: 17
Joined: Sep 2005
#73
2006-09-19, 01:38 AM
unixdude Wrote:addepisode %1 “({episode}{or}{show} - {date})”

{date} is not a valid format token. however, it should not be producing an error that stops the postprocessing.bat. can you tell me if addepisode is still running? (ctrl-alt-del to the windows task manager)
unixdude
Offline

Junior Member

Posts: 29
Threads: 7
Joined: Feb 2006
#74
2006-09-19, 02:33 AM
To be honest, I do not know. I came home today and my machine was off... I think we had a power outage... so I can't check. But before it shutdown, it recorded several shows. All of which had been successfully comskiped and comcleaned, but none of which had been renamed. I also run some cleanup commands after addepisode and none of those ran. I then verified this with my postprocessing.log because I echo the start and stop of each command in this log. addepisode started for each recording, but never stopped and the cleanup commands never got to run...
unixdude Cool[SIZE="1"]
-------------------------------------------------------------------------------------------------------
System One: GB-PVR v0.98.8/Windows XP Pro SP2/AMD Athlon XP 2100+ 1.74Ghz
512MB RAM/Hauppauge PVR 150/ATI Radeon 9600 w/HDTV Adapter(1080i)

System Two: GB-PVR v0.99.5/Windows XP Pro SP2/AMD Athlon 64 3400+ 2.41Ghz
1GB RAM/Hauppauge PVR 150/Nvidea GeForce4 MX 440[/SIZE]
turkey
Offline

Member

Posts: 206
Threads: 17
Joined: Sep 2005
#75
2006-09-19, 02:42 AM
ok, it sounds like addepisode is stuck in a loop somewhere, and i will look into that problem. assuming you want to keep testing addepisode, change the invalid {date} token to something valid that is in the help file, and see if it hangs up the same way.
unixdude
Offline

Junior Member

Posts: 29
Threads: 7
Joined: Feb 2006
#76
2006-09-19, 02:45 AM
I am truly sorry... I just tried the following:

addepisode %1 “({yearshort}{month}{day} {episode}{or}{show})”

and ended up with this:

ôA Tale of Two Santas.mpg

What I wanted was this:

060917 Tale of Two Santas.mpg

OR (if there was no episode name) this:

060917 Futurama.mpg

I'm usually not this dense... :confused:
unixdude Cool[SIZE="1"]
-------------------------------------------------------------------------------------------------------
System One: GB-PVR v0.98.8/Windows XP Pro SP2/AMD Athlon XP 2100+ 1.74Ghz
512MB RAM/Hauppauge PVR 150/ATI Radeon 9600 w/HDTV Adapter(1080i)

System Two: GB-PVR v0.99.5/Windows XP Pro SP2/AMD Athlon 64 3400+ 2.41Ghz
1GB RAM/Hauppauge PVR 150/Nvidea GeForce4 MX 440[/SIZE]
unixdude
Offline

Junior Member

Posts: 29
Threads: 7
Joined: Feb 2006
#77
2006-09-19, 02:58 AM
turkey Wrote:assuming you want to keep testing addepisode, change the invalid {date} token to something valid that is in the help file, and see if it hangs up the same way.

I really do like the program and I'll help you test it as much as you want... Do you have the patience for me? Wink
unixdude Cool[SIZE="1"]
-------------------------------------------------------------------------------------------------------
System One: GB-PVR v0.98.8/Windows XP Pro SP2/AMD Athlon XP 2100+ 1.74Ghz
512MB RAM/Hauppauge PVR 150/ATI Radeon 9600 w/HDTV Adapter(1080i)

System Two: GB-PVR v0.99.5/Windows XP Pro SP2/AMD Athlon 64 3400+ 2.41Ghz
1GB RAM/Hauppauge PVR 150/Nvidea GeForce4 MX 440[/SIZE]
unixdude
Offline

Junior Member

Posts: 29
Threads: 7
Joined: Feb 2006
#78
2006-09-19, 04:10 AM
Eureka! I think I finally figured out the syntax... this does what I want it to:

addepisode %1 "({yearshort}{month}{day} {episode}{or}{yearshort}{month}{day} {show})"
unixdude Cool[SIZE="1"]
-------------------------------------------------------------------------------------------------------
System One: GB-PVR v0.98.8/Windows XP Pro SP2/AMD Athlon XP 2100+ 1.74Ghz
512MB RAM/Hauppauge PVR 150/ATI Radeon 9600 w/HDTV Adapter(1080i)

System Two: GB-PVR v0.99.5/Windows XP Pro SP2/AMD Athlon 64 3400+ 2.41Ghz
1GB RAM/Hauppauge PVR 150/Nvidea GeForce4 MX 440[/SIZE]
gEd
Offline

Posting Freak

London
Posts: 3,515
Threads: 100
Joined: Jan 2005
#79
2006-09-19, 07:02 PM
yeh, the following text from the wiki uses the wrong quote (") characters

addepisode %1 “({yearshort}{month}{day} {episode}{or}{show})”
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
turkey
Offline

Member

Posts: 206
Threads: 17
Joined: Sep 2005
#80
2006-09-19, 10:37 PM (This post was last modified: 2006-09-19, 10:43 PM by turkey.)
unixdude Wrote:addepisode %1 "({yearshort}{month}{day} {episode}{or}{yearshort}{month}{day} {show})"

while i am glad you have worked it out on your own, that format is not how i intended the {or} to work. Addepisode should look at everything between the ( and the {or}, and see if it exists. If there is somethning there, it uses that, and throws out everything between the {or} and the ). For example, I would use the following line for what you want:

addepisode %1 "{yearshort}{month}{day} ({episode}{or}{show})"

it will add the date to every filename, and choose between the episode or show only. Notice though that i say it "should" work that way. Anyway, I'm glad it is working for you. Let me know if you have any more problems.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (19): « Previous 1 … 6 7 8 9 10 … 19 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  vidImport utility support carpeVideo 73 53,709 2012-05-27, 06:27 AM
Last Post: jksmurf
  xmltv doesn't import all the channel information in xmltv file vokuit00 2 2,808 2010-06-07, 04:35 AM
Last Post: vokuit00
  transcode from file.ts to file.mpeg in parallelproocessing alevideotestservice 4 2,834 2009-12-30, 07:27 PM
Last Post: alevideotestservice
  Showanalyzer Doesn't Run While Show is Recording a .TS File ww4397 1 2,519 2009-12-02, 11:14 AM
Last Post: ww4397
  Newbie needs help with renaming external plugins and making some plugins to work Chris79 2 2,353 2009-06-14, 05:36 AM
Last Post: Chris79
  Comskip: Interpreting the aspects file zehd 0 1,557 2008-11-29, 07:41 AM
Last Post: zehd
  EPG Utility: YApi2XML (discontinued) -Oz- 503 132,788 2008-11-28, 08:55 PM
Last Post: zehd
  Extended program information utility? SLR_65 10 5,388 2008-10-29, 02:33 AM
Last Post: UncleJohnsBand
  SkipTool creates a bogus file if the name contains & mkenyon2 40 14,846 2008-10-23, 06:59 PM
Last Post: pastro
  yapi2cml reporting corrupted listing file? teookie 1 1,657 2008-09-25, 10:50 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