|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
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. |
#2
|
||||
|
||||
You should be on Sage's payroll Nielm!
|
#3
|
||||
|
||||
And promoted to Head Mucky Muck !!
Amazing ..... |
#4
|
|||
|
|||
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.
|
#5
|
||||
|
||||
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. |
#6
|
||||
|
||||
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 |
#7
|
||||
|
||||
Quote:
Man that's ugly Oh, the results are here if anyone cares. Last edited by stanger89; 02-07-2006 at 05:53 PM. |
#8
|
||||
|
||||
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. |
#9
|
||||
|
||||
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).
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|