2021-02-22, 23:36
(2021-02-20, 18:16)jdig4240 Wrote:(2021-02-20, 07:08)drinfernoo Wrote:(2021-02-17, 04:44)jdig4240 Wrote: Drinfernoo, Trying to figure out how to add custom commands as shortcuts in AW. For example addon.opensettings(script.trakt). I tried by adding a dummy shortcut and tried editing the shortcut group in addon_data. So I replaced the "file": link with addon.opensettings(script.trakt). So I think I could make it work this way im guessing if i use the correct term for Filetype, or Content. So do you know what the Filetype or Content line should be to make it work?
-Using AW with Matrix RC.
Have you tried adding the Trakt add-on as a settings shortcut?
I figured it out. I had to change the Content line to settings for it to work. Maybe you can add a feature to create a custom/manual entry? Like this:
"label": "Kodi Trakt Login",
"content": "settings",
"file": {
"file": "addon.opensettings(script.trakt)",
"filetype": "file",
"art": {
"fanart": "special://home/addons\\script.trakt\\fanart.jpg",
"icon": "special://home/addons\\script.trakt\\icon.png",
"thumb": "special://home/addons\\script.trakt\\icon.png"
},
"votes": "0",
"size": "0 B"
},
"color": "white",
"window": "programs",
"target": "shortcut",
"id": "test1-1613530826.9959788",
"version": "3.1.2"
So I take it you didn't try the way I've actually implemented?