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 … 54 55 56 57 58 … 125 Next »
How do I do this? Can not find help.

 
  • 0 Vote(s) - 0 Average
How do I do this? Can not find help.
doggyfromplanetwoof
Offline

Junior Member

Posts: 16
Threads: 2
Joined: Apr 2006
#1
2006-08-16, 03:57 AM
This is my PostProcessing.bat file:

Quote:@echo off
e:
cd "e:\Program Files\gbpvr"

RenameRecording -t %1

echo %1 >> transcodeQ.txt

I have it rename the file based on episode than move the file to transcodeQ.txt which ques it up for transcoding and comclean.

It renames the file fine, but does not put the new name into transcodeQ.txt, instead of Family Guy - Death Visists it is Family Guy_20060814_0120300.

My question: How do I add the renamed file to transcodeQ.txt?

Thank you!!
agidius
Offline

Senior Member

Posts: 469
Threads: 77
Joined: Apr 2006
#2
2006-08-16, 05:28 AM
because the %1 represents the 1st argument for the batch file.
it will not change mid-processing of the file.
the filename itself may have changed, but %1 will be the old name until the batch file ends.

I cant think of a way to do what you want this late in the evening, but hopefully with the above knowledge, you will understand the problem better.
Server--AthlonXP 2100+ \ PVR150MCE \ HVR1600 x2
Client 1--Athlon64 3200+
Client 2--Athlon64 3700+
Client 3--Turion64x2 1.9 laptop
stefan
Offline

Posting Freak

Posts: 3,116
Threads: 81
Joined: Oct 2004
#3
2006-08-16, 06:12 AM
I don't think you can easily find out the name of the show after it has been recorded. But you can get the output from renamerecording like so:
Code:
RenameRecording.exe -t %1 > rename.log
I'm not always right
GB-PVR 1.2.9
Accent HT-400 Case, AMD Athlon 64 3800+ 1024MB, 1TB+300GB+180GB, WinXP Pro-SP2, NVidia 7600GT
Nova-T USB2, PVR-350 recording from Dilog 355 DVB-T box, USB-UIRT (receiving & transmitting)
stefan
Offline

Posting Freak

Posts: 3,116
Threads: 81
Joined: Oct 2004
#4
2006-08-16, 06:13 AM
Eh... strike that... I just saw what you wanted to do. Sorry.
I'm not always right
GB-PVR 1.2.9
Accent HT-400 Case, AMD Athlon 64 3800+ 1024MB, 1TB+300GB+180GB, WinXP Pro-SP2, NVidia 7600GT
Nova-T USB2, PVR-350 recording from Dilog 355 DVB-T box, USB-UIRT (receiving & transmitting)
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#5
2006-08-16, 08:19 AM (This post was last modified: 2006-08-16, 08:37 AM by pBS.)
what gets output from the renamerecordings > log?
if just the new name then it's possible...
just re-read the filename back in from that file with a 'for' loop..
but if there's more in there than the new filename some extra stuff would have to be done..i don't use so not sure...
Code:
RenameRecording.exe -t %1 > rename.log
for /f "usebackq tokens=*" %%f in (rename.log) do echo "%%ff" >>transcodeQ.txt
Big Grin
post what it shows in the rename.log and i can adjust...
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
doggyfromplanetwoof
Offline

Junior Member

Posts: 16
Threads: 2
Joined: Apr 2006
#6
2006-08-16, 02:33 PM (This post was last modified: 2006-08-16, 02:58 PM by doggyfromplanetwoof.)
Hello,

This is what outputs to rename.log:

Quote:RenameRecording v1.1 build20051223
Title: King of the Hill
Argument: -t E:\My Documents\My Videos\Recorded TV\King of the Hill\King of the Hill_20060816_10001030.mpg
Episode name: King of the Hill - Little Horrors of Shop
Episode Oid: 93
Renaming file: E:\My Documents\My Videos\Recorded TV\King of the Hill\King of the Hill_20060816_10001030.bat
to: E:\My Documents\My Videos\Recorded TV\King of the Hill\King of the Hill - Little Horrors of Shop.bat
Renaming file: E:\My Documents\My Videos\Recorded TV\King of the Hill\King of the Hill_20060816_10001030.log
to: E:\My Documents\My Videos\Recorded TV\King of the Hill\King of the Hill - Little Horrors of Shop.log
Renaming file: E:\My Documents\My Videos\Recorded TV\King of the Hill\King of the Hill_20060816_10001030.mpg
to: E:\My Documents\My Videos\Recorded TV\King of the Hill\King of the Hill - Little Horrors of Shop.mpg
Renaming file: E:\My Documents\My Videos\Recorded TV\King of the Hill\King of the Hill_20060816_10001030.txt
to: E:\My Documents\My Videos\Recorded TV\King of the Hill\King of the Hill - Little Horrors of Shop.txt

With your batch code pBS, my transcodeQ.txt I get:

