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
  #41  
Old 06-23-2010, 08:02 PM
voorhees voorhees is offline
Sage Aficionado
 
Join Date: Sep 2007
Location: Colorado
Posts: 339
Quote:
Originally Posted by electronics4lif View Post
I looks like I am also experiencing this bug. SAD.log says that all of my 'test' files are not media objects. I am subscribed to see if something gets resolved with this bug.
I submitted a bug report yesterday. They jumped right on it and requested several things (verify files are good in SageTV, command used in Expression Evaluator, and Wiz.bin file). I got them the data when I got home from work today, so hopefully they will be off looking at it tomorrow. If you have seen the same problem, I do not think it would hurt to let them know so they know this is not an isolated case.

Just for curiosity sake, are you running v7 and any HD200s? Have you seen issues with the HD200 turning off ~3 sec after you turn it on? Have you gotten Playback Exception errors when trying to play any media files from SageTV on the HD200? Or, issues like these, these, or these. I am not sure how, but I am interested to see if the non-registered media object thing is related to the issues several folks (including me) are having with the new beta firmware on the HD200.
__________________
Server: OS: MS WHS v1; MB: GIGABYTE GA-EP45-UD3R; CPU: Intel Q9400 2.66GHz; RAM: G.SKILL 4GB (4x1GB); HDs: 1x80GB, 7x1.5TB; Graphics: EVGA GeForce 9500 GT 512MB
Capture/Content: HD-PVR, 2xHDHRP (CC), Comcast
STBs (Controllers): RNG110 (Firewire ChCh)
Clients: 2xHD300, 2xHD200, 2xPS, Client
SageTV/Plugins: v7.1.9, SageDCT, SRE, Comm Det, Jetty, Web Server, Mob Web, PlayOn, E/D Fav, Fav Ex, MF Stop, Enc Names
Reply With Quote
  #42  
Old 06-24-2010, 11:44 AM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Quote:
Originally Posted by voorhees View Post
I submitted a bug report yesterday. They jumped right on it and requested several things (verify files are good in SageTV, command used in Expression Evaluator, and Wiz.bin file). I got them the data when I got home from work today, so hopefully they will be off looking at it tomorrow. If you have seen the same problem, I do not think it would hurt to let them know so they know this is not an isolated case.

Just for curiosity sake, are you running v7 and any HD200s? Have you seen issues with the HD200 turning off ~3 sec after you turn it on? Have you gotten Playback Exception errors when trying to play any media files from SageTV on the HD200? Or, issues like these, these, or these. I am not sure how, but I am interested to see if the non-registered media object thing is related to the issues several folks (including me) are having with the new beta firmware on the HD200.
This is not a bug in the API. We looked at his Wiz.bin file and the files were recorded to a UNC path; which is why they don't show up when searched for by the D:\ path that was being tested against.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #43  
Old 06-24-2010, 11:50 AM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by voorhees View Post
I submitted a bug report yesterday. They jumped right on it and requested several things (verify files are good in SageTV, command used in Expression Evaluator, and Wiz.bin file). I got them the data when I got home from work today, so hopefully they will be off looking at it tomorrow. If you have seen the same problem, I do not think it would hurt to let them know so they know this is not an isolated case.

Just for curiosity sake, are you running v7 and any HD200s? Have you seen issues with the HD200 turning off ~3 sec after you turn it on? Have you gotten Playback Exception errors when trying to play any media files from SageTV on the HD200? Or, issues like these, these, or these. I am not sure how, but I am interested to see if the non-registered media object thing is related to the issues several folks (including me) are having with the new beta firmware on the HD200.
Quote:
Originally Posted by Narflex View Post
This is not a bug in the API. We looked at his Wiz.bin file and the files were recorded to a UNC path; which is why they don't show up when searched for by the D:\ path that was being tested against.
That makes perfect sense. Thanks for the update, Narflex. The other issue - SAD incorrectly deleting artifacts for unregistered, but not deleted media files - has already been fixed in the latest version available in the repository. So unless someone reports something new then all should be good.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #44  
Old 06-24-2010, 12:02 PM
voorhees voorhees is offline
Sage Aficionado
 
