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 03-15-2007, 10:20 PM
wakebdr wakebdr is offline
Sage User
 
Join Date: Feb 2007
Posts: 25
Adding extra data to favorites

Is there a way to add more info to a favorite recording? For instance, if I wanted to add some user generated meta data to a favorite that I setup, can it be done? I'm interested in writing a more sophisticated priority system for recordings and would need to add more detailed data to the favorites. Is this possible? If so, where would it get stored?
Reply With Quote
  #2  
Old 03-16-2007, 12:45 AM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
You can't add fields to the Favorite data type in wiz.bin, if that's what you're asking. But nothing stops you from storing arbitrary per-favorite data elsewhere. One simple solution is to use Get/SetServerProperty to store property data keyed by Favorite ID. Or you can create a separate property file or XML file for each favorite, similar to .my files or the XML files create by Niel's XML generator. There are any number of ways of storing extra data, so long as you have a way to link it back to the appropriate wiz.bin entries.
__________________
-- Greg
Reply With Quote
  #3  
Old 03-16-2007, 04:30 PM
wakebdr wakebdr is offline
Sage User
 
Join Date: Feb 2007
Posts: 25
I was afraid that's what the answer was going to be. I guess reading/writing a file won't be so bad since Sage runs all the time and there isn't much starting and stopping of the core process.
Reply With Quote
  #4  
Old 03-16-2007, 04:42 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Just remember to store your file on the server where all the clients can see it. Or if you really don't want to do your own file IO, use Get/SetServerProperty to write to Sage.properties as I suggested above.
__________________
-- Greg
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
Tool: Clickfinder to XMLTV V 0.8.5 (31.07.2009) owilsky SageTV Germany 141 01-18-2011 02:24 AM
Scripts to modify XMLTV data. grooves12 SageTV EPG Service 3 12-31-2006 11:50 PM
Managing favorites garyellis SageTV Software 3 10-02-2006 09:27 AM
Favorites manager doesn't record. Edwin SageTV Software 1 06-14-2006 06:42 AM
Sage/MVP stopped working! SagerX SageTV Media Extender 10 02-27-2006 08:40 PM


All times are GMT -6. The time now is 06:11 PM.


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