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-07-2006, 05:20 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Generic Importer (15 Feb 2006)

Just added a Generic Importer STV to the downloads area...

This is to help STV developers turn exported menus into functioning imports...

Hope you find it useful!

07/2/2006 -- First version

15/2/2006 -- Updated to fix major bugs!
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki

Last edited by nielm; 02-15-2006 at 03:11 AM.
Reply With Quote
  #2  
Old 02-07-2006, 12:09 PM
sleonard's Avatar
sleonard sleonard is offline
Sage Icon
 
Join Date: Nov 2003
Posts: 1,506
You should be on Sage's payroll Nielm!
Reply With Quote
  #3  
Old 02-07-2006, 01:10 PM
mightyt's Avatar
mightyt mightyt is offline
Sage Icon
 
Join Date: Jul 2004
Location: CA.
Posts: 1,293
And promoted to Head Mucky Muck !!

Amazing .....
Reply With Quote
  #4  
Old 02-07-2006, 01:27 PM
deria deria is offline
Sage Aficionado
 
Join Date: Nov 2005
Posts: 408
You are the man Nielm. I wish something like this had existed when I did my first modules. Learning how to do an import was quite the painful process.
Reply With Quote
  #5  
Old 02-07-2006, 03:14 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
I'll have to give this a try

I'm at a loss for where to begin to link something

Help!!

Last edited by stanger89; 02-07-2006 at 03:21 PM.
Reply With Quote
  #6  
Old 02-07-2006, 03:30 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
for two simple examples of linking things, have a look at the imported hook of my ir suggestions import... It links two things:

an imported widget into an existing menu (adding a menu item to Schedule Recordings menu)

an existing widget into an imported menu (the popup for when you select an airing is linked to the airing items in the ir suggestions menus)

you have to find both widget to link and target location by filtering by widget type/name, then call AddWidgetChild to add the link...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #7  
Old 02-07-2006, 05:47 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by nielm
Just added a Generic Importer STV to the downloads area...

This is to help STV developers turn exported menus into functioning imports...

Hope you find it useful!
Yeah, I stubled there about the time you posted.

Man that's ugly

Oh, the results are here if anyone cares.

Last edited by stanger89; 02-07-2006 at 05:53 PM.
Reply With Quote
  #8  
Old 02-15-2006, 03:13 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Thanks to flachbar some major bugs have been found!

Instead of deleting the extra imported Main Menu, this code deletes the real Main Menu, Screen Saver and Server Connection Lost menus... Oops!

So anyone who tries to use this, should recreate their import with the latest version...

Edit: re-uploaded at the time of this edit...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki

Last edited by nielm; 02-15-2006 at 05:16 PM.
Reply With Quote
  #9  
Old 03-04-2006, 06:32 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Neilm, I think I found a bug in the "delete existing menus" portion. It only seems to delete the first menu in the list. Looks like it might be a problem with the looping/linking in there (linking out of a loop doesn't seem to work like desired).
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


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


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