Quote:"RenameRecording v1.1 build20051223f"
"Title: King of the Hillf"
"Argument: -t E:\My Documents\My Videos\Recorded TV\King of the Hill\King of the Hill_20060816_10001030.mpgf"
"Episode name: King of the Hill - Little Horrors of Shopf"
"Episode Oid: 93f"
"Renaming file: E:\My Documents\My Videos\Recorded TV\King of the Hill\King of the Hill_20060816_10001030.batf"
"to: E:\My Documents\My Videos\Recorded TV\King of the Hill\King of the Hill - Little Horrors of Shop.batf"
"Renaming file: E:\My Documents\My Videos\Recorded TV\King of the Hill\King of the Hill_20060816_10001030.logf"
"to: E:\My Documents\My Videos\Recorded TV\King of the Hill\King of the Hill - Little Horrors of Shop.logf"
"Renaming file: E:\My Documents\My Videos\Recorded TV\King of the Hill\King of the Hill_20060816_10001030.mpgf"
"to: E:\My Documents\My Videos\Recorded TV\King of the Hill\King of the Hill - Little Horrors of Shop.mpgf"
"Renaming file: E:\My Documents\My Videos\Recorded TV\King of the Hill\King of the Hill_20060816_10001030.txtf"
"to: E:\My Documents\My Videos\Recorded TV\King of the Hill\King of the Hill - Little Horrors of Shop.txtf"


Am I asking the impossible?
jam_zhou
Offline

Senior Member

Posts: 632
Threads: 179
Joined: Sep 2005
#7
2006-08-16, 04:39 PM (This post was last modified: 2006-08-16, 07:07 PM by jam_zhou.)
ah age old problem...here's a solution....

takes in rename.log from the same directory and spits out the renamed file name into a file called nename.log

Look in the code and adjust the logic to your desires.

Most likely put the vbs file into your gbpvr directory along with your rename.log. In postprocessing.bat you should run newname.vbs

EDIT: changed script to trim all spaces before and after the file name.
E6400, 2 GB RAM ,500 GB + 250 GB HD, PVR150+ Adaptec 3610, RW 2 + HIP, Antec 2480 w/ mini ninja ...still using v 0.99
doggyfromplanetwoof
Offline

Junior Member

Posts: 16
Threads: 2
Joined: Apr 2006
#8
2006-08-16, 06:35 PM
jam_zhou Wrote:ah age old problem...here's a solution....

takes in rename.log from the same directory and spits out the renamed file name into a file called nename.log

Look in the code and adjust the logic to your desires.

Most likely put the vbs file into your gbpvr directory along with your rename.log. In postprocessing.bat you should run newname.vbs

Works like a charm, does what I need it to do.

But I have a new problem Sad

It palces the rename file to my transcodeQ.txt (Edited the newname.vbs for my desires, thanks! Awesome file.) like this:
" E:\My Documents\My Videos\Recorded TV\Roseanne\Roseanne - Like a Virgin.mpg"
^Note the huge space (There is about 10 spaces of space)

and not like:
"E:\My Documents\My Videos\Recorded TV\Roseanne\Roseanne - Like a Virgin.mpg"
^tight, word wraped.

Although it adds the file fine, it adds a space making it where I can not run my transcode batch file, it errors out becuase of it. Any clue why this is happening (How to remove that space.)?

Again, thank you soooo much, I feel so happy about this hands free setup now GBPVR ftw!
jam_zhou
Offline

Senior Member

Posts: 632
Threads: 179
Joined: Sep 2005
#9
2006-08-16, 07:08 PM
doggy...

download the file again. I've changed it to trim all spaces before and after the file name.

BTW, what transcode script are you using?
E6400, 2 GB RAM ,500 GB + 250 GB HD, PVR150+ Adaptec 3610, RW 2 + HIP, Antec 2480 w/ mini ninja ...still using v 0.99
doggyfromplanetwoof
Offline

Junior Member

Posts: 16
Threads: 2
Joined: Apr 2006
#10
2006-08-16, 07:21 PM
I am using this one (found on wiki, edited to my desires.)

[ATTACHMENT NOT FOUND]

Thanks, I will try the new file! Big Grin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  comskip doesnt find commercials fldavem 1 1,468 2006-06-26, 09:22 PM
Last Post: erik
  Cant find why plugin wont play ISO ricklous 2 1,737 2006-01-19, 08:34 PM
Last Post: ricklous
  Unable to find....SpecialElement[@name="MenuType"] capone 11 3,582 2005-10-25, 06:09 AM
Last Post: capone
  XRecord find character set does not include & erik 1 1,055 2005-08-19, 09:02 PM
Last Post: jorm
  X-Record / Fast Find ydekmekji 5 2,444 2005-06-08, 09:14 PM
Last Post: HamsterGirl35
  Xrecord info and Find fast request Lucas_24 1 1,800 2005-06-02, 07:58 PM
Last Post: jorm

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

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

Linear Mode
Threaded Mode