Jump to content
LaunchBox Community Forums

Recommended Posts

11 minutes ago, nonstatik said:

Update: I removed the Cortana search bar and it's much better now!  You only see a shorter flash when first launching the add-on.  Before, you would see the longer line flash on three occasions:

1) launching add-on before startup video

2) between startup video and Big Box launch

3) after Big Box exit, before Kodi relaunch

Now it's only seen the first time, and less visible.  I think this is as good as it will get. :D

OK so I will add that into the workaround note as well. I only saw 1) because I never keep the Cortana search bar on any of my systems, that is the first thing I remove on a fresh system install.:D

Share this post


Link to post
Share on other sites

Kodi addon for LaunchBox 1.5.5 released!

CHANGES in 1.5.5:
Hide taskbar option added
- Hide mouse cursor while on Blank Black Gui
- Hide mouse Busy/Wait cursor
- Move mouse cursor to Top Right corner of screen
- Some code clean up for Python 3 prep

KNOWN ISSUES:
- The upgrade support in this addon's Autohotkey script will not work properly with the auto download background option for LaunchBox enabled. Current workaround is to remove the check mark from the "Automatically Download Updates in the Background" box in LaunchBox's Options under the Updates section.
- Taskbar will flash on Kodi Windows Store version (UWA). Current workaround is to switch to Kodi non-UWA or to minimize effects, enable hide task bar in advance options, remove Cortana search bar and change taskbar to black.

RELEASE NOTICE:
This release is to try to minimize the effects the taskbar has on Kodi UWA and to hide the mouse better for those that don't like to see it. It is already known that the taskbar will raise itself over top of the black Gui the AHK script creates to hide desktop icons and taskbar on non-UWA Kodi whether it is set to AlwaysOnTop or not using Kodi Windows Store verion. So a hide taskbar option was added to reduce it to a thin line at the bottom of the screen. Removing the Cortana search bar is reported to minimize the 'flash' to just start up of the script when it transitions from Kodi to Bigbox.

IN DEVELOPMENT:
- Code rewrite in Python 3 compatible
- Back to looking into multiple Launchbox support

 

Share this post


Link to post
Share on other sites

I'm on windows 10, kodi 18.

The addon throws an error; it can't find my Bigbox.exe on my smb share (network directory). 

 

If I put launchbox in a local directory, I have no problems.

 

Any idea why it can't find the executable on a network path? 

Share this post


Link to post
Share on other sites
18 hours ago, nadonate said:

I'm on windows 10, kodi 18.

The addon throws an error; it can't find my Bigbox.exe on my smb share (network directory). 

 

If I put launchbox in a local directory, I have no problems.

 

Any idea why it can't find the executable on a network path? 

Yep, it has to do with the way Kodi handles smb shares. I wrote a test file that translates it to something that could be passed to the helper script and the path detection but abandoned it when I couldn't cleanly handle usernames and passwords on shares. I am looking into a way of using powerscript to automate the creation of a temporary mounted network drive when a Kodi smb is supplied but that is currently delayed. I am back in classroom training newbies for the company i work for and have limited free time currently due to travel time. I plan to tackle the multiple Launchbox support and attempt the smb stuff during my vacation near the end of July. Current workaround is to create a mapped network share to assign it a drive and use that in Kodi.

Share this post


Link to post
Share on other sites

What changes would I need to make to adapt this script for GoG and the Epic Game Store?

Share this post


Link to post
Share on other sites
23 hours ago, CoinTos said:

Yep, it has to do with the way Kodi handles smb shares. I wrote a test file that translates it to something that could be passed to the helper script and the path detection but abandoned it when I couldn't cleanly handle usernames and passwords on shares. I am looking into a way of using powerscript to automate the creation of a temporary mounted network drive when a Kodi smb is supplied but that is currently delayed. I am back in classroom training newbies for the company i work for and have limited free time currently due to travel time. I plan to tackle the multiple Launchbox support and attempt the smb stuff during my vacation near the end of July. Current workaround is to create a mapped network share to assign it a drive and use that in Kodi.

Don't lose any sleep over it. All of us kodi users super appreciate the pro Bono work you have put in here!

Mapping the share to a drive works fine(ish)... 

Windows is unreliable at reconnecting to the network share after a reboot or resuming from a sleep state. 

Out of curiosity, has anyone here found a way to automate re-mapping of a network drive, or an app that will check and maintain it? 🤔

Share this post


Link to post
Share on other sites
19 hours ago, Bedwyr said:

What changes would I need to make to adapt this script for GoG and the Epic Game Store?

You would have an easier time modifying Steam Launcher for those programs than using my script as base due to the way it uses launchbox's included autohotkey.exe to make the ahk helper script work. With Steam Launcher you would have to change: folder name, addon.xml, default.py (to look for the exe of those program launchers), strings.xml (setting display text) and recompile the autohotkey ahk file into a exe with the changes to monitoring names for those programs exe's which you have to use autohotkey window spy to get the detected window and/or class names.

20 minutes ago, nadonate said:

Out of curiosity, has anyone here found a way to automate re-mapping of a network drive, or an app that will check and maintain it? 🤔

I haven't really looked myself but that is why I want to make a PowerShell helper script to handle that by creating a mapping on Kodi smb link detection on launch and destroying it when Launchbox is done running. Doing that should allow it to be more stable and less unreliable when using sleep/hibernation etc.

Share this post


Link to post
Share on other sites

Kodi addon for LaunchBox 1.5.6 released!

CHANGES in 1.5.6:
- Kodi 19 support
- Python 3 compatible
- Kodi SMB support

KNOWN ISSUES:
- The upgrade support in this addon's Autohotkey script will not work properly with the auto download background option for LaunchBox enabled. Current workaround is to remove the check mark from the "Automatically Download Updates in the Background" box in LaunchBox's Options under the Updates section.
- Taskbar will flash on Kodi Windows Store version (UWA). Current workaround is to switch to Kodi non-UWA or to minimize effects, enable hide task bar in advance options, remove Cortana search bar and change taskbar to black.
- Due to windows security restriction on SMB shares over IP  (eg. \\192.168.1.1\shared-folder\), the addon will produce an error saying it is not supported. Current workaround is to enable SMB fix in Advance settings to replace IP with supplied server name or enable SMBv1 on server and computer to allow NetBIOS name resolutions in Kodi.
- Kodi-six package is now required, addon will fail if after first installation of Kodi-six package dependency, Kodi was not restarted.

RELEASE NOTICE:
This release is to add python 2 and 3 support, as well as SMB support to the version 1.5 branch. This allows the addon to support Kodi 16 to 19 as well as be able to use a remote SMB share for the Launchbox location setting. Unless any bug fixes are required this will be the end of the version 1.5 branch after which support for Kodi 16 and Kodi 17 will be dropped. The next planned version will be moved to Kodi 18+ support to allow easier management of GUI interfaces code for the multiple Launchbox support.

IN DEVELOPMENT:
- Back to looking into multiple Launchbox support

Thanks goes to @nadonate for helping to test the SMB support over in the Kodi addon for Launchbox - Testing thread.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...