Heckie75 / kodi-addon-pasink

Kodi addon in order to set Pulse-Audio sinks with bluez and combined-sink support
MIT License
13 stars 1 forks source link

KODI v18 #3

Closed oSkrobuk closed 4 years ago

oSkrobuk commented 4 years ago

Hello!

I've been looking for this addon for a long time!

Could you adapt for version 18 of KODI. I am getting error xbmc.gui in Version 5.12.0 could not resolvenot

Thank!

Heckie75 commented 4 years ago

Actually, I use Kodi v18.8

$ kodi --version
18.8 (18.8.0) Git:20200728-45686bddb1 Media Center Kodi
Copyright (C) 2005-2020 Team Kodi - http://kodi.tv

I found that some people had this problem, too. See here, https://github.com/kodi-community-addons/skin.titan/issues/272

I'm not sure if this requirement is needed at all. Try to comment out this dependency in addon.xml like this

?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.audio.pasink" name="Pulse-Audio Sink Setter" version="0.0.1"
    provider-name="Heckie">
    <requires>
        <import addon="xbmc.python" version="2.25.0" />
<!--        <import addon="xmbc.gui" version="5.12.0" /> -->
        <import addon="xmbc.json" version="7.0.0" />
        <import addon="xmbc.metadata" version="2.1.0" />
        <import addon="xmbc.addon" version="17.0.0" />
    </requires>
    <extension point="xbmc.python.pluginsource" library="addon.py">
        <provides>audio</provides>
    </extension>
    <extension point="xbmc.addon.metadata">
        <summary lang="en_gb">Pulse-audio sink-setter with bluez
            and combined-sink support</summary>
        <description lang="en_gb">Pulse-audio sink-setter with bluez
            and combined-sink support</description>
        <disclaimer lang="en_gb"></disclaimer>
        <language></language>
        <platform>linux</platform>
        <license></license>
        <forum></forum>
        <website></website>
        <email></email>
        <source></source>
        <news>v0.0.1 (2017-12-10)
        - development starts
        </news>
        <assets>
            <icon>icon.png</icon>
            <screenshot>resources/assets/screen_1_info.png</screenshot>
            <screenshot>resources/assets/screen_2_hdmi.png</screenshot>
            <screenshot>resources/assets/screen_3_usb.png</screenshot>
            <screenshot>resources/assets/screen_4_bluez.png</screenshot>
            <screenshot>resources/assets/screen_5_combine.png</screenshot>
            <screenshot>resources/assets/screen_6_settings.png</screenshot>
            <screenshot>resources/assets/screen_7_aliases.png</screenshot>
        </assets>
    </extension>
</addon>
oSkrobuk commented 4 years ago

Thank. Had to remove everything except xbmc.python

But the addon does not work for me. Probably due to the fact that I am using LibreELEC 9.2.3 Kodi 18.7.1. There is at least no command tac

I will try to adapt or switch to Linux