in

andy vt's tools & blog

automating lazy

Commercial skip files created, but not used by MCE addin?

Last post Sun, May 16 2010 10:52 AM by netarc. 11 replies.
Page 1 of 1 (12 items)
Sort Posts: Previous Next
  • Mon, May 3 2010 12:06 AM

    • netarc
    • Top 75 Contributor
    • Joined on Thu, Jan 8 2009

    Commercial skip files created, but not used by MCE addin?

    After using DVRMS v1.2.1.6 (w/comskip) with Vista SP1 x86 for over a year with great success, I today upgraded to 1.2.2.1 (r4) .... and promptly started having issues ;)  The upgrade was performed by first uninstalling the old DVRMS and renaming the .\Program Files\DVRMSToolbox directory, rebooting, installing the new DVRMS and then rebooting again.

    Soon realized that the MCE addin problems I was having were because this had been split off into its own installer, and found & installed Vista_DTBAddinSetup1219.zip.  After another rebot, the MCE addin was working, and the DVRMS filewatcher appeared to be finding and processing new DVRMS recordings (judging by log entries in the DTBFWService_xxxx.log, as well as creation of new XML/EDL files). 

    However, commercial skip when playing back recordings is not working; attempting to do so gives the error "Commercials File does not exist" - this is the case both for new recordings since I upgraded today, as well as preexisting ones that had been processed before (and for which commercial skip was working under the previous DVRMS).

    For instance, one newly recorded program was "The Simpsons_KTVU-DT_02_05_2010_19_58_03.dvr-ms" ... this was processed by DVRMS, producing the followign files:

    The Simpsons_KTVU-DT_02_05_2010_19_58_03.edl
    The Simpsons_KTVU-DT_02_05_2010_19_58_03.xml
    The Simpsons_KTVU-DT_02_05_2010_19_58_03.vih

    The EDL file is in the .\RecordedTV folder with the DVRMS, while the XML/VIH files are in C:\Users\Public\DvrmsToolbox\CommercialsXml; the DTBFWService_xxxx.log references the commercial processing for this file as...

    5/2/2010 7:58:05 PM : FW Begin Process t:\recorded tv\The Simpsons_KTVU-DT_02_05_2010_19_58_03.dvr-ms 
    5/2/2010 8:35:09 PM : Don't process: t:\recorded tv\The Simpsons_KTVU-DT_02_05_2010_19_58_03.txt
    5/2/2010 8:35:14 PM : Don't process: t:\recorded tv\The Simpsons_KTVU-DT_02_05_2010_19_58_03.edl
    5/2/2010 8:35:39 PM : Don't process: t:\recorded tv\The Simpsons_KTVU-DT_02_05_2010_19_58_03.logo.txt

    So the commercial skip files look like they're being created correctly, but the MCE addin for some reason is not finding them?

    The MCE addin itself is definitely working, since the remote interaction keys display the expected messages (e.g., "1" toggles aspect ration, "3" brings up "reprocess show" prompt, "down" shows "autoskip is off", etc)

     

     

  • Mon, May 3 2010 12:19 AM In reply to

    • netarc
    • Top 75 Contributor
    • Joined on Thu, Jan 8 2009

    Re: Commercial skip files created, but not used by MCE addin?

    I did not notice one oddity just now ... when playing back a file (e.g., the simpsons DVRMS referenced above), when I hit "3" to reprocess the show, the DTBFWService_1856.log in C:\Users\Public\DvrmsToolbox immediately adds a couple of new lines:

    5/3/2010 12:07:43 AM : Process File: C:\Users\Public\DvrmsToolbox
    5/3/2010 12:07:44 AM : Don't process: C:\Users\Public\DvrmsToolbox

    I also confirmed via the DVRMStoMPEGSettings app that the Commercial Skip tab's "commercial path" param is set to  c:\Users\Public\DvrmsToolbox\CommercialsXml (as it was before the upgrade), and the File Watcher tab's "watched directories" points to the path for new recorded programs (T:\Recorded TV\)

    FWIW, following are the contents for the various files created by DVRMS processing for the sample "The Simpsons_KTVU-DT_02_05_2010_19_58_03.dvr-ms" I'd been referencing...

    The Simpsons_KTVU-DT_02_05_2010_19_58_03.edl

    0.00 74.89 0
    437.10 607.71 0
    1147.73 1380.08 0
    1519.55 1691.89 0
    2036.95 2036.97 0

    The Simpsons_KTVU-DT_02_05_2010_19_58_03.xml

    <?xml version="1.0" encoding="utf-8"?><root><commercial start="0" end="74.891483" /><commercial start="437.103333" end="607.7071" /><commercial start="1147.729917" end="1380.0787" /><commercial start="1519.551367" end="1691.8902" /><commercial start="2036.951583" end="2036.968267" /></root> 

    The Simpsons_KTVU-DT_02_05_2010_19_58_03.vih

    <?xml version="1.0"?>
    <DtbVideoHeaderInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <isAtsc>true</isAtsc>
      <vih>
        <SrcRect>
          <left>0</left>
          <top>0</top>
          <right>1280</right>
          <bottom>720</bottom>
        </SrcRect>
        <TargetRect>
          <left>0</left>
          <top>0</top>
          <right>1280</right>
          <bottom>720</bottom>
        </TargetRect>
        <BitRate>662890435</BitRate>
        <BitErrorRate>0</BitErrorRate>
        <AvgTimePerFrame>166833</AvgTimePerFrame>
        <InterlaceFlags>IsInterlaced DisplayModeBobOrWeave</InterlaceFlags>
        <CopyProtectFlags>None</CopyProtectFlags>
        <PictAspectRatioX>16</PictAspectRatioX>
        <PictAspectRatioY>9</PictAspectRatioY>
        <ControlFlags>None</ControlFlags>
        <Reserved2>0</Reserved2>
        <BmiHeader>
          <Size>40</Size>
          <Width>1280</Width>
          <Height>720</Height>
          <Planes>1</Planes>
          <BitCount>12</BitCount>
          <Compression>842094158</Compression>
          <ImageSize>1382400</ImageSize>
          <XPelsPerMeter>0</XPelsPerMeter>
          <YPelsPerMeter>0</YPelsPerMeter>
          <ClrUsed>0</ClrUsed>
          <ClrImportant>0</ClrImportant>
        </BmiHeader>
      </vih>
    </DtbVideoHeaderInfo> 

     

  • Mon, May 3 2010 12:25 AM In reply to

    • netarc
    • Top 75 Contributor
    • Joined on Thu, Jan 8 2009

    Re: Commercial skip files created, but not used by MCE addin?

    I don't know if this has anything to do with this, but prior to upgrading today I was using comskip; with today's upgrade, I decided to try showanalyzer and allowed DVRMS to install it.

  • Mon, May 3 2010 10:45 AM In reply to

    • babgvant
    • Top 10 Contributor
    • Joined on Mon, Oct 2 2006
    • United Kingdom

    Re: Commercial skip files created, but not used by MCE addin?

    Do you have propage.dll registered?

    There's a section in the wiki on enabling debug logging for the addin, the file (ehexthost_###.log) should have some clues for what's not working.

  • Mon, May 3 2010 8:49 PM In reply to

    • netarc
    • Top 75 Contributor
    • Joined on Thu, Jan 8 2009

    Re: Commercial skip files created, but not used by MCE addin?

    I couldn't find propage.dll on my MCE box ... is this a standard Windows file, or something installed by DVRMS?  I did see some reference to propage.dll being part of the Vista SDK and requiring a seperate download, is that the right track?

  • Tue, May 4 2010 7:05 AM In reply to

    • babgvant
    • Top 10 Contributor
    • Joined on Mon, Oct 2 2006
    • United Kingdom

    Re: Commercial skip files created, but not used by MCE addin?

    Propage.dll is part of the platform SDK.
  • Tue, May 4 2010 9:09 PM In reply to

    • netarc
    • Top 75 Contributor
    • Joined on Thu, Jan 8 2009

    Re: Commercial skip files created, but not used by MCE addin?

    I enabled the ehexthost_xxxx logging in the MCE addin, then stopped/restarted MCE and attempted to play first one, and then another, recently recorded DVR-MS files, both of which I knew had been scanned for commercials:

    Family Guy_KTVU-DT_02_05_2010_20_57_02.dvr-ms
    The Simpsons_KTVU-DT_02_05_2010_19_58_03.dvr-ms

    Both of these had EDL files present in the same directory, as well as VIH/XML files in the local C:\Users\Public\DvrmsToolbox folder.

    Upon playing each (w/autoskip enabled) I found that the commercial still played; too, hitting cursor RIGHT (to force skip) resulted in MCE addin displaying "Commercials file not found;" here's the log file ehexthost_5608.log (bold-faced items show the playing first of family guy, then simpsons):

    ------------------------------------------------------------------------
    5/4/2010 8:44:53 PM : Initialize Registry Settings, CommercialSkip Version 1.2.1.9
    CurrentAtscZoom = One
    CurrentTvZoom = One
    IsRegistered = True
    NumberOfProcessors = 4
    AutoReloadSettings = True
    WriteOnMceStateChangeEvents = False
    SkipBoxMinMinutes = 0
    SkipDisplayType = SkipBar
    SkipMaxMinutes = 65535
    AutoSkip = True
    WriteEvents = True
    PromptScan = None
    KeyHandleDisableTime = 30
    DisableAutoSkipOnBack = True
    DisableKey = D7
    ForwardKey = Right
    BackKey = Left
    SkipOnKey = Up
    SkipOffKey = Down
    CCToggle = D2
    KeepDisplayActive = True
    SuppressNotFound = False
    Debug = True
    TerminateAddin = D9
    HandleKeys = True
    SkipCommericals = True
    TrackDvds = False
    TrackDvdPerUser = False
    BookmarkPath = C:\Users\Public\DvrmsToolbox\VideoBookmark
    ReuseInterval = 30
    DebugFilePath = C:\Users\Public\DvrmsToolbox
    AllowedVariance = 10
    WolMac = System.String[
    WakeExperience = System.String[
    ReprocessShow = D3
    BookmarkResponseTimeout = 60
    ToggleZoom = D1
    ATSC169 = One
    ATSC43 = Four
    TV169 = One
    TV43 = Four
    AutoZoom = True
    ProcessProfile = nativecommdetect
    TreatAsTv = False
    UseGraphForDetection = False
    ForwardOnly = True
    ProppageNag = False
    SupressSkipDialog = False

    5/4/2010 8:44:53 PM : Microsoft.MediaCenter.Hosting.AddInHost
    5/4/2010 8:44:53 PM : MRE created
    5/4/2010 8:44:53 PM : ProcessId: 1788
    5/4/2010 8:44:53 PM : Watching: C:\Users\Public\DvrmsToolbox\CommercialsXml
    5/4/2010 8:44:53 PM : MCEState
    5/4/2010 8:44:53 PM : Xml watching enabled
    5/4/2010 8:44:53 PM : Start Collecting
    5/4/2010 8:44:53 PM : Set WOL experiences
    5/4/2010 8:46:05 PM : Stop
    5/4/2010 8:46:05 PM : Keyboard hooked
    5/4/2010 8:46:05 PM : Start polling
    5/4/2010 8:46:05 PM : In Start keysHooked = True
    5/4/2010 8:46:05 PM : using debugfilepath = C:\Users\Public\DvrmsToolbox
    5/4/2010 8:46:05 PM : vih: C:\Users\Public\DvrmsToolbox\CommercialsXml\DvrmsToolbox.vih applyAutoZoom: True
    5/4/2010 8:46:05 PM : CurrentMediaInfo=C:\Users\Public\DvrmsToolbox
    5/4/2010 8:46:05 PM : FileName = C:\Users\Public\DvrmsToolbox
    5/4/2010 8:46:05 PM : LoadCommercials: c:\users\public\dvrmstoolbox\commercialsxml\dvrmstoolbox.xml
    5/4/2010 8:46:05 PM : Start: PromptForScan
    5/4/2010 8:46:05 PM : Start: ShouldScan = Ok
    5/4/2010 8:46:05 PM : noSkipUntil = 0
    5/4/2010 8:46:05 PM : Started: uniqueid = 19a65314-8207-4be1-8a59-d674a314ac2c, reportedShowLength = 0
    5/4/2010 8:46:06 PM : autoskip = True, lastposition = 0, tracktime = 1
    5/4/2010 8:46:06 PM : PollCurrentPosition: current = 1, noskip = 0, isPlaying = True
    5/4/2010 8:46:07 PM : autoskip = True, lastposition = 1, tracktime = 1
    5/4/2010 8:46:07 PM : autoskip = True, lastposition = 1, tracktime = 2
    5/4/2010 8:46:07 PM : PollCurrentPosition: current = 2, noskip = 0, isPlaying = True
    5/4/2010 8:46:08 PM : autoskip = True, lastposition = 2, tracktime = 3
    5/4/2010 8:46:08 PM : PollCurrentPosition: current = 3, noskip = 0, isPlaying = True
    5/4/2010 8:46:09 PM : autoskip = True, lastposition = 3, tracktime = 4
    5/4/2010 8:46:09 PM : PollCurrentPosition: current = 4, noskip = 0, isPlaying = True
    5/4/2010 8:46:10 PM : autoskip = True, lastposition = 4, tracktime = 5
    5/4/2010 8:46:10 PM : PollCurrentPosition: current = 5, noskip = 0, isPlaying = True
    5/4/2010 8:46:11 PM : autoskip = True, lastposition = 5, tracktime = 6
    5/4/2010 8:46:11 PM : PollCurrentPosition: current = 6, noskip = 0, isPlaying = True
    5/4/2010 8:46:12 PM : autoskip = True, lastposition = 6, tracktime = 7
    5/4/2010 8:46:12 PM : PollCurrentPosition: current = 7, noskip = 0, isPlaying = True
    5/4/2010 8:46:13 PM : autoskip = True, lastposition = 7, tracktime = 8
    5/4/2010 8:46:13 PM : PollCurrentPosition: current = 8, noskip = 0, isPlaying = True
    5/4/2010 8:46:14 PM : autoskip = True, lastposition = 8, tracktime = 9
    5/4/2010 8:46:14 PM : PollCurrentPosition: current = 9, noskip = 0, isPlaying = True
    5/4/2010 8:46:15 PM : autoskip = True, lastposition = 9, tracktime = 10
    5/4/2010 8:46:15 PM : PollCurrentPosition: current = 10, noskip = 0, isPlaying = True
    5/4/2010 8:46:16 PM : autoskip = True, lastposition = 10, tracktime = 11
    5/4/2010 8:46:16 PM : PollCurrentPosition: current = 11, noskip = 0, isPlaying = True
    5/4/2010 8:46:17 PM : autoskip = True, lastposition = 11, tracktime = 12
    5/4/2010 8:46:17 PM : PollCurrentPosition: current = 12, noskip = 0, isPlaying = True
    5/4/2010 8:46:18 PM : autoskip = True, lastposition = 12, tracktime = 13
    5/4/2010 8:46:18 PM : PollCurrentPosition: current = 13, noskip = 0, isPlaying = True
    5/4/2010 8:46:19 PM : autoskip = True, lastposition = 13, tracktime = 14
    5/4/2010 8:46:19 PM : PollCurrentPosition: current = 14, noskip = 0, isPlaying = True
    5/4/2010 8:46:20 PM : autoskip = True, lastposition = 14, tracktime = 15
    5/4/2010 8:46:20 PM : PollCurrentPosition: current = 15, noskip = 0, isPlaying = True
    5/4/2010 8:46:21 PM : autoskip = True, lastposition = 15, tracktime = 16
    5/4/2010 8:46:21 PM : PollCurrentPosition: current = 16, noskip = 0, isPlaying = True
    5/4/2010 8:46:22 PM : autoskip = True, lastposition = 16, tracktime = 17
    5/4/2010 8:46:22 PM : PollCurrentPosition: current = 17, noskip = 0, isPlaying = True
    5/4/2010 8:46:23 PM : autoskip = True, lastposition = 17, tracktime = 18
    5/4/2010 8:46:23 PM : PollCurrentPosition: current = 18, noskip = 0, isPlaying = True
    5/4/2010 8:46:24 PM : autoskip = True, lastposition = 18, tracktime = 19
    5/4/2010 8:46:24 PM : PollCurrentPosition: current = 19, noskip = 0, isPlaying = True
    5/4/2010 8:46:25 PM : autoskip = True, lastposition = 19, tracktime = 20
    5/4/2010 8:46:25 PM : PollCurrentPosition: current = 20, noskip = 0, isPlaying = True
    5/4/2010 8:46:26 PM : autoskip = True, lastposition = 20, tracktime = 21
    5/4/2010 8:46:26 PM : PollCurrentPosition: current = 21, noskip = 0, isPlaying = True
    5/4/2010 8:46:27 PM : autoskip = True, lastposition = 21, tracktime = 22
    5/4/2010 8:46:27 PM : PollCurrentPosition: current = 22, noskip = 0, isPlaying = True
    5/4/2010 8:46:28 PM : autoskip = True, lastposition = 22, tracktime = 23
    5/4/2010 8:46:28 PM : PollCurrentPosition: current = 23, noskip = 0, isPlaying = True
    5/4/2010 8:46:29 PM : autoskip = True, lastposition = 23, tracktime = 24
    5/4/2010 8:46:29 PM : PollCurrentPosition: current = 24, noskip = 0, isPlaying = True
    5/4/2010 8:46:30 PM : autoskip = True, lastposition = 24, tracktime = 25
    5/4/2010 8:46:30 PM : PollCurrentPosition: current = 25, noskip = 0, isPlaying = True
    5/4/2010 8:46:30 PM : Key Press: Right
    5/4/2010 8:46:30 PM : Get Key Lock: True
    5/4/2010 8:46:30 PM : Call SkipCommercialFromHook
    5/4/2010 8:46:30 PM : Key Handled: True
    5/4/2010 8:46:30 PM : SkipCommercialFromHook
    5/4/2010 8:46:30 PM : SkipCommercial: Right
    5/4/2010 8:46:31 PM : Key Press: Right
    5/4/2010 8:46:31 PM : Get Key Lock: True
    5/4/2010 8:46:31 PM : Call SkipCommercialFromHook
    5/4/2010 8:46:31 PM : Key Handled: True
    5/4/2010 8:46:31 PM : SkipCommercialFromHook
    5/4/2010 8:46:31 PM : SkipCommercial: Right
    5/4/2010 8:46:31 PM : Key Press: Right
    5/4/2010 8:46:31 PM : Get Key Lock: True
    5/4/2010 8:46:31 PM : Call SkipCommercialFromHook
    5/4/2010 8:46:31 PM : Key Handled: True
    5/4/2010 8:46:31 PM : SkipCommercialFromHook
    5/4/2010 8:46:31 PM : SkipCommercial: Right
    5/4/2010 8:46:31 PM : autoskip = True, lastposition = 25, tracktime = 26
    5/4/2010 8:46:31 PM : PollCurrentPosition: current = 26, noskip = 0, isPlaying = True
    5/4/2010 8:46:32 PM : Key Press: Enter
    5/4/2010 8:46:32 PM : Get Key Lock: True
    5/4/2010 8:46:32 PM : Key Handled: False
    5/4/2010 8:46:32 PM : autoskip = True, lastposition = 26, tracktime = 27
    5/4/2010 8:46:32 PM : PollCurrentPosition: current = 27, noskip = 0, isPlaying = True
    5/4/2010 8:46:33 PM : autoskip = True, lastposition = 27, tracktime = 28
    5/4/2010 8:46:33 PM : PollCurrentPosition: current = 28, noskip = 0, isPlaying = True
    5/4/2010 8:46:34 PM : Key Press: MediaStop
    5/4/2010 8:46:34 PM : Get Key Lock: True
    5/4/2010 8:46:34 PM : Key Handled: False
    5/4/2010 8:46:35 PM : Key Press: BrowserBack
    5/4/2010 8:46:35 PM : Get Key Lock: True
    5/4/2010 8:46:35 PM : Key Handled: False
    5/4/2010 8:46:48 PM : Key Press: Enter
    5/4/2010 8:46:48 PM : Get Key Lock: True
    5/4/2010 8:46:48 PM : Key Handled: False
    5/4/2010 8:46:57 PM : Key Press: Up
    5/4/2010 8:46:57 PM : Get Key Lock: True
    5/4/2010 8:46:57 PM : Key Handled: False
    5/4/2010 8:46:58 PM : Key Press: Up
    5/4/2010 8:46:58 PM : Get Key Lock: True
    5/4/2010 8:46:58 PM : Key Handled: False
    5/4/2010 8:46:58 PM : Key Press: Up
    5/4/2010 8:46:58 PM : Get Key Lock: True
    5/4/2010 8:46:58 PM : Key Handled: False
    5/4/2010 8:46:59 PM : Key Press: Up
    5/4/2010 8:46:59 PM : Get Key Lock: True
    5/4/2010 8:46:59 PM : Key Handled: False
    5/4/2010 8:46:59 PM : Key Press: Right
    5/4/2010 8:46:59 PM : Get Key Lock: True
    5/4/2010 8:46:59 PM : Key Handled: False
    5/4/2010 8:47:00 PM : Key Press: Enter
    5/4/2010 8:47:00 PM : Get Key Lock: True
    5/4/2010 8:47:00 PM : Key Handled: False
    5/4/2010 8:47:06 PM : Key Press: Down
    5/4/2010 8:47:06 PM : Get Key Lock: True
    5/4/2010 8:47:06 PM : Key Handled: False
    5/4/2010 8:47:12 PM : Key Press: Enter
    5/4/2010 8:47:12 PM : Get Key Lock: True
    5/4/2010 8:47:12 PM : Key Handled: False
    5/4/2010 8:47:13 PM : Stop
    5/4/2010 8:47:13 PM : Post WaitOne - KeyHook
    5/4/2010 8:47:13 PM : Start polling
    5/4/2010 8:47:13 PM : In Start keysHooked = False
    5/4/2010 8:47:13 PM : Keyboard hooked
    5/4/2010 8:47:13 PM : using debugfilepath = C:\Users\Public\DvrmsToolbox
    5/4/2010 8:47:13 PM : vih: C:\Users\Public\DvrmsToolbox\CommercialsXml\DvrmsToolbox.vih applyAutoZoom: True
    5/4/2010 8:47:13 PM : CurrentMediaInfo=C:\Users\Public\DvrmsToolbox
    5/4/2010 8:47:13 PM : FileName = C:\Users\Public\DvrmsToolbox
    5/4/2010 8:47:13 PM : LoadCommercials: c:\users\public\dvrmstoolbox\commercialsxml\dvrmstoolbox.xml
    5/4/2010 8:47:13 PM : noSkipUntil = 0
    5/4/2010 8:47:13 PM : Started: uniqueid = e3b683d4-1788-4206-84a1-ec2a1afe6e73, reportedShowLength = 0
    5/4/2010 8:47:14 PM : autoskip = True, lastposition = 0, tracktime = 1
    5/4/2010 8:47:14 PM : PollCurrentPosition: current = 1, noskip = 0, isPlaying = True
    5/4/2010 8:47:15 PM : autoskip = True, lastposition = 1, tracktime = 2
    5/4/2010 8:47:15 PM : PollCurrentPosition: current = 2, noskip = 0, isPlaying = True
    5/4/2010 8:47:16 PM : autoskip = True, lastposition = 2, tracktime = 3
    5/4/2010 8:47:16 PM : PollCurrentPosition: current = 3, noskip = 0, isPlaying = True
    5/4/2010 8:47:17 PM : autoskip = True, lastposition = 3, tracktime = 4
    5/4/2010 8:47:17 PM : PollCurrentPosition: current = 4, noskip = 0, isPlaying = True
    5/4/2010 8:47:18 PM : autoskip = True, lastposition = 4, tracktime = 7
    5/4/2010 8:47:18 PM : PollCurrentPosition: current = 7, noskip = 0, isPlaying = True
    5/4/2010 8:47:19 PM : autoskip = True, lastposition = 7, tracktime = 8
    5/4/2010 8:47:19 PM : PollCurrentPosition: current = 8, noskip = 0, isPlaying = True
    5/4/2010 8:47:20 PM : autoskip = True, lastposition = 8, tracktime = 9
    5/4/2010 8:47:20 PM : PollCurrentPosition: current = 9, noskip = 0, isPlaying = True
    5/4/2010 8:47:21 PM : autoskip = True, lastposition = 9, tracktime = 10
    5/4/2010 8:47:21 PM : PollCurrentPosition: current = 10, noskip = 0, isPlaying = True
    5/4/2010 8:47:22 PM : autoskip = True, lastposition = 10, tracktime = 11
    5/4/2010 8:47:22 PM : PollCurrentPosition: current = 11, noskip = 0, isPlaying = True
    5/4/2010 8:47:23 PM : autoskip = True, lastposition = 11, tracktime = 12
    5/4/2010 8:47:23 PM : PollCurrentPosition: current = 12, noskip = 0, isPlaying = True
    5/4/2010 8:47:24 PM : autoskip = True, lastposition = 12, tracktime = 13
    5/4/2010 8:47:24 PM : PollCurrentPosition: current = 13, noskip = 0, isPlaying = True
    5/4/2010 8:47:25 PM : autoskip = True, lastposition = 13, tracktime = 14
    5/4/2010 8:47:25 PM : PollCurrentPosition: current = 14, noskip = 0, isPlaying = True
    5/4/2010 8:47:26 PM : autoskip = True, lastposition = 14, tracktime = 15
    5/4/2010 8:47:26 PM : PollCurrentPosition: current = 15, noskip = 0, isPlaying = True
    5/4/2010 8:47:27 PM : autoskip = True, lastposition = 15, tracktime = 16
    5/4/2010 8:47:27 PM : PollCurrentPosition: current = 16, noskip = 0, isPlaying = True
    5/4/2010 8:47:28 PM : autoskip = True, lastposition = 16, tracktime = 17
    5/4/2010 8:47:28 PM : PollCurrentPosition: current = 17, noskip = 0, isPlaying = True
    5/4/2010 8:47:29 PM : autoskip = True, lastposition = 17, tracktime = 18
    5/4/2010 8:47:29 PM : PollCurrentPosition: current = 18, noskip = 0, isPlaying = True
    5/4/2010 8:47:30 PM : autoskip = True, lastposition = 18, tracktime = 19
    5/4/2010 8:47:30 PM : PollCurrentPosition: current = 19, noskip = 0, isPlaying = True
    5/4/2010 8:47:31 PM : autoskip = True, lastposition = 19, tracktime = 20
    5/4/2010 8:47:31 PM : PollCurrentPosition: current = 20, noskip = 0, isPlaying = True
    5/4/2010 8:47:31 PM : Key Press: Right
    5/4/2010 8:47:31 PM : Get Key Lock: True
    5/4/2010 8:47:31 PM : Call SkipCommercialFromHook
    5/4/2010 8:47:31 PM : Key Handled: True
    5/4/2010 8:47:31 PM : SkipCommercialFromHook
    5/4/2010 8:47:31 PM : SkipCommercial: Right
    5/4/2010 8:47:32 PM : autoskip = True, lastposition = 20, tracktime = 21
    5/4/2010 8:47:32 PM : PollCurrentPosition: current = 21, noskip = 0, isPlaying = True
    5/4/2010 8:47:33 PM : Key Press: Enter
    5/4/2010 8:47:33 PM : Get Key Lock: True
    5/4/2010 8:47:33 PM : Key Handled: False
    5/4/2010 8:47:33 PM : autoskip = True, lastposition = 21, tracktime = 22
    5/4/2010 8:47:33 PM : PollCurrentPosition: current = 22, noskip = 0, isPlaying = True
    5/4/2010 8:47:34 PM : autoskip = True, lastposition = 22, tracktime = 23
    5/4/2010 8:47:34 PM : PollCurrentPosition: current = 23, noskip = 0, isPlaying = True
    5/4/2010 8:47:35 PM : autoskip = True, lastposition = 23, tracktime = 24
    5/4/2010 8:47:35 PM : PollCurrentPosition: current = 24, noskip = 0, isPlaying = True
    5/4/2010 8:47:36 PM : autoskip = True, lastposition = 24, tracktime = 25
    5/4/2010 8:47:36 PM : PollCurrentPosition: current = 25, noskip = 0, isPlaying = True
    5/4/2010 8:47:37 PM : autoskip = True, lastposition = 25, tracktime = 26
    5/4/2010 8:47:37 PM : PollCurrentPosition: current = 26, noskip = 0, isPlaying = True
    5/4/2010 8:47:38 PM : autoskip = True, lastposition = 26, tracktime = 27
    5/4/2010 8:47:38 PM : PollCurrentPosition: current = 27, noskip = 0, isPlaying = True
    5/4/2010 8:47:39 PM : autoskip = True, lastposition = 27, tracktime = 28
    5/4/2010 8:47:39 PM : PollCurrentPosition: current = 28, noskip = 0, isPlaying = True
    5/4/2010 8:47:40 PM : autoskip = True, lastposition = 28, tracktime = 29
    5/4/2010 8:47:40 PM : PollCurrentPosition: current = 29, noskip = 0, isPlaying = True
    5/4/2010 8:47:41 PM : autoskip = True, lastposition = 29, tracktime = 30
    5/4/2010 8:47:41 PM : PollCurrentPosition: current = 30, noskip = 0, isPlaying = True
    5/4/2010 8:47:42 PM : autoskip = True, lastposition = 30, tracktime = 31
    5/4/2010 8:47:42 PM : PollCurrentPosition: current = 31, noskip = 0, isPlaying = True
    5/4/2010 8:47:43 PM : autoskip = True, lastposition = 31, tracktime = 32
    5/4/2010 8:47:43 PM : PollCurrentPosition: current = 32, noskip = 0, isPlaying = True
    5/4/2010 8:47:44 PM : autoskip = True, lastposition = 32, tracktime = 33
    5/4/2010 8:47:44 PM : PollCurrentPosition: current = 33, noskip = 0, isPlaying = True
    5/4/2010 8:47:45 PM : Key Press: MediaStop
    5/4/2010 8:47:45 PM : Get Key Lock: True
    5/4/2010 8:47:45 PM : Key Handled: False
    5/4/2010 8:47:45 PM : Stop
    5/4/2010 8:47:45 PM : Post WaitOne - KeyHook
     

     

  • Tue, May 4 2010 9:15 PM In reply to

    • netarc
    • Top 75 Contributor
    • Joined on Thu, Jan 8 2009

    Re: Commercial skip files created, but not used by MCE addin?

    so if I read the debug file correctly, the relevant section is ...

    5/4/2010 8:46:05 PM : vih: C:\Users\Public\DvrmsToolbox\CommercialsXml\DvrmsToolbox.vih applyAutoZoom: True
    5/4/2010 8:46:05 PM : CurrentMediaInfo=C:\Users\Public\DvrmsToolbox
    5/4/2010 8:46:05 PM : FileName = C:\Users\Public\DvrmsToolbox
    5/4/2010 8:46:05 PM : LoadCommercials: c:\users\public\dvrmstoolbox\commercialsxml\dvrmstoolbox.xml 

    In this case, the file MCE was playing was Family Guy_KTVU-DT_02_05_2010_20_57_02.dvr-ms ... so I'd expect the "loadcommercials" call should be looking for a file called "Family Guy_KTVU-DT_02_05_2010_20_57_02.xml," rather than the referenced dvrmstoolbox.xml .... is that right?

  • Tue, May 4 2010 9:26 PM In reply to

    • netarc
    • Top 75 Contributor
    • Joined on Thu, Jan 8 2009

    Re: Commercial skip files created, but not used by MCE addin?

    yep, looks like that's exactly it - to test this, I copied "The Simpsons_KTVU-DT_02_05_2010_19_58_03.xml" to dvrmstoolbox.xml in the .\CommercialsXml directory, then restarted this show ... it immediately jumped right to the start of the program, skipping all commercials; hitting cursor RIGHT skipped the next span of commercials, as appropriate.  So that's the cause of my woes - question is, why does my DVRMS default to this XML file for all programming?  Any ideas, have you seen this type of behavior before?

    Here's the log file from this recent test, fwiw, where commercial skipping worked ok after I created the dvrmstoolbox.xml file...

    5/4/2010 9:16:30 PM : Key Press: Right
    5/4/2010 9:16:30 PM : Get Key Lock: True
    5/4/2010 9:16:30 PM : Key Handled: False
    5/4/2010 9:16:31 PM : Key Press: Right
    5/4/2010 9:16:31 PM : Get Key Lock: True
    5/4/2010 9:16:31 PM : Key Handled: False
    5/4/2010 9:16:33 PM : Key Press: Left
    5/4/2010 9:16:33 PM : Get Key Lock: True
    5/4/2010 9:16:33 PM : Key Handled: False
    5/4/2010 9:16:35 PM : Key Press: Down
    5/4/2010 9:16:35 PM : Get Key Lock: True
    5/4/2010 9:16:35 PM : Key Handled: False
    5/4/2010 9:16:35 PM : Key Press: Down
    5/4/2010 9:16:35 PM : Get Key Lock: True
    5/4/2010 9:16:35 PM : Key Handled: False
    5/4/2010 9:16:38 PM : Stop
    5/4/2010 9:16:38 PM : Post WaitOne - KeyHook
    5/4/2010 9:16:39 PM : Start polling
    5/4/2010 9:16:39 PM : In Start keysHooked = False
    5/4/2010 9:16:39 PM : Keyboard hooked
    5/4/2010 9:16:39 PM : using debugfilepath = C:\Users\Public\DvrmsToolbox
    5/4/2010 9:16:39 PM : vih: C:\Users\Public\DvrmsToolbox\CommercialsXml\DvrmsToolbox.vih applyAutoZoom: True
    5/4/2010 9:16:39 PM : CurrentMediaInfo=C:\Users\Public\DvrmsToolbox
    5/4/2010 9:16:39 PM : FileName = C:\Users\Public\DvrmsToolbox
    5/4/2010 9:16:39 PM : LoadCommercials: c:\users\public\dvrmstoolbox\commercialsxml\dvrmstoolbox.xml
    5/4/2010 9:16:39 PM : Commercials Xml Exists
    5/4/2010 9:16:39 PM : noSkipUntil = 0
    5/4/2010 9:16:39 PM : Started: uniqueid = ce64b4c1-e1c4-48fd-8022-6fd2abd7ce41, reportedShowLength = 0
    5/4/2010 9:16:40 PM : autoskip = True, lastposition = 0, tracktime = 35
    5/4/2010 9:16:40 PM : PollCurrentPosition: current = 35, noskip = 0, isPlaying = True
    5/4/2010 9:16:40 PM : PollCurrentPosition: comPt = 74.891483
    5/4/2010 9:16:40 PM : Move to 74.891483
    5/4/2010 9:16:40 PM : PollCurrentPosition: Move = 74.891483, skipFrom = 35
    5/4/2010 9:16:40 PM : Start polling
    5/4/2010 9:16:40 PM : In Start keysHooked = True
    5/4/2010 9:16:40 PM : using debugfilepath = C:\Users\Public\DvrmsToolbox
    5/4/2010 9:16:40 PM : vih: C:\Users\Public\DvrmsToolbox\CommercialsXml\DvrmsToolbox.vih applyAutoZoom: True
    5/4/2010 9:16:40 PM : CurrentMediaInfo=C:\Users\Public\DvrmsToolbox
    5/4/2010 9:16:40 PM : FileName = C:\Users\Public\DvrmsToolbox
    5/4/2010 9:16:40 PM : Started: uniqueid = 09106448-13f6-4700-84e3-cbb6c57a72cf, reportedShowLength = 1796
    5/4/2010 9:16:42 PM : Set noSkipUntil = 74.891483 HandleKeys=True ForwardOnly=True
    5/4/2010 9:16:42 PM : autoskip = True, lastposition = 35, tracktime = 76
    5/4/2010 9:16:42 PM : PollCurrentPosition: current = 76, noskip = 74.891483, isPlaying = True
    5/4/2010 9:16:42 PM : Start polling
    5/4/2010 9:16:42 PM : In Start keysHooked = True
    5/4/2010 9:16:42 PM : Reuse file info
    5/4/2010 9:16:42 PM : FileName = C:\Users\Public\DvrmsToolbox
    5/4/2010 9:16:42 PM : Started: uniqueid = 7b81b6ec-4457-4939-8f64-fc99b9d7c1a9, reportedShowLength = 1796
    5/4/2010 9:16:43 PM : autoskip = True, lastposition = 76, tracktime = 78
    5/4/2010 9:16:43 PM : PollCurrentPosition: current = 78, noskip = 74.891483, isPlaying = True
    5/4/2010 9:16:44 PM : autoskip = True, lastposition = 78, tracktime = 79
    5/4/2010 9:16:44 PM : PollCurrentPosition: current = 79, noskip = 74.891483, isPlaying = True
    5/4/2010 9:16:45 PM : autoskip = True, lastposition = 79, tracktime = 80
    5/4/2010 9:16:45 PM : PollCurrentPosition: current = 80, noskip = 74.891483, isPlaying = True
    5/4/2010 9:16:46 PM : autoskip = True, lastposition = 80, tracktime = 81
    5/4/2010 9:16:46 PM : PollCurrentPosition: current = 81, noskip = 74.891483, isPlaying = True
    5/4/2010 9:16:46 PM : Key Press: Right
    5/4/2010 9:16:46 PM : Get Key Lock: True
    5/4/2010 9:16:46 PM : Call SkipCommercialFromHook
    5/4/2010 9:16:46 PM : Key Handled: True
    5/4/2010 9:16:46 PM : SkipCommercialFromHook
    5/4/2010 9:16:46 PM : SkipCommercial: Right
    5/4/2010 9:16:46 PM : SkipCommercial: comPt = 607.7071
    5/4/2010 9:16:46 PM : SkipCommercial: comPt = 607.7071 skipFrom = 81.3 noSkipUntil = 0
    5/4/2010 9:16:46 PM : SkipCommercial: Move to 607.7071
    5/4/2010 9:16:47 PM : Start polling
    5/4/2010 9:16:47 PM : In Start keysHooked = True
    5/4/2010 9:16:47 PM : Reuse file info
    5/4/2010 9:16:47 PM : FileName = C:\Users\Public\DvrmsToolbox
    5/4/2010 9:16:47 PM : Started: uniqueid = 9b0220a4-0516-41ac-9ad7-d260d63fbb19, reportedShowLength = 1796
    5/4/2010 9:16:48 PM : autoskip = True, lastposition = 81, tracktime = 609
    5/4/2010 9:16:48 PM : PollCurrentPosition: current = 609, noskip = 0, isPlaying = True
    5/4/2010 9:16:49 PM : Start polling
    5/4/2010 9:16:49 PM : In Start keysHooked = True
    5/4/2010 9:16:49 PM : Reuse file info
    5/4/2010 9:16:49 PM : FileName = C:\Users\Public\DvrmsToolbox
    5/4/2010 9:16:49 PM : Started: uniqueid = c499ecb5-3675-44f8-b7be-5cbe78f7d494, reportedShowLength = 1796
    5/4/2010 9:16:50 PM : autoskip = True, lastposition = 609, tracktime = 611
    5/4/2010 9:16:50 PM : PollCurrentPosition: current = 611, noskip = 0, isPlaying = True
    5/4/2010 9:16:51 PM : autoskip = True, lastposition = 611, tracktime = 612
    5/4/2010 9:16:51 PM : PollCurrentPosition: current = 612, noskip = 0, isPlaying = True
    5/4/2010 9:16:51 PM : Key Press: Right
    5/4/2010 9:16:51 PM : Get Key Lock: True
    5/4/2010 9:16:51 PM : Call SkipCommercialFromHook
    5/4/2010 9:16:51 PM : Key Handled: True
    5/4/2010 9:16:51 PM : SkipCommercialFromHook
    5/4/2010 9:16:51 PM : SkipCommercial: Right
    5/4/2010 9:16:51 PM : SkipCommercial: comPt = 1380.0787
    5/4/2010 9:16:51 PM : SkipCommercial: comPt = 1380.0787 skipFrom = 611.93 noSkipUntil = 0
    5/4/2010 9:16:51 PM : SkipCommercial: Move to 1380.0787
    5/4/2010 9:16:51 PM : Start polling
    5/4/2010 9:16:51 PM : In Start keysHooked = True
    5/4/2010 9:16:51 PM : Reuse file info
    5/4/2010 9:16:51 PM : FileName = C:\Users\Public\DvrmsToolbox
    5/4/2010 9:16:51 PM : Started: uniqueid = 278b9e62-ade3-4274-9761-9ad9f7d6caa6, reportedShowLength = 1796
    5/4/2010 9:16:53 PM : autoskip = True, lastposition = 612, tracktime = 1381
    5/4/2010 9:16:53 PM : PollCurrentPosition: current = 1381, noskip = 0, isPlaying = True
    5/4/2010 9:16:53 PM : Refreshed Experience
    5/4/2010 9:16:53 PM : Start polling
    5/4/2010 9:16:53 PM : In Start keysHooked = True
    5/4/2010 9:16:53 PM : Reuse file info
    5/4/2010 9:16:53 PM : FileName = C:\Users\Public\DvrmsToolbox
    5/4/2010 9:16:53 PM : Started: uniqueid = cdf3bb67-c3ee-4e69-afbb-0e676e2c83d5, reportedShowLength = 1796
    5/4/2010 9:16:54 PM : autoskip = True, lastposition = 1381, tracktime = 1383
    5/4/2010 9:16:54 PM : PollCurrentPosition: current = 1383, noskip = 0, isPlaying = True
    5/4/2010 9:16:55 PM : Key Press: MediaStop
    5/4/2010 9:16:55 PM : Get Key Lock: True
    5/4/2010 9:16:55 PM : Key Handled: False
    5/4/2010 9:16:58 PM : System.NullReferenceException: Object reference not set to an instance of an object.
       at babgVant.MediaCenter.CommercialSkipAddIn.CommercialSkip.PvrPlay(Object objSess)

  • Sun, May 9 2010 12:36 AM In reply to

    • netarc
    • Top 75 Contributor
    • Joined on Thu, Jan 8 2009

    Re: Commercial skip files created, but not used by MCE addin?

    hey, babgvant - any thoughts re: the logs, re: why the DVRMS mce plugin is looking for this dvrmstoolbox.xml for all previously processed shows, vs. the XML of the same filename as the show?

  • Fri, May 14 2010 10:34 AM In reply to

    • babgvant
    • Top 10 Contributor
    • Joined on Mon, Oct 2 2006
    • United Kingdom

    Re: Commercial skip files created, but not used by MCE addin?


     5/4/2010 9:16:39 PM : using debugfilepath = C:\Users\Public\DvrmsToolbox

    Open up the registry editor and remove this value from HKEY_LOCAL_MACHINE\SOFTWARE\DvrmsToolbox\CommercialSkip, DebugFilePath

    I don't think that's accessible via the settings tool, did you set it yourself?

  • Sun, May 16 2010 10:52 AM In reply to

    • netarc
    • Top 75 Contributor
    • Joined on Thu, Jan 8 2009

    Re: Commercial skip files created, but not used by MCE addin?

    aha - that worked, thank you!  I definitely remember adding the DEBUG value under that key, but don't recall adding the "debugfilepath," though it's entirely possible.

    Working great now, thank you!!

Page 1 of 1 (12 items)
@2008 andy vt
Powered by Community Server (Non-Commercial Edition), by Telligent Systems