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 06-03-2009, 12:46 PM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Clear All Cache/mimic exit.

Is there any way to clear all the cache of a current menu or mimic the menu exiting and rentering.

I tried clearmenuCache() but that has no effect. When chaning one option on my addin the addin becomes sluggish to respond but if you exit the add-in and return all is well so trying to mimic this when the options is changed/set.
Reply With Quote
  #2  
Old 06-03-2009, 01:34 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Are you reloading the current menu after calling ClearMenuCache()?

See the default STV for an example of how it is used there -- the default STV uses a lot of the API calls & is a good place to check for example usage.

- 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 06-03-2009, 01:36 PM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Quote:
Originally Posted by Opus4 View Post
Are you reloading the current menu after calling ClearMenuCache()?

See the default STV for an example of how it is used there -- the default STV uses a lot of the API calls & is a good place to check for example usage.

- Andy
Andy by reloading do you mean just putting a reference to the menu item after that? I guess there is no need for refresh if you are doing that right?
Reply With Quote
  #4  
Old 06-03-2009, 02:19 PM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Saw the example and figured it out thanks.
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
Recording/Cache files benjamintm SageTV Software 2 03-19-2008 08:03 PM
Artist Cache BBCritical SageTV Software 19 05-02-2007 01:56 PM
Live TV Cache (soon to be BeyondTV Convert) archil SageTV Software 3 03-12-2005 03:31 PM
Playback cache Stuntman SageTV Software 6 11-23-2004 10:38 PM


All times are GMT -6. The time now is 07:46 PM.


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