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')