SageTV Community  

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

Notices

SageTV v9 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 9 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 9 and newer.

Reply
 
Thread Tools Search this Thread Display Modes
  #81  
Old 01-10-2017, 01:06 PM
thomaszoo thomaszoo is offline
Sage Aficionado
 
Join Date: Jun 2004
Location: Sacramento, CA
Posts: 487
Quote:
Originally Posted by tmiranda View Post
For the first part, are you saying when you say "play XXXX" the video starts but pauses?
Yes. Sometimes it will start playing, but most of the time it is paused.

Quote:
For the second part, those utterances will not make anything happen on the TV. That's all in a "virtual view" in Alexa's head The only way to make something happen on the TV is by uttering "play <show name>" (or one of the other "play" utterances mentioned in previous posts) or to say "command <keystroke>".

It's currently not possible to co-ordinate Alexa with what appears on a physical Sage user interface. Many people have asked for it, it's just not possible unless I use a stripped down user interface and prohibit all UI Mod plugins.
Thanks. I'll stop trying to make that happen!
__________________
i5-6400, MSI B150M Micro ATX MB, 16GB DDR3 1600, 2 - WD Green 2TB SATA Drives, Lite-On SATA 4X Blu-ray Reader, Corsair 400W 80+ Power Supply, Silverstone Sugo SG02-BF MicroATX Case, Windows 10 (64), HDHR Dual X2, Quatro and Prime, 5 x HD300 + 2 x HD100
Reply With Quote
  #82  
Old 01-10-2017, 02:18 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by wayner View Post
This is doable though isn't it? From the web UI you can search for a movie by name and then play it in any UI context, so I imagine it is the same for the Echo.

So I would think something like this "Alexa, ask SageTV to play Frozen in the kitchen" should work, assuming that Alexa could parse the movie title.

Would you have to do something to differentiate the voice commands for TV shows from movies?

You would think that there would be Alexa skills for apps like Plex and Kodi but I don't see anything for those when I search the Alexa app.
Playing things isn't a problem. Asking Alexa to decipher what to play is the problem.

So no, it may not be doable. Parsing human speech is trivial for humans (although sometimes I wonder if my kids understand what I am saying) but very difficult for machines.

To see the kinds of utterances Alexa is capable of deciphering look here: https://developer.amazon.com/public/...intent-library Pay special attention to the "video" intents. I need to implement "VideoCreativeWorks" and/or "CreativeWorks" intents.

It's very tedious to implement these intents because Alexa does not neatly put words it hears into the right fields. For example, it took a while for me to get "play the first unwatched episode of <show name>" to work because Alexa would often return "on watched", "and watched", "on watch", "and watch", "unwatch", etc. instead of "unwatched". Sometimes the show name would come through as "and watched <show name>".

Then there is the complication of finding shows that closely match what the user utters. For example, sometimes "play game of thrones" is deciphered as "play game of thrown" or "watch Star Trek Deep Space Nine" is deciphered as "deep space 9". Trivial for a human to see what the user meant, but not trivial for a machine.

I'm actually awed by how well Deep Blue and other AI systems perform.
__________________

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.
Reply With Quote
  #83  
Old 01-10-2017, 02:23 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by thomaszoo View Post
Yes. Sometimes it will start playing, but most of the time it is paused.
What state is the UI in when you ask it to play? (For example: Is the screensaver on? Is there something else playing or paused? Is it sitting at the main menu or some sub menu?) I try to make sure that the screensaver is deactivated and anything that is playing or paused is stopped before playing a new video. I probably have overlooked something.
__________________

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.
Reply With Quote
  #84  
Old 01-11-2017, 09:44 AM
SDeGonge's Avatar
SDeGonge SDeGonge is offline
Sage Aficionado
 
Join Date: Jun 2009
Location: NY
Posts: 253
Question

Quote:
Originally Posted by tmiranda View Post
I just submitted the "Sage For Echo" UI Mod plugin to the repository. You no longer need to search through this thread for the manifest or for the latest echoFunctions file. Instead, just install the UI Mod plugin.

The plugin will work for SageTV version 7 or version 9.
I just tried installing the Sage For Echo plugin but got the following error...

