|
SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.) |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
||||
|
||||
::Comskip Cleanup Batch
@echo off pushd %~dp0 :: deletes left over files (in active dir and subdirs) %%I.* (eg from comskip) when the recording %%I.ts is no longer avaiable :: :tscheck FOR %%I IN (*.*) DO IF NOT EXIST "%%~nI.ts" ( del %%~nI.txt del %%~nI.incommercial del %%~nI.edl del %%~nI.log del %%~nI.jpg del %%~nI.properties Echo Original Video does not exist for "%%~nI" ) GOTO EOF :EOF
__________________
Mike Janer SageTV HD300 Extender X2 Sage Server: AMD X4 620,2048MB RAM,SageTV 7.x ,2X HDHR Primes, 2x HDHomerun(original). 80GB OS Drive, Video Drives: Local 2TB Drive GB RAID5 |
#22
|
|||
|
|||
Quote:
maybe like this. Code:
::Comskip Cleanup Batch @echo off pushd %~dp0 :: deletes left over files (in active dir and subdirs) %%I.* (eg from comskip) when the recording %%I.mpg is no longer avaiable :: :tscheck FOR %%I IN (*.*) DO IF NOT EXIST "%%~nI.ts" IF NOT EXIST "%%~nI.mkv" IF NOT EXIST "%%~nI.mp4" IF NOT EXIST "%%~nI.mpg" ( del "%%~nI.txt" del "%%~nI.incommercial" del "%%~nI.edl" del "%%~nI.log" del "%%~nI.jpg" del "%%~nI.properties" del "%%~nI.xml" del "%%~nI.nfo" del "%%~nI.VPrj" Echo Original Video does not exist for "%%~nI" ) GOTO EOF :EOF
__________________
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; 03-06-2014 at 01:13 PM. |
#23
|
||||
|
||||
Right, sorry, I am used to recording with the HDHR Prime. I should have added a comment to that section to compensate for your recordings file types.
__________________
Mike Janer SageTV HD300 Extender X2 Sage Server: AMD X4 620,2048MB RAM,SageTV 7.x ,2X HDHR Primes, 2x HDHomerun(original). 80GB OS Drive, Video Drives: Local 2TB Drive GB RAID5 |
#24
|
|||
|
|||
That is ok I just modified it a bit and it works.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#25
|
|||
|
|||
Nothing against Mike's script but Slugger wrote a script in Groovy that you can run if you use SJQv4. It is available here: http://sagetv-addons.googlecode.com/...cleaner.groovy
Quote:
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Spinning circle of death and thumbnails?? | jbuszkie | SageTV Software | 28 | 03-07-2012 03:22 PM |
Circle of Death | Owen Brent | SageTV Beta Test Software | 9 | 09-08-2010 05:39 AM |
Circle of death | tcomeau16 | SageTV Software | 13 | 01-13-2010 01:48 PM |
Skipping around and the circle of death | Razillian | SageTV Beta Test Software | 1 | 07-17-2008 08:29 PM |