SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer.

Reply
 
Thread Tools Search this Thread Display Modes
  #981  
Old 11-09-2016, 03:59 PM
hb4 hb4 is offline
Sage Aficionado
 
Join Date: Sep 2008
Location: Seattle, Wa
Posts: 346
I am seeing the message below when I tune to a station on the via the SageTV application on the Server. It doesn't show on the HD-200.

I am using the latest donator version.
Attached Images
File Type: jpg Capture1.JPG (23.2 KB, 196 views)
__________________
Server: Intel i5-11400 @4.4GHz 6 cores Windows10 Pro, Sage 9.2.6.976, Comskip Donators
Capture: Fubo/TVEverywhere/ChannelsDVR/OpenDCT_0.5.32_x86.
Storage: 120gB SSD, 4tB HD on Server
Network: gB Lan
Playback: FireStick 4K miniclient
Tech Level: Hobbyist
Reply With Quote
  #982  
Old 11-10-2016, 03:25 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by hb4 View Post
I am seeing the message below when I tune to a station on the via the SageTV application on the Server. It doesn't show on the HD-200.

I am using the latest donator version.
Comskip.exe is crashing. I would try using an older version or waiting until a newer version comes out. I get this from time to time on my sever too. For me it happens about once a month.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #983  
Old 11-10-2016, 11:47 AM
hb4 hb4 is offline
Sage Aficionado
 
Join Date: Sep 2008
Location: Seattle, Wa
Posts: 346
I downgraded to donator 81.091 and am still getting the message.

Was getting the message on 80.42 before I updated to donator 81.092 yesterday. For the update, I created a new directory, "Comskip Donator Version" and pointed comskip.exe and comskip.ini to that directory.

Also, after this change, the comskip plugin is reporting version 80.042.001.

Are there other reasons why it may crash?
__________________
Server: Intel i5-11400 @4.4GHz 6 cores Windows10 Pro, Sage 9.2.6.976, Comskip Donators
Capture: Fubo/TVEverywhere/ChannelsDVR/OpenDCT_0.5.32_x86.
Storage: 120gB SSD, 4tB HD on Server
Network: gB Lan
Playback: FireStick 4K miniclient
Tech Level: Hobbyist

Last edited by hb4; 11-10-2016 at 06:24 PM.
Reply With Quote
  #984  
Old 11-11-2016, 06:40 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Comskip + Phoenix 3 (Not automatically running jobs)

Not sure if this is a comskip issue or a phoenix 3 issue... or something else. Comskip, on my unRAID setup has been running fine for month, but since I've installed P3, comskip doesn't appear to running, automatically to flag commercials. I have it set to NOT run when a recording starts, so my guess is that it uses a thread and simply checks for completed recordings... or uses the system event for Recording Completed... but, however the case, it doesn't appear to "find" anything.

In the logs, the only thing I'm seeing is lots of lines like this...

