home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
HTPC Projects
Hardware
General
Leapcast (chromecast emu) with MP
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="0kk0" data-source="post: 1061977" data-attributes="member: 112247"><p><a href="https://forum.team-mediaportal.com/members/biohazardxxx.106228/" target="_blank">biohazardxxx</a>, thnx for sharing your stuff!</p><p></p><p>I've made a litte .net app for selecting a display chromecast window should start.</p><p>Because in my situation mediaportal starts at secondary monitor..</p><p>So..</p><p>It will start IF mediaportal has started on a location you can change in app.config (in my case my secondary display) else it will start non fullscreen on primary monitor.</p><p></p><p>Need to make two changes: </p><p></p><p>1) file: C:\leapcast\leapcast\environment.py</p><p></p><p>[CODE]Environment.fullscreen = True[/CODE]</p><p></p><p>to</p><p></p><p>[CODE]if args.fullscreen:</p><p> Environment.fullscreen = False[/CODE]</p><p></p><p>and in file: C:\leapcast\leapcast\services\leap_factory.py</p><p></p><p>on the end of function</p><p></p><p>[CODE]def post(self, sec):</p><p> '''Start app'''</p><p> ..</p><p> ..</p><p> self.set_app_status(status)</p><p> self.finish()</p><p>[/CODE]</p><p></p><p>add a line: </p><p></p><p>[CODE]subprocess.Popen('Maximizer')[/CODE]</p><p></p><p>And copy Maximizer.exe and Maximizer.exe.config to c:\windows</p></blockquote><p></p>
[QUOTE="0kk0, post: 1061977, member: 112247"] [URL='https://forum.team-mediaportal.com/members/biohazardxxx.106228/']biohazardxxx[/URL], thnx for sharing your stuff! I've made a litte .net app for selecting a display chromecast window should start. Because in my situation mediaportal starts at secondary monitor.. So.. It will start IF mediaportal has started on a location you can change in app.config (in my case my secondary display) else it will start non fullscreen on primary monitor. Need to make two changes: 1) file: C:\leapcast\leapcast\environment.py [CODE]Environment.fullscreen = True[/CODE] to [CODE]if args.fullscreen: Environment.fullscreen = False[/CODE] and in file: C:\leapcast\leapcast\services\leap_factory.py on the end of function [CODE]def post(self, sec): '''Start app''' .. .. self.set_app_status(status) self.finish() [/CODE] add a line: [CODE]subprocess.Popen('Maximizer')[/CODE] And copy Maximizer.exe and Maximizer.exe.config to c:\windows [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
HTPC Projects
Hardware
General
Leapcast (chromecast emu) with MP
Contact us
RSS
Top
Bottom