infinityofspace / jellyfin_alexa_skill

Selfhosted Alexa media player skill for Jellyfin
GNU General Public License v3.0
71 stars 11 forks source link

Incorporate into routine? #20

Open backcountrymountains opened 2 years ago

backcountrymountains commented 2 years ago

Not sure how Alexa works, but is it possible to incorporate this skill into an Alexa Routine? For example making it part of the "Goodnight" routine so that Alexa can turn off the lights and start a night-time playlist using the jellyfin skill. Personally, I'd also like it because the invocation of routines can be much more brief than the invocation of a skill, i.e. just saying "Alexa, Goodnight" instead of "Alexa, ask jellyfin player to play the playlist goodnight"

This is great! Thanks for all the work!

infinityofspace commented 2 years ago

That is a good question, whether this is possible. As far as I can tell, this feature should not require any changes to the skill logic and should work out of the box. Since the routines only call the actual skills. However, it could be possible that due to the private status of the skill this would not be possible. The private status refers to the fact that the skill is not published in the skill store and is only available as a selfhosted development skill as a private skill only to the creator and otherwise no other user.

I will try this out when I get a chance and report back on the status.

infinityofspace commented 2 years ago

I have now done some research on the topic and tested it on my devices, unfortunately using a non-public skill (development mode) in an Alexa routine is not possible. This basic requirement feature was also requested 2 years ago in the Alexa dev forums (1, 2), but nothing has changed to this day.

Therefore it is not possible to use the skill in any routine.

I will leave the ticket open for tracking in case we find an acceptable workaround or something changes on Amazon's side.