kevinatown / MMM-Screencast

A module to cast to the magic mirror
MIT License
166 stars 34 forks source link

Login Issue and Castname #95

Open BeingParzival opened 3 years ago

BeingParzival commented 3 years ago

I am running Magic Mirror on a RasPi 4 n for some reason Screencast was not working for me for a while, i had to give a few tries reinstalling and editing things till it worked but now the issues I'm facing are the in the config file I have changed the casting name to SmartMirror but in my YouTube app it still shows raspberrypi, second issue is that my account never stays logged in, if I start casting and it asks me to login and so I do, but if I disconnect and cast again it asks me to login again. Are there any fixes for these bugs/issues yet?

kevinatown commented 3 years ago

Hi @BeingParzival! Sorry to hear that you are having some issues. So I understand there are 2 issues:

  1. the cast name is not changing
  2. The screencast window's Youtube is logging you out

For issue 1, I might need some more info, but first:

Unfortunately, for issue 2 there's not much, without implementing a new config/feature (which I do not have time for at this moment), that can be done about Youtube not remembering your account. MMM-Screencast creates a new browser window each time you connect and launch it -- kinda like opening a new private browser. Theres potentially a way to look into the youtube api and find away to add login/token to the config so that each new window can instantly log you back in, but that would require some digging.

Let me know how this goes and good luck!