[WiP] Speech Recognition for MP2 (1 Viewer)

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    15,114
    9,923
    Kyiv
    Home Country
    Ukraine Ukraine
    Hmmm, i say, Ok Google, turn on Mediaportal, and my HTPC stsrting :) after start TV turned On, and after start playing, light turned off :)
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,114
    9,923
    Kyiv
    Home Country
    Ukraine Ukraine
    Thats cool :cool: How many days tweaking did you spend to make it work?
    1 day for Plugin, 1 day for settings, 1-3 for beauty tweaks, now it works the way I need it at the moment. All in all, it didn't take more than three days. And it wasn't full, I had to do household chores.
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,114
    9,923
    Kyiv
    Home Country
    Ukraine Ukraine
    @ge2301
    Latests added Movies and Series on my Info tablet ...
    1631184761954.png
    Screen after playing:
    1631184792607.png
    :)
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    Back in 2018, I bought an Alexa speaker and as proof of concept developed a skill to control MediaPortal 1 (Toggle Playback Pause/Play and Stop) with it. I've been using it since, but didn't put much more effort into it. Didn't really have the time (still don't) for publishing and supporting it.

    If there is actually interest, I could try to make it official.
    The end-user setup is pretty easy, nothing as the Kodi stuff described in this thread... All you need is an Amazon Account to link MediaPortal with the Skill.
     
    Last edited:

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,444
    3,355
    Stuttgart
    Home Country
    Germany Germany
    1 day for Plugin, 1 day for settings, 1-3 for beauty tweaks, now it works the way I need it at the moment. All in all, it didn't take more than three days. And it wasn't full, I had to do household chores.
    That's not so much time. Maybe I'm still keeping the complicated Kodi solution in mind.
    Maybe you can also share it, so others can extend it further. I'd love to implement into MP2, but that's beyond my skills :whistle:

    @ge2301
    Latests added Movies and Series on my Info tablet ...
    1631184761954.png 1631184761954.png
    Screen after playing:
    1631184792607.png 1631184792607.png
    Is this related to voice control or just the share the web surface?


    Back in 2018, I bought an Alexa speaker and as proof of concept developed a skill to control MediaPortal 1 (Toggle Playback Pause/Play and Stop) with it. I've been using it since, but didn't put much more effort into it. Didn't really have the time (still don't) for publishing and supporting it.

    If there is actually interest, I could try to make it official.
    The end-user setup is pretty easy, nothing as the Kodi stuff described in this thread... All you need is an Amazon Account to link MediaPortal with the Skill.
    Back in 2018 I bought also my first Alexa, meanwhile every room has once, because it's a full smart home :)
    Is it possible to develop personal skills, that are not visible to all on amazon? I searched once for any mediaportal skill and the keyword was unknown.
    Of course it would be really cool to share at least the code here, so we have besides @ajs google solution also an alela solution as base, that somebody might be interested to extend. I believe there is a big user-base for speach control.

    In the end there is nothing concrete for MP2 yet, but better than nothing ;)
    If there is a base it could be also easier transported.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,114
    9,923
    Kyiv
    Home Country
    Ukraine Ukraine
    Is this related to voice control or just the share the web surface?
    I can say that this is a byproduct of the connection Media Portal and Home Assistant, all control on the side of Home Assistant, voice control of any assistant, Alexa, Google, Maria, Alisa is already a problem Home Assistant.
    But in general, since the control is through MQTT, you can use any smart home that supports this mode.
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,444
    3,355
    Stuttgart
    Home Country
    Germany Germany
    Amazon just publlished my skill:
    The Description contains a download link for the MP1 plugin. I leave it like this for now, so someone can test and give feedback ;)
    That it good news. With the public skill I can also understand how it's working now. I was a bit wondering how you made it work without a skill ;)
    Unfortunately I can not test MP1, I'm only usinf MP2 as productive system.

    In case it is working, are you willing to push the source code of the plugin to github, so somebody might transfer it also to MP2?
    I've never created a skill, is that rocket science, ot compared to the plugin for MP rather easy? :whistle:
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,444
    3,355
    Stuttgart
    Home Country
    Germany Germany
    I installed MP1 to just test the skill. I configured the client plugin and alexa skill (both linked and enabled). I can can not play , pause or stop any playback. Alexa always says "I don't know this".
    I'm going to uninstall MP1 again, because the mouse controls and skin scare me :confused:;)
     

    Users who are viewing this thread

    Similar threads

    @CyberSimian Thank you very much. That has worked!!
    @CyberSimian Thank you very much. That has worked!!
    Do live TV subtitles work for TV in Australia? If so what are the settings? I am a 74 year old with hearing impairment and have...
    Replies
    12
    Views
    615
    Glad the problem was at least solved for you. But it's one of the issues nobody likes. It's bad to have bugs, but I prefer a clear error in logs with a solution behind ;)
    Glad the problem was at least solved for you. But it's one of the issues nobody likes. It's bad to have bugs, but I prefer a clear...
    Good morning, I am using MP2 since several years on a Win10 machine and now switched to a new PC with Win11. After installation, I...
    Replies
    33
    Views
    1K
    I had the same feeling about MP1, nothing was working out of the box, it was full of hardcoded dependencies and bugs. That’s how I came to MP2 and I’m very happy with it ;)
    I had the same feeling about MP1, nothing was working out of the box, it was full of hardcoded dependencies and bugs. That’s how I...
    I've had Media Portal 1 installed on a dedicated desktop computer for at least 10 years now. Sometimes it's a little sluggish, but...
    Replies
    4
    Views
    911
    The optimum settings for EPG grabbing will depend on your location in the world, and how you use your HTPC, so there is not a single setup that will suit everyone. This page in the Wiki explains some of the factors involved. The timeshift and idle grabbers can both be enabled if you wish, but the optimum settings for the timeshift...
    The optimum settings for EPG grabbing will depend on your location in the world, and how you use your HTPC, so there is not a...
    Since the BBC integrated their regional programs into their BBC One HD channel in the last couple of weeks my MP2 shows "No program...
    Replies
    3
    Views
    491
    • Sticky
    MP1 MP2 MP2 - V2.4 Alexa Voice-Control for MP2 DE
    @henso @Brownard @morpheus_xx or any other active developer, Anybody who is willing to bring the plugin back to life or offering an alternative solution? Speech control was really comfortable and I miss this feature so much :cry: The manual of the Amazon kit is quite good, just my coding skills are to low. Maybe the extracted code...
    @henso @Brownard @morpheus_xx or any other active developer, Anybody who is willing to bring the plugin back to life or offering an...
    For now I went ahead and implemented the MP2 Plugin ;) (Attached Zip) You need to go into Settings in MP2 and log in to the Amazon...
    Replies
    28
    Views
    4K
    Top Bottom