MMM-Screencast
MMM-Screencast copied to clipboard
rotate
It's working great but how to rotate Screencast ? I have setup MMM as a portrait mirror.
Hey @i2023u! Glad to hear it's working great. So I am a little confused by the question here, electron should detect which way to set up the screen so that it isn't sideways (I am assuming that this happens for the entire MM, no?). Is it that the height and width are off? A picture with how it's actually being rendered and one with how you want it would be very helpful here. Thanks!!
I have the same issue, but hoping I can explain better.
Using a RPi2 B+ via HDMI and the only way I can get MM to run in portrait was by adding the the custom.css to rotate the screen. Doing it via /boot/config.txt wouldn't work.
So essentially as far as this module is concerned, its running in lanscape mode (or "normal") but the CSS of MM is actually rotating the app. When I cast to it, its actually sideways. This is working correctly however being able to force rotation of the electron window 90 or 270 degrees would fix this.
Ahh ok, @tbwfdu thanks for the clarification. Originally I was thinking could rotate similar to how MM does it: https://github.com/MichMich/MagicMirror/wiki/configuring-the-raspberry-pi , however that didnt work for you. Might look into adding another config for rotating the screen and just injecting CSS. Let me think on this a bit.
@tbwfdu Did you edit the main.css file or rotate Screencast from a custom.css file? I'm still attempting to rotate Screencast but haven't been successful so far.
Hello @tbwfdu, so MMM-screencast is working flawless and super easy to install. however i have an option to rotate MM through MMM-Fast-css wich changes the rotation through css, the problem is that MMM-Screencast doesn´t rotate with css. Is there any updates on this on the new update? or with some other option on config to rotate it? Thanks in advance
@luisdaf sorry that you have been having issues rotating this. Sadly this is an open source project of mine and haven't had much time; I've had a lot of other projects, work, and life going on. I'll see about looking into this issue when I free up time.
It should be fairly straight forward if the MM is rotated correctly as they both use Electron for rendering the media.
Hello @kevinatown, i totally understand and i´m super thankful for your work, i was super frustrated because i spend a lot of time trying to figure this one out and i couldn't.... i will also continue to try rotating it throw css or Electron rendering but i´m quite sure i will be dependent on your help... anyway thanks for your reply, you kinda boost my will to make this happen :) Once again thank you for your work and for sharing it with the community. All the best :)