Code:
Thu 11/10 22:00:50.641 CD: MonitorClient: Looking for work.
Thu 11/10 22:00:50.641 CD: RestartRestricted: Checking.
Thu 11/10 22:00:50.642 CD: CSC.getFirstStatus: item before remove null
Thu 11/10 22:00:50.642 CD: CSC.getFirstStatus: null Status.
Thu 11/10 22:00:50.642 CD: MonitorClient: Finished.
Thu 11/10 22:00:50.642 CD: ComskipManager.inRestrictedTime: No Restricted times.
Thu 11/10 22:00:50.642 CD: RestartRestricted: Restarting.
Thu 11/10 22:00:50.642 CD: ComskipManager.startMaxJobs: Restarting queued jobs.
Thu 11/10 22:00:50.643 CD: ComskipManager.readQueuedJobs: complete. null
Thu 11/10 22:00:50.643 CD: ComskipManager.readQueuedJobs: found 0
Thu 11/10 22:00:50.643 CD: ComskipManager.startFirstInQueue: No jobs queued.
Thu 11/10 22:00:50.904 java.lang.reflect.InvocationTargetException
Thu 11/10 22:00:50.904 sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
Thu 11/10 22:00:50.905 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Thu 11/10 22:00:50.905 java.lang.reflect.Method.invoke(Method.java:498)
Thu 11/10 22:00:50.905 sage.Catbert$ReflectedJEPFunction.run(Catbert.java:2142)
Thu 11/10 22:00:50.909 sage.jep.JEP$CommandEvaluator.evaluate(JEP.java:558)
Thu 11/10 22:00:50.909 sage.jep.JEP.getValueAsObject(JEP.java:428)
Thu 11/10 22:00:50.910 sage.Catbert.evaluateExpression(Catbert.java:641)
Thu 11/10 22:00:50.910 sage.ZPseudoComp.processChain(ZPseudoComp.java:4641)
Thu 11/10 22:00:50.910 sage.ZPseudoComp.processChain(ZPseudoComp.java:4775)
Thu 11/10 22:00:50.910 sage.ZPseudoComp.processChain(ZPseudoComp.java:4680)
Thu 11/10 22:00:50.910 sage.ZPseudoComp.processChain(ZPseudoComp.java:4579)
Thu 11/10 22:00:50.910 sage.ZPseudoComp$2.run(ZPseudoComp.java:4627)
Thu 11/10 22:00:50.910 sage.Pooler$PooledThread.run(Pooler.java:253)
Thu 11/10 22:00:50.910 java.lang.NullPointerException
Thu 11/10 22:01:50.641 CD: MonitorClient: Looking for work.
Thu 11/10 22:01:50.642 CD: CSC.getFirstStatus: item before remove null
Thu 11/10 22:01:50.642 CD: CSC.getFirstStatus: null Status.
Thu 11/10 22:01:50.642 CD: MonitorClient: Finished.
Thu 11/10 22:02:50.641 CD: MonitorClient: Looking for work.
Thu 11/10 22:02:50.642 CD: CSC.getFirstStatus: item before remove null
Thu 11/10 22:02:50.642 CD: CSC.getFirstStatus: null Status.
Thu 11/10 22:02:50.642 CD: MonitorClient: Finished.
Thu 11/10 22:03:50.642 CD: MonitorClient: Looking for work.
Thu 11/10 22:03:50.642 CD: CSC.getFirstStatus: item before remove null
Thu 11/10 22:03:50.642 CD: CSC.getFirstStatus: null Status.
Thu 11/10 22:03:50.643 CD: MonitorClient: Finished.
Thu 11/10 22:04:50.642 CD: MonitorClient: Looking for work.
Thu 11/10 22:04:50.642 CD: CSC.getFirstStatus: item before remove null
Thu 11/10 22:04:50.643 CD: CSC.getFirstStatus: null Status.
Thu 11/10 22:04:50.643 CD: MonitorClient: Finished.
Thu 11/10 22:05:50.641 CD: MonitorClient: Looking for work.
Thu 11/10 22:05:50.642 CD: CSC.getFirstStatus: item before remove null
Thu 11/10 22:05:50.642 CD: CSC.getFirstStatus: null Status.
Where that pattern of logging appears to repeat over and over, with the NullPointerException happening every so often.

If I go into the plugin setup, and then, queue up the items, and then run them from there... they alll work fine, and comskip will run on all the queued up items and process them.

So, again, not sure if this a comskip issue or P3 issue. P3 is a STV replacement so not sure if that is causing something, although I've never seen this issue when I was use P2 years ago.
Reply With Quote
  #985  
Old 11-11-2016, 07:29 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by hb4 View Post
I downgraded to donator 81.091 and am still getting the message.

Was getting the message on 80.42 before I updated to donator 81.092 yesterday. For the update, I created a new directory, "Comskip Donator Version" and pointed comskip.exe and comskip.ini to that directory.

Also, after this change, the comskip plugin is reporting version 80.042.001.

Are there other reasons why it may crash?
The .ini file used by CommercialDetector has some changes from what ships with comskip. Try using the donator version of comskip and the .ini that comes packaged with the plugin.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #986  
Old 11-11-2016, 07:33 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by stuckless View Post
Not sure if this is a comskip issue or a phoenix 3 issue... or something else. Comskip, on my unRAID setup has been running fine for month, but since I've installed P3, comskip doesn't appear to running, automatically to flag commercials. I have it set to NOT run when a recording starts, so my guess is that it uses a thread and simply checks for completed recordings... or uses the system event for Recording Completed... but, however the case, it doesn't appear to "find" anything.

In the logs, the only thing I'm seeing is lots of lines like this...

