Playnite Forums
  • Playnite Web
  • Rules
  • Members
  • Team
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Playnite Forums Extension Database Generic Extensions An extension for switching primary display and/or default audio device

An extension for switching primary display and/or default audio device
konnogatto
Offline

#1
05-05-2020, 06:03 PM (This post was last modified: 10-19-2020, 06:00 PM by konnogatto.)
This extension switches primary display and/or default audio device at start and exit of playnite in a fullscreen mode. 
Note: it only attempts to switch into set devices, it doesn't remember devices on startup.
https://github.com/konnogatto/SwitchDisp...ses/latest
https://github.com/konnogatto/SwitchDisplay
mrcrowley
Offline

#2
05-21-2020, 07:52 AM (This post was last modified: 05-21-2020, 08:42 AM by mrcrowley.)
I can't get this to do anything. "it only attempts to switch into set devices" <-- How do you set the devices? I can't see any options.

Sorry I was looking in the wrong place
mrcrowley
Offline

#3
05-21-2020, 08:59 AM (This post was last modified: 05-21-2020, 09:00 AM by mrcrowley.)
OK so regardless it still didn't really work for me.
So I am trying to get full screen mode displaying on my TV
Yes I know I can use WIN+P but automatic is the way of the future.

1. In the settings both displays had the same name so I could not distinguish which was which.
2. When I eventually got something to happen I ended up with it full screen on my PC monitor and regular Playnite on my TV. I could not get it to full screen on my TV no matter how I configured it.
3. It relies on your second display to be enabled. Conversely if you use WIN+P you can switch to your second display regardless of whether its enabled in display properties/Nvidia control panel. (I only ever switch between displays so its never otherwise enabled).

The takeaway thing from this is maybe it would work more reliably using the display switch command line?

DisplaySwitch.exe /internal
DisplaySwitch.exe /external
konnogatto
Offline

#4
06-04-2020, 03:57 AM
(05-21-2020, 08:59 AM)mrcrowley Wrote: 1. In the settings both displays had the same name so I could not distinguish which was which.
Yes, Generic UPnP Monitor, i seriously can't do anything about this, it depends on your drivers. There is not much information available in that api.
(05-21-2020, 08:59 AM)mrcrowley Wrote: 2. When I eventually got something to happen I ended up with it full screen on my PC monitor and regular Playnite on my TV. I could not get it to full screen on my TV no matter how I configured it.
Pretty sure it's because of 3
(05-21-2020, 08:59 AM)mrcrowley Wrote: 3. It relies on your second display to be enabled. Conversely if you use WIN+P you can switch to your second display regardless of whether its enabled in display properties/Nvidia control panel. (I only ever switch between displays so its never otherwise enabled).
This works as intended. It's not supposed to detect or enable/disable it automatically.
(05-21-2020, 08:59 AM)mrcrowley Wrote: The takeaway thing from this is maybe it would work more reliably using the display switch command line?

DisplaySwitch.exe /internal
DisplaySwitch.exe /external
Not really, since there are more than 2 displays pretty often (i have 2 monitors+tv).
DenOndeElvispen
Offline

#5
10-30-2020, 01:05 PM
(05-05-2020, 06:03 PM)konnogatto Wrote: This extension switches primary display and/or default audio device at start and exit of playnite in a fullscreen mode. 
Note: it only attempts to switch into set devices, it doesn't remember devices on startup.
https://github.com/konnogatto/SwitchDisp...ses/latest
https://github.com/konnogatto/SwitchDisplay
Works perfectly, thank you!
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode