[RELEASE] Playnite Launcher - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Game Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=291) +---- Thread: [RELEASE] Playnite Launcher (/showthread.php?tid=358424) |
[RELEASE] Playnite Launcher - robb_force - 2020-11-15 Playnite Launcher This is an add-on to launch the fullscreen or desktop Playnite executable, with the option to close or minimize Kodi. After Playnite is closed or minimized, Kodi will restart or maximize. This is a Windows only add-on since there are no builds of Playnite for other OSes (as far as I know). Running pre and/or post Playnite scripts can be configured via the add-on settings. Built upon the work completed by teeedub (Steam Launcher) and hoksilato2 (Kodi-Launches-Playnite). Most code was borrowed and modified from those other projects, but the Autohotkey launcher was so heavily modified that it's new code using Windows listeners instead of polling. General Settings:
Advanced Settings:
Customization: The scripts used by this add-on can be customized to suit your needs. They reside in the kodi/userdata/addon_data/script.playnite.launcher/scripts folder. They are copied into that directory from the add-on install directory on first run and can be set to not be overwritten with updates. In playnite-launcher.ahk, the line playnite.launcher.script.revision=001 is what the add-on reads to determine if the scripts are up to date. Set the revision number to 999 if you've modified the script and compiled a new exe, and don't want them overwritten. Source: This is an open source project with source available on Github: https://github.com/robbforce/script.playnite.launcher A readme can be found there as well. Download: Get the latest release from here: https://github.com/robbforce/script.playnite.launcher/releases/latest RE: [RELEASE] Playnite Launcher - Crash82 - 2021-03-20 Will this be updated to kodi 19? RE: [RELEASE] Playnite Launcher - robb_force - 2021-05-04 (2021-03-20, 15:17)Crash82 Wrote: Will this be updated to kodi 19?The addon has been updated to conform to Kodi v19 changes and the script has been updated to work with python 3. The same download link will take you to the latest release. Let me know if you encounter any weirdness. Some notes: - I changed the name of the minimise kodi setting to minimize kodi, so any old settings file will cause a complaint in the log. After installing the new addon, open the settings, make a minor change and save. I don't think that will remove the old setting so you might have to delete the old line manually - When the launcher is set to Quit Kodi, and Kodi is first opened and the Playnite launcher is run, it doesn't seem able to close Kodi, even with a timeout set to force Kodi to close. On subsequent runs, Kodi is closed and re-opened as expected. This is something I'll need to look into further. - I don't know if this is due to some strange interaction, but after the launcher was working again, I started getting a "distribution" error with the VersionChecker script. Google didn't turn up anything, so I replaced the the VersionChecker script from a fresh download of Kodi and the error went away... RE: [RELEASE] Playnite Launcher - robb_force - 2023-11-05 Finally got around to creating a repo and hosting the script. See here for instructions: https://github.com/robbforce/kodi.repo.robbforce RE: [RELEASE] Playnite Launcher - maherbewett - 2024-02-17 (2023-11-05, 21:54)robb_force Wrote: Finally got around to creating a repo and hosting the script. See here for instructions: Thanks a lot for the guide. it is very useful to me |