|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Comskip and File Cleanup
Hi guys,
This might have been asked somewhere, but I can't seem to find the answer. Comskip is not cleaning up the leftover .edl and .txt files. Is there a setting I'm missing or something? Thanks, Dana
__________________
Diehard SageTV User Hardware: Vizio M550NV 55",GA-H67A-UD3H-B3 LGA 1155, Intel i3, 4Gb DDR3, USB-UIRT, 2x Colossus, 1 HDHR, HD100, HD200 Software - Win7 64 bit, SageTV 7.1.9, Java v6, HD100 firmware v20100212-0, HD200 firmware 20100909 0 |
#2
|
||||
|
||||
Comskip doesn't do that. Whatever you are using to monitor the files for Comskip to process does it. For example, I use DirMon and in the DirMon program you set that up. I think it is the same with SJQ and CommercialDetector.
Gerry
__________________
Big Gerr _______ Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB. |
#3
|
||||
|
||||
Quote:
There is another setting to tell CommercialDetector what types of files to consider video. This is done to prevent CommercialDetector from deleting the .edl and .txt when you convert a file from .mpg to some other format.
__________________
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. |
#4
|
|||
|
|||
Thanks for the responses.
I went to Commercial Detector configuration in the plugins and I do see the setting "Cleanup Files With These Extensions" and it does have edl,log,txt,incommercial there. I'm not sure why it's not working. gplasky - I've used Dirmon with Showanalyzer in the past. I looked into Dirmon to clean the files, but it seems it wants to run a program to make it work. How did you set it up to remove the files without running something? Thanks for the help!!
__________________
Diehard SageTV User Hardware: Vizio M550NV 55",GA-H67A-UD3H-B3 LGA 1155, Intel i3, 4Gb DDR3, USB-UIRT, 2x Colossus, 1 HDHR, HD100, HD200 Software - Win7 64 bit, SageTV 7.1.9, Java v6, HD100 firmware v20100212-0, HD200 firmware 20100909 0 |
#5
|
||||
|
||||
I'm running comskip with it. In DirMon I suppose you could just point it to a batch file that does nothing and/or set the parameters so that it will essentially never run. (Like only run your batch on files greater than 200 GB in size.) Or run Sage in debug mode and figure out why it's not cleaning up. Make sure in COmmercialDetector you use the same path as your recording directory in Sage. (UNC or mapped) It needs to be exactly the same.
Gerry
__________________
Big Gerr _______ Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB. |
#6
|
|||
|
|||
I've been using commericaldetector also and noticed the artifacts not getting cleaned up. Haven't really looked into why. The clean up orphans manual method in the plugin works fine though.
|
#7
|
||||
|
||||
Quote:
Thanks, Tom
__________________
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. |
#8
|
|||
|
|||
I have the same issue but never bothered to look into it. It seems to work 95% of the time, but leaves files behind some times. Temp recordings from watching live TV seem more likely to leave behind comskip files.
|
#9
|
||||
|
||||
That means it doesn't work 5% of the time. I'd like to see it work close to 100% Would really appreciate it if you could provide a log and point out what it failed to remove.
Tom
__________________
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. |
#10
|
|||
|
|||
It will take some trial and error to reproduce, so to clarify you want debugging on in the Comskip options or in SageTV or both? If Comskip can you let me know what the output file path is?
|
#11
|
|||
|
|||
FYI. I went in to Commercial Detector advanced options and told it to delete orphaned files and it returned 206.
|
#12
|
||||
|
||||
Turn on debugging in Sage and set CommercialDetector debug levle to Trace, leave comskip as is.
__________________
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. |
#13
|
|||
|
|||
After deleting a JimmyKimmelLive recording the following was left over...
[Norval@ninja2 recordings]$ ls -l JimmyKimmelLive-10000555-0.logo.txt -rwxr--r-- 1 Soulive users 6300 Oct 25 01:08 JimmyKimmelLive-10000555-0.logo.txt Guess I need to add logo.txt to the extensions option. See attached log... Last edited by Soulive; 10-26-2011 at 04:01 PM. |
#14
|
||||
|
||||
Quote:
I think the settling is "delete_logo_file", make sure it's set to 1. If the line is not in the .ini you can add it. You can add logo.txt to your list of files for CommercialDetector to cleanup but I prefer to let comskip take care of that automatically.
__________________
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. |
#15
|
|||
|
|||
Correct, I am using the donators and the "delete_logo_file" was set to 0. I've modified per your recommendation. Thanks!
|
#16
|
||||
|
||||
There are other settings that you should alter in the comskip.ini. The easiest thing to do is use the comskip.ini that comes with CommercialDetector, that will work fine with the donator's version of comskip.exe.
__________________
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. |
#17
|
|||
|
|||
I deleted what I could last night and no files were left behind. I will check again tonight.
|
#18
|
|||
|
|||
I think the bug might occur when a delayed delete is performed. I have a couple of show with files left behind and both were delayed deletes. This could also explain why I see more left behind on "live" tv.
|
#19
|
||||
|
||||
That's a good possibility. It's difficult to handle the delayed deletes because the core sends an event saying the MediaFile has been deleted when it actually has not been deleted. I have special code in there to handle these delayed deletes but it's hard to test because I can't easily force Sage to actually do a delayed delete. If you have a reliable way to do so let me know and I'll make sure it works properly.
__________________
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. |
#20
|
||||
|
||||
OMG.
I've been deleting the .logo.txt files manually for years. Why didn't I search for this article. Geez.
Thanks for this.. I have edited my donators comskip.ini and I hopefully will not need to do the manual delete again.
__________________
Home DVR: SageTV v9.2.6(64) i7-6700 3.4ghz, 8GB RAM, Win10 Pro, 1@ SSD +1@6TB WD Blue, 1 Quad HDHR, ( OTA Winegard HD8200U, CM4221HD), 1@ STP-HD200, 1@ Nvidia Shield , 1 @ Nvidia Shield new round version, 70" & 55" Sony's RV DVR: 2@SageTV v9.2.6, NUC8i5BEK 16GB, SS980Pro NVMe, 5TB Passport, 1@olderNUC, 2 Dual HDHR, , Winegard BatWing, 40", 32", 28" Sony's, Max Transit |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
File Cleanup | HuMan321 | SageMC Custom Interface | 9 | 04-16-2010 08:16 AM |
SageMC file cleanup ignores .mkv files | farfromuman | SageMC Custom Interface | 1 | 07-13-2009 05:12 AM |
Delete comskip file won't go away. | Les | SageTV Customizations | 0 | 02-29-2008 08:28 PM |
Create .edl file with Comskip? | chadman | SageTV Customizations | 9 | 02-05-2008 10:52 AM |
Can an EDL file yield a VPRJ file without rerunning Comskip? | dmiraclejr | SageTV Customizations | 4 | 08-12-2007 06:25 AM |