in

andy vt's tools & blog

automating lazy

DVRMSToolbox on a Windows Home Server - Problem with FileWatcher

Last post 05-21-2009 2:55 PM by hotshot79. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 03-05-2009 3:46 PM

    DVRMSToolbox on a Windows Home Server - Problem with FileWatcher

    I save all my MCE recorded TV to a share on WHS named Recorded TV.  The recorded content is moved there after MCE finishes recording on it's local disk by an WHS add-in application called TV Manager.  This program just moves the dvr-ms file to the share when recording is finished.  I installed DVRMSoolbox 1.0.0.8 on the WHS machine and told FileWatcher to watch the D:\shares\Recorded TV and kick off the commercial scan when a new recording appears.  The commercial file is output to a subdirectory of the WHS Recorded TV folder called Commercials.  This way any MCE machine in the house can watch the program and knows where to find the commercials file.

     However the FileWatcher service doesn't appear to react to any new recording as they are copied in by TV Manager.  I can use the GUI to manually cause the commercial scan to occur and it completes fine.  I've checked and the the FileWatcher service is running (Automatic Start), but still no luck.  The DVRMSFileWatcher.log just has the following entries in it:  Anyone have any ideas?

    {Start Log}
    -------------------------------------------------------
    Start: 3/4/2009 10:56:51 AM

     

    -------------------------------------------------------
    Start: 3/4/2009 2:47:32 PM

     

    ShutDown: 3/5/2009 2:04:48 PM
    -------------------------------------------------------

    -------------------------------------------------------
    Start: 3/5/2009 2:04:55 PM

     

    -------------------------------------------------------
    Start: 3/5/2009 2:15:18 PM

    {End Log}

  • 03-10-2009 10:58 AM In reply to

    Re: DVRMSToolbox on a Windows Home Server - Problem with FileWatcher

     what happens if you copy the file over manually?

  • 03-13-2009 10:26 AM In reply to

    Re: DVRMSToolbox on a Windows Home Server - Problem with FileWatcher

    Nothing happened either if I manually copied over the files, but I got FileWatcher to work by checking the "Allow service to interact with with desktop" box on the Log On tab on the DVRMSFileWatcherService Properties box.  Now FileWatcher kicks off the commercial detection everytime but I'm having a different problem.

    The only thing I'm using the toolbox for right now is to detect commercials in the HD over the air programs I record.  I've setup the processing conditions on nativecommdetect to only use ShowAnalyzer and everything works fine everytime if I kick it off from the GUI.  However if FIleWatcher kicks off the commercial scan most often the scan fails.  This happens whether TV Manager copies the file over or I manually copy the file over.

    Below is a job listing where the FileWatcher worked:

    InputFile=D:\shares\Recorded TV\news 4 midday_wrc-dt_12_03_2009_11_53_42.dvr-ms
    Processing actions, this may take some time!!
    Couldn't retrieve meta data
    Running detection profile
    Profile = nativecommdetect
    ProcessId = 5124
    DvrmsToolbox Version: 1.1.0.8
    Throttle DVRMStoMPEG
    FWThrottle: D:\shares\Recorded TV\news 4 midday_wrc-dt_12_03_2009_11_53_42.dvr-ms
    Waiting to process file
    Waiting to process file
    Waiting to process file
    Waiting to process file
    Waiting to process file
    Waiting to process file
    Waiting to process file
    Waiting to process file
    Waiting to process file
    Waiting to process file
    Queue file
    Duration = 00:04:31.0156250
    Waiting for available worker: 3/12/2009 12:08 PM
    Worker allocated: 3/12/2009 12:08 PM
    Find Commercials in file
    .69%
    2.87%
    7.24%
    15.69%
    19.71%
    2.36%
    11.9%
    19.94%
    27.99%
    44.25%
    60.17%
    67.35%
    80.11%
    88.09%
    92.92%
    96.25%
    97.57%
    98.9%
    99.99%
    Finished Commercial Detectection
    Duration = 00:01:40.9687500
    Write commercial spans as xml
    Write Commercials: D:\shares\Recorded TV\news 4 midday_wrc-dt_12_03_2009_11_53_42.xml
    Duration = 00:00:00.0625000
    Worker Released : True
    Total Duration = 00:06:12.2343750
    System.IO.FileNotFoundException: File not found
    File name: "D:\shares\Recorded TV\news 4 midday_wrc-dt_12_03_2009_11_53_42.dvr-ms"
       at Durrant.Common.lows.GetMetaTags(String DvrmsPath, Boolean showError)
       at Durrant.Common.ConsoleBase.ConsoleMain(String[ args, String sDescription, String sAdditionalParams)
    use /? for help

    However most frequently the commercial scan with FileWatcher doesn't work.  I noticed in the job log that it looks like nativecommdetect tried to use comskip instead of ShowAnalyzer and that running comskip with the run command must have some permissions problem.

    Here is the jobs log on one that failed:

    InputFile=D:\shares\Recorded TV\my name is earl_wrc-dt_05_03_2009_20_18_46.dvr-ms
    Processing actions, this may take some time!!
    Couldn't retrieve meta data
    Running detection profile
    Profile = nativecommdetect
    ProcessId = 3680
    DvrmsToolbox Version: 1.1.0.8
    Throttle DVRMStoMPEG
    FWThrottle: D:\shares\Recorded TV\my name is earl_wrc-dt_05_03_2009_20_18_46.dvr-ms
    Waiting to process file
    Queue file
    Duration = 00:00:01.0312500
    Waiting for available worker: 3/13/2009 11:59 AM
    Worker allocated: 3/13/2009 11:59 AM
    Find Commercials in file
    Using comskip
    Running comskip this may take a while.
    Run C:\Program Files\DVRMSToolbox\Applications\comskip.exe "D:\shares\Recorded TV\my name is earl_wrc-dt_05_03_2009_20_18_46.dvr-ms" "D:\shares\Recorded TV"
    Comskip 0.79.113, made using:
    mpeg2dec-0.4.1-cvs - by Michel Lespinasse <walken@zoy.org> and Aaron Holtzman
    Permission denied - could not open file D:\shares\Recorded TV\my name is earl_wrc-dt_05_03_2009_20_18_46.dvr-ms
    Finished Commercial Detectection
    No commercials found
    Action did not complete successfully
    Worker Released : True
    Total Duration = 00:00:07

    And here is the ShowAnalyer log for the same program

    This log created by ShowAnalyzer v0.9.2
    11:59:32(0) Setting path to: "D:\shares\Recorded TV\my name is earl_wrc-dt_05_03_2009_20_18_46.dvr-ms"
    11:59:32(0) No existing file was selected for processing.

    I thought maybe the wait time in FileWatcher was too short (it was 5 minutes), because it takes a lot longer for TV Manager to copy the program over the network than it does for the MCE PC to copy it from TempRec to Recorded TV on the same machine.  I kicked the wait parameter up to 30 minutes but that still has not solved the problem.  At this point I'm out of ideas and could use some help.

     

  • 03-16-2009 10:50 AM In reply to

    Re: DVRMSToolbox on a Windows Home Server - Problem with FileWatcher

    does the acct the fw service is running with have rights to the folder (try running it with the account you log in with).
  • 03-18-2009 2:22 PM In reply to

    Re: DVRMSToolbox on a Windows Home Server - Problem with FileWatcher

    It doesn't seem to make any difference.  I changed the service so that it starts under the administrator account.

  • 05-21-2009 2:55 PM In reply to

    Re: DVRMSToolbox on a Windows Home Server - Problem with FileWatcher

    gfparker:

    It doesn't seem to make any difference.  I changed the service so that it starts under the administrator account.



     Did you ever get this worked out?
Page 1 of 1 (6 items)
@2008 andy vt
Powered by Community Server (Non-Commercial Edition), by Telligent Systems