i8beef / node-red-contrib-castv2

MIT License
22 stars 15 forks source link

Malformed media command #7

Closed hav0ck closed 4 years ago

hav0ck commented 4 years ago

I am trying to get Pause, Stop, and Play working but when I trigger these I get "Malformed media command" My JSON looks like:

{
    "type": "PAUSE"
}

I am able to get Mute and Unmute to work using the same JASON format as above.

i8beef commented 4 years ago

Ah I think I see the problem. Let me take a look this evening.

i8beef commented 4 years ago

1.1.5 Should be out in 30 minutes or so. Try that out and see if its better for you.

hav0ck commented 4 years ago

Limited testing but Play, Pause, and Stop appear to be working as expected

i8beef commented 4 years ago

Glad to hear it! I fixed the notifications on Github so if you have any other issues just ask, and Ill try and get back to you quicker next time.

dezral commented 4 years ago

I can't get it to pause any media like Youtube.. the player just exits.. and if i send the command

{"type":"PAUSE"} as an JSON parsed it comes with an error.. no error as a string.. but still exits.

im trying to have a funktion that can pause what ever is playing on the chromecast from a switch.