Join Date: Sep 2007
Location: Colorado
Posts: 339
Quote:
Originally Posted by Narflex View Post
This is not a bug in the API. We looked at his Wiz.bin file and the files were recorded to a UNC path; which is why they don't show up when searched for by the D:\ path that was being tested against.
Narflex, thanks so much for looking into the issue. Great to hear it is not a bug.

I thought I had also tried testing it against the UNC path and got the same "null" result, as I mentioned in one of my e-mails to support, but I guess I got the syntax wrong. What would be the syntax to test it against the UNC path?

Thanks.
__________________
Server: OS: MS WHS v1; MB: GIGABYTE GA-EP45-UD3R; CPU: Intel Q9400 2.66GHz; RAM: G.SKILL 4GB (4x1GB); HDs: 1x80GB, 7x1.5TB; Graphics: EVGA GeForce 9500 GT 512MB
Capture/Content: HD-PVR, 2xHDHRP (CC), Comcast
STBs (Controllers): RNG110 (Firewire ChCh)
Clients: 2xHD300, 2xHD200, 2xPS, Client
SageTV/Plugins: v7.1.9, SageDCT, SRE, Comm Det, Jetty, Web Server, Mob Web, PlayOn, E/D Fav, Fav Ex, MF Stop, Enc Names
Reply With Quote
  #45  
Old 06-24-2010, 01:12 PM
electronics4lif electronics4lif is offline
Sage Advanced User
 
Join Date: Dec 2006
Posts: 141
Quote:
Originally Posted by Narflex View Post
This is not a bug in the API. We looked at his Wiz.bin file and the files were recorded to a UNC path; which is why they don't show up when searched for by the D:\ path that was being tested against.
I didn't even think of that. I am indeed also using UNC paths. Thank you for tracking down our testing error.
Reply With Quote
  #46  
Old 06-24-2010, 08:12 PM
voorhees voorhees is offline
Sage Aficionado
 
Join Date: Sep 2007
Location: Colorado
Posts: 339
Quote:
Originally Posted by Narflex View Post
This is not a bug in the API. We looked at his Wiz.bin file and the files were recorded to a UNC path; which is why they don't show up when searched for by the D:\ path that was being tested against.
Yep, that was it. Use \\\\localhost instead of D:\ and I get data instead of "null". It looks like I tried \\localhost instead of \\\\localhost; missed the extra two backslashes. Thanks again for tracking this down.
__________________
Server: OS: MS WHS v1; MB: GIGABYTE GA-EP45-UD3R; CPU: Intel Q9400 2.66GHz; RAM: G.SKILL 4GB (4x1GB); HDs: 1x80GB, 7x1.5TB; Graphics: EVGA GeForce 9500 GT 512MB
Capture/Content: HD-PVR, 2xHDHRP (CC), Comcast
STBs (Controllers): RNG110 (Firewire ChCh)
Clients: 2xHD300, 2xHD200, 2xPS, Client
SageTV/Plugins: v7.1.9, SageDCT, SRE, Comm Det, Jetty, Web Server, Mob Web, PlayOn, E/D Fav, Fav Ex, MF Stop, Enc Names
Reply With Quote
  #47  
Old 02-11-2015, 08:25 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
I have unsubscribed from this thread. "Quick(ish) response" support for this plugin is no more. I may or may not read further posts in this thread and if I do read them then I may or may not respond to them. More details here.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #48  
Old 06-03-2017, 12:33 AM
waylo waylo is offline
Sage Advanced User
 
Join Date: Feb 2006
Posts: 238
Sage Artifact Delete (SAD) plugin... still functional or not?

Hi everyone,

I have the plugin Sage Artifact Delete installed which is supposed to "listen for media object deletion events and will delete any artifacts associated with the media object automatically."

It's been a long time since it was created. Has its functionality ceased? In v7 and/or v9?

I was hoping it would supplement the cleanup function of the Commercial Detector plugin for my .edl files. That plugin is able to erase shows' .edl and other comskip associated files that are from recorded favorites which are subsequently manually deleted. It does NOT remove leftovers from live watched TV. Those video files are auto deleted once you stop watching the channel, but the artifact files are left over. A manual scan for leftovers within the plugin configuration is required every so often to get rid of those files.

