![]() |
|
SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
SageTV API questions
Using Sagex or some other method is there an easy way to :
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#2
|
||||
|
||||
Quote:
Code:
http://192.168.1.10:8080/sagex/api Code:
/sagex/api?c=Watch&1=mediafile:MEDIAFILEID if you want to play it on a particular client... Code:
/sagex/api?c=Watch&1=mediafile:MEDIAFILEID&context=UI_CONTEXT If you search for skip or seek, you'll find a couple of ways to do what you want.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#3
|
|||
|
|||
Thanks sean, that works with a couple of caveats.
When I issue the Watch command, as in: "http://192.168.1.99:7070/sagex/api?c=Watch&1=mediafile:41834038&context=0023a5000654" The file starts playing but if I happen to be in the Main Menu it plays in the top right corner (this is with the Gemstone UI). And if you initiate this playback when the UI is in other states, like a file list, then you may not see video. How do you set playback to the full SageTV window as happens when you start playing back of file from the SageTV UI? In other words how do you make the video player take over so that the UI is no longer on the screen? Seek Issue I am trying to use the Seek function, but it isn't working. No matter what I use as an argument it starts at the beginning of the file. The docs say: Quote:
Code:
http://192.168.1.99:7070/sagex/api?c=Seek&1=10000&context=0023a5000654
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#4
|
||||
|
||||
Quote:
As for the watch... if I recall in the stv after it calls watch it transitions to a "Menu" that ends up full screening the video and then providing the overlay controls. I'm sure this can be done from the REST api as well, I just have no idea what the menu/widet is ![]()
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#5
|
||||
|
||||
to go full screen you can try...
Code:
c=ExecuteWidgetChain&1=widget:QISRJ-234858 According to the Phoenix 3 stv, that is the id of the widget that launches into full screen.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#6
|
|||
|
|||
Quote:
The Widget commands are likely specific to the UI, so I might need to find that for Gemstone.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#7
|
||||
|
||||
Quote:
__________________
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. |
#8
|
|||
|
|||
Thanks Tom - it looks like the TV commands works with the webUI, as in: http://192.168.1.99:7070/sage/SageCo...654&command=TV
Any idea about moving to a point 600 seconds, on an absolute basis, into the file?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Considering SageTV Questions | jrwalte | SageTV Software | 8 | 05-22-2011 04:50 PM |
SageTV 7 questions | Rogue9 | SageTV v7 Customizations | 4 | 10-12-2010 12:55 PM |
Thank you SageTV, but I have questions . . . | Squeeky4711 | SageTV Software | 4 | 09-06-2008 08:56 AM |
SageTV Questions | EdwardATeller | SageTV Software | 5 | 02-17-2008 07:49 AM |
Have some questions on SageTV | zofran | SageTV Software | 5 | 09-18-2004 12:28 PM |