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 04-09-2011, 04:58 PM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
Getting comfortable with studio

I just started using studio so I could get used to moving around so I could begin creating my own Music UI. One of the things I've been wanting to do was simply be able to launch external apps within sage. I've created a menu item that will launch boxee, but then sage doesn't quite act right after it has been executed. Also, when I import the stvi there are lots of entries that weren't there before such as buttons (repeated numerous times). I know I'm missing something simple, but this kind of stuff is very new to me so I'm going to learn as I go. Here is a screenshot of what I've done. What seems to be missing?

Attached Images
File Type: jpg boxee menu.jpg (106.0 KB, 585 views)
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA
Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60
Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u
Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup.
Reply With Quote
  #2  
Old 04-09-2011, 05:23 PM
jaminben jaminben is offline
Sage Icon
 
Join Date: Sep 2007
Location: Norwich, UK
Posts: 1,754
Send a message via MSN to jaminben
The first thing that you really want to be wary of is active imports.... you really should disable these. Use Gregs tools to disable/enable them easily.

EDIT

TIP:
I noticed yours are still active via your screenshot...... at the top it says ***IMPORTS ACTIVE***
__________________
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; 04-09-2011 at 05:32 PM.
Reply With Quote
  #3  
Old 04-09-2011, 05:24 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
That's not a menu item; that's a menu. But you haven't actually defined any content for that menu, so it's no surprise that it does strange things when you load it. With nothing to display, not even a background image, what you're likely to see is just leftover text and graphics from the previous menu that your menu didn't bother to erase.

If your idea is to have a Boxee item on some other menu (say one of the submenus of the Main Menu, for instance), then you should put your Boxee action code there, under that item, instead of trying to create a whole new menu for it. A menu would be appropriate only if you're trying to create a complete new screen in the Sage UI for Boxee-related commands. In that case you'd need to follow the example of existing menus to display background images, organize content into panels or tables, and so on.

If you haven't yet worked through the tutorials in the Studio manual, you should do so, since they're really the best introduction to Studio basics (like the difference between menus and items).

Regarding your STVI issue, it's hard to know what's going wrong there without some idea of what steps you took to generate the STVI and how you're loading it back into the STV. There isn't (yet) a tutorial in the manual for this but there have been several newbie-level posts in the last year or so covering the basics of STVI creation.
__________________
-- Greg
Reply With Quote
  #4  
Old 04-11-2011, 07:47 AM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
The reason I'm creating a menu instead of an item (which is way easier) is because of the way ortus lets you add menus. Those tutorials are very helpful, but my brain could only handle through 11 before I couldn't take in any more info.

I modeled my menu after the email menu that does nothing. Everything works fine, but when I use any plugins (specifically ortus) it creates quite a few entries. I created the stvi by choosing export and then saved the file. I even just saved the sagetv7.xml and everything works great until I enable a plugin. I know I'm missing something. Sage works great, but I know that those entries aren't supposed to be there.
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA
Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60
Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u
Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup.
Reply With Quote
  #5  
Old 04-11-2011, 08:19 AM
jaminben jaminben is offline
Sage Icon
 
Join Date: Sep 2007
Location: Norwich, UK
Posts: 1,754
Send a message via MSN to jaminben
I never use export.... try using Tools > STV UID File Difference. Basically load the default SageTV7.xml and save it as something else so you always keep a good untouched copy of SageTV7.xml, then create your mod. Run the STV UID File Difference against the untouched SageTV7.xml and your new file.... when you run this it will show a list of all the modified lines of code between the original and your modified xml. If that all looks good save it and thats your STVi. You can then load/enable the Ortus Dynamic main menu and import the STVi you just created and link to your "Menu Widget". If you try and edit whilst any Ortus plugins are active and run against the SageTV7.xml you will create duplicate menu items when reloading/enabling the Ortus plugins.
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders
Reply With Quote
  #6  
Old 04-11-2011, 08:37 AM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
Quote:
Originally Posted by jaminben View Post
I never use export.... try using Tools > STV UID File Difference. Basically load the default SageTV7.xml and save it as something else so you always keep a good untouched copy of SageTV7.xml, then create your mod. Run the STV UID File Difference against the untouched SageTV7.xml and your new file.... when you run this it will show a list of all the modified lines of code between the original and your modified xml. If that all looks good save it and thats your STVi. You can then load/enable the Ortus Dynamic main menu and import the STVi you just created and link to your "Menu Widget". If you try and edit whilst any Ortus plugins are active and run against the SageTV7.xml you will create duplicate menu items when reloading/enabling the Ortus plugins.
Ok. Thanks I'll try that. I learned the hard way not to have any plugins open. I have a long way to go, but studio isn't as bad as I thought it would be. I didn't realize it was a programming language. I'll play with it some more and get all the extra menu options I want then I guess it is time to dive into creating my own ui. Wish me luck.
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA
Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60
Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u
Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup.
Reply With Quote
  #7  
Old 04-11-2011, 11:36 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
When using studio I like to change the UID prefix that will get used so when you add new widgets it's easy to see what you added. This is not a necessary step, but once you start making many changes in the STV it makes it much easier to see what you changed.
__________________

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.
Reply With Quote
  #8  
Old 04-16-2011, 03:39 PM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
After using the STV UID tool I've created 2 stvi's that add a menu for boxee and hulu desktop. I've attached the stv uid screen for the boxee menu. It looks fine to me, but when I load ortus all kinds of junk gets loaded into the stv. What am I missing?
Attached Images
File Type: jpg boxee test.jpg (91.8 KB, 272 views)
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA
Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60
Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u
Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup.
Reply With Quote
  #9  