* merged *
__________________

Server: SageTV 9.2.6x64 on Win10 x64 Home, i7-2600, 8gb RAM, OpenDCT, Java 1.8, 20TB storage
Display: EVGA GT 1030 fanless to Sony LED TV via DVI-HDMI
Capture Devices: HDHR Prime for Comcast, HDHR Dual for OTA (retired)
Clients: Nvidia Shield Android miniclient
Reply With Quote
  #49  
Old 06-03-2017, 09: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 waylo View Post
Hi everyone,

I have the plugin Sage Artifact Delete installed which is supposed to "listen for media object deletion events and will delete any artifacts associated with the media object automatically."

It's been a long time since it was created. Has its functionality ceased? In v7 and/or v9?

I was hoping it would supplement the cleanup function of the Commercial Detector plugin for my .edl files. That plugin is able to erase shows' .edl and other comskip associated files that are from recorded favorites which are subsequently manually deleted. It does NOT remove leftovers from live watched TV. Those video files are auto deleted once you stop watching the channel, but the artifact files are left over. A manual scan for leftovers within the plugin configuration is required every so often to get rid of those files.

* merged *
CommercialDetector should delete the files from live TV. Please reproduce the problem and post a logfile for me to look at.
__________________

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
  #50  
Old 06-03-2017, 09:44 PM
waylo waylo is offline
Sage Advanced User
 
Join Date: Feb 2006
Posts: 238
Quote:
Originally Posted by tmiranda View Post
CommercialDetector should delete the files from live TV. Please reproduce the problem and post a logfile for me to look at.
Thanks for the thread merge mod. Couldn't find it in the search, probably cause the thread is 2 years old!

Thanks @tmiranda for chiming in, I'll see if I can grab the right logs. Would it be in sagetv_0.txt? Can you clue me in on what type of entries to look for?

EDIT: Would help if I turned on the debug level to something > none, haha.
__________________

Server: SageTV 9.2.6x64 on Win10 x64 Home, i7-2600, 8gb RAM, OpenDCT, Java 1.8, 20TB storage
Display: EVGA GT 1030 fanless to Sony LED TV via DVI-HDMI
Capture Devices: HDHR Prime for Comcast, HDHR Dual for OTA (retired)
Clients: Nvidia Shield Android miniclient

Last edited by waylo; 06-03-2017 at 09:57 PM.
Reply With Quote
  #51  
Old 06-04-2017, 01:48 AM
waylo waylo is offline
Sage Advanced User
 
Join Date: Feb 2006
Posts: 238
Quote:
Originally Posted by tmiranda View Post
CommercialDetector should delete the files from live TV. Please reproduce the problem and post a logfile for me to look at.
Hi tmiranda,

Thanks for your assistance in tracking this down.

Attached is the relevant log of a live TV recording which was manually ended, initiating the media cleanup. The leftover file was the logo.txt file associated with the recording.

A few things I think I'm seeing which I hope you can weigh in on:

1. The only leftover files in the recording directory (in this example, I'll have to look at more) was the logo.txt files from comskip. It looks like they might not be properly deleted by comskip when comskip stops, if it is in the middle of file scanning. I do have logo.txt deletion turned on in my comskip.ini.

Does the plugin automatically look for logo.txt files? I see in the log it does, but logo.txt is not directly set in my cleanup file extension list.

Though the log shows it was running the processes looking to delete the logo.txt file, it does not look like it actually deleted it.

2. Perhaps related, the Commercial Detector plugin does not like cleanup extensions with a '.' in them. Specifically, with OpenDCT's subtitle creation support, which creates CC1.srt and CC2.srt files, this causes some issues when using the orphan detector. I added them to my extension list which results in the following behavior. (I've actually turned off CC creation in OpenDCT which is why the files are not actually found and deleted).

Let's call our sample recording videofile.ts. Because of the extra '.' in the extension, the orphan detector looks for a parent videofile.CC1.ts file, or videofile.CC2.ts file. Of course it won't find these misnamed parent files, so it will mark and delete the CC1.srt file. For ALL recordings everywhere.
Attached Files
File Type: txt frenchopenlog.txt (42.5 KB, 159 views)
__________________

