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="biohazardxxx" data-source="post: 1043959" data-attributes="member: 106228"><p>Finally I got it working really good with a two additional lines in leapcast source and a help programm to minimize mediaportal and restore it (I know this should be possible inside python but I could not make it work).</p><p>Short HowTo:</p><p>1. make sure you got leapcast running: <a href="https://gist.github.com/eyecatchup/6219118" target="_blank">https://gist.github.com/eyecatchup/6219118</a></p><p>2. Get my vb.net help tool to change show state of windows and copy the executable to your windows dir</p><p><a href="https://dl.dropboxusercontent.com/u/23413755/Minimizer.exe" target="_blank">https://dl.dropboxusercontent.com/u/23413755/Minimizer.exe</a></p><p>(The source is in the attachment to self compile)</p><p>3. edit file C:\leapcast\leapcast\services\leap_factory.py</p><p>add after</p><p>[CODE] logging.debug(args)</p><p> self.pid = subprocess.Popen(args)[/CODE]</p><p>(some where at line 31) this line:</p><p> [CODE]subprocess.Popen('minimizer MediaPortal* Minimize')[/CODE]</p><p></p><p>add after [CODE]def stop_app(self):[/CODE] (somewhere at line 135) this line:</p><p> [CODE]subprocess.Popen('minimizer MediaPortal* Restore').wait()[/CODE]</p><p></p><p>As an alternative replace the file from the attachment (probably it is a good idea to compare with origin file before in case of version changes).</p><p>4. in start-leapcast.vbs change </p><p> Return = WshShell.Run(Cmd, 7, True)</p><p>to</p><p> Return = WshShell.Run(Cmd, 0, True)</p><p>5. put a shortcut for start-leapcast.vbs into autostart folder in start menu</p><p></p><p>Hope it helps! let me know if you encounter problems.</p></blockquote><p></p>
[QUOTE="biohazardxxx, post: 1043959, member: 106228"] Finally I got it working really good with a two additional lines in leapcast source and a help programm to minimize mediaportal and restore it (I know this should be possible inside python but I could not make it work). Short HowTo: 1. make sure you got leapcast running: [url]https://gist.github.com/eyecatchup/6219118[/url] 2. Get my vb.net help tool to change show state of windows and copy the executable to your windows dir [url]https://dl.dropboxusercontent.com/u/23413755/Minimizer.exe[/url] (The source is in the attachment to self compile) 3. edit file C:\leapcast\leapcast\services\leap_factory.py add after [CODE] logging.debug(args) self.pid = subprocess.Popen(args)[/CODE] (some where at line 31) this line: [CODE]subprocess.Popen('minimizer MediaPortal* Minimize')[/CODE] add after [CODE]def stop_app(self):[/CODE] (somewhere at line 135) this line: [CODE]subprocess.Popen('minimizer MediaPortal* Restore').wait()[/CODE] As an alternative replace the file from the attachment (probably it is a good idea to compare with origin file before in case of version changes). 4. in start-leapcast.vbs change Return = WshShell.Run(Cmd, 7, True) to Return = WshShell.Run(Cmd, 0, True) 5. put a shortcut for start-leapcast.vbs into autostart folder in start menu Hope it helps! let me know if you encounter problems. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
HTPC Projects
Hardware
General
Leapcast (chromecast emu) with MP
Contact us
RSS
Top
Bottom