Hi,
I try to connect my bluetooth speaker to libreelec 10.0.2 (generic.x86_64), but it doesn't work.
On my Beelink X55 is a Win10 partition, on that the speaker works fine. So Bluetooth is availabe.
In Libreelec I enabled Bluetooth in the Libreelec general settings and after that I click on "Bluetooth". But it will only say "NO BLUETOOTH DEVICE FOUND. PLEASE PUT YOUR BLUETOOTH DEVICE INTO DISCOVERY MODE AND START THE SCAN".
Yes, I put my device in Discovery mode, in Win10 I also managed it.
my boompods did not connect either
Am I missing something?
Earnie
addendum:
Log
2022-08-12 16:11:15.723 T:1236 ERROR <general>: SETTINGS: bluetooth.start_discovery # AttributeError("'NoneType' object has no attribute 'startswith'")
2022-08-12 16:11:15.803 T:1236 ERROR <general>: SETTINGS: bluetooth.start_discovery
*********************************** Unhandled exception detected ***********************************
####################################################################################################
Diagnostic info
----------------------------------------------------------------------------------------------------
Exception type : AttributeError
Exception value : 'NoneType' object has no attribute 'startswith'
System info : uname_result(system='Linux', node='BeeX55', release='5.10.76', version='#1 SMP Sat Mar 5 19:12:54 CET 2022', machine='x86_64', processor='')
Python version : 3.8.9 (default, Mar 5 2022, 19:13:59) [GCC 10.2.0]
Kodi version : 19.4 (19.4.0) Git:19.4-Matrix
sys.argv : ['']
----------------------------------------------------------------------------------------------------
sys.path:
['/usr/share/kodi/addons/service.libreelec.settings',
'/storage/.kodi/addons/xbmc.python/lib',
'/usr/lib/python38.zip',
'/usr/lib/python3.8',
'/usr/lib/python3.8/lib-dynload',
'/usr/lib/python3.8/site-packages',
'/usr/share/kodi/addons/service.libreelec.settings/resources/lib',
'/usr/share/kodi/addons/service.libreelec.settings/resources/lib/modules']
####################################################################################################
Stack Trace
====================================================================================================
File:
/usr/lib/python3.8/threading.py:890
----------------------------------------------------------------------------------------------------
Code context:
----------------------------------------------------------------------------------------------------
Local variables:
self = <Thread(Thread-4, started daemon 139690246137408)>
====================================================================================================
File:
/usr/lib/python3.8/threading.py:932
----------------------------------------------------------------------------------------------------
Code context:
----------------------------------------------------------------------------------------------------
Local variables:
self = <Thread(Thread-4, started daemon 139690246137408)>
====================================================================================================
File:
/usr/lib/python3.8/threading.py:870
----------------------------------------------------------------------------------------------------
Code context:
----------------------------------------------------------------------------------------------------
Local variables:
self = <Thread(Thread-4, started daemon 139690246137408)>
====================================================================================================
File:
/usr/share/kodi/addons/service.libreelec.settings/resources/lib/oe.py:623
----------------------------------------------------------------------------------------------------
Code context:
----------------------------------------------------------------------------------------------------
Local variables:
match = True
====================================================================================================
File:
/usr/share/kodi/addons/service.libreelec.settings/resources/lib/oeWindows.py:377
----------------------------------------------------------------------------------------------------
Code context:
----------------------------------------------------------------------------------------------------
Local variables:
btn = 2
controlID = 1000
currentEntry = 4
lastMenu = 4
objList = <xbmcgui.ControlList object at 0x7f0c5027f8b0>
selectedEntry = <xbmcgui.ListItem object at 0x7f0c505d7360>
selectedMenuItem = <xbmcgui.ListItem object at 0x7f0c50886db0>
self = <oeWindows.mainWindow object at 0x7f0c500cc740>
strHoover = ''
strMenuLoader = 'menu_connections'
====================================================================================================
File:
/usr/share/kodi/addons/service.libreelec.settings/resources/lib/log.py:69
----------------------------------------------------------------------------------------------------
Code context:
----------------------------------------------------------------------------------------------------
Local variables:
arg = <xbmcgui.ListItem object at 0x7f0c50886db0>
args = ( <bluetooth.bluetooth object at 0x7f0c449f8d60>,
<xbmcgui.ListItem object at 0x7f0c50886db0>)
function = <function bluetooth.menu_connections at 0x7f0c44a18f10>
header = 'SETTINGS: bluetooth.menu_connections '
kwargs = {}
level = 0
====================================================================================================
File:
/usr/share/kodi/addons/service.libreelec.settings/resources/lib/modules/bluetooth.py:279
----------------------------------------------------------------------------------------------------
Code context:
----------------------------------------------------------------------------------------------------
Local variables:
focusItem = <xbmcgui.ListItem object at 0x7f0c50886db0>
self = <bluetooth.bluetooth object at 0x7f0c449f8d60>
====================================================================================================
File:
/usr/share/kodi/addons/service.libreelec.settings/resources/lib/log.py:69
----------------------------------------------------------------------------------------------------
Code context:
----------------------------------------------------------------------------------------------------
Local variables:
arg = <bluetooth.bluetooth object at 0x7f0c449f8d60>
args = (<bluetooth.bluetooth object at 0x7f0c449f8d60>,)
e = AttributeError("'NoneType' object has no attribute 'startswith'")
function = <function bluetooth.start_discovery at 0x7f0c44a160a0>
header = 'SETTINGS: bluetooth.start_discovery '
kwargs = {}
level = 0
outer_stack = [ FrameInfo(frame=<frame at 0x7f0c501695a0, file '/usr/lib/python3.8/threading.py', line 890, code _bootstrap>, filename='/usr/lib/python3.8/threading.py', lineno=890, function='_bootstrap', code_context=None, index=None),
FrameInfo(frame=<frame at 0x7f0c50327580, file '/usr/lib/python3.8/threading.py', line 932, code _bootstrap_inner>, filename='/usr/lib/python3.8/threading.py', lineno=932, function='_bootstrap_inner', code_context=None, index=None),
FrameInfo(frame=<frame at 0x7f0c50176f40, file '/usr/lib/python3.8/threading.py', line 870, code run>, filename='/usr/lib/python3.8/threading.py', lineno=870, function='run', code_context=None, index=None),
FrameInfo(frame=<frame at 0x7f0c5047e8a0, file '/usr/share/kodi/addons/service.libreelec.settings/resources/lib/oe.py', line 623, code openConfigurationWindow>, filename='/usr/share/kodi/addons/service.libreelec.settings/resources/lib/oe.py', lineno=623, function='openConfigurationWindow', code_context=None, index=None),
FrameInfo(frame=<frame at 0x7f0c5073a3b0, file '/usr/share/kodi/addons/service.libreelec.settings/resources/lib/oeWindows.py', line 377, code onFocus>, filename='/usr/share/kodi/addons/service.libreelec.settings/resources/lib/oeWindows.py', lineno=377, function='onFocus', code_context=None, index=None),
FrameInfo(frame=<frame at 0x7f0c505df770, file '/usr/share/kodi/addons/service.libreelec.settings/resources/lib/log.py', line 69, code _log_function_2>, filename='/usr/share/kodi/addons/service.libreelec.settings/resources/lib/log.py', lineno=69, function='_log_function_2', code_context=None, index=None),
FrameInfo(frame=<frame at 0x80e6680, file '/usr/share/kodi/addons/service.libreelec.settings/resources/lib/modules/bluetooth.py', line 279, code menu_connections>, filename='/usr/share/kodi/addons/service.libreelec.settings/resources/lib/modules/bluetooth.py', lineno=279, function='menu_connections', code_context=None, index=None)]
====================================================================================================
File:
/usr/share/kodi/addons/service.libreelec.settings/resources/lib/modules/bluetooth.py:138
----------------------------------------------------------------------------------------------------
Code context:
----------------------------------------------------------------------------------------------------
Local variables:
self = <bluetooth.bluetooth object at 0x7f0c449f8d60>
====================================================================================================
File:
/usr/share/kodi/addons/service.libreelec.settings/resources/lib/dbus_bluez.py:166
----------------------------------------------------------------------------------------------------
Code context:
----------------------------------------------------------------------------------------------------
Local variables:
path = None
====================================================================================================
File:
/usr/share/kodi/addons/service.libreelec.settings/resources/lib/dbus_utils.py:106
----------------------------------------------------------------------------------------------------
Code context:
----------------------------------------------------------------------------------------------------
Local variables:
args = ()
bus_name = 'org.bluez'
interface = 'org.bluez.Adapter1'
kwargs = {}
method_name = 'StartDiscovery'
path = None
====================================================================================================
File:
/usr/lib/python3.8/site-packages/ravel.py:1643
----------------------------------------------------------------------------------------------------
Code context:
----------------------------------------------------------------------------------------------------
Local variables:
interface = 'org.bluez.Adapter1'
self = <ravel.BusPeer.Object object at 0x7f0c50250320>
timeout = -1
====================================================================================================
File:
/usr/lib/python3.8/site-packages/ravel.py:1388
----------------------------------------------------------------------------------------------------
Code context:
----------------------------------------------------------------------------------------------------
Local variables:
destination = 'org.bluez'
interface = 'org.bluez.Adapter1'
path = None
self = <ravel.Connection object at 0x7f0c448c2e00>
timeout = -1
====================================================================================================
File:
/usr/lib/python3.8/site-packages/ravel.py:1335
----------------------------------------------------------------------------------------------------
Code context:
----------------------------------------------------------------------------------------------------
Local variables:
destination = 'org.bluez'
path = None
self = <ravel.Connection object at 0x7f0c448c2e00>
timeout = -1
====================================================================================================
File:
/usr/lib/python3.8/site-packages/dbussy.py:5753
----------------------------------------------------------------------------------------------------
Code context:
----------------------------------------------------------------------------------------------------
Local variables:
path = None
====================================================================================================
File:
/usr/lib/python3.8/site-packages/dbussy.py:5743
----------------------------------------------------------------------------------------------------
Code context:
----------------------------------------------------------------------------------------------------
Local variables:
path = None
====================================================================================================
************************************* End of diagnostic info ***************************************
2022-08-12 16:11:15.806 T:1236 ERROR <general>: SETTINGS: bluetooth.start_discovery
####################################################################################################
Object info
----------------------------------------------------------------------------------------------------
Object : <bluetooth.bluetooth object at 0x7f0c449f8d60>
Object type : <class 'bluetooth.bluetooth'>
Object attributes:
BLUETOOTH_DAEMON = '/usr/lib/bluetooth/bluetoothd'
D_OBEXD_ROOT = '/storage/downloads/'
ENABLED = True
OBEX_DAEMON = '/usr/lib/bluetooth/obexd'
OBEX_ROOT = None
bluez_agent = <bluetooth.Bluez_Agent object at 0x7f0c44b06100>
bluez_listener = <bluetooth.Bluez_Listener object at 0x7f0c44b4af50>
clear_list = <bound method bluetooth.clear_list of <bluetooth.bluetooth object at 0x7f0c449f8d60>>
close_pinkey_window = <bound method bluetooth.close_pinkey_window of <bluetooth.bluetooth object at 0x7f0c449f8d60>>
connect_device = <bound method bluetooth.connect_device of <bluetooth.bluetooth object at 0x7f0c449f8d60>>
dbusBluezAdapter = None
dbus_error_handler = <bound method bluetooth.dbus_error_handler of <bluetooth.bluetooth object at 0x7f0c449f8d60>>
disable_device_standby = <bound method bluetooth.disable_device_standby of <bluetooth.bluetooth object at 0x7f0c449f8d60>>
disconnect_device = <bound method bluetooth.disconnect_device of <bluetooth.bluetooth object at 0x7f0c449f8d60>>
disconnect_device_by_path = <bound method bluetooth.disconnect_device_by_path of <bluetooth.bluetooth object at 0x7f0c449f8d60>>
discover_devices = <bound method bluetooth.discover_devices of <bluetooth.bluetooth object at 0x7f0c449f8d60>>
discovering = True
do_init = <bound method bluetooth.do_init of <bluetooth.bluetooth object at 0x7f0c449f8d60>>
enable_device_standby = <bound method bluetooth.enable_device_standby of <bluetooth.bluetooth object at 0x7f0c449f8d60>>
exit = <bound method bluetooth.exit of <bluetooth.bluetooth object at 0x7f0c449f8d60>>
find_adapter = <bound method bluetooth.find_adapter of <bluetooth.bluetooth object at 0x7f0c449f8d60>>
found_devices = frozenset()
get_devices = <bound method bluetooth.get_devices of <bluetooth.bluetooth object at 0x7f0c449f8d60>>
init_adapter = <bound method bluetooth.init_adapter of <bluetooth.bluetooth object at 0x7f0c449f8d60>>
init_device = <bound method bluetooth.init_device of <bluetooth.bluetooth object at 0x7f0c449f8d60>>
listItems = {}
menu = { '6': { 'InfoText': 704,
'listTyp': 'btlist',
'menuLoader': 'menu_connections',
'name': 32331}}
menu_connections = <bound method bluetooth.menu_connections of <bluetooth.bluetooth object at 0x7f0c449f8d60>>
obex_agent = <bluetooth.Obex_Agent object at 0x7f0c44ec3b10>
obex_listener = <bluetooth.Obex_Listener object at 0x7f0c44ec4ef0>
oe = <module 'oe' from '/usr/share/kodi/addons/service.libreelec.settings/resources/lib/oe.pyc'>
open_context_menu = <bound method bluetooth.open_context_menu of <bluetooth.bluetooth object at 0x7f0c449f8d60>>
open_pinkey_window = <bound method bluetooth.open_pinkey_window of <bluetooth.bluetooth object at 0x7f0c449f8d60>>
pair_device = <bound method bluetooth.pair_device of <bluetooth.bluetooth object at 0x7f0c449f8d60>>
properties = { 0: {'type': 4, 'value': 'Paired'},
1: {'type': 2, 'value': 'Adapter'},
2: {'type': 4, 'value': 'Connected'},
3: {'type': 2, 'value': 'Address'},
5: {'type': 1, 'value': 'Class'},
6: {'type': 4, 'value': 'Trusted'},
7: {'type': 2, 'value': 'Icon'}}
remove_device = <bound method bluetooth.remove_device of <bluetooth.bluetooth object at 0x7f0c449f8d60>>
standby_devices = <bound method bluetooth.standby_devices of <bluetooth.bluetooth object at 0x7f0c449f8d60>>
start_discovery = <bound method bluetooth.start_discovery of <bluetooth.bluetooth object at 0x7f0c449f8d60>>
start_service = <bound method bluetooth.start_service of <bluetooth.bluetooth object at 0x7f0c449f8d60>>
stop_discovery = <bound method bluetooth.stop_discovery of <bluetooth.bluetooth object at 0x7f0c449f8d60>>
stop_service = <bound method bluetooth.stop_service of <bluetooth.bluetooth object at 0x7f0c449f8d60>>
trust_connect_device = <bound method bluetooth.trust_connect_device of <bluetooth.bluetooth object at 0x7f0c449f8d60>>
trust_device = <bound method bluetooth.trust_device of <bluetooth.bluetooth object at 0x7f0c449f8d60>>
visible = True
************************************** End of object info ******************************************