2021-05-21, 12:03
I figured out what is wrong. In short, the syntax changed. For me, I had to append a literal "ALSA:" prefix to the targets. See details in this thread.
xbmc.translatePath
has been depreciated in Kodi's Python API v19. It has been replaced by xbmcvfs.translatePath
. Adjust your scripts accordingly. #!/usr/bin/env python3
import xbmc
+import xbmcvfs
import os
-tempdir = xbmc.translatePath('special://temp/')
+tempdir = xbmcvfs.translatePath('special://temp/')
tempfile0 = os.path.join(tempdir, 'audiooutput0')
(2023-05-18, 00:06)ashlar Wrote: How can one get an updated list of settings, similar to the one linked in the OP? Lots of stuff has been added to Kodi since 2014.
(2023-05-18, 00:17)jepsizofye Wrote:No, I suppose I was looking for that. It's just that while I can issue JSON commands through EventGhost, I'm not so sure about sending that command and actually getting the result in a format I can look at.(2023-05-18, 00:06)ashlar Wrote: How can one get an updated list of settings, similar to the one linked in the OP? Lots of stuff has been added to Kodi since 2014.
issuing getsettings should return all available i believe - https://kodi.wiki/view/JSON-RPC_API/v13#...etSettings
or something else youre looking for?
(2023-05-18, 12:02)ashlar Wrote:(2023-05-18, 00:17)jepsizofye Wrote:No, I suppose I was looking for that. It's just that while I can issue JSON commands through EventGhost, I'm not so sure about sending that command and actually getting the result in a format I can look at.(2023-05-18, 00:06)ashlar Wrote: How can one get an updated list of settings, similar to the one linked in the OP? Lots of stuff has been added to Kodi since 2014.
issuing getsettings should return all available i believe - https://kodi.wiki/view/JSON-RPC_API/v13#...etSettings
or something else youre looking for?
I will experiment. Thanks for your help.
(What I'm trying to say is that, apart from using it through EventGhost, I've never issued JSON commands through my Windows PC; don't know if it's something I can do through the command line... there's the need to study and experiment; thanks again)