Server: SageTV 9.2.6x64 on Win10 x64 Home, i7-2600, 8gb RAM, OpenDCT, Java 1.8, 20TB storage
Display: EVGA GT 1030 fanless to Sony LED TV via DVI-HDMI
Capture Devices: HDHR Prime for Comcast, HDHR Dual for OTA (retired)
Clients: Nvidia Shield Android miniclient
Reply With Quote
  #52  
Old 06-04-2017, 04:52 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by waylo View Post
Hi tmiranda,

Thanks for your assistance in tracking this down.

Attached is the relevant log of a live TV recording which was manually ended, initiating the media cleanup. The leftover file was the logo.txt file associated with the recording.

A few things I think I'm seeing which I hope you can weigh in on:

1. The only leftover files in the recording directory (in this example, I'll have to look at more) was the logo.txt files from comskip. It looks like they might not be properly deleted by comskip when comskip stops, if it is in the middle of file scanning. I do have logo.txt deletion turned on in my comskip.ini.

Does the plugin automatically look for logo.txt files? I see in the log it does, but logo.txt is not directly set in my cleanup file extension list.

Though the log shows it was running the processes looking to delete the logo.txt file, it does not look like it actually deleted it.

2. Perhaps related, the Commercial Detector plugin does not like cleanup extensions with a '.' in them. Specifically, with OpenDCT's subtitle creation support, which creates CC1.srt and CC2.srt files, this causes some issues when using the orphan detector. I added them to my extension list which results in the following behavior. (I've actually turned off CC creation in OpenDCT which is why the files are not actually found and deleted).

Let's call our sample recording videofile.ts. Because of the extra '.' in the extension, the orphan detector looks for a parent videofile.CC1.ts file, or videofile.CC2.ts file. Of course it won't find these misnamed parent files, so it will mark and delete the CC1.srt file. For ALL recordings everywhere.
Something is wrong with the logfile, I didn't find a single CommercialDetector log entry. (They all start with CD Either you posted the wrong thing or I need another cup of coffee before looking at the file

Do you have "txt" in your list of extensions to clean up? If not then add it. Another possibility is that comskip still has the logo.txt file open and CommercialDetector can't delete it.

I'm confused with your description of the .srt files. I don't use them, Please explain how OpenDCT names the .srt file. Your post makes it sound like they are all named the same
__________________

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
  #53  
Old 06-04-2017, 10:12 AM
waylo waylo is offline
Sage Advanced User
 
Join Date: Feb 2006
Posts: 238
Quote:
Originally Posted by tmiranda View Post
Something is wrong with the logfile, I didn't find a single CommercialDetector log entry. (They all start with CD Either you posted the wrong thing or I need another cup of coffee before looking at the file

Do you have "txt" in your list of extensions to clean up? If not then add it. Another possibility is that comskip still has the logo.txt file open and CommercialDetector can't delete it.

I'm confused with your description of the .srt files. I don't use them, Please explain how OpenDCT names the .srt file. Your post makes it sound like they are all named the same
Hmm, could you take another look a the log? It starts right after the live watching is stopped. I think almost every single entry starts with "CD: CommercialDetectorMediaFile."!

I do have .txt in the list of extensions.

Good point about comskip possibly still having an open file, thus leaving it unable to be deleted! Maybe a delete delay can be implemented?

Here's the relevant release note for when CCExtractor was added to OpenDCT.
https://forums.sagetv.com/forums/sho...&postcount=770

When turned on, it will make 1 or 2 closed captioning .srt files, with the extension CC1.srt and optionally CC2.srt (sometimes there are 2 caption streams). So "videofile.ts" gets "videofile.ts.CC1.srt" and "videofile.ts.CC2.srt" created.

When orphan detecting, the "CC1.srt" and "CC2.srt" extensions cause the plugin to assume the parent file is named both "videofile.CC1.ts" and "videofile.CC2.ts". These files don't exist obviously.
__________________

