Windows Entertainment and Connected Home

How to organize, access and enjoy all of your media in and around your home

DVRMSToolbox: Automated Commercial Detection, Skipping, and much more.

  • rated by 12 users
  • This post has 890 Replies |
  • 44 Followers
Page 17 of 60 (891 items) «1516171819»
  •  
    hlkc:

    Yes, I did that for sure. I think I did that too before I complete removed that DVRMSTool folder. After I start -> run -> regedt32 then  what should I look for? DVRMSTToolbox?



    browse to HKEY_LOCAL_MACHINE\Software\DVRMSToolbox.  right click on DVRMSToolbox, select "Export" from the context menu.
  •  
    babgVant:
    hlkc:

    Yes, I did that for sure. I think I did that too before I complete removed that DVRMSTool folder. After I start -> run -> regedt32 then  what should I look for? DVRMSTToolbox?



    browse to HKEY_LOCAL_MACHINE\Software\DVRMSToolbox.  right click on DVRMSToolbox, select "Export" from the context menu.

    Thanks for all the help - I will do that and PM to you when I return home for lunch. Thanks again!

    Hardware: Intel H67, i3 2100, Ceton Software: W7 Ultimate, AnyDVD HD, TMT5, MyMovies 4 PR5, HomeSeer
  •  

    I have the file. For whatever reason, I am not able to upload and PM you. Can u email me your email address and I will send it to you right away. Thanks!

    hlkc@yahoo.com

    Hardware: Intel H67, i3 2100, Ceton Software: W7 Ultimate, AnyDVD HD, TMT5, MyMovies 4 PR5, HomeSeer
  •  

    Thank you for the script babgVant.

    It works perfectly as long as I output a DVR-MS, however I gave you incomplete information as I would like the output file to be an MPEG.

    What I am actually trying to do is:

    1. Schedule series recording in MCE (done)
    2. Automatically use a modified "Convert DVR-MS to MPEG w/o commercials" that natively finds commercials (Find Commercials in DVR-MS) and outputs an MPEG
    3. Rename the output MPEG to <Series> - <Episode>
    4. Eventually I would have the input file deleted too, once I have it working right

    Though I do not care where the renaming takes place, for the time being I would prefer to leave the input file name intact.

    That said, in the "c:\program files\dvrmstoolbox\renfile.vbs" "%OutputFile%", can I use either %TempFile% to rename the temporary DVR-MS before it gets converted to MPEG, or can I use %InputFile% to rename the original file before finding comercials and conversion? I can see problems with either as they are changing the names of the files that are still being worked on.

    How about something like: "c:\program files\dvrmstoolbox\renfile.vbs" "%InputFile%" "%OutputFile%" that would take the episode information from the input file, but rename the output file?

    Thank you again.

  •  
    Spewie:

    Thank you for the script babgVant.

    It works perfectly as long as I output a DVR-MS, however I gave you incomplete information as I would like the output file to be an MPEG.

    What I am actually trying to do is:

    1. Schedule series recording in MCE (done)
    2. Automatically use a modified "Convert DVR-MS to MPEG w/o commercials" that natively finds commercials (Find Commercials in DVR-MS) and outputs an MPEG
    3. Rename the output MPEG to <Series> - <Episode>
    4. Eventually I would have the input file deleted too, once I have it working right

    Though I do not care where the renaming takes place, for the time being I would prefer to leave the input file name intact.

    That said, in the "c:\program files\dvrmstoolbox\renfile.vbs" "%OutputFile%", can I use either %TempFile% to rename the temporary DVR-MS before it gets converted to MPEG, or can I use %InputFile% to rename the original file before finding comercials and conversion? I can see problems with either as they are changing the names of the files that are still being worked on.

    How about something like: "c:\program files\dvrmstoolbox\renfile.vbs" "%InputFile%" "%OutputFile%" that would take the episode information from the input file, but rename the output file?

    Thank you again.



    '-------------------------------------------------------------------

    sub ChangeOutFileName(inFilePath, outFilePath)
        dim title, subtitle, folderName, fileName, createDate
        dim objShell, objFolder
        Dim fso, item, f

        Set fso = CreateObject("Scripting.FileSystemObject")
        Set objShell = CreateObject("Shell.Application")

        folderName = fso.GetParentFolderName(inFilePath)
        fileName = fso.GetFileName(inFilePath)

        Set objFolder = objShell.Namespace(folderName)  
        set item = objFolder.ParseName(fileName)
        'Wscript.Echo item.name
        '10 = album title
        title = objFolder.GetDetailsOf(item, 10)
        '29 = episode name
        subtitle = objFolder.GetDetailsOf(item, 29)
        '4 = create date
        createDate = objFolder.GetDetailsOf(item, 4)
       
        if subtitle = "" then 'if there isn't an episode name use the create date
            subtitle = Replace(Replace(Replace(createDate, "/", "_"), " ", "_"), ":", "_")
        end if
       
        set f = fso.GetFile(outFilePath)
       
        f.name = title & " - " & subtitle & "." & fso.GetExtensionName(outFilePath)

        set f = nothing
        set item = nothing

        set objFolder = nothing
        set objShell = nothing
        set fso = nothing
    end sub


    dim args
    set args = wscript.arguments

    ChangeOutFileName args(0), args(1)

    set args = nothing
    '-------------------------------------------------------------------

    usage is as indicated above - "c:\program files\dvrmstoolbox\renfile.vbs" "%InputFile%" "%OutputFile%"

    the script should probably have some error checking, or at least error condition checking (i.e. the input/output file need to exist) but this gives the basic framework.
  •  

    NEWB QUESTION ALERT:

    I just installed this program and Show Analyzer (the one that came with it) and followed the instructions on the Wiki to a T for detecting commericals in Recorded TV.  My question is, how can I verify it is actually working (ie, watching the folder for new shows and processing them as it sees them) and 2., is there a way to disable the popup that happens when you watch a show that has no commerical file?  I have a lot of saved TV that has not been processed obviously(and probably never will), and would like it just to assume if there is no comm file, then I don't want to process it.  Thanks in advance!!

    _______ ED7
  •  
    electricd7:

    NEWB QUESTION ALERT:

    I just installed this program and Show Analyzer (the one that came with it) and followed the instructions on the Wiki to a T for detecting commericals in Recorded TV.  My question is, how can I verify it is actually working (ie, watching the folder for new shows and processing them as it sees them) and 2., is there a way to disable the popup that happens when you watch a show that has no commerical file?  I have a lot of saved TV that has not been processed obviously(and probably never will), and would like it just to assume if there is no comm file, then I don't want to process it.  Thanks in advance!!



    in the settings tool there are options to write events for the fw service, select the options you're interested in.  there's also a setting to control the prompt behavior on the addin tab.
  •  

    I'm registed with SA and happy with it, but I'm curious if somebody here has done some comparisons with SA and the new DVR-MS able Comskip. How does detection and performance compare on the two options?

    Thanks,

    Randy

     

    -- Randy Harris http://www.MacSeven.com
  •  
    RandyHarris:

    I'm registed with SA and happy with it, but I'm curious if somebody here has done some comparisons with SA and the new DVR-MS able Comskip. How does detection and performance compare on the two options?

    Thanks,

    Randy

     



    with the default setting comskip wasn't anywhere close to the accuracy of SA.  I didn't mess with changing the settings too much, as I'm very happy with the results I get from SA.

    If someone has settings that make comskip work better I would like to integrate them.
  •  

    Again, thank you for the effort that you're putting in here for me.

    it seems like it is SO close but something is missing in my understanding.

    The script gets run, but the output file name does not get changed.

    FW Begin Process C:\Documents and Settings\All Users\Documents\Recorded TV\smallville_ckvu_27_04_2006_19_59_03.dvr-ms
    InputFile=C:\Documents and Settings\All Users\Documents\Recorded TV\smallville_ckvu_27_04_2006_19_59_03.dvr-ms
    Processing actions, this may take some time!!
    Testing "Processed Files"
    Testing "Every File"
    "Every File" is a match.
    Profile = dvrmsmpegnocommrename
    Delete files from D:\temp
    Duration = 00:00:00.1250000
    Migrate value in Context["InputFile"] to Context["TempMpeg"]
    Duration = 00:00:00
    Find Commercials in file

    >>SNIP lots<<

    End Splice
    Duration = 00:01:44.2968750
    Output DVR-MS file as one MPEG stream
    Conversion Started: D:\temp\smallville_ckvu_27_04_2006_19_59_03fileprocess.dvr-ms to U:\Converted\smallville_ckvu_27_04_2006_19_59_03fileprocess.mpg

    >>SNIP<<

    Conversion Complete
    Duration = 00:02:41.5937500
    Run cscript "c:\program files\dvrmstoolbox\rename.vbs" "C:\Documents and Settings\All Users\Documents\Recorded TV\smallville_ckvu_27_04_2006_19_59_03.dvr-ms" "U:\Converted\smallville_ckvu_27_04_2006_19_59_03fileprocess.dvr-ms"
    Microsoft (R) Windows Script Host Version 5.6
    Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
    Duration = 00:00:05.1250000
    Total Duration = 00:08:04.0781250

    When the script gets called, the output file here is shown as a dvr-ms rather than an mpg, so I would assume that nothing happens because it cannot find the output file. (I called the newer script "rename.vbs" and kept the earlier one as well)

     

  •  
    Spewie:

    Again, thank you for the effort that you're putting in here for me.

    it seems like it is SO close but something is missing in my understanding.

    The script gets run, but the output file name does not get changed.

    FW Begin Process C:\Documents and Settings\All Users\Documents\Recorded TV\smallville_ckvu_27_04_2006_19_59_03.dvr-ms
    InputFile=C:\Documents and Settings\All Users\Documents\Recorded TV\smallville_ckvu_27_04_2006_19_59_03.dvr-ms
    Processing actions, this may take some time!!
    Testing "Processed Files"
    Testing "Every File"
    "Every File" is a match.
    Profile = dvrmsmpegnocommrename
    Delete files from D:\temp
    Duration = 00:00:00.1250000
    Migrate value in Context["InputFile"] to Context["TempMpeg"]
    Duration = 00:00:00
    Find Commercials in file

    >>SNIP lots<<

    End Splice
    Duration = 00:01:44.2968750
    Output DVR-MS file as one MPEG stream
    Conversion Started: D:\temp\smallville_ckvu_27_04_2006_19_59_03fileprocess.dvr-ms to U:\Converted\smallville_ckvu_27_04_2006_19_59_03fileprocess.mpg

    >>SNIP<<

    Conversion Complete
    Duration = 00:02:41.5937500
    Run cscript "c:\program files\dvrmstoolbox\rename.vbs" "C:\Documents and Settings\All Users\Documents\Recorded TV\smallville_ckvu_27_04_2006_19_59_03.dvr-ms" "U:\Converted\smallville_ckvu_27_04_2006_19_59_03fileprocess.dvr-ms"
    Microsoft (R) Windows Script Host Version 5.6
    Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
    Duration = 00:00:05.1250000
    Total Duration = 00:08:04.0781250

    When the script gets called, the output file here is shown as a dvr-ms rather than an mpg, so I would assume that nothing happens because it cannot find the output file. (I called the newer script "rename.vbs" and kept the earlier one as well)



    I forgot that the file ext on OutputFile has no real meaning inside the tool (it's ignored by all of the actions).  The script below will work for mpeg, mpg, wmv, and dvr-ms.  other file types can be added by putting them in the list "Split("mpeg,mpg,wmv,dvr-ms", ",")"

    '-------------------------------------------------------
    sub ChangeOutFileName(inFilePath, outFilePath)
        dim title, subtitle, folderName, fileName, createDate
        dim objShell, objFolder
        Dim fso, item, f, posfileext, ext, tmpFilePath
       
        posfileext = Split("mpeg,mpg,wmv,dvr-ms", ",")

        Set fso = CreateObject("Scripting.FileSystemObject")
        Set objShell = CreateObject("Shell.Application")

        folderName = fso.GetParentFolderName(inFilePath)
        fileName = fso.GetFileName(inFilePath)

        Set objFolder = objShell.Namespace(folderName)  
        set item = objFolder.ParseName(fileName)
        'Wscript.Echo item.name
        '10 = album title
        title = objFolder.GetDetailsOf(item, 10)
        '29 = episode name
        subtitle = objFolder.GetDetailsOf(item, 29)
        '4 = create date
        createDate = objFolder.GetDetailsOf(item, 4)
       
        if subtitle = "" then 'if there isn't an episode name use the create date
            subtitle = Replace(Replace(Replace(createDate, "/", "_"), " ", "_"), ":", "_")
        end if
       
        set f = nothing
       
        for each ext in posfileext
            tmpFilePath = Replace(outFilePath, fso.GetExtensionName(outFilePath), ext)
            'wscript.echo(tmpFilePath)
            if fso.FileExists(tmpFilePath) then
                set f = fso.GetFile(tmpFilePath)
                exit for
            end if
        next
           
        if not f is nothing then
            f.name = title & " - " & subtitle & "." & fso.GetExtensionName(f.name)
        end if
       
        set f = nothing
        set item = nothing

        set objFolder = nothing
        set objShell = nothing
        set fso = nothing
    end sub


    dim args
    set args = wscript.arguments

    ChangeOutFileName args(0), args(1)

    set args = nothing
    '-------------------------------------------------------

  •  

    :)

    I can't wait to get home and try it !

     

    Thank you so much.

    Mike

  •  
    babgVant,
     
    Unfortunately we're finding the inability to close the MCE pop-ups rather annoying and I wonder if there might be something you could do.
     
    You mentioned you could pass the right arrow on to MCE.  Can you pass any key/button press to MCE without the key/button being actually pressed?
     
    If so, how difficult would it be to map an unused (while watching TV) remote button to sending MCE a right arrow followed by OK?  I don't think "clear" is used (at least we never use it) and it's a relatively intuitive button to clear a pop-up. 
     
    BTW, I have tried every single button on the remote and nothing currently clears the pop-up once the commercial skip addin is installed (right arrow followed by OK is the only way to dismiss it without first going into Recorded TV).
     
    One additional question I have for you.  Do you have a donation paypal account setup for DVRMSToolbox?

     

    STB w/R5000HD USB I/O, Gigabyte GA-P35-DS4, Quad Q6600, 4.0 GB RAM, ATI HD 3870 512MB, Ultra XVS 600W PSU, 3x SATA 500GB, 2x SATA 300GB, LG GGC-H20L, PVR-250, Toshiba 51H83 (51" HDTV), Yamaha RX-V2400 Amp, 5x Energy Speakers, SVS Sub, Harmony 880 Remote
  •  

    SWEET!!Big Smile [:D]

    Conversion Complete
    Duration = 00:02:47.5781250
    Run cscript "c:\program files\dvrmstoolbox\rename.vbs" "C:\Documents and Settings\All Users\Documents\Recorded TV\Batch\Smallville_YTVP_28_04_2006_01_34_03.dvr-ms" "U:\Converted\Smallville_YTVP_28_04_2006_01_34_03.dvr-ms"
    Microsoft (R) Windows Script Host Version 5.6
    Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.


    Duration = 00:00:05.2500000
    Total Duration = 00:12:55.6562500

    End Result : Smallville - Devoted.mpg

    And like HT Slider before me asked... Do you have a way for me to say thanks?

     

    Thank you,

    Mike

  •  

    Hi,

    During install I get a msgbox ...

    DVRMSToolbox
    An exception occurred in the OnAfterInstall event handler of
    Durrant.DVMSToolbox.CACLS. -> Method not found: Void
    Durrant.Common.Settings.set_TempatesDirectory(System.String).
    btnOK

    followed by msgbox ...

    DVRMSToolbox
    Could not find file "c:\program files\dvrmstoolbox\dvrmsfilewatcherservice.InstallState".
    btnOK

    followed by rollback

    I have downloaded the zip three times and have the latest Installer.

    Please advise.

    Regards, Brian
Page 17 of 60 (891 items) «1516171819»