Code:
Thu 11/10 22:00:50.641 CD: MonitorClient: Looking for work.
Thu 11/10 22:00:50.641 CD: RestartRestricted: Checking.
Thu 11/10 22:00:50.642 CD: CSC.getFirstStatus: item before remove null
Thu 11/10 22:00:50.642 CD: CSC.getFirstStatus: null Status.
Thu 11/10 22:00:50.642 CD: MonitorClient: Finished.
Thu 11/10 22:00:50.642 CD: ComskipManager.inRestrictedTime: No Restricted times.
Thu 11/10 22:00:50.642 CD: RestartRestricted: Restarting.
Thu 11/10 22:00:50.642 CD: ComskipManager.startMaxJobs: Restarting queued jobs.
Thu 11/10 22:00:50.643 CD: ComskipManager.readQueuedJobs: complete. null
Thu 11/10 22:00:50.643 CD: ComskipManager.readQueuedJobs: found 0
Thu 11/10 22:00:50.643 CD: ComskipManager.startFirstInQueue: No jobs queued.
Thu 11/10 22:00:50.904 java.lang.reflect.InvocationTargetException
Thu 11/10 22:00:50.904 sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
Thu 11/10 22:00:50.905 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Thu 11/10 22:00:50.905 java.lang.reflect.Method.invoke(Method.java:498)
Thu 11/10 22:00:50.905 sage.Catbert$ReflectedJEPFunction.run(Catbert.java:2142)
Thu 11/10 22:00:50.909 sage.jep.JEP$CommandEvaluator.evaluate(JEP.java:558)
Thu 11/10 22:00:50.909 sage.jep.JEP.getValueAsObject(JEP.java:428)
Thu 11/10 22:00:50.910 sage.Catbert.evaluateExpression(Catbert.java:641)
Thu 11/10 22:00:50.910 sage.ZPseudoComp.processChain(ZPseudoComp.java:4641)
Thu 11/10 22:00:50.910 sage.ZPseudoComp.processChain(ZPseudoComp.java:4775)
Thu 11/10 22:00:50.910 sage.ZPseudoComp.processChain(ZPseudoComp.java:4680)
Thu 11/10 22:00:50.910 sage.ZPseudoComp.processChain(ZPseudoComp.java:4579)
Thu 11/10 22:00:50.910 sage.ZPseudoComp$2.run(ZPseudoComp.java:4627)
Thu 11/10 22:00:50.910 sage.Pooler$PooledThread.run(Pooler.java:253)
Thu 11/10 22:00:50.910 java.lang.NullPointerException
Thu 11/10 22:01:50.641 CD: MonitorClient: Looking for work.
Thu 11/10 22:01:50.642 CD: CSC.getFirstStatus: item before remove null
Thu 11/10 22:01:50.642 CD: CSC.getFirstStatus: null Status.
Thu 11/10 22:01:50.642 CD: MonitorClient: Finished.
Thu 11/10 22:02:50.641 CD: MonitorClient: Looking for work.
Thu 11/10 22:02:50.642 CD: CSC.getFirstStatus: item before remove null
Thu 11/10 22:02:50.642 CD: CSC.getFirstStatus: null Status.
Thu 11/10 22:02:50.642 CD: MonitorClient: Finished.
Thu 11/10 22:03:50.642 CD: MonitorClient: Looking for work.
Thu 11/10 22:03:50.642 CD: CSC.getFirstStatus: item before remove null
Thu 11/10 22:03:50.642 CD: CSC.getFirstStatus: null Status.
Thu 11/10 22:03:50.643 CD: MonitorClient: Finished.
Thu 11/10 22:04:50.642 CD: MonitorClient: Looking for work.
Thu 11/10 22:04:50.642 CD: CSC.getFirstStatus: item before remove null
Thu 11/10 22:04:50.643 CD: CSC.getFirstStatus: null Status.
Thu 11/10 22:04:50.643 CD: MonitorClient: Finished.
Thu 11/10 22:05:50.641 CD: MonitorClient: Looking for work.
Thu 11/10 22:05:50.642 CD: CSC.getFirstStatus: item before remove null
Thu 11/10 22:05:50.642 CD: CSC.getFirstStatus: null Status.
Where that pattern of logging appears to repeat over and over, with the NullPointerException happening every so often.

If I go into the plugin setup, and then, queue up the items, and then run them from there... they alll work fine, and comskip will run on all the queued up items and process them.