Server: SageTV 9.2.6x64 on Win10 x64 Home, i7-2600, 8gb RAM, OpenDCT, Java 1.8, 20TB storage
Display: EVGA GT 1030 fanless to Sony LED TV via DVI-HDMI
Capture Devices: HDHR Prime for Comcast, HDHR Dual for OTA (retired)
Clients: Nvidia Shield Android miniclient

Last edited by waylo; 06-04-2017 at 10:17 AM.
Reply With Quote
  #54  
Old 06-04-2017, 06: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 waylo View Post
Hmm, could you take another look a the log? It starts right after the live watching is stopped. I think almost every single entry starts with "CD: CommercialDetectorMediaFile."!

I do have .txt in the list of extensions.

Good point about comskip possibly still having an open file, thus leaving it unable to be deleted! Maybe a delete delay can be implemented?

Here's the relevant release note for when CCExtractor was added to OpenDCT.
https://forums.sagetv.com/forums/sho...&postcount=770

When turned on, it will make 1 or 2 closed captioning .srt files, with the extension CC1.srt and optionally CC2.srt (sometimes there are 2 caption streams). So "videofile.ts" gets "videofile.ts.CC1.srt" and "videofile.ts.CC2.srt" created.

When orphan detecting, the "CC1.srt" and "CC2.srt" extensions cause the plugin to assume the parent file is named both "videofile.CC1.ts" and "videofile.CC2.ts". These files don't exist obviously.
I drank more coffee and foudn the right logfile

First, I can see why it's not handling the .srt files. I'll have to put in some extra code for that.

I'm pretty sure the other files are not getting deleted because they are still opened by comskip. If you look for "Attempting to delete ...." the next line should say "File deleted ...". If it doesn't it means the delete failed and the file has been added to the "deleteOnExit()" queue. Theoretically they should be deleted when the Sage JVM shuts down.

If I can find some time I'll see if I can update the code.
__________________

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
  #55  
Old 06-07-2017, 06:50 PM
waylo waylo is offline
Sage Advanced User
 
Join Date: Feb 2006
Posts: 238
Thanks for putting in the code updates when you have time.

Quick question about the deleteonexit queue and more generally, SageTV upon exit--do you know what the behavior is of SageTV upon a computer reboot?

I have my HTPC set to reboot every several days in the middle of the night using a scheduled 'shutdown /r' DOS command. I would hope SageTV exits properly under this circumstance.

I found some more .edl files left orphaned over the past several days. I couldn't tell if any were scheduled shows, though many were definitely live viewing leftovers. My logs had since elapsed so I couldn't track down what was happening when those parent files were deleted.
__________________

Server: SageTV 9.2.6x64 on Win10 x64 Home, i7-2600, 8gb RAM, OpenDCT, Java 1.8, 20TB storage
Display: EVGA GT 1030 fanless to Sony LED TV via DVI-HDMI
Capture Devices: HDHR Prime for Comcast, HDHR Dual for OTA (retired)
Clients: Nvidia Shield Android miniclient

Last edited by waylo; 06-07-2017 at 06:55 PM.
Reply With Quote
  #56  
Old 06-08-2017, 11: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 waylo View Post
Thanks for putting in the code updates when you have time.

Quick question about the deleteonexit queue and more generally, SageTV upon exit--do you know what the behavior is of SageTV upon a computer reboot?

I have my HTPC set to reboot every several days in the middle of the night using a scheduled 'shutdown /r' DOS command. I would hope SageTV exits properly under this circumstance.

I found some more .edl files left orphaned over the past several days. I couldn't tell if any were scheduled shows, though many were definitely live viewing leftovers. My logs had since elapsed so I couldn't track down what was happening when those parent files were deleted.
deleteOnExit() is a Java method. If you do a shutdown /r the JVM should exit gracefully and should delete all files in the deleteOnExit() queue.
__________________

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
  #57  
Old 06-10-2017, 08:19 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by waylo View Post
Thanks for putting in the code updates when you have time.

Quick question about the deleteonexit queue and more generally, SageTV upon exit--do you know what the behavior is of SageTV upon a computer reboot?

