SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations > Phoenix
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Phoenix This forum is for discussing the user-created Phoenix custom interface for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-21-2011, 01:47 PM
skyeclad skyeclad is offline
Sage Aficionado
 
Join Date: Nov 2007
Location: NY DMA
Posts: 441
Phoenix - Ortus Trailers/Playon Menu Items

I just installed the Phoenix Beta and was very impressed by your work, Team Phoenix. Thank you for your time and effort.

For the most part, I think I figured my way around the basic menus and options. I'll probably have more questions later on but one thing I was wondering. Is it possible to add back the menu items for Ortus Traillers and Playon? Granted that it will have a different UI look, I do love the functionality of the Playon menu item and am addicted to Ortus Trailers.
Reply With Quote
  #2  
Old 06-21-2011, 01:54 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by skyeclad View Post
I just installed the Phoenix Beta and was very impressed by your work, Team Phoenix. Thank you for your time and effort.

For the most part, I think I figured my way around the basic menus and options. I'll probably have more questions later on but one thing I was wondering. Is it possible to add back the menu items for Ortus Traillers and Playon? Granted that it will have a different UI look, I do love the functionality of the Playon menu item and am addicted to Ortus Trailers.
I don't know for sure but you can certainly jump out to the Sage7 STV, and we do it from the LandingMenu.xml for music.

Code:
<menuItem label="By Song" name="phoenix.menu.lz.music.bysong" visible="true">
                        <description>Browse the music library (default UI)</description>
                        <eval>AddGlobalContext("gCurCustomSTVFilePath", GetCurrentSTVFile() )</eval>
                        <eval>AddGlobalContext("gTargetMenuName", "Browser - Music")</eval>
                        <eval>AddGlobalContext("gReloadCustomSTVOnHome", true)</eval>
                        <eval>AddGlobalContext("gReloadCustomSTVWithoutConfirm", true)</eval>
                        <eval>AddGlobalContext("newMusicBrowserStyle","xTitle")</eval>
                        <eval>LoadSTVFile(GetDefaultSTVFile())</eval>
                  </menuItem>
This would most likely be the pattern that you'd follow, but I;m not sure of the specifics, since I've never used those plugins myself.
Reply With Quote
  #3  
Old 06-21-2011, 02:00 PM
skyeclad skyeclad is offline
Sage Aficionado
 
Join Date: Nov 2007
Location: NY DMA
Posts: 441
Quote:
Originally Posted by stuckless View Post
I don't know for sure but you can certainly jump out to the Sage7 STV, and we do it from the LandingMenu.xml for music.

Code:
<menuItem label="By Song" name="phoenix.menu.lz.music.bysong" visible="true">
                        <description>Browse the music library (default UI)</description>
                        <eval>AddGlobalContext("gCurCustomSTVFilePath", GetCurrentSTVFile() )</eval>
                        <eval>AddGlobalContext("gTargetMenuName", "Browser - Music")</eval>
                        <eval>AddGlobalContext("gReloadCustomSTVOnHome", true)</eval>
                        <eval>AddGlobalContext("gReloadCustomSTVWithoutConfirm", true)</eval>
                        <eval>AddGlobalContext("newMusicBrowserStyle","xTitle")</eval>
                        <eval>LoadSTVFile(GetDefaultSTVFile())</eval>
                  </menuItem>
This would most likely be the pattern that you'd follow, but I;m not sure of the specifics, since I've never used those plugins myself.
I was thinking that it would work along these lines, unless a Phoenix plugin was developed by Team Ortus or EP. I'm not quite sure what needs to be edited here and what the name of the plugin screens are but maybe with a little playing around, I'll figure it out. If anyone else works it out, please post here. Thanks!
Reply With Quote
  #4  
Old 06-21-2011, 02:00 PM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
I suspect at some point that the Ortus Trailer folks might create a plugin for Phoenix brings that functionality to Phoenix. But for now you'll need the method mentioned by stuckless above - basically you jump out of Phoenix to the default UI and access it there, then when you are done in the default UI you jump back to Phoenix.

What you have to figure out basically is what the Menu name for the items in the default STV you are looking for :

<eval>AddGlobalContext("gTargetMenuName", "Browser - Music")</eval>

In this case the menu name is "Browser - Music".

btl.
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #5  
Old 06-21-2011, 02:11 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
PlayOn might be a bit tricky, but should be possible. I'll take a look.

Edit: Took a look at the code and its not pretty. I'm pretty sure its not possible but Sean would know for sure though.
Attached Images
File Type: jpg PlayOnShortcut.jpg (76.9 KB, 219 views)
__________________
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)

Last edited by evilpenguin; 06-21-2011 at 02:20 PM.
Reply With Quote
  #6  
Old 06-21-2011, 02:21 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
2 notes...

1. If you are editing menus, be sure to put your menus in a new menu file, and use the menu fragments to insert your menu where you need it. If you edit files in the STVS/Phoenix area, they will be overwritten.

2. I'll be comming out with a VFS guide on how to extend the vfs for things like trailers, online videos, playon, etc. This way the existing menus for browsing content can be used, and you only need to provide a new "source" for content. There is nothing stopping you from creating your own UI, and bypassing the vfs, but I think the vfs would be a better option. And since this sort of thing would be the first experiment in this area, then I suspect that we may need to make some tweaks to vfs, but we are willing

I've looked at building both playon and trailer implementation in the vfs, and I've started both, but I've never finished either
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
Plugin :: Ortus Trailers Team Ortus SageTV v7 Customizations 167 09-11-2011 06:38 AM
Which UI should I use with SageTV7? MC, default, wait for Ortus or Phoenix? wayner SageTV Beta Test Software 11 07-28-2010 08:58 PM
Hide Menu Items matterw SageTV Beta Test Software 5 01-28-2005 07:23 PM


All times are GMT -6. The time now is 07:32 PM.


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