SageTV Community  

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

Notices

SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-13-2007, 06:08 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Question Adding More Details to File Names of Recordings

I've been researching this for a couple days now, but don't see an obvious solution. I'd like the file names for recorded shows to include more details about the show, namely the callsign of the network along with an identifier for live tv recordings and IR recordings. The motivation is to allow easy identification of files that I don't want comm flagged by DM2/SA.

The only thing I've come up with to this point is writing a Runnable class that constantly scans the MediaFile objects and removes, renames the file, and reinserts the MediaFile object after the fact. Doable, but hardly elegant. This would also require a significant delay in polling by DM2 to ensure that I'd have time to rename the files before DM2 looks at them.

Thoughts?
Reply With Quote
  #2  
Old 04-13-2007, 06:40 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Why do you need those details in the recording filename? I'm no DirMon expert, but it seems like it ought to be possible to use something like Niel's XML generator and set DirMon to filter based on file contents, not just file name.

Or write your own runnable class that creates empty semaphore files with whatever names you deem appropriate, and set DirMon to trigger off those semaphore files, without messing with the actual recording filenames.
__________________
-- Greg
Reply With Quote
  #3  
Old 04-13-2007, 07:42 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Of course! I was so focused on trying to find a way to encode the file name that it never occurred to create trigger files. And as you suggest, it also allows the criteria to be based on anything about the recorded show. This is perfect, thank you!
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
Black screen and no audio on Client shatter SageTV Software 7 02-21-2007 08:41 PM
Having Trouble Moving Recordings Ron SageTV Software 12 07-02-2006 11:15 AM
Immediate deletion of recordings - windows update? maurohair SageTV Software 3 12-16-2005 07:07 PM


All times are GMT -6. The time now is 02:32 AM.


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