I have my HTPC set to reboot every several days in the middle of the night using a scheduled 'shutdown /r' DOS command. I would hope SageTV exits properly under this circumstance.

I found some more .edl files left orphaned over the past several days. I couldn't tell if any were scheduled shows, though many were definitely live viewing leftovers. My logs had since elapsed so I couldn't track down what was happening when those parent files were deleted.
Attached is a new jar file that probably won't fix the issues you are seeing but it will give me more debug data to look at Just stop Sage and replace the existing CommercialDetector.jar with this one. (Backup the old jar in case you need to go back.)

When you notice it does not delete a file it should (including the CC files), post the logfile for me to look at.
Attached Files
File Type: zip CommercialDetector.zip (75.2 KB, 132 views)
__________________

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
  #58  
Old 06-10-2017, 12:12 PM
waylo waylo is offline
Sage Advanced User
 
Join Date: Feb 2006
Posts: 238
Thanks for the debug opportunity. Installed it.

I came to a realization as to why I'm having leftover .edl files. User error.

(In editing the plugin configuration these past several days, I accidentally cut off the 'e' in ".edl", so the plugin was looking for ".dl" files.)

But the logo.txt files still remain. I'll also turn on the CC file creation so we can watch this in action.
__________________

Server: SageTV 9.2.6x64 on Win10 x64 Home, i7-2600, 8gb RAM, OpenDCT, Java 1.8, 20TB storage
Display: EVGA GT 1030 fanless to Sony LED TV via DVI-HDMI
Capture Devices: HDHR Prime for Comcast, HDHR Dual for OTA (retired)
Clients: Nvidia Shield Android miniclient
Reply With Quote
  #59  
Old 06-26-2017, 08:50 PM
waylo waylo is offline
Sage Advanced User
 
Join Date: Feb 2006
Posts: 238
Quote:
Originally Posted by tmiranda View Post
Attached is a new jar file that probably won't fix the issues you are seeing but it will give me more debug data to look at Just stop Sage and replace the existing CommercialDetector.jar with this one. (Backup the old jar in case you need to go back.)

When you notice it does not delete a file it should (including the CC files), post the logfile for me to look at.
Okay, I've had some time to look through and log a few situations.

Sample 1. Sometimes the plugin is unable to delete a cc file and saves it for the exit as you stated. When I've caught this, exiting SageTV normally does delete the file. I have logs of when the live view ends, and of SageTV's user-initiated exit.

Sample 2. This is the log when the shutdown /r script runs. I think Sage does exit gracefully in this example.

So far so good. But here:
Sample 3. Somehow, after a week or so, there were several left over cc1.srt and cc2.srt files. I have to guess these were situations where maybe Sage did not exit so gracefully. When I run the SCAN for orphans option in the plugin, it deletes ALL cc1.srt and cc2.srt files, even for video files still existing. So there are no more cc.srt files anywhere. An example video file in the log where the cc.srt files were deleted but the video file still exists is "AnthonyBourdainPartsUnknown-S09E06-Oman-22913012-0"

(I will keep looking for better logs demonstrating exactly the time when a file does not get deleted when it should. I believe they are mostly if not all cc.srt files).
__________________

Server: SageTV 9.2.6x64 on Win10 x64 Home, i7-2600, 8gb RAM, OpenDCT, Java 1.8, 20TB storage
Display: EVGA GT 1030 fanless to Sony LED TV via DVI-HDMI
Capture Devices: HDHR Prime for Comcast, HDHR Dual for OTA (retired)
Clients: Nvidia Shield Android miniclient
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
VRM9 Artifact Problem/FF/RW Freezes Video OldPCGUY SageTV Software 6 10-15-2008 08:26 PM
Am I the only sad one? grooves12 SageMC Custom Interface 30 07-10-2008 04:19 PM
How to delete multiple recordings or set it to auto delete? batigol9 SageTV Software 24 11-10-2006 07:57 PM
undesired artifact present on PBS' HD shows stevech SageTV Software 2 04-13-2006 08:06 PM
Any TimeWarner Cable user here have you seen this odd artifact SHS Hardware Support 4 04-22-2005 02:57 PM


All times are GMT -6. The time now is 01:20 PM.


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