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-08-2008, 10:12 AM
wado1971's Avatar
wado1971 wado1971 is offline
Sage Aficionado
 
Join Date: Feb 2006
Location: Stamford, CT
Posts: 345
Testing STVi

I've reread steps 5. & 8. (GKusnick's Studio Tools - STVI) a number of times and either I'm reading it wrong or my import is screwed up.

When I compare my stv (with new import) to the original stv the results looks good..... but I read the document as saying, "compare the stv (with new import) to the the modified stv saved in step 5 (which is my modified STV)"?? When I do this everything is less desirable!! Of course maybe the STV I've been modifying has a bunch of mods not related to my new menus (I've been saving the thing forever).
Reply With Quote
  #2  
Old 03-08-2008, 01:09 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Sounds like you answered your own question. If you don't know the pedigree of the STV you've been coding your changes on, then you can't very well use it as a reliable standard of comparison. If comparing the stock STV + import against the stock STV alone shows all your relevant changes, then perhaps you'll have to be satisfied with that. But you're the only one who can decide which changes are relevant.

Of course there's no substitute for actually testing the imported code to see if it does what it's supposed to do.
__________________
-- Greg
Reply With Quote
  #3  
Old 03-08-2008, 03:06 PM
wado1971's Avatar
wado1971 wado1971 is offline
Sage Aficionado
 
Join Date: Feb 2006
Location: Stamford, CT
Posts: 345
Quote:
Originally Posted by GKusnick View Post
If comparing the stock STV + import against the stock STV alone shows all your relevant changes, then perhaps you'll have to be satisfied with that.
Well - I was satisfied with the result of comparing the stock STV but then I had this great idea which I now regret. I assumed that a simple export & import of my new menus into a clean stock STV would be a nice test (using "Export Selected Menus..." from stock studio). Everything almost worked (almost is a killer) - so for the past couple hours I've been hunting down the "non functioning" bit of code. Turns out it was some broken references from my copy/paste extravaganza which I assume your STVi tool has so nicely pieced back together in the background for me. (now I'm starting to see a glimps of the value to your package - very nice!)

? So by using your export tools on my menus & importing into a stock STV will essentially clean up my modified & error prone STV - Do I have it right? Kind of like running the old STV through the car wash.
Thanks again for your reply

Last edited by wado1971; 03-08-2008 at 03:20 PM.
Reply With Quote
  #4  
Old 03-08-2008, 03:31 PM
MeInMaui's Avatar
MeInMaui MeInMaui is offline
SageTVaholic
 
Join Date: Feb 2005
Location: Maui. HI
Posts: 4,203
Quote:
Originally Posted by wado1971 View Post
Well - I was satisfied with the result of comparing the stock STV but then I had this great idea which I now regret. I assumed that a simple export & import of my new menus into a clean stock STV would be a nice test (using "Export Selected Menus..." from stock studio). Everything almost worked (almost is a killer) - so for the past couple hours I've been hunting down the "non functioning" bit of code. Turns out it was some broken references from my copy/paste extravaganza which I assume your STVi tool has so nicely pieced back together in the background for me. (now I'm starting to see a glimps of the value to your package - very nice!)

? So by using your export tools on my menus & importing into a stock STV will essentially clean up my modified & error prone STV - Do I have it right? Kind of like running the old STV through the car wash.
Thanks again for your reply
When I create a plugin and then do a test import, the first thing I do is a Search for "ref>>" (without quotes). That will list all of the broken references after import. Usually the problem is caused by not having all of the primary and secondary references properly set when the export was done. If the search returns no matches, then I do a test of the plugin functionality. HTH

Aloha,
Mike
Reply With Quote
  #5  
Old 03-08-2008, 05:35 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Export Selected Menus does not encode references to themes and other shared code; it copies the referenced code instead. If you then import back into a stock STV, you'll end up with a lot of duplicated code, which is not generally what you want for an STVI.

Once you get your references adjusted, Export As STVI exports just the code under the menus you select, without pulling in shared code from secondary refs. Importing the result back into a stock STV should give you the cleaned-up result you're looking for (if you have the references right before export).

If you use the Import STVI command in my Studio plugin, instead of the regular Import command in the Detailed Setup screen, it should tell you about any broken references in the import. (But using Search to double-check can't hurt.)
__________________
-- Greg
Reply With Quote
  #6  
Old 03-08-2008, 05:54 PM
wado1971's Avatar
wado1971 wado1971 is offline
Sage Aficionado
 
Join Date: Feb 2006
Location: Stamford, CT
Posts: 345
Alright - thanks for the tips guys. Looks like I've got some cleanup work to do in the near future. I guess this means the fun part is official over
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
STV, STVi trouble - Online video and comskip davephan SageTV Customizations 2 03-01-2008 07:53 AM
Is there an easy way to generate an stvi? stuckless SageTV Studio 2 10-09-2007 09:17 AM
Creating Simple STVi Slugger SageTV Studio 3 04-08-2007 06:59 PM
Translate STVi owilsky SageTV Studio 10 10-21-2006 07:46 AM
STVI loaded twice..help...please garyellis SageTV Software 7 07-28-2006 04:53 PM


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


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