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) GB-PVR Support (legacy) v
« Previous 1 … 603 604 605 606 607 … 1231 Next »
Moving YouTube files into MyVideos folder

 
  • 0 Vote(s) - 0 Average
Moving YouTube files into MyVideos folder
Gemini1706
Offline

Member

Posts: 109
Threads: 26
Joined: Aug 2004
#1
2007-02-10, 06:41 PM
The following windows script will copy the resulting VMR9.mpg file from YouTube plugin into myvideos folder and give it a uinque name (timestamped name).

My question is: Is there a way to make GBPVR execute this vbs script (batch file) automatically after converting to mpg?
Maybe in config.xml??

Or maybe assign a remote bottom to execute this action?

Otherwise I need to use Girder to do this?
No other way?

Code:
Dim objFSO
Set objFSO = CreateObject("Scripting.FileSystemObject")

Dim strCurrentFolder, strTargetFolder, fn1, fn2, strDateTime, str  
strCurrentFolder = "C:\Recordings\"
strTargetFolder = "C:\MyVideos\"
fn1="VMR9.mpg"

str=Now()
strDateTime = DateDiff("s","01/01/1970 00:00:00", str)
fn2="VMR9_" & strDateTime & ".mpg"

f1 = strCurrentFolder & fn1
f2 = strTargetFolder & fn2

If objFSO.FileExists(f1) = True Then
    objFSO.CopyFile f1, f2
End If
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,732
Threads: 767
Joined: Nov 2003
#2
2007-02-10, 07:29 PM
I cant think of any automated way for you to have this run.
Gemini1706
Offline

Member

Posts: 109
Threads: 26
Joined: Aug 2004
#3
2007-02-10, 10:14 PM
Solved using Girder. Works nice.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Moviesheets using MyVideos - Hack jam_zhou 5 6,180 2013-03-06, 07:55 PM
Last Post: jam_zhou
  0 sized files pjm460 4 2,029 2010-12-17, 05:15 PM
Last Post: sub
  Zero-size recording files rawlings471 1 1,647 2010-12-05, 04:12 PM
Last Post: sub
  original files not deleting David B 2 1,708 2010-11-28, 07:22 PM
Last Post: David B
  Attempts to play .dvd files in Video Library results in PVRX2 not responding Jwbrit 2 2,031 2010-11-04, 11:37 PM
Last Post: Jwbrit
  Missing Crossbar Files? David B 8 3,055 2010-11-02, 01:12 AM
Last Post: David B
  FLV files as recordings keith_leitch 10 3,837 2010-09-22, 09:12 PM
Last Post: keith_leitch
  Unable to process .ts files for recording on DVD Trevor_de_S 1 1,518 2010-08-18, 10:50 PM
Last Post: sub
  How to move the gbpvr recordings folder to a new location? navyblue 7 2,841 2010-07-17, 09:32 PM
Last Post: navyblue
  Auto Converting TS Files To MPEG2 Not Working skycyclepilot 2 1,959 2010-07-06, 10:35 AM
Last Post: skycyclepilot

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

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

Linear Mode
Threaded Mode