SageTV Community  

Go Back   SageTV Community > SageTV Customizations > SageTV v7 Customizations > Phoenix

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

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 05-08-2012, 09:04 AM
HokiePerogi HokiePerogi is offline
Sage Advanced User
 
Join Date: Oct 2008
Posts: 131
Quote:
Originally Posted by stuckless View Post
Is ZOMHW-2366927 the Pheonix Menu widget?
No. It is the Phoenix OSD Menu widget. I got it by running:

Code:
http://sagepc:8009/sagex/api?c=GetCurrentMenuWidget&context=0023a50000d6
when a video was playing (launch using the normal method with my remote) on my extender.
__________________
Server: AMD Phenom II X6 3.20 GHz ♠ 8 GB RAM (7.75 usable)
Capture: HDHomeRun Clear-QAM ♠ HRV-2250 Clear-QAM ♠ HD PVR ♠ Ceton
STBs: QIP-7100 via HD-PVR and USB-UIRT channel change
Software: Windows 7 Ultimate 64-bit ♠ SageTV v7.1.9.256 ♠ Java 1.6.0_31
Clients: 3 x STX-HD300 ♠ 3 x STX-HD200 ♠ Placeshifter
Reply With Quote
  #22  
Old 05-08-2012, 09:05 AM
HokiePerogi HokiePerogi is offline
Sage Advanced User
 
Join Date: Oct 2008
Posts: 131
Quote:
Originally Posted by stuckless View Post
btw the Play() method above probably didn't work because we didn't code in support for playing Playlists

I assume that CinemaDTSthxDD is the playlist name, but I doubt the code supports looking up the playlist name.
You are correct. CinemaDTSthxDD is the playlist name. This is a bummer. Guess I need to rely on the sagex api's instead for now.
__________________
Server: AMD Phenom II X6 3.20 GHz ♠ 8 GB RAM (7.75 usable)
Capture: HDHomeRun Clear-QAM ♠ HRV-2250 Clear-QAM ♠ HD PVR ♠ Ceton
STBs: QIP-7100 via HD-PVR and USB-UIRT channel change
Software: Windows 7 Ultimate 64-bit ♠ SageTV v7.1.9.256 ♠ Java 1.6.0_31
Clients: 3 x STX-HD300 ♠ 3 x STX-HD200 ♠ Placeshifter
Reply With Quote
  #23  
Old 05-08-2012, 09:13 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 6,342
Quote:
Originally Posted by HokiePerogi View Post
You are correct. CinemaDTSthxDD is the playlist name. This is a bummer. Guess I need to rely on the sagex api's instead for now.
Someday I'll get back into Phoenix again... and fix up some of these issues

Now, if you know any scripting (ie javascripting) you can create your own sagex apis to do more complex stuff. And using the javascript apis you'd have complete access to the sagetv environment.
Reply With Quote
  #24  
Old 05-08-2012, 09:26 AM
HokiePerogi HokiePerogi is offline
Sage Advanced User
 
Join Date: Oct 2008
Posts: 131
Quote:
Originally Posted by stuckless View Post
Someday I'll get back into Phoenix again... and fix up some of these issues

Now, if you know any scripting (ie javascripting) you can create your own sagex apis to do more complex stuff. And using the javascript apis you'd have complete access to the sagetv environment.
So, if I read into what you are saying, both the unable to play playlists using the play api call and Sage not returning to the Phoenix menus after playing a playlist via the sagex api call are bugs in Phoenix?
__________________
Server: AMD Phenom II X6 3.20 GHz ♠ 8 GB RAM (7.75 usable)
Capture: HDHomeRun Clear-QAM ♠ HRV-2250 Clear-QAM ♠ HD PVR ♠ Ceton
STBs: QIP-7100 via HD-PVR and USB-UIRT channel change
Software: Windows 7 Ultimate 64-bit ♠ SageTV v7.1.9.256 ♠ Java 1.6.0_31
Clients: 3 x STX-HD300 ♠ 3 x STX-HD200 ♠ Placeshifter
Reply With Quote
  #25  
Old 05-08-2012, 10:58 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 6,342
Quote:
Originally Posted by HokiePerogi View Post
So, if I read into what you are saying, both the unable to play playlists using the play api call and Sage not returning to the Phoenix menus after playing a playlist via the sagex api call are bugs in Phoenix?
I think that Phoenix's inablility to play a Playlist is a missing feature. It's not really a bug, since I don't think it was ever thought to do it.

As for the scripting, it just another means to do more complex stuff that you can't always do using URL's.
Reply With Quote
  #26  
