rickyphewitt / emby-skill

This skill allows audio playback from an emby server
11 stars 19 forks source link

DLNA support, play on other device #55

Open Lesger opened 4 years ago

Lesger commented 4 years ago

Hi Ricky,

Thanks for the great skill! I am wondering if you have ever looked into adding DLNA support. What i can gather the Emby API supports this, but I am really new to python, skills and mycroft in general. I am looking into some things, but it will involve a steap learning curve. :)

Hope to hear from you.

Cheers

rickyphewitt commented 4 years ago

Hello @Lesger!

I'm glad to hear you are enjoying the skill! I believe you are right in that Emby is a DLNA content provider. I think the biggest challenge here would be to determine the interactions with the skill. There would have to be a way to discover devices and list them to the user, then the user can choose a device to send content to. There might be more but I'd have to look into the Emby DLNA api to get a feel for what is supported and how it is implemented.

Do you have an example scenario that would help me get a better understanding of what one might expect if DLNA support was added. Maybe how you use Emby and its DLNA functionality today.

Lesger commented 4 years ago

Hi Ricky, thanks for the reply. I didn't rhink about the option that are needed to select a device. How it works in emby is a sort of cast button where you can choose the active devices in your network.

I would like to be able to say play.... from emby, on device name. But I do not know how accommodating the api is in that sense.

Let me know if you have more questions.

rickyphewitt commented 4 years ago

Ok that makes sense. I was messing around with the UI and the cast functionality. Seems fairly straightforward (though I didn't get anything to actually cast to another device, i'm sure this is just some config on my end). I don't have time right now to start an implementation but I will start doing some research around how to do this via the api so when I get a bit of free time I'll have a better idea on where to start.