So, again, not sure if this a comskip issue or P3 issue. P3 is a STV replacement so not sure if that is causing something, although I've never seen this issue when I was use P2 years ago.
CommercialDetector does both, it starts comskip when the RecordingCompleted event fires and it periodically wakes up and looks for something to do.

The log you posted is consistent with what happens when it wakes up and finds nothing to do. (Although the NPE is not normal.) Can you post a log that shows what happens after a recording completes normally?
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #987  
Old 11-11-2016, 09:16 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
So, at 22:00 you see that a recording was being setup...

Code:
Thu 11/10 22:00:05.269 V4L: setup encoding /var/media/tv/PureGenius-S01E03-YouMustRememberThis-16195019-0.ts
Thu 11/10 22:00:50.641 CD: MonitorClient: Looking for work.
Thu 11/10 22:00:50.641 CD: RestartRestricted: Checking.
Thu 11/10 22:00:50.642 CD: CSC.getFirstStatus: item before remove null
Thu 11/10 22:00:50.642 CD: CSC.getFirstStatus: null Status.
Thu 11/10 22:00:50.642 CD: MonitorClient: Finished.
So, an hour later (when the recording complete would fire...

Code:
Thu 11/10 22:59:50.642 CD: MonitorClient: Looking for work.
Thu 11/10 22:59:50.642 CD: CSC.getFirstStatus: item before remove null
Thu 11/10 22:59:50.642 CD: CSC.getFirstStatus: null Status.
Thu 11/10 22:59:50.642 CD: MonitorClient: Finished.
Thu 11/10 23:00:00.099 V4L: closeEncoding
Thu 11/10 23:00:00.099 V4L: join capture thread
Thu 11/10 23:00:00.147 V4L: capture thread stopped
Thu 11/10 23:00:00.325 V4L: done closeEncoding
Thu 11/10 23:00:50.641 CD: RestartRestricted: Checking.
Thu 11/10 23:00:50.642 CD: ComskipManager.inRestrictedTime: No Restricted times.
Thu 11/10 23:00:50.642 CD: RestartRestricted: Restarting.
Thu 11/10 23:00:50.642 CD: ComskipManager.startMaxJobs: Restarting queued jobs.
Thu 11/10 23:00:50.642 CD: MonitorClient: Looking for work.
Thu 11/10 23:00:50.643 CD: CSC.getFirstStatus: item before remove null
Thu 11/10 23:00:50.643 CD: CSC.getFirstStatus: null Status.
Thu 11/10 23:00:50.643 CD: MonitorClient: Finished.
Thu 11/10 23:00:50.643 CD: ComskipManager.readQueuedJobs: complete. null
Thu 11/10 23:00:50.644 CD: ComskipManager.readQueuedJobs: found 0
Thu 11/10 23:00:50.644 CD: ComskipManager.startFirstInQueue: No jobs queued.
Thu 11/10 23:00:52.023 java.lang.reflect.InvocationTargetException
Thu 11/10 23:00:52.023 sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
Thu 11/10 23:00:52.024 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Thu 11/10 23:00:52.024 java.lang.reflect.Method.invoke(Method.java:498)
Thu 11/10 23:00:52.024 sage.Catbert$ReflectedJEPFunction.run(Catbert.java:2142)
Thu 11/10 23:00:52.024 sage.jep.JEP$CommandEvaluator.evaluate(JEP.java:558)
Thu 11/10 23:00:52.024 sage.jep.JEP.getValueAsObject(JEP.java:428)
Thu 11/10 23:00:52.025 sage.Catbert.evaluateExpression(Catbert.java:641)
Thu 11/10 23:00:52.025 sage.ZPseudoComp.processChain(ZPseudoComp.java:4641)
Thu 11/10 23:00:52.025 sage.ZPseudoComp.processChain(ZPseudoComp.java:4775)
Thu 11/10 23:00:52.025 sage.ZPseudoComp.processChain(ZPseudoComp.java:4680)
Thu 11/10 23:00:52.025 sage.ZPseudoComp.processChain(ZPseudoComp.java:4579)
Thu 11/10 23:00:52.025 sage.ZPseudoComp$2.run(ZPseudoComp.java:4627)
Thu 11/10 23:00:52.025 sage.Pooler$PooledThread.run(Pooler.java:253)
Thu 11/10 23:00:52.025 java.lang.NullPointerException
Thu 11/10 23:01:50.642 CD: MonitorClient: Looking for work.
Thu 11/10 23:01:50.642 CD: CSC.getFirstStatus: item before remove null
Thu 11/10 23:01:50.642 CD: CSC.getFirstStatus: null Status.
Thu 11/10 23:01:50.642 CD: MonitorClient: Finished.
Thu 11/10 23:02:50.642 CD: MonitorClient: Looking for work.
Thu 11/10 23:02:50.642 CD: CSC.getFirstStatus: item before remove null
Thu 11/10 23:02:50.642 CD: CSC.getFirstStatus: null Status.
Thu 11/10 23:02:50.643 CD: MonitorClient: Finished.
Thu 11/10 23:03:50.641 CD: MonitorClient: Looking for work.
Thu 11/10 23:03:50.642 CD: CSC.getFirstStatus: item before remove null
Thu 11/10 23:03:50.642 CD: CSC.getFirstStatus: null Status.
Thu 11/10 23:03:50.642 CD: MonitorClient: Finished.
Thu 11/10 23:04:50.642 CD: MonitorClient: Looking for work.
When I force a job to run... I see other comskip info (that I never see when a recordings completes)

Code:
Thu 11/10 21:00:37.760 CD: StreamGetter: stdout: /opt/sagetv/comskip/comskip --ini=/opt/sagetv/comskip/comskip.ini /var/media/tv/HowtoGetAwayWithMurder-S03E08-NoMoreBlood-16199235-0.ts
Thu 11/10 21:00:37.760 CD: ComskipJob.updateRatioProperties: PropElement CHCHDT:0.57250005
Thu 11/10 21:00:37.761 CD: CSC.addStatus: item after add 16250039,16255255,16255256,16240412
Thu 11/10 21:00:37.761 CD: StreamGetter: stderr: Donator build
Thu 11/10 21:00:37.761 CD: ComskipManager.jobComplete: Successfully started next job.
Thu 11/10 21:00:37.761 CD: ComskipJob.updateRatioProperties: PropElement COMDCHD:0.559575
Thu 11/10 21:00:37.761 CD: StreamGetter: stdout: 
Thu 11/10 21:00:37.761 CD: StreamGetter: stdout: Setting ini file to /opt/sagetv/comskip/comskip.ini as per commandline
Thu 11/10 21:00:37.762 CD: StreamGetter: stdout: Using /opt/sagetv/comskip/comskip.ini for initiation values.
Thu 11/10 21:00:37.762 CD: StreamGetter: stdout: Mpeg:  /var/media/tv/HowtoGetAwayWithMurder-S03E08-NoMoreBlood-16199235-0.ts
Thu 11/10 21:00:37.762 CD: StreamGetter: stdout: Exe    comskip.exe
Thu 11/10 21:00:37.762 CD: StreamGetter: stdout: Logo:  /var/media/tv/HowtoGetAwayWithMurder-S03E08-NoMoreBlood-16199235-0.logo.txt
Thu 11/10 21:00:37.762 CD: StreamGetter: stdout: Ini:   /opt/sagetv/comskip/comskip.ini
Thu 11/10 21:00:37.762 CD: StreamGetter: stdout: 
Thu 11/10 21:00:37.763 CD: StreamGetter: stdout: Detection Methods to be used:
Thu 11/10 21:00:37.763 CD: StreamGetter: stdout:        1) Black Frame
Thu 11/10 21:00:37.763 CD: StreamGetter: stdout:        2) Logo - Give up after 2000 seconds
Thu 11/10 21:00:37.763 CD: StreamGetter: stdout:        3) Scene Change
Thu 11/10 21:00:37.763 CD: StreamGetter: stdout:        4) Resolution Change
Thu 11/10 21:00:37.763 CD: StreamGetter: stdout:        5) Closed Captions
Thu 11/10 21:00:37.763 CD: StreamGetter: stdout:        6) Aspect Ratio
Thu 11/10 21:00:37.763 CD: StreamGetter: stdout:        7) Silence
Thu 11/10 21:00:37.763 CD: StreamGetter: stdout:        8) CutScenes
Thu 11/10 21:00:37.765 CD: StreamGetter: stdout: 
Thu 11/10 21:00:37.766 CD: StreamGetter: stdout: ComSkip throttles back from -0001 to -0001.
Thu 11/10 21:00:37.766 CD: StreamGetter: stdout: The time is now 2100 so it's full speed ahead!
Thu 11/10 21:00:37.766 CD: StreamGetter: stdout: 
Thu 11/10 21:00:37.766 CD: StreamGetter: stdout: Settings
Thu 11/10 21:00:37.766 CD: StreamGetter: stdout: --------
Thu 11/10 21:00:37.766 CD: StreamGetter: stdout: [Main Settings]
Thu 11/10 21:00:37.766 CD: StreamGetter: stdout: ;the sum of the values for which kind of frames comskip will consider as possible cutpoints: 1=uniform (black or any other color) frame, 2=logo, 4=scene change, 8=resolution change, 16=closed captions, 32=aspect ration, 64=silence, 255=all.
It's almost like the RecordingComplete "handling" is never happening (or that exception in the log is where it is happening, but, there is exception, and SageTV doesn'r report "what" is causing the issue... just the issue
Reply With Quote
  #988  
