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
SniperDude
Offline

Member

Posts: 185
Threads: 6
Joined: Dec 2005
#11
2006-08-18, 02:37 AM
I would probally add them this way.... if they are in the database... kind of a shortcut to what Turkey posted..

open a command prompt:

FOR EACH /R %f in (*.mpg) DO addepisode "%f"

its the way I use in my first version of this batch file add before Turkey put it in the slick EXE file...

start in your video folder... and it will work recursively down... or change *.mpg to a full path\*.mpg ...
you might want to do a full path name to addepisode as well...
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,588
Threads: 410
Joined: Jul 2005
#12
2006-08-18, 02:50 AM
daveid Wrote:you should keep your insulting comments to yourself, you didn't even bother to read what was posted. .... you are rude and should learn some manners.
LOL, look I'm really sorry if you feel insulted Dave, but it was meant purely as a joke, and I did type a big "LOL" and a BIG GRIN to point in that general direction.

The error threw out a button which just said "here". Turkey wrote download it "here" in his original post, so for me there was an "ironic" connection. I saw a funny side to that; They say humour doesn't translate very well over a keyboard but I'm sure some folks got the slightly warped humour. Personally I thought it was hilarious, in a rather silly way, and my post reflected that. No offence was intended. Smile

k.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
garyeuph
Offline

Member

Posts: 161
Threads: 18
Joined: Apr 2006
#13
2006-08-18, 07:28 AM
SniperDude Wrote:I would probally add them this way.... if they are in the database... kind of a shortcut to what Turkey posted..

open a command prompt:

FOR EACH /R %f in (*.mpg) DO addepisode "%f"

its the way I use in my first version of this batch file add before Turkey put it in the slick EXE file...

start in your video folder... and it will work recursively down... or change *.mpg to a full path\*.mpg ...
you might want to do a full path name to addepisode as well...

Thanks for this, very clever batch file. I had been doing them one at a time using the 'open with' right click mouse button, but this is far quicker.

Gary
GBPVR 1.4.7
Hauppauge PVR150, Hauppauge Nova-T 9200
Nvidia 6200 S-Video to WS TV
AMD 3200, HD 250GB and 500GB
NTL Samsung with Red-Eye Serial
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#14
2006-08-19, 09:11 AM
i'm having a problem with shows and files/dirs that have a "&" in them...
is it an auto-it script? i get auto-it errors...[line 0, array var $temp[x] ]
probably because auto-it chokes on that character..Smile
if you find a way around it i'd love to know...
[maybe using unicode or something or like raw ascii digits?]
i have a few shows that have the "&" in showname[thus in dir too],filename, and title...was hoping i could rename with this...lol

i tried decompiling but it wouldn't work..would love to see how you did db access...just saw that on their site..[Sqlite for Auto-it]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
turkey
Offline

Member

Posts: 206
Threads: 17
Joined: Sep 2005
#15
2006-08-19, 02:24 PM
pBS Wrote:i'm having a problem with shows and files/dirs that have a "&" in them...

huh...this shouldn't be happening, as i built in a function to get rid of illegal characters. if you post the error message i'll have a look at it. it may have something to do with the directories that include illegal characters, because i have never tested that configuration. i have gbpvr set to put all of the recordings in one directory instead of making a new one for each show.

yes, this is an auto-it script. i used a udf for the database functions.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#16
2006-08-20, 02:28 AM
here's the error from the script..
any chance i could see how you used the udf to access the db?
decompiling, said it wasn't a compiled script? i need to find a way to account for those funky chars myself...would be greatly appreciated..

the file i was trying was:
Code:
"E:\mpg\Nightmares & Dreamscapes From the Stories of Step\Nightmares & Dreamscapes From the Stories of Step_20060713_22002300.mpg"
Smile
works fine from batch files...[but not auto-it]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
ww4397
Offline

Senior Member

Posts: 382
Threads: 47
Joined: Oct 2005
#17
2006-08-20, 04:39 PM
A little bug I found with Manual Recording. AddEpisode brings up an error when it runs (I have it run in PostProcessing.bat) after a manual recording. I guessing that there is no episode infomration for a manual recording?

Thanks for a great plugin!
Canuck69
Offline

Junior Member

Posts: 7
Threads: 1
Joined: Apr 2005
#18
2006-08-22, 10:42 PM
I was just wondering if there is a way to add the date to the end of the
file name that addepisode just renamed.
turkey
Offline

Member

Posts: 206
Threads: 17
Joined: Sep 2005
#19
2006-08-22, 11:00 PM
pBS Wrote:here's the error from the script..
any chance i could see how you used the udf to access the db?
decompiling, said it wasn't a compiled script? i need to find a way to account for those funky chars myself...would be greatly appreciated..
if you are looking for auto-it help for database access, I use this udf by randallc. Basically, it uses the sqlite3.exe file that I have packaged with addepisode to read and write to the database. You can also use sqlite3.exe as a command line editor of sqlite.

pBS Wrote:
Code:
"E:\mpg\Nightmares & Dreamscapes From the Stories of Step\Nightmares & Dreamscapes From the Stories of Step_20060713_22002300.mpg"

I'll have a look at this. Thanks for the bug report!
turkey
Offline

Member

Posts: 206
Threads: 17
Joined: Sep 2005
#20
2006-08-22, 11:03 PM
ww4397 Wrote:AddEpisode brings up an error when it runs (I have it run in PostProcessing.bat) after a manual recording. I guessing that there is no episode infomration for a manual recording?

your exactly right. I dont do alot of manual recording, so I never ran across this, (or thought about it).

Ill have a look at it and get it fixed. Thanks for letting me know!
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (19): « Previous 1 2 3 4 5 … 19 Next »
Jump to page 


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