Merge pull request #1752 from mglae/bluetooth-audio_fix_log_errs

bluetooth-audio: fix log errors
This commit is contained in:
Christian Hewitt 2017-07-08 00:00:46 +04:00 committed by GitHub
commit 297aa928eb
4 changed files with 15 additions and 1 deletions

View File

@ -1,2 +1,5 @@
101
- Fix log errors
100 100
- Initial release - Initial release

View File

@ -18,7 +18,7 @@
PKG_NAME="bluetooth-audio" PKG_NAME="bluetooth-audio"
PKG_VERSION="0" PKG_VERSION="0"
PKG_REV="100" PKG_REV="101"
PKG_ARCH="any" PKG_ARCH="any"
PKG_LICENSE="GPL" PKG_LICENSE="GPL"
PKG_SITE="" PKG_SITE=""

View File

@ -17,6 +17,7 @@
################################################################################ ################################################################################
import dbus import dbus
import dbus.mainloop.glib
import gobject import gobject
import json import json
import threading import threading
@ -107,6 +108,7 @@ class BluetoothAudioClient(object):
def _setup_bus(self): def _setup_bus(self):
dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
self._bus = dbus.SystemBus() self._bus = dbus.SystemBus()
def _setup_signals(self): def _setup_signals(self):

View File

@ -2,6 +2,15 @@
# Addon Name: bluetooth-audio # Addon Name: bluetooth-audio
# Addon id: service.bluetooth-audio # Addon id: service.bluetooth-audio
msgid ""
msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: en\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgctxt "#30000" msgctxt "#30000"
msgid "Settings" msgid "Settings"
msgstr "" msgstr ""