Old 04-16-2011, 04:41 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
The UID diff looks OK. Post a screenshot of what it looks like in Studio.

What kinds of "junk" gets loaded? Ortus will load lots of stuff so are you sure it's not just ortus?
__________________

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.
Reply With Quote
  #10  
Old 04-16-2011, 04:41 PM
jaminben jaminben is offline
Sage Icon
 
Join Date: Sep 2007
Location: Norwich, UK
Posts: 1,754
Send a message via MSN to jaminben
You can send me the STVi and I'll test it out on mine to see. You should just need to import it.
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders
Reply With Quote
  #11  
Old 04-16-2011, 08:43 PM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
Quote:
Originally Posted by tmiranda View Post
The UID diff looks OK. Post a screenshot of what it looks like in Studio.

What kinds of "junk" gets loaded? Ortus will load lots of stuff so are you sure it's not just ortus?
I'll post a screenshot so you can see. It is stuff that isn't present when ortus is loaded.

Quote:
Originally Posted by jaminben View Post
You can send me the STVi and I'll test it out on mine to see. You should just need to import it.
I've attached it so you can see what's going on.
Attached Images
File Type: jpg bad data.jpg (67.6 KB, 276 views)
Attached Files
File Type: txt boxee.stvi.txt (5.6 KB, 257 views)
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA
Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60
Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u
Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup.
Reply With Quote
  #12  
Old 04-17-2011, 03:01 AM
jaminben jaminben is offline
Sage Icon
 
Join Date: Sep 2007
Location: Norwich, UK
Posts: 1,754
Send a message via MSN to jaminben
That STVi imports and gets added to the Ortus dynamic main menu just fine (launches whatever .exe I name in the code). All I did was:

1. Have a good clean copy of the Ortus plugin installed in the default STV.
2. Used Studio to import your STVi (File, Import menu).
3. Restarted the client so that the new menu could be seen in the Ortus plugin.
4. Added a new main menu and selected Boxee as the action.

I think somewhere your copy of the default stv / Ortus plugin has got messed up and thats where your finding your problems.
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders
Reply With Quote
  #13  
Old 04-17-2011, 09:55 AM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
Quote:
Originally Posted by jaminben View Post
That STVi imports and gets added to the Ortus dynamic main menu just fine (launches whatever .exe I name in the code). All I did was:

1. Have a good clean copy of the Ortus plugin installed in the default STV.
2. Used Studio to import your STVi (File, Import menu).
3. Restarted the client so that the new menu could be seen in the Ortus plugin.
4. Added a new main menu and selected Boxee as the action.

I think somewhere your copy of the default stv / Ortus plugin has got messed up and thats where your finding your problems.
Thanks. I will start from scratch.
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA
Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60
Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u
Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup.
Reply With Quote
  #14  
Old 04-18-2011, 08:04 AM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
That was it. A clean install fixed the problem. I imported the new ones into my main client and they did not cause any issues. I guess I can start on my other project now. Let the work begin. Thanks guys.
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA
Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60
Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u
Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup.
Reply With Quote
  #15  
Old 05-01-2011, 11:07 AM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
Ok. I've gotten good at creating my own menu's to launch external apps, but I need a way to make sage sleep when I do that. I can't find an API call that makes that happen. I was trying to be clever and use eventghost, but it doesn't recognize that sage is even open.

Thoughts?
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA
Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60
Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u
Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup.
Reply With Quote
  #16  
Old 05-01-2011, 11:20 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
try
Code:
SageCommand("Power Off")
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #17  
Old 05-01-2011, 06:34 PM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
Quote:
Originally Posted by Fuzzy View Post
try
Code:
SageCommand("Power Off")
Now I feel dumb...I've tried looking (not too hard), but is the list of sage commands in the api calls list?
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA
Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60
Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u
Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup.
Reply With Quote
  #18  
Old 05-01-2011, 06:47 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by panteragstk View Post
Now I feel dumb...I've tried looking (not too hard), but is the list of sage commands in the api calls list?
Chapter 5 of the User Manual.
__________________
-- Greg
Reply With Quote
  #19  
Old 05-02-2011, 09:51 AM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
Quote:
Originally Posted by GKusnick View Post
Chapter 5 of the User Manual.
Thanks, I was over-thinking.

EDIT: BTW, who put the arcade test and mame launcher stuff in studio?
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA
Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60
Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u
Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup.

Last edited by panteragstk; 05-02-2011 at 10:03 AM.
Reply With Quote
  #20  
Old 05-03-2011, 10:11 AM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
OK. So I'm ready to start making a replacement UI for music. I have been advised to try modifying the stock ui to make it into what I want. I looked into doing that, but the way it is set up in studio will make it very difficult to accomplish what I want to do. The reason is there is quite a bit of flexibility in the current ui, but I'm wanting something a bit different.

For example: You can now sort by song, album, artist or whatever. I'd like to just organize by artist only and then drill down to albums within an artist and songs within that album. I can see the value of drilling down from artist then to a big list of songs, but the fact remains that I want artist to be the primary focal point.

Would modifying the stock ui accomplish this easier than starting from scratch?

How would you guys do it?
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA
Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60
Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u
Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup.
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
Can I do this with Studio ??? trevorst SageTV Studio 12 05-13-2006 08:32 AM
What about studio alon24 SageTV Beta Test Software 27 07-26-2005 12:31 PM
any chances of altering the graphics in sage without studio? studio users please read reboot_this SageTV Customizations 1 12-03-2004 04:03 AM
How do you get STUDIO? broderp SageTV Customizations 31 06-18-2004 03:48 AM


All times are GMT -6. The time now is 12:57 PM.


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