Plugin Install Progress: Done-FAILED-Dependency Install sageforechofunctions-FAILED-Dependency Install sagex-api-services-FAILED-Dependency Install jetty-FAILED-Resource Download http ://downloads.sourceforge. net/project/sageplug i ns/jetty%2 OS tarter/2 .3.0/plug in/jetty-sta rter-jars-2 .3.0.14.zip?use mirror=

Not sure what is going on. I'm pretty sure I do not have any Jetty stuff installed and I think I'm using Java 8 if that has any impact. Also running Gemstone.

Any suggestions?
__________________
SageTV User Since 2009
Server Hardware: AMD FX6100, 6 Cores, 3.3GHz, 8GB RAM, TA970XE MB, 3TB HD, HVR-2250, HD-PVR, nVidia 9600GT 512MB
Server Software: SageTV 9, Windows 10 64bit, EventGhost
Client Hardware: HD200 x2, INT-422-3 & WR7 Remote
Service Provider: Cablevision (QAM to 2250, SamsungBox to HDPVR)
Reply With Quote
  #85  
Old 01-11-2017, 10:21 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by SDeGonge View Post
I just tried installing the Sage For Echo plugin but got the following error...

Plugin Install Progress: Done-FAILED-Dependency Install sageforechofunctions-FAILED-Dependency Install sagex-api-services-FAILED-Dependency Install jetty-FAILED-Resource Download http ://downloads.sourceforge. net/project/sageplug i ns/jetty%2 OS tarter/2 .3.0/plug in/jetty-sta rter-jars-2 .3.0.14.zip?use mirror=

Not sure what is going on. I'm pretty sure I do not have any Jetty stuff installed and I think I'm using Java 8 if that has any impact. Also running Gemstone.

Any suggestions?
I think sourceforge has been up and down a lot. Wait a little while and try again.

Your Java version is not an issue. I'm not a Gemstone user, does it use the Setup->Detailed Setup->Customize menu from the default STV? That's where you have the ability to name the TV/extender.
__________________

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.
Reply With Quote
  #86  
Old 01-11-2017, 10:36 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Quote:
Originally Posted by SDeGonge View Post
I just tried installing the Sage For Echo plugin but got the following error...

Plugin Install Progress: Done-FAILED-Dependency Install sageforechofunctions-FAILED-Dependency Install sagex-api-services-FAILED-Dependency Install jetty-FAILED-Resource Download http ://downloads.sourceforge. net/project/sageplug i ns/jetty%2 OS tarter/2 .3.0/plug in/jetty-sta rter-jars-2 .3.0.14.zip?use mirror=

Not sure what is going on. I'm pretty sure I do not have any Jetty stuff installed and I think I'm using Java 8 if that has any impact. Also running Gemstone.

Any suggestions?
on a similar note, I've been having loads of trouble using the plugin repository, with failures pretty much the norm now. frustrating...
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
  #87  
Old 01-14-2017, 07:07 PM
NoodleNT NoodleNT is offline
Sage Advanced User
 
Join Date: Mar 2011
Location: DC
Posts: 197
We need a way to confirm the port change request. My wife was playing with Alexa and trying to get Sage to change to a TV channel... instead it changed the port.
Reply With Quote
  #88  
Old 01-14-2017, 07:26 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by NoodleNT View Post
We need a way to confirm the port change request. My wife was playing with Alexa and trying to get Sage to change to a TV channel... instead it changed the port.
Agreed. For some reason she likes to hear hex digits instead of other commands
__________________

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.
Reply With Quote
  #89  
Old 01-14-2017, 08:12 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
@tmiranda - Have you come up with any way of having users enter data like port and locator ID? I am having this issue with other skills that I have been working on - other than figuring out how to use the official Account Linking feature of Alexa. And speaking of that, have you looked into using Account Linking at all for this information?

Here is the Amazon page on this: https://developer.amazon.com/public/...in-your-system
__________________
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
Reply With Quote
  #90  
Old 01-15-2017, 05:53 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by wayner View Post
@tmiranda - Have you come up with any way of having users enter data like port and locator ID? I am having this issue with other skills that I have been working on - other than figuring out how to use the official Account Linking feature of Alexa. And speaking of that, have you looked into using Account Linking at all for this information?

