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
  #21  
Old 05-08-2012, 09:04 AM
HokiePerogi HokiePerogi is offline
Sage Advanced User
 
Join Date: Oct 2008
Posts: 187
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 ♠ 16 GB RAM (15.7 usable)
Capture: HDHomeRun PRIME ♠ Ceton InfiniTV 4 PCIe (Clear-QAM only)
Tuning: OpenDCT v0.5.20-RC2
Software: Windows 7 Ultimate 64-bit ♠ SageTV v9.0.12.504 ♠ Java 1.8.0_111
Clients: 4 x STX-HD300 ♠ 3 x STX-HD200 ♠ MacOS Placeshifter
Reply With Quote
  #22  
Old 05-08-2012, 09:05 AM
HokiePerogi HokiePerogi is offline
Sage Advanced User
 
Join Date: Oct 2008
Posts: 187
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 ♠ 16 GB RAM (15.7 usable)
Capture: HDHomeRun PRIME ♠ Ceton InfiniTV 4 PCIe (Clear-QAM only)
Tuning: OpenDCT v0.5.20-RC2
Software: Windows 7 Ultimate 64-bit ♠ SageTV v9.0.12.504 ♠ Java 1.8.0_111
Clients: 4 x STX-HD300 ♠ 3 x STX-HD200 ♠ MacOS 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: 9,713
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: 187
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 ♠ 16 GB RAM (15.7 usable)
Capture: HDHomeRun PRIME ♠ Ceton InfiniTV 4 PCIe (Clear-QAM only)
Tuning: OpenDCT v0.5.20-RC2
Software: Windows 7 Ultimate 64-bit ♠ SageTV v9.0.12.504 ♠ Java 1.8.0_111
Clients: 4 x STX-HD300 ♠ 3 x STX-HD200 ♠ MacOS 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: 9,713
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: Jurupa Valley, CA
Posts: 9,957
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.
__________________
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
  #27  
Old 05-08-2012, 01:03 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
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.
__________________
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
  #28  
Old 05-08-2012, 01:42 PM
HokiePerogi HokiePerogi is offline
Sage Advanced User
 
Join Date: Oct 2008
Posts: 187
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 ♠ 16 GB RAM (15.7 usable)
Capture: HDHomeRun PRIME ♠ Ceton InfiniTV 4 PCIe (Clear-QAM only)
Tuning: OpenDCT v0.5.20-RC2
Software: Windows 7 Ultimate 64-bit ♠ SageTV v9.0.12.504 ♠ Java 1.8.0_111
Clients: 4 x STX-HD300 ♠ 3 x STX-HD200 ♠ MacOS Placeshifter
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
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 49studebaker SageMC Custom Interface 1 11-14-2008 03: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 07:44 PM.


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