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 05-30-2010, 01:34 PM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,729
Help creating plugin for Version 7

I created the OSDClock plugin a long time ago and have added the OSDPlaytime piece into it and updated it for Sage 7. The problem is that the mehtod I've been using for importing is based on an old set of tools named df_sageutils. I'd like to redo the code before submitting it to use no dependencies if possible or only current tools like gkusnick's if not. I'm having a hard time figuring out how to find a widget by name not symbol. Is there something for that in the default api that I'm missing?
Reply With Quote
  #2  
Old 05-30-2010, 02:58 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
My Tools Library includes an API extension for finding widgets by name and type.

That said, though, why do you need to? If you're just adding children to an existing parent widget in the stock STV, the built-in UID File Difference and STVI generator can generate the import-time search-and-insert code for you, with no runtime dependencies. (And it does it by symbol rather than by name, so it's more immune to STV changes.)
__________________
-- Greg
Reply With Quote
  #3  
Old 05-30-2010, 03:47 PM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,729
I kind of figured it out, but I'm glad you reminded me and confirmed my thoughts. I created that plugin way back in the 5.x days so I was just trying to translate the old stuff. I forgot about the new tools. I just submitted so I'll know soon if it worked right.
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
Plugin:MovieTimes New Version Notification Thread rsagetv99 SageTV Customizations 1 12-03-2009 08:30 PM
Updating my plugin version.... beelzerob SageTV Customizations 9 09-18-2007 08:58 AM
Creating new plugin - Webcams Zanoryt SageTV Customizations 3 10-04-2006 05:41 PM
New version of XMLTV plugin TallyHo SageTV Software 22 05-22-2005 10:49 AM
Plugin version confusion msm SageTV EPG Service 1 08-23-2003 08:05 PM


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


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