|
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 |
#21
|
||||
|
||||
I don't think you should use an attribute defined below a table item; instead try using the cell title for the variable name where you are trying to set focus... but that won't work too well here because you are sending the same value for every item in the list sent to the table.
And, you only need to use EnsureVisibilityForVariable() if you want to have the focused item in a specific location (which may be what you want here). - 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. |
#22
|
|||
|
|||
Thanks for the reply but I couldn't use the cell title as it never worked.... the cell title would normally work but in this case it didn't (I guess its because of the Array of Hash's thing).
I just worked out how to do it (I think).... I'm not sure if its a proper method or not and I would be grateful if you or anyone else could say if its a stupid way to do it or not. Anyway because my table is fed from an array of hash's (see below for example) I could never get any sort of Focus to work with it..... So I was poking around in an XBMC skin running in Sage and came across a DataUnion() with only one value assigned to it. This got me thinking, and I tried adding my array of hash's to a DataUnion(MediaFiles) which then feeds my table... POW, SetFocusForVariable() worked first time...... I added my EnsureVisibilityForVariable() to get my focus centered in my table and its all working Hash example: {SHOWTITLE=Fringe, MAX(RELEASEDATE)=2011-02-18, SERIESID=82066, COUNT(*)=57, MAX(MEDIAIMPORTTIME)=2011-02-19 03:57:18.686} If this seems like a proper method to achieve what I want I'll be pretty pleased with myself..... if not I guess I'll go and jump under a bus Quote:
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders |
#23
|
||||
|
||||
Are you still with us or did you jump under the bus?
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#24
|
|||
|
|||
Quote:
Quote:
Does the same princple apply to a table which is 3 rows by 9 columns (horizontal scroll)? I'm trying to get my table to start with element 0 at index 3 but everytime I try and set focus using the ensure focus it goes to index 0 instead of index 3. Using the same code on a single row or single column table works fine. Cheers Ben
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders Last edited by jaminben; 05-29-2011 at 01:03 PM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
triangles are too large.. | drewg | SageTV Beta Test Software | 2 | 11-03-2010 12:47 PM |
Large Info Thumbnails | benjamintm | SageMC Custom Interface | 3 | 09-03-2008 12:19 AM |
Large Music Library | groggory | SageTV Media Extender | 3 | 05-06-2008 06:18 AM |
"DefaultFocus" not working any more | dflachbart | SageTV Studio | 1 | 03-05-2008 09:52 PM |
Large Recording Stutter | Goodspike | SageTV Software | 0 | 08-27-2006 07:38 AM |