|
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
|
|||
|
|||
Automatic refresh?
Is there a way to set a time interval on the refreash() command? Or some way to run the refreash command every X number of seconds?
|
#2
|
||||
|
||||
What are you trying to do?
You can use the animation property of a panel to have it update itself periodically, or when a variable is set to true. - 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. |
#3
|
|||
|
|||
Well, Im in the process of writing an STVi to import torrent status from Azureus. Azureus can generate an status XML file. Since the status is constantly changing, there needs to be some option to set how often one would want to update the status. I dont have any of the STVi coded yet, just brainstorming on the best way to do things. My plan is to have an array for each column in a table(torrent name, ETA, seeds..ect ) and then populate that array from the XML.
If you think there is a better way to do this, please let me know, im still getting my feet wet with studio. Thanks |
#4
|
||||
|
||||
There are a lot of things you could do... but one thing to consider is to use the AfterMenuLoad hook & Fork() a thread under it that will watch for updates. It could check things periodically, then use Wait() to pause for a while. When the UI needs to be updated, it could call Reresh() or RefreshArea() if only a certain section needs to be update.
The default STV does something like this for the process of clearing/makring the Watched or Don't Like flag for all of a Favorite's episodes. It goes pretty quick on screen, but it updates the dialog box as it walks through the episodes. Using the Delete command on a group of shows to delete all of them also does this, pausing a while between each deletion to give the user a change to cancel. Maybe someone else has another preferred method. - 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. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|