SageTV Community  

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

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-21-2007, 06:51 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Fix file timestamps from XML

This is a quick and dirty command line tool to reset the timestamps on Sage media files to match the data in exported XML show information...

It basically sets the file timestamp to be the original Airing's stop time.

This may be useful after you have copied or edited files and then they have timebar problems in Sage.

It is a command line tool, usage:

HTML Code:
java -jar ../nielm_fixfiledates.jar *.xml
or
HTML Code:
java -jar ../nielm_fixfiledates.jar -localpath *.xml
The localpath option is for when the mediafile name does not match the data in the XML, so to find the file, it takes the xml file name instead and removes the '.xml', eg:
Code:
/path/to/showname-13213-0.avi.xml
will set the timestamp on the file:
Code:
/path/to/showname-13213-0.avi
Download from here
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki

Last edited by nielm; 12-21-2007 at 12:34 PM.
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
MediaPlayer Plugin/STV Import: Winamp Media Player Plugin deria SageTV Customizations 447 12-11-2010 07:38 PM
Puzzled: Sage not using 3rd tuner wvpolekat SageTV Software 2 11-15-2007 01:36 PM
How can I use my SageTV 5.0 STVi (xml file) in SageTV 6? mkanet SageTV Beta Test Software 6 10-12-2006 08:21 PM
HDTV Network Encoder v0.9.0 07-08-05 - HD Support for Sage! Stealth1971 Hardware Support 292 02-23-2006 11:40 AM


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


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