Old 05-08-2012, 12:59 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Riverside, CA
Posts: 6,574
Currently, because EvaluateExpression is exposed via the URLs, you CAN do pretty much everything that way... it is a little cumbersome, but i was able to 'script' the above into a text file of URLS, and pass them to wget --spider -i [FILENAME]. Works for creating a playlist, starting it, switching to the OSD, and then removing the playlist (it can be removed after it is playing back without affecting it's playback - presumably it is coppied into a now playing playlist for operation). I'm seeing this as a decent start for being able to launch the theater promo vids prior to the actual movie - and be able to automate the process - choose a mediafileID, and have it play it WITH previews relatively seamlessly.
__________________
Sage Server: Phenom II X4, 16GB RAM, Win7HP, 1x1TB (system/misc-imports), 2x750GB+3x2TB(recordings/media)
Sources: Two R-5000HD equipped ViP-211's for Dish Network, HDHR3 Dual for OTA
Primary Client: i3-530, 2GB RAM, Win7HPx86, miniITX H55 MB, 160GB laptop drive, Samsung HLT-6189S
Other Clients: Phenom II X2 545 w/8GB and HD6670 in Master Bedroom, MVP in kids play room
Reply With Quote
  #27  
Old 05-08-2012, 01:03 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Riverside, CA
Posts: 6,574
I did submit a couple issues on the google code page. One for the inability to handle some URL encoded characters, like " (not all that critical), another for the lack of a widget: prefix - a relatively easy addition to the helper class using FindWidgetBySymbol(UID).

If/when you get back into the coding mood.
__________________
Sage Server: Phenom II X4, 16GB RAM, Win7HP, 1x1TB (system/misc-imports), 2x750GB+3x2TB(recordings/media)
Sources: Two R-5000HD equipped ViP-211's for Dish Network, HDHR3 Dual for OTA
Primary Client: i3-530, 2GB RAM, Win7HPx86, miniITX H55 MB, 160GB laptop drive, Samsung HLT-6189S
Other Clients: Phenom II X2 545 w/8GB and HD6670 in Master Bedroom, MVP in kids play room
Reply With Quote
  #28  
Old 05-08-2012, 01:42 PM
HokiePerogi HokiePerogi is offline
Sage Advanced User
 
Join Date: Oct 2008
Posts: 131
Quote:
Originally Posted by Fuzzy View Post
I did submit a couple issues on the google code page. One for the inability to handle some URL encoded characters, like " (not all that critical), another for the lack of a widget: prefix - a relatively easy addition to the helper class using FindWidgetBySymbol(UID).

If/when you get back into the coding mood.
Thanks for filing those Fuzzy.

Okay...next question. I'm almost done, I swear. I'd like to get certain video playlists to playback in random order and repeat until stopped. I'm trying to figure out the proper playlist property name to update, so I run:

Code:
http://sagepc:8009/sagex/api?c=GetPlaylistProperties&1=playlist:CinemaDTSthxDD
However, all I get back is an empty result set. I get the same behavior using the evaluateexpress method too. Perhaps the sagex was never coded to serialize the properties object that is returned? Or am I doing something wrong?

Thanks for all the help thus far!
__________________
Server: AMD Phenom II X6 3.20 GHz ♠ 8 GB RAM (7.75 usable)
Capture: HDHomeRun Clear-QAM ♠ HRV-2250 Clear-QAM ♠ HD PVR ♠ Ceton
STBs: QIP-7100 via HD-PVR and USB-UIRT channel change
Software: Windows 7 Ultimate 64-bit ♠ SageTV v7.1.9.256 ♠ Java 1.6.0_31
Clients: 3 x STX-HD300 ♠ 3 x STX-HD200 ♠ Placeshifter
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
How to add MC Menu item to go directly to SageTV Setup Menu? BKeadle SageMC Custom Interface 1 11-05-2011 07:08 PM
Adding custom main menu item -Video Folder or Category wado1971 SageTV v7 Customizations 0 08-10-2010 02:58 PM
Add menu item for My Podcasts? cowboyway SageMC Custom Interface 5 08-12-2009 07:07 AM
exit menu item on main menu 3dOptics SageMC Custom Interface 1 11-14-2008 02:27 AM
Add menu item with studio jlabrue SageTV Beta Test Software 4 06-30-2007 08:44 AM


All times are GMT -6. The time now is 10:21 PM.


Powered by vBulletin® Version 3.7.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2003-2005 SageTV, LLC. All rights reserved.