|
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
|
||||
|
||||
Is there an easy way to delete orphan support files?
Hey guys. I'm using the SAD (Sage Artifact Deletion) plugin to remove supporting files (mostly comskip related files) from shows I manually delete. This is great but I've found that I've got a ton of orphaned .incommercial, .logo.txt, .edl, etc files that I'd really like to delete.
Does anyone know of an easy way to check if an mpg does not exist for a list of the above extensions and if it doesn't then have those files deleted?
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data SageTV 9 Docker, Open DCT Docker Silicondust HDHomeRun Duo + Quatro Sage Mini Client on Amazon Fire Sticks and Android TVs |
#3
|
||||
|
||||
If your using CommercialDetector just add those extensions to the list of files to cleanup. That will take care of the future. You'll have to manually delete the existing orphans.
__________________
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
|
||||
|
||||
Quote:
That's the weird part. I'm using CD but it doesn't appear to delete anything. I just checked and I've got it set to delete all of the files (and more) that I listed above.
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data SageTV 9 Docker, Open DCT Docker Silicondust HDHomeRun Duo + Quatro Sage Mini Client on Amazon Fire Sticks and Android TVs |
#5
|
||||
|
||||
Set the debug log level to Trace and send me a logfile to look it. I've never seen this issue so I'd like to see why it's not working. I'm debating releasing a CD update and if this turns out to be a bug that needs fixing the debate will be over
__________________
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. |
#6
|
||||
|
||||
Quote:
Code:
AntiquesRoadshow-VintagePittsburgh-7380562-0.logo.txt SesameStreet-GoodbyePacifier-7374856-0.logo.txt VegasStrip-S01E03-7366332-0.mpg.properties *EDIT* All seems to be working fine. Now I just need to get rid of my orphaned files from the past and keep an eye on live recording clean ups. I edited my sage.properties file and changed: Code:
commercial_debug_logging=trace
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data SageTV 9 Docker, Open DCT Docker Silicondust HDHomeRun Duo + Quatro Sage Mini Client on Amazon Fire Sticks and Android TVs Last edited by dinki; 07-24-2012 at 07:23 AM. |
#7
|
||||
|
||||
Don't edit the properties file to turn on debugging, it won't work. Go to the CommercialDetector settings and turn it on from there.
The cleanup is triggered when the core sends a "MediaFileDeleted" event. Sometimes this event is not sent right away so some delay between ending live TV and deleting the orphans can happen.
__________________
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
|
||||
|
||||
Gotcha. Set to trace and will report back if I see any more orphans. Thanks!
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data SageTV 9 Docker, Open DCT Docker Silicondust HDHomeRun Duo + Quatro Sage Mini Client on Amazon Fire Sticks and Android TVs |
#9
|
||||
|
||||
Found one orphan from last night:
Code:
AmericasGotTalent-S07E20-7383002-0.logo.txt
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data SageTV 9 Docker, Open DCT Docker Silicondust HDHomeRun Duo + Quatro Sage Mini Client on Amazon Fire Sticks and Android TVs |
#10
|
|||
|
|||
Quote:
in ini delete_logo_file=1
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 07-25-2012 at 10:09 AM. |
#11
|
||||
|
||||
Double checked and I already have this value set.
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data SageTV 9 Docker, Open DCT Docker Silicondust HDHomeRun Duo + Quatro Sage Mini Client on Amazon Fire Sticks and Android TVs |
#12
|
|||
|
|||
That leads me to believe that comskip did not fully complete for that show... must have failed somehow and did not get cleaned up.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#13
|
||||
|
||||
Perhaps. This was a live tv viewing and not a scheduled recording. May have switched channels before the program finished. Trying to figure out some way to reliably get rid of all these extra files.
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data SageTV 9 Docker, Open DCT Docker Silicondust HDHomeRun Duo + Quatro Sage Mini Client on Amazon Fire Sticks and Android TVs |
#14
|
||||
|
||||
The logfile is the Sage logfile on the server, located in the same directory as sage.exe. sagetv_0.txt.
If you have delete_logo_file=1 in the comskip.ini probably one of two things is happening: - You're unknowingly using a different .ini file. CommercialDetector will look for custom .ini files based on show name and channel. - comskip.exe is crashing (or hanging) and never cleaning up after itself. I should be able to tell by looking at the logfile.
__________________
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
|
||||
|
||||
Thanks for looking. Here's the log file
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data SageTV 9 Docker, Open DCT Docker Silicondust HDHomeRun Duo + Quatro Sage Mini Client on Amazon Fire Sticks and Android TVs |
#16
|
||||
|
||||
Nothing unusual in there. I don't see where "America's Got Talent" was processed, it's probably in an earlier log. Look for logfiles sagetv_1.txt and sagetv_2.txt and see if there are references to "AmericasGotTalent".
If you can't find that then do some channel surfing until you reproduce the problem and then send that logfile. 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. |
#17
|
|||
|
|||
Thanks, this should be defaulted to on
Just cleaned up over 9k files from my system!
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SageTV Orphan Mpg's any easy way to find them? | perfessor101 | SageTV Customizations | 4 | 01-16-2007 11:46 AM |
Is processing my files just as easy as xml files? | dvd_maniac | SageTV Customizations | 9 | 11-05-2005 04:38 PM |
Delete Orphan Files | snoopy | SageTV Customizations | 6 | 08-05-2005 10:12 PM |
Easy way to delete a watched show? | wot_fan | SageTV Software | 15 | 06-02-2005 05:04 PM |
An easy way to support STB -> Firewire? idea! | eobiont | Hardware Support | 3 | 02-23-2005 04:56 PM |