|
Phoenix This forum is for discussing the user-created Phoenix custom interface for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Linking default STV menus into Phoenix
I found that thanks to the awesomeness of Phoenix's menu framework you can easily link to a lot of default STV menus without having to write any Studio code.
Here's an example for linking to the 'Show Editorials' menu: Code:
<fragment parentMenu="phoenix.menu.lz.tv" insertBefore="phoenix.menu.lz.tvseasons"> <menuItem label="TV Show Editorials" name="show_editorials" visible="true"> <description>TV Show Editorials</description> <eval>AddGlobalContext("gCurCustomSTVFilePath", GetCurrentSTVFile())</eval> <eval>AddGlobalContext("gReloadCustomSTVWithoutConfirm", true)</eval> <eval>AddGlobalContext("gTargetMenuName", "TV Show Highlight List")</eval> <eval>AddGlobalContext("gReloadCustomSTVOnHome", true)</eval> <eval>LoadSTVFile(GetDefaultSTVFile())</eval> <screen name="Phoenix Universal Media Browser" /> </menuItem> </fragment> Code:
<fragment parentMenu="phoenix.menu.lz.tv" insertBefore="phoenix.menu.lz.tvseasons"> <menuItem label="TV Premieres" name="premieres" visible="true"> <description>TV Premieres</description> <eval>AddGlobalContext("gCurCustomSTVFilePath", GetCurrentSTVFile())</eval> <eval>AddGlobalContext("gReloadCustomSTVWithoutConfirm", true)</eval> <eval>AddGlobalContext("gTargetMenuName", "Xtra: Multimenu by malore")</eval> <eval>AddGlobalContext("gReloadCustomSTVOnHome", true)</eval> <eval>AddGlobalContext("Function", "xUpcomingMovies")</eval> <eval>LoadSTVFile(GetDefaultSTVFile())</eval> <screen name="Phoenix Universal Media Browser" /> </menuItem> </fragment> Code:
<fragment parentMenu="phoenix.menu.lz.tv" insertBefore="phoenix.menu.lz.tvseasons"> <menuItem label="TV Premieres / Finals" name="premieres" visible="true"> <description>TV Premieres / Finals</description> <eval>AddGlobalContext("gCurCustomSTVFilePath", GetCurrentSTVFile())</eval> <eval>AddGlobalContext("gReloadCustomSTVWithoutConfirm", true)</eval> <eval>AddGlobalContext("gTargetMenuName", "Xtra: Multimenu by malore")</eval> <eval>AddGlobalContext("gReloadCustomSTVOnHome", true)</eval> <eval>AddGlobalContext("Function", "xSpecialAirings")</eval> <eval>LoadSTVFile(GetDefaultSTVFile())</eval> <screen name="Phoenix Universal Media Browser" /> </menuItem> </fragment> Dirk |
#2
|
|||
|
|||
Myself and a few others would love a link to the default file browser if you can figure that out.
|
#3
|
||||
|
||||
How do you add this code and does it show another menu option to get that feature?
__________________
Sage Tv Server-Amd 4200FX quad core, Asus Nvidia EN610 Hdmi out , 8 Gig Ram ,(3) HVR-1800, 3.5 terrabyte storage, Windows 8 Pro on sage 9.09 system . Media Server- 6 Terabytes on 5 drives, Amd x2 6000 8 useable gig ram on win 7 32 bit media server. |
#4
|
|||
|
|||
Quote:
Code:
<fragment parentMenu="phoenix.menu.lz.videos" insertBefore="phoenix.menu.lz.videos.conversions"> <menuItem label="File Browser" name="file_browser" visible="true"> <description>File Browser</description> <eval>AddGlobalContext("gCurCustomSTVFilePath", GetCurrentSTVFile())</eval> <eval>AddGlobalContext("gReloadCustomSTVWithoutConfirm", true)</eval> <eval>AddGlobalContext("gTargetMenuName", "Browser - Files")</eval> <eval>AddGlobalContext("gReloadCustomSTVOnHome", true)</eval> <eval>LoadSTVFile(GetDefaultSTVFile())</eval> <screen name="Phoenix Universal Media Browser" /> </menuItem> </fragment> Dirk |
#5
|
|||
|
|||
Quote:
Code:
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE menus SYSTEM "menus.dtd"[]> <menus> <fragment ...> </fragment> <fragment ...> </fragment> </menus> Dirk |
#6
|
|||
|
|||
Thanks! That works great. Last edited by crusing; 07-02-2011 at 11:20 PM. |
#7
|
||||
|
||||
Would it be possible for you to display the complete contents if the xml menu file to show the Malore upcoming movies menu?
I also dont have a menus folder under userdata\pheonix\. do I need to create this folder?
__________________
Sage Tv Server-Amd 4200FX quad core, Asus Nvidia EN610 Hdmi out , 8 Gig Ram ,(3) HVR-1800, 3.5 terrabyte storage, Windows 8 Pro on sage 9.09 system . Media Server- 6 Terabytes on 5 drives, Amd x2 6000 8 useable gig ram on win 7 32 bit media server. |
#8
|
|||
|
|||
Quote:
Code:
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE menus SYSTEM "menus.dtd"[]> <menus> <fragment parentMenu="phoenix.menu.lz.tv" insertBefore="phoenix.menu.lz.tvseasons"> <menuItem label="Upcoming Movies" name="upcoming_movies" visible="true"> <description>Upcoming Movies (Malore)</description> <eval>AddGlobalContext("gCurCustomSTVFilePath", GetCurrentSTVFile())</eval> <eval>AddGlobalContext("gReloadCustomSTVWithoutConfirm", true)</eval> <eval>AddGlobalContext("gTargetMenuName", "Xtra: Multimenu by malore")</eval> <eval>AddGlobalContext("gReloadCustomSTVOnHome", true)</eval> <eval>AddGlobalContext("Function", "xUpcomingMovies")</eval> <eval>LoadSTVFile(GetDefaultSTVFile())</eval> <screen name="Phoenix Universal Media Browser" /> </menuItem> </fragment> </menus> Dirk |
#9
|
||||
|
||||
Thanks! dflachbart
__________________
Sage Tv Server-Amd 4200FX quad core, Asus Nvidia EN610 Hdmi out , 8 Gig Ram ,(3) HVR-1800, 3.5 terrabyte storage, Windows 8 Pro on sage 9.09 system . Media Server- 6 Terabytes on 5 drives, Amd x2 6000 8 useable gig ram on win 7 32 bit media server. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
STVi Plugin: Phoenix Fanart for Malore Menus | tmiranda | SageTV v7 Customizations | 29 | 11-28-2015 01:28 PM |
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 |
STV Import: Phoenix Fanart for the Default STV | tmiranda | SageTV Customizations | 83 | 04-25-2010 04:39 AM |
Phoenix Fanart for the Default STV notification thread | tmiranda | Customization Announcements | 5 | 02-20-2010 04:40 AM |
Any way to replace dated SageMC Music and Pictures menus with newer default STV ones? | mkanet | SageMC Custom Interface | 1 | 04-09-2009 09:04 PM |