Old 11-11-2016, 09:21 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
That exception does look UI related. I'm wondering, does commercialdetector make any api calls to any UI widgets or something? That seems to make sense why something would work normally, but just changing the UI would kill it.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #989  
Old 11-11-2016, 09:36 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Fuzzy View Post
That exception does look UI related. I'm wondering, does commercialdetector make any api calls to any UI widgets or something? That seems to make sense why something would work normally, but just changing the UI would kill it.
I was thinking the same, but the exception could be unrelated to comskip, as well. It's odd that there woud be a UI exception, because this time, no-one is using sagetv and the externders are sleeping.

I think the comskip plugin (or another related plugin) does update the UI with a Comskip icon to show that comskip is running... but I'd think that is NOT in the core plugin code.
Reply With Quote
  #990  
Old 11-11-2016, 11:06 AM
hb4 hb4 is offline
Sage Aficionado
 
Join Date: Sep 2008
Location: Seattle, Wa
Posts: 346
Quote:
Originally Posted by tmiranda View Post
The .ini file used by CommercialDetector has some changes from what ships with comskip. Try using the donator version of comskip and the .ini that comes packaged with the plugin.
That seems to work, if I have the correct comskip.ini file. I found an old one that seems to have the CD mods. Where can I find a current one so that I'm sure I'm using the right one?
__________________
Server: Intel i5-11400 @4.4GHz 6 cores Windows10 Pro, Sage 9.2.6.976, Comskip Donators
Capture: Fubo/TVEverywhere/ChannelsDVR/OpenDCT_0.5.32_x86.
Storage: 120gB SSD, 4tB HD on Server
Network: gB Lan
Playback: FireStick 4K miniclient
Tech Level: Hobbyist

