Do you run your python script within an addon/plugin, or are you running it from the command line?
import xbmc only works from within an addon/plugin
Do you run your python script within an addon/plugin, or are you running it from the command line?
import xbmc only works from within an addon/plugin
You are installing LE for RPi2, right? LE for RPi is for models 0 and 1. LE for RPi2 is for models 2 and 3.
Is the bin subdir in PATH, and the lib subdir in LD_LIBRARY_PATH? If not, add them.
Are the files in the bin subdir executable. If not, make them executable.
Once you have checked this, try to run the commands from the shell, eg, hddledPi -d
Hope this helps
Thanks for this awesome addon!
Some questions though:
I'd like to +1 a request that was made way back: is there any way to get librespot to switch between two spotify accounts seamlessly?As a quick solution, would it be possible to make a "copy" of the app (possibly name it something else), and use the Kodi streaming in order to resolve conflicts?
Thanks!
Use discovery mode (no username/password). It works fine here.
Sorry...no....and i dont follow ?
I choose what device in the addon ? Noob question i know...
In Kodi go to Add-ons/My add-ons/Services/Librespot/Configure...
There is also an issue solved by disabling "keep audio sink alive" in Kodi, see early in this thread.
Librespot revision 108 has been published for LibreELEC 8.2 and 9.0:
- fixes disable from Kodi,
- should not block backup, please confirm.
Suspend/resume will be addressed in the coming days.
Display MoreHi
I installed Librespot on my converted Chromebox Asus with Libreelec.
I dont want to use Analog output, and my chromebox does not have digital out for sonud, only HDMI.
Is there a way to output Librespot sound from HDMI ? I dont mind pausing sound when a video in KODI starts...but i dont wish to use ANALOG output.
I dont seem to get any sound from HDMI....am i doing something wrong ?
Cheers
EDIT : I see the libreelec device and can connect to it on my phone. When playing Spotify i just dont get any sound.
Have you tried to use the wizard in the addon seetings (Kodi UI) to chose a device?
Hey,
I'm running Librespot Kodi on my Raspberry Pi 3B and a month ago everything worked perfectly, showing up as a Spotify Connect device on all my devices on boot.
Now it doesn't show up on my phone anymore. On my PC it shows up but when I try to connect to it, it simply fails without an error.
I am very new to all this stuff so if you'd like me to send any logs I would love some instructions on how to! I do know how to access the terminal with PuTTY. My experience with Linux-based OS's is pretty much 0. Heheh.
Thanks for your time!
in terminal type:
journalctl -u service.librespot
and send me the output via a private conversation.
Pity. Is this the latest up 2 date add-on source code? GitHub - awiouy/service.librespot: Spotify Connect Addon for LibreELEC
sshanemeagher's redirect link is incorrect (GitHub - shanemeagher/service.librespot: Spotify Connect Addon for LibreELEC).
Latest sources are:
LibreELEC.tv/packages/addons/service/librespot at master · LibreELEC/LibreELEC.tv · GitHub
LibreELEC.tv/packages/addons/service/librespot at libreelec-8.2 · LibreELEC/LibreELEC.tv · GitHub
LibreELEC.tv/packages/addons/service/librespot at libreelec-8.0 · LibreELEC/LibreELEC.tv · GitHub
What you want to change is:
LibreELEC.tv/default.py at master · LibreELEC/LibreELEC.tv · GitHub
I used the discontinued Spotify web connect add-on before switching over to this, it's works like a charm
However, in the old web connect, I could use analog out and hdmi audio independently. If Spotify is playing using my speakers connected to analog and I start a video, the music pauses even though Kodi is set to use hdmi.
This is annoying, as I usually would for example watch some football with low volume on the TV while listening to music on the speakers..
Works as programmed. Kodi takes precedence over Librespot: if Kodi plays, Librespot stops.
Display MoreOk. I asked there - but I guess its more a problem from the addon.
I had the same problem on 2 different devices.
Then i tried to disable librespot addon in the device settings.
The result was a complete frozen device. Had to pull out the power switch.
Powered up the device again.
Now the addon is shown as disabled.
Backup is running now without problems.
And I have seen in postings - I´m not alone with that problem.
I am only a user. But I think no addon should crash kodi.
I guess it would be better if you will do a developer talk to robweber..
send me a log of the backup issue and i will have a look at it
Hi
I´m using the librespot addon on my Mecool M8s pro device. It is running fine.
But my backup program (standard XBMC Backup) stucks at addons/service.librespot/lib
Any hints to solve the problem ?
No idea.
Have a look or ask your question here: https://github.com/robweber/xbmcbackup/issues
TL;DR: discovery mode doesn't work.
Long answer: Because my LibreElec box is on a wired network which is routed to the Wi-Fi network, but apparently this is not sufficient for LibreSpot. I even configured Avahi in router mode on the router (necessary for Kore to find Kodi) but that's not enough for Spotify's discovery mode (I haven't investigated which kind of protocol it speaks).
avahi is not routed, as mentioned here: linux - Could I use avahi to publish service across subnetworks? - Stack Overflow
Display MoreHey.
I have a problem with librespot and backup.
I have backup setup for every Sunday. But the backup stopped at librespot. Yeah since I have librespot. didn't had any problems before.
Is there any solution to get this solved?
Maybe there is a logfile somewhere?
So far...
Librespot is running without any problems. Thank you for that.
Dan
Edit:
it stopped at
addons/service.librespot/lib
Do you have a log?
After using it a bit, I have 3 remarks:
- there's no indication if the login/passwd is wrong
- the volume control doesn't use the main Kodi volume
- the name of the currently playing song isn't displayed
Is there a bugtracker somewhere for these ?
Why use login/password? Use discovery mode.
If you want to use Kodi volume, use Kodi mode (set mode in addon settings)
The name of the currently playing song is displayed on the screen in both modes, not in OSD though.
Hi,
I'm trying to use the addon, but the 'execute' button stays greyed wether I use the default settings or when I enter some login/pass in the config; I see nothing in the journal. Is there something I'm missing ?
Hi, since the maintainer (plietar) has left the librespot project, what is your opinion on the future of your LE addon?
It runs, there is a willing community, plietar has proposed to keep reviewing the code, and I am reading about Rust. There are also alternatives to librespot floating around. What, me worry?
Check if it really failed installing (from add-on manager or from a shell). If problem persists provide a log.