Here is the Amazon page on this: https://developer.amazon.com/public/...in-your-system
Yes, I looked at that a lot. It's probably the better way to go but it requires a web back end and I don't have the skills (no pun intended) for that. Ideally I'd have a dedicated web back end running the skill as well as doing OAUTH duty.

If there are any web developers out there who want to help I'd be more than willing to collaborate.
__________________

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.
Reply With Quote
  #91  
Old 01-15-2017, 08:16 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by NoodleNT View Post
We need a way to confirm the port change request. My wife was playing with Alexa and trying to get Sage to change to a TV channel... instead it changed the port.
While updating this I found a bug that was probably preventing users from entering the port correctly. I hope to have a fix out today that includes adding a verification before changing the port.
__________________

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.
Reply With Quote
  #92  
Old 01-15-2017, 08:18 AM
NoodleNT NoodleNT is offline
Sage Advanced User
 
Join Date: Mar 2011
Location: DC
Posts: 197
What back end service is managing the locator ID for Sage? Perhaps we can extend that to hold the port info? Isn't the locator ID some version of a dynamic DNS service?
Reply With Quote
  #93  
Old 01-15-2017, 08:28 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by NoodleNT View Post
What back end service is managing the locator ID for Sage? Perhaps we can extend that to hold the port info? Isn't the locator ID some version of a dynamic DNS service?
That service is being hosted by Google. I think it is asking a lot, and really doesn't make sense, to update the core to support a single plugin.

Let's see if improving the way the skill handles the port change will help. I found a bug in there that was probably messing things up.

I also considered using the Amazon login server. There are "user profile" fields in Amazon that I can probably hijack. That's a bit clunky but I think it's doable. An interesting side effect is that we may see people on Amazon with interests that look suspiciously like locator IDs and ports
__________________

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.
Reply With Quote
  #94  
Old 01-15-2017, 09:11 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
New Version

I just deployed a new version of the skill. Now when you change the port it will ask for confirmation.

I also fixed a bug that was preventing some users from entering a custom port number.
__________________

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.
Reply With Quote
  #95  
Old 01-16-2017, 04:53 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
New Version

Just made a few more updates:

- If you ask "What can I do?" it will give you some ideas on things to try.

- If you ask "What new things can I do?" it will tell you what's been added in the most recent version.

- It will now handle simultaneous requests and you should never hear "Sorry, the server is busy."
__________________

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.
Reply With Quote
  #96  
Old 01-19-2017, 09:31 AM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
SSL?

Could this be made to handle SSL connections?
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #97  
Old 01-19-2017, 12:22 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by KarylFStein View Post
Could this be made to handle SSL connections?
It uses Jetty and sagex-services to communicate between the skill and the Sage server. As long as they support SSL the skill will.
__________________

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.
Reply With Quote
  #98  
Old 01-19-2017, 01:42 PM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
Quote:
Originally Posted by tmiranda View Post
It uses Jetty and sagex-services to communicate between the skill and the Sage server. As long as they support SSL the skill will.
It doesn't work. I opened my firewall to allow my non-SSL port through and that connects, but if I use my SSL port it won't connect.
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #99  
Old 01-19-2017, 07:33 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by KarylFStein View Post
It doesn't work. I opened my firewall to allow my non-SSL port through and that connects, but if I use my SSL port it won't connect.
Sorry I wasn't clear. It will work,but I need to update the code.
__________________

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.
Reply With Quote
  #100  
Old 01-21-2017, 09:20 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Bug

I introduced a bug in the last version. I will fix it tomorrow.

To whoever was trying to watch "Elementary" - You need to update the plugin on your server.
__________________

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.
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
SageTV Alexa Skill jonnydeath SageTV v7 Customizations 4 12-24-2019 12:07 PM
Considering feasibility of WMC + Ceton Echo solution mkanet General Discussion 19 12-19-2012 01:16 PM
Audio echo on AC3? jerryt SageTV Software 0 10-08-2008 06:17 AM
Echo problem with Pinnacle 310i Glitterati Hardware Support 5 11-14-2007 08:04 AM
Audio echo while viewing live TV raddevon SageTV Software 3 05-14-2006 09:46 PM


All times are GMT -6. The time now is 01:52 PM.


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