|
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
|
||||
|
||||
Building arrays of arrays in Studio
So here's what I'm trying to do, and keep in mind that my java knowledge is pretty limited.
I have a directory with a bunch of files in it and I want to read each file, pull out 4 pieces of data, and then make a table entry for each file that has access the data I just read out. So basically, I'm good on creating an array of strings that contains all of the data I want out of the file with DataUnion, but I'm confused about how I can make an array of those arrays and then make a table out of it. Any help would be greatly appreciated.
__________________
Clients: 1xHD200 Connected to 50" TH-50PZ750U Plasma Server : Shuttle SFF SSH55J2 w/ Win7 Home, SageTV v7, Core i3 540, 2GB RAM, 30GB SSD for OS, 1.5TB+2x1TB WDGP for Recordings, BluRay, 2xHDHR, 1xFirewire SageTV : PlayOn, SJQ, MediaShrink, Comskip, Jetty, Web Client, BMT Having a problem? Don't forget to include a log! (Instructions for: PlayOn For SageTV v1.5, MediaShrink) |
#2
|
||||
|
||||
I'm sure there are other ways to do it, but one possibility would be to create a grouping -- each file is the a key in the group & the file's data is what is added as the value(s) for the key. Check out AddToGrouping() & GetSubgroup(). You can also use Sort on the group to sort by key values. There are some other java functions to do more with the group, if needed.
You can feed the group to the table & each table element will be the the filename key. Then, you could use that key to get the subgroup data for each table item/filename. - 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
|
||||
|
||||
That sounds perfect. I assume there are some group examples in the default STV so I'll check them out tonight. Thanks Andy!
__________________
Clients: 1xHD200 Connected to 50" TH-50PZ750U Plasma Server : Shuttle SFF SSH55J2 w/ Win7 Home, SageTV v7, Core i3 540, 2GB RAM, 30GB SSD for OS, 1.5TB+2x1TB WDGP for Recordings, BluRay, 2xHDHR, 1xFirewire SageTV : PlayOn, SJQ, MediaShrink, Comskip, Jetty, Web Client, BMT Having a problem? Don't forget to include a log! (Instructions for: PlayOn For SageTV v1.5, MediaShrink) |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Studio Capabilites | mayamaniac | SageTV Studio | 12 | 04-09-2006 02:47 PM |