Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Beta AppLauncher Addon release 0.8.0 - The start menu for Kodi
#46
(2018-07-31, 23:24)Takezo36 Wrote: @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?
 https://pastebin.com/eMHd7KKP
Reply
#47
(2018-08-01, 14:17)olympus Wrote: 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.

yeah this is a left over from development. I'll make the viewtype a config option in the next release.
(2018-08-01, 14:17)olympus Wrote: 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.
I can add the translatePath part in the next version as well. But the add lnk or add custom path might take a bit longer because i want to update the structure of my code (it's quite a mess) before i add new features.
Just to clarify, it will be two new things
 - An option to define custom "start menu" paths.
 - On create custom entry provide a selection to choose a lnk/desktop file as template.
Is that what you want?

@mzup 
Thanks I'll have a look at it on the week end. I might would contact you, if you don't mind, and ask you to execute one or two powershell scripts to get a better view on the problem.
Reply
#48
(2018-08-02, 19:36)Takezo36 Wrote: @mzup 
Thanks I'll have a look at it on the week end. I might would contact you, if you don't mind, and ask you to execute one or two powershell scripts to get a better view on the problem. 
Hey I ended up being able to create a shortcut to a bat file and was able to access the store app that way. Issue i have with that is that it launches the app but then since the bat file ends it brings kodi back to foreground.
Reply
#49
(2018-08-02, 19:36)Takezo36 Wrote: I can add the translatePath part in the next version as well. But the add lnk or add custom path might take a bit longer because i want to update the structure of my code (it's quite a mess) before i add new features.
Just to clarify, it will be two new things
 - An option to define custom "start menu" paths.
 - On create custom entry provide a selection to choose a lnk/desktop file as template.
Is that what you want? 

translatePath is more than enough for me, but you do have some very nice ideas Smile
 
(2018-08-02, 19:36)Takezo36 Wrote: But the add lnk or add custom path might take a bit longer because i want to update the structure of my code (it's quite a mess) before i add new features.

I have some basic python knowledge, I started learning a year ago for automating various tasks on my system because I switched from Windows to Linux. I have Windows only in my laptop now, my main PC and my HTPC are now running Ubuntu.
I was using AutoIt for this purpose on Windows, AutoIt is Windows only so I had to find something else.
I have no issue reading your code even with my basic python knowledge, so I think it's not mess at all.
It's very readable, keep up the good work Smile
Reply
#50
@mzup
I didnt get to do much this weekend. So i had a look at the log but didnt find anything.
For your Workaround ... those store apps are hard to track...the way i implemented that you got to call them like this so that the tracking works
Exec=explorer
Args=shell:AppsFolder\<appid>
I get the appid from the powershell cmd
Get-StartApps

Would you mind trying something... could you copy the content of <kodihome>\addons\plugin.program.applauncher\resources\lib\appreader.ps1 and paste it in a powershell window and see if you got any errors there and see if you got a top level entry store apps in the resulting json. You can also just send me the output but mind you that will be the content of your start menu. Not that im going to do anything with it but debugging but just that you are aware of it and not feel tricked into sending me private data.
Reply
#51
I got this error:

Get-AppxPackageManifest : The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
At C:\Users\mzup.KODI\AppData\Roaming\Kodi\addons\plugin.program.applauncher\resources\lib\appreader.ps1:242 char:12
+ ...        $icon = (Get-AppxPackageManifest -package $packageName).packag ...
+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Smile [Get-AppxPackageManifest], FileNotFoundException
    + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.Windows.Appx.PackageManager.Commands.GetAppxPa
   ckageManifestCommand

Then a listing of the contents
Reply
#52
my new youtube app
with edge  beta and create app and app launcher you can replace the youtube addon
Image
Reply

Logout Mark Read Team Forum Stats Members Help
AppLauncher Addon release 0.8.0 - The start menu for Kodi1