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 02-06-2008, 02:45 PM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
Can't set secondary reference in 6.3.8?

I am trying to create an STVI for the default STV but can't seem to make a secondary reference stick (I am using the 6.3.8 RC of Sage Client). For example, if I create a new menu, and add the MainMenuTheme to it as a secondary reference whenever I save and reopen it always is a primary reference? I can then go to the Theme Organizer and set the MainMenuTheme back to the primary reference and it looks like it works but then if save and reopen it always reverts back??
__________________
-Craig
Reply With Quote
  #2  
Old 02-06-2008, 02:52 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
The primary/secondary status is not retained when the XML file is saved, so there isn't a way to set one reference as the primary & have it stick that way. (Maybe try removing it from one spot & re-adding the reference there... maybe it uses the last-added place as the primary, but I never tried that.)

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #3  
Old 02-06-2008, 02:58 PM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
Hmm, I don't understand. It sure seemed to work before. Otherwise what is the point of setting a primary or secondary reference? This means my import will carry all the primary references which seems to go against the whole point of having imports reusing existing themes, etc. in the STV??
__________________
-Craig
Reply With Quote
  #4  
Old 02-06-2008, 03:20 PM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
This has always been an issue with Studio and STV's - it is not new to 6.3.8. Setting the primary reference is only a temporary thing. When Sage is closed and re-opened they revert to the default (I forget exactly how it works, but I think Sage tries to make the last reference the primary). It's possible that you didn't notice before, because you just got lucky and Sage's default ordering happened to be the way you wanted it.

Others have griped about this, but for now at least, this is the way it is. There are some tools that can help though...
If you use the "Studio Tools" Plugin: http://forums.sagetv.com/forums/down...do=file&id=128 there is an option to "Normalize References" and also one to "Set as Non-Primary" that do help when trying to collect code to be exported when creating an STVi.
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM
Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2)
,USBUIRT (multi-zone)
Source:
Comcast/Xfinity X1 Cable
Primary Client: Server Other Clients: (1) HD200, (1) HD300
Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE,
HDHR, HVR-2250, HD-PVR
Reply With Quote
  #5  
Old 02-06-2008, 03:43 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by cncb View Post
Hmm, I don't understand. It sure seemed to work before. Otherwise what is the point of setting a primary or secondary reference?
Mainly for when you're working on it, so you know where the primary is, there's no functional difference if something is a primary or a secondary reference.

As for exporting, I don't think it makes any difference either, I think it exports everything even if you've got a "secondary" reference in the menu you're exporting (but I haven't payed that close of attention to that in particular).
Reply With Quote
  #6  
Old 02-06-2008, 04:03 PM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
Thanks for all the comments. I assumed that the primary reference carries all the "code" with it but maybe this isn't true? That is, when I export the STVI (I am using the Studio Tools add-on) I assume that if it is the primary reference then all the widgets underneath it will be exported as well and then when I reimport it will change the existing primary reference to refer to the import's primary reference? Or is the "referenced widget chain" stored somewhere else in the STV and even a primary reference is also a reference to that location?

I'm not sure I'm making any sense. Basically I want to know if I export my STVI with the theme as a primary reference, will it overwrite the existing theme in the STV on import (concerned about overwriting any changes in the default STV)?
__________________
-Craig
Reply With Quote
  #7  
Old 02-06-2008, 04:07 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Greg will have to chime in with what exactly his tools do with those, but I believe they just export references to anything that's linked, and then attempt to reconnect on import.
Reply With Quote
  #8  
Old 02-06-2008, 05:52 PM
MeInMaui's Avatar
MeInMaui MeInMaui is offline
SageTVaholic
 
Join Date: Feb 2005
Location: Maui. HI
Posts: 4,203
When you prepare to export Studio code using GKusnick's Studio Tools, you create a new menu widget to contain all of your new code. Any widget tree that is set as a primary reference in your menu widget will be exported. Any secondary references in your menu widget will be given a reference on export so that it can be re-linked to the original code in the STV on import.

So basically before export, all new code should be set as a primary reference and all links to existing code should be set as secondary references. HTH

Aloha,
Mike
Reply With Quote
  #9  
Old 02-06-2008, 09:42 PM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
Well, the "Normalize References" seems to mostly get me what I want as far as secondary references. Strange that didn't run into this at all before. Thanks, all.
__________________
-Craig
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
Graphics for SageMC (Glassy Icons, etc.) MeInMaui SageMC Custom Interface 603 05-27-2008 01:08 PM
How to set up Sage TV for Clear Qam?? Ericft SageTV Beta Test Software 19 08-24-2007 11:07 AM
Can MVPs be set to different remote codes like Tivo? dmiraclejr SageTV Media Extender 5 12-19-2006 10:19 PM
PVR 150 IR Blaster and Set top boxes npalombo SageTV Linux 0 12-17-2006 12:36 AM
Windows Media batch conversion recipe ku71 General Discussion 0 06-18-2003 10:47 PM


All times are GMT -6. The time now is 02:15 PM.


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