Kodi Community Forum
Beta AppLauncher Addon release 0.8.0 - The start menu for Kodi - 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: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: Beta AppLauncher Addon release 0.8.0 - The start menu for Kodi (/showthread.php?tid=331689)

Pages: 1 2 3 4


RE: AppLauncher Addon release 0.78 - Takezo36 - 2018-07-02

@MrPatate nope its only for win and desktop linux. since android kodi already has a built in app listing i wasn't really considering android support. honestly I'm not even sure i can hook into androids message bus easily which i would need to start an app.

@sagrath sure i can look into it. but since this is my first plugin i'm not really sure what you are referring to and a quick google didn't bring up something obvious. Can you point me to where i should add which string or maybe another addon which has it?


RE: AppLauncher Addon release 0.78 - MrPatate - 2018-07-04

This is a service i don't know on kodi android. Really helpfull !
Thanks for your reply !


RE: AppLauncher Addon release 0.78 - napville2000 - 2018-07-07

Love the concept of the app but running into an issue when attempting to modify a Google Chrome app

Logs:

00:30:17.183 T:13276   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.KeyError'>
                                            Error Contents: ('background',)
                                            Traceback (most recent call last):
                                              File "C:\Users\Napville2000\AppData\Roaming\Kodi\addons\plugin.program.applauncher\plugin.py", line 485, in <module>
                                                addCustomVariant(params[DIR])
                                              File "C:\Users\Napville2000\AppData\Roaming\Kodi\addons\plugin.program.applauncher\plugin.py", line 356, in addCustomVariant
                                                addCustomEntry(entry[Constants.EXEC], entry[Constants.ARGS], entry[Constants.ICON], entry[Constants.BACKGROUND], entry[Constants.NAME], path)
                                            KeyError: ('background',)
                                            -->End of Python script error report<--
00:30:17.349 T:2256   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.applauncher/?action=addcustomvariant&dir=Programs$%$Google Chrome
00:30:17.349 T:2256   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.applauncher/?action=addcustomvariant&dir=Programs$%$Google Chrome) failed
00:30:33.709 T:2256   ERROR: Control 50 in window 10001 has been asked to focus, but it can't
00:30:46.888 T:2256   ERROR: PlayMedia could not play media: plugin://script.skin.helper.service/?action=alphabetletter&letter=A
00:32:24.807 T:2256   ERROR: Control 56 in window 10001 has been asked to focus, but it can't
00:32:46.676 T:1924 WARNING: Attempt to use invalid handle -1
00:34:54.825 T:2256   ERROR: Control 50 in window 10001 has been asked to focus, but it can't
00:35:11.559 T:2256   ERROR: PlayMedia could not play media: plugin://script.skin.helper.service/?action=alphabetletter&letter=C
00:36:03.892 T:4200   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.KeyError'>
                                            Error Contents: ('background',)
                                            Traceback (most recent call last):
                                              File "C:\Users\Napville2000\AppData\Roaming\Kodi\addons\plugin.program.applauncher\plugin.py", line 485, in <module>
                                                addCustomVariant(params[DIR])
                                              File "C:\Users\Napville2000\AppData\Roaming\Kodi\addons\plugin.program.applauncher\plugin.py", line 356, in addCustomVariant
                                                addCustomEntry(entry[Constants.EXEC], entry[Constants.ARGS], entry[Constants.ICON], entry[Constants.BACKGROUND], entry[Constants.NAME], path)
                                            KeyError: ('background',)
                                            -->End of Python script error report<--
00:36:04.080 T:2256   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.applauncher/?action=addcustomvariant&dir=Programs$%$Google Chrome
00:36:04.080 T:2256   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.applauncher/?action=addcustomvariant&dir=Programs$%$Google Chrome) failed


Any help much appreciated.


RE: AppLauncher Addon release 0.78 - Takezo36 - 2018-07-07

Hi looks like i introduced a bug there with one of my last changes. I'll look into it later on today or tomorrow and fix it


RE: AppLauncher Addon release 0.78 - Takezo36 - 2018-07-08

Hi,

so just as a little status update i got the add custom variant bug fixed. However i had already started my change on the cache handling/force refresh thing and those two are now mixed up and i didn't get this change to a state where it's usable. So please have a little patience for the next version which will have the custom variants fixed and the need for force refresh removed.


RE: AppLauncher Addon release 0.78 - senna99 - 2018-07-26

Any chance to add possibility for lnk, file?


RE: AppLauncher Addon release 0.78 - Takezo36 - 2018-07-26

@senna99 
I 'm not quite sure what you mean. I do parse lnk files when going through the start menu. Do you want to add just another entry from a lnk file?

@all
Im moving places at the moment so updates will be delayed at the moment


RE: AppLauncher Addon release 0.78 - senna99 - 2018-07-26

Yes is true, there is possibility to add lnk file.
Sorry my mistake. 

Thank you, for this app.


RE: AppLauncher Addon release 0.78 - mzup - 2018-07-28

Hi

Just installed. Been wanting a way to launch Hallmark movies store app from within Kodi. However, it does not list any store apps. I am running Krypton. Is this still an issue you are working on? I even created a shortcut link on the start menu and it doesn't see it there either.

Thanks


RE: AppLauncher Addon release 0.78 - Takezo36 - 2018-07-28

Hi

Store apps should work. Are you on Windows 10 or 8?
Because i got a check for 10 only since i could test on 10.
Are you running kodi with the same user as the store?


RE: AppLauncher Addon release 0.78 - mzup - 2018-07-29

Windows 10. I don't log into the store with an account.


RE: AppLauncher Addon release 0.78 - Takezo36 - 2018-07-29

So i tried a setup like yours and it worked ... can you have a look at your kodi.log and check if there is a notable error.
I'm fishing a bit in the dark at the moment.


RE: AppLauncher Addon release 0.78 - mzup - 2018-07-30

maybe this will help:

18:41:12.485 T:3928   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.applauncher/?action=forcerefresh
18:41:12.485 T:3928   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.applauncher/?action=forcerefresh) failed


RE: AppLauncher Addon release 0.8.0 - Takezo36 - 2018-07-31

@napville2000 that should be fixed now please try again

@mzup unfortunately that's not enough. could you enable debug logging and send me the log?


RE: AppLauncher Addon release 0.78 - olympus - 2018-08-01

I just found out about this addon. Thank you so much for your work @Takezo36.
It seems to work very nice for me, I would like to use it for opening spotify, stream and some other applications.

I have some requests.

1) The addon tries to set the current view to icons. Can you please make this an option in the addon's settings?
Newer versions of Kodi can lock user's desired view if you set the content of each view in the addon.
The view is always changed to a view I don't like on the skin that I use and I have to change it back every time I launch an app.
I commented line 489 and it doesn't try to change it.
#xbmc.executebuiltin("Container.SetViewMode(Icons)")
This is what I would like to be an option.

2) I prefer to have "Don't show your OS provided app listing" enabled and to create my own custom entries.
Can you add support for special kodi paths for custom lnk files (Windows) and custom desktop files (Linux)?
What I mean, I like to edit manually and change the full paths of the commands to special kodi paths.
For example I change in store json file
C:\\Users\\USERNAME\\AppData\\Roaming\\Kodi\\userdata\\addon_data\\plugin.program.applauncher\\Firefox.lnk
to
special://profile/addon_data/plugin.program.applauncher/Firefox.lnk
The addon can't read these kind of command paths though.
If I change line 378 from
AppRunner.executeApp(command, args, killKodi, minimize)
to
AppRunner.executeApp(xbmc.translatePath(command), args, killKodi, minimize)
the addon can read all kind of commands, special and normal.