Last edited by hb4; 11-11-2016 at 01:13 PM.
Reply With Quote
  #991  
Old 11-11-2016, 12:09 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by stuckless View Post
I was thinking the same, but the exception could be unrelated to comskip, as well. It's odd that there woud be a UI exception, because this time, no-one is using sagetv and the externders are sleeping.

I think the comskip plugin (or another related plugin) does update the UI with a Comskip icon to show that comskip is running... but I'd think that is NOT in the core plugin code.
Yeah, there is a seperate STVi plugin (CommercialDetector UI) that does the icon thing. I'm pretty certain it would be disabled in your phoenix UI if it was loaded. I was going to try to trace it down a little, but I'm not sure if Tom has the current source on github.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #992  
Old 11-11-2016, 12:23 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by Fuzzy View Post
Yeah, there is a seperate STVi plugin (CommercialDetector UI) that does the icon thing. I'm pretty certain it would be disabled in your phoenix UI if it was loaded. I was going to try to trace it down a little, but I'm not sure if Tom has the current source on github.
The current source is not on GitHub.

I doubt it has anything to do with the UI. All the UI Plugin does is provide the icon in the header bar and next to a recording that is being processed. It also queues files to the core plugin if the user selects "Run comskip" from the menu.

@stuckless - How are you "forcing" a job using Phoenix? Also, please post more of the logfile, what you are posting is not showing me when the core plugin receives the RecordingCompleted event. (Maybe the problem is that it's not receiving the event at all.)
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #993  
Old 11-11-2016, 01:05 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by tmiranda View Post
The current source is not on GitHub.

I doubt it has anything to do with the UI. All the UI Plugin does is provide the icon in the header bar and next to a recording that is being processed. It also queues files to the core plugin if the user selects "Run comskip" from the menu.

@stuckless - How are you "forcing" a job using Phoenix? Also, please post more of the logfile, what you are posting is not showing me when the core plugin receives the RecordingCompleted event. (Maybe the problem is that it's not receiving the event at all.)
Hey Tom... I don't see it ever getting the RecordingCompleted event (you can see where the recording finishes) and from there on. it's just those log lines that I posted, repeated every minute as it looks for jobs.

When I'm running it manually, I'm doing it from the plugin configuration screen. (ie, selecting it to queue jobs, and then I can the # of run jobs increase, etc).
Reply With Quote
  #994  
Old 11-12-2016, 05:53 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by stuckless View Post
Hey Tom... I don't see it ever getting the RecordingCompleted event (you can see where the recording finishes) and from there on. it's just those log lines that I posted, repeated every minute as it looks for jobs.

When I'm running it manually, I'm doing it from the plugin configuration screen. (ie, selecting it to queue jobs, and then I can the # of run jobs increase, etc).
It registers to listen for the event when start() is called. Look through the log when the plugin is loaded and see what's there. Either is't crashing during start() or it thinks it's running on a SageClient and exiting.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #995  
Old 11-12-2016, 06:21 AM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Quote:
Originally Posted by tmiranda View Post
It registers to listen for the event when start() is called. Look through the log when the plugin is loaded and see what's there. Either is't crashing during start() or it thinks it's running on a SageClient and exiting.
its possible if your plugin manifest has a STV dependency on SageTV7 STV then the start will not run as P3 does not meet that dependency. The plugin will install as I believe P3 jumps to the SageTV7 STV for the plugin manager but on startup it likely does not meet the STV dependency. You could try removing the STV dependency or add a second one for P3 (and a 3rd for Gemstone 2 as I am sure it will have this issue as well)

k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #996  
Old 11-12-2016, 07:51 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by jusjoken View Post
its possible if your plugin manifest has a STV dependency on SageTV7 STV then the start will not run as P3 does not meet that dependency. The plugin will install as I believe P3 jumps to the SageTV7 STV for the plugin manager but on startup it likely does not meet the STV dependency. You could try removing the STV dependency or add a second one for P3 (and a 3rd for Gemstone 2 as I am sure it will have this issue as well)

k
Yes, that's the issue. I didn't realize that dependency would be a problem.

I'll try to get an update out this weekend. I need to update the PlugIn anway to include the native linux support.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #997  
Old 11-12-2016, 11:53 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Should still have the STV dependency on the UI MOD, just not the General plugin.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #998  
Old 11-12-2016, 12:06 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by Fuzzy View Post
Should still have the STV dependency on the UI MOD, just not the General plugin.
Yup. CommercialDetector was one of the first plugins I wrote and as such sometimes I look at it and wonder what the heck I was thinking
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #999  
Old 11-12-2016, 01:01 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Quote:
Originally Posted by Fuzzy View Post
Should still have the STV dependency on the UI MOD, just not the General plugin.
But still want a Gemstone STV dependency added as i am trying to make the ui mod work with gemstone 2 as well.

Thanks
k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #1000  
Old 11-12-2016, 03:11 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by jusjoken View Post
But still want a Gemstone STV dependency added as i am trying to make the ui mod work with gemstone 2 as well.

Thanks
k
I setup my dev system and loaded Phoenix 3. I'm no longer convinced the error is due to the SageTV7 dependency in the manifest. I can see that the plugin is loaded and the start() method runs as expected.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Plugin: MizookLCD (Alternate SageTV LCDSmartie Plugin) cslatt SageTV Customizations 48 06-11-2012 10:44 AM
Plugin :: My TV for V7 bialio SageTV v7 Customizations 41 03-26-2011 11:09 AM
MediaPlayer Plugin/STV Import: Winamp Media Player Plugin deria SageTV Customizations 447 12-11-2010 07:38 PM
Plugin Manager: Configure plugin medwynd SageTV Beta Test Software 0 05-29-2010 08:43 AM
Hulu: Possible to Use XBMC Hulu Plugin to create SageTV Plugin? Brent SageTV Customizations 8 02-24-2009 04:16 PM


All times are GMT -6. The time now is 07:08 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.