|
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
|
||||
|
||||
Just a few easy questions
Just wanted to ask/confirm a couple basic things:
1) When using set/get properties. Looking at the api docs it looks obvious that when setting/getting properties, the api call looks exclusively into the sage.properties file. In other words we cant have it look at a custom properties file? only thing I dont like about that is that if your a tinkerer like me, you may try out numerous stv's, stvi's which will soon bloat your sage.properties file to enormous proportions, even if you uninstall those addons. Seems like it would be better if addons used their own properties files. Yes, I know it would be fairly simple to create my own utility to read/write custom xml files, which I plan to do anyway. It would just be nifty if we could specify a file for the get/set property api call. 2) When using the debug log, is there a way to make the console window resizable? or have the log output to a file? Again I know it would be fairly trivial to make my own function to write my own debug strings to a file, just looking for the lazy way 3) As was mentioned to me in a previous post, when supplying path names to widgets, its a lot easier to use relative paths. I did find one api call where this just does not seem to work. That is with the "playsound" call. I tried using this and it would simply not work. Even used a simple static button to initiate it. I then opened up the handy dandy debug window and saw that I was getting java io file not found errors. Seems the call was trying to prepend a full absolute path to my file name and since my sound file was not directly under the sage directory, it didnt work. The only way I could get it to work was by using a full absolute path name in the call. The api docs dont mention this peculiarity. Is this a bug? 4) I know there was something else I wanted to ask, and now it escapes me. I'll probably remember right after I make this post And, just a minor gripe, When browsing a library, say music or videos, sage seems agonizingly slow to display the thumbnails for artists/albums etc. Digging through the stv code reveals that for every thumbnail, sage is making a call to "getimage" or "getthumbnail", something like that. Mediaportal, on the other hand is blazing fast in this regard. Rather than making an api call on every object it simply queries its database for the location of the thumbnail file it has cached in a folder. WAY faster, plus it makes it easy to tweak your thumbnail display. Thanks for any comments |
#2
|
||||
|
||||
1. See java.util.Properties.
2. Resize the console window the way you would any Windows command prompt, i.e. by right-clicking the title bar and choosing Properties. Also, if you have debug logging enabled (which you should for Studio work), the debug output is already going to a file (sagetv_0.txt or sagetvclient_0.txt). 3. Maybe you could give specific examples of what paths worked and what paths didn't work.
__________________
-- Greg |
#3
|
||||
|
||||
Quote:
Quote:
Sheesh, the dork factor at work again Quote:
PlaySound("C:\\Program Files\\SageTV\\SageTV\\STVs\\mytheme\\Sounds\\notify.wav") but this (and a few variations) does not: PlaySound("Sounds\\notify.wav") I did not try every concievable variation on this... Thanks again Greg |
#4
|
||||
|
||||
The default STV uses those java properties routines for the theme system and for the online video setup, so there are som eexamples of that type of use.
The sounds can use a relative path from the SageTV working directory (where the exe is located). I don't remember whether it can be relative to the STV path. - 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. |
#5
|
||||
|
||||
Quote:
Thanks! |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SageTV questions from a hopefully ex-Tivoer | tchapin | SageTV Customizations | 8 | 09-16-2007 02:35 PM |
General questions about HD from a total HD newbie. | pawn | General Discussion | 25 | 05-07-2007 07:05 PM |
Somewhat general questions on PQ on tv-out | MillerTyme | SageTV Software | 9 | 11-17-2006 01:04 AM |
noob hardware questions | icky2000 | Hardware Support | 2 | 10-01-2006 08:34 PM |
two easy questions | waffle | SageTV Beta Test Software | 2 | 02-28-2004 11:49 PM |