Weird
Could you add a set command in lcdd.start to list all variables and send me the output of lcdd.start.
I could be that Kodi changes the case of the addon variables.
Thank you in advance
Weird
Could you add a set command in lcdd.start to list all variables and send me the output of lcdd.start.
I could be that Kodi changes the case of the addon variables.
Thank you in advance
Was the hd44780 driver selected in the settings of the addon?
squeezelite comes with the -l switch to list devices and the -o switch to select a device.
Have you tried to use them?
If I remember correctly, to use a HifiBerry card use -o default:CARD=sndrpihifiberry
Provide the output of journalctl -u service.snapclient
Why are you trying to start manually?
PulseAudio DLNA will not work natively because pulseaudio runs as root on LibreELEC.
You could use a pulse ALSA device to stream Kodi output to PulseAudio, and then stream that to a network or combined sink.
To create a pulse ALSA device, install the Snapclient addon that ships the pulseaudio ALSA plugins (I will hopefully change that soon), then edit /storage/.config/asound.conf to include the following lines:
pcm_type.pulse {
lib "/storage/.kodi/addons/service.snapclient/lib/libasound_module_pcm_pulse.so";
}
pcm.pulse {
type pulse
hint {
description "PulseAudio"
show on
}
}
ctl.pulse {
type pulse
}
Display More
Restart Kodi or reboot, then configure Kodi to use that device, which should remain available.
Unless that device is configured otherwise, it will stream to a null PulseAudio sink. To fix this, you must create a PulseAudio configuration in /storage/.config/pulse-daemon.conf.d, eg 99-dlna.conf to create a network or combined sinks.
I hope that this will help you forward.
Thanks. Unfortunately I don't have the skills to do that. However, you are right. It is easy enough to to just run the addon even with kodi running. I am not aware of Kodi having an Headless mode but I suspect that will come soon enough.
Looking forward to the Jellyfin Addon.
Thanks again.
LongMan
To run headless, just unplug the HDMI cable.
ssh and a VNC addon are handy to manage a headless system.
Just curious, Is it possible to get a LibreELEC for Emby or the opensource fork, Jellyfin (actually LibreELES, Server vs Center). As I understand it, the Emby plugin is running on the JeOS of LibreELEC. What do you think of a server build without Kodi, Just install and have the media server with nothing else.
Cheers,
LongMan
Hi LongMan,
It is possible, but I leave this to someone else, eg you.
The easiest way to achieve this at the moment is: install and configure LibreELEC, install the Emby or Emby4 add-on, then run headless.
I will propose a Jellyfin addon in the coming days.
Create the symlink in /storage/.kodi/addons/script.gamestarter/lib
And contact the developer, that he fixes the issue.
Please do not cross-post
Put your library in a writable directory, ie somewhere in /storage.
Then, add that directory path to LD_LIBRARY_PATH, egexport LD_LIBRARY_PATH=/path/to/libass.so.5:$LD_LIBRARY_PATH
I had a look.
I coded snapserver.start to create a PulseAudio sink for Kodi, but I did not suspend it when unused.
This should not cause problems other than the messages you see.
I will fix this in an upcoming revision.
I intend to use json RPC to configure Snapserver (set stream, set clients) and Snapclients (set volume), which should take a couple of weeks.
I will have a look.
By the way, Librespot and Snapserver use distinct pulseaudio modules. No need to manage them manually.
This Python package has many dependencies, in particular compiled ones (lxml). You will need to create a package.mk for each one of them, and then bundle them into an addon.
Docker seems appropriate, especially since Python 2 (which is required by the package) will soon be replaced by Python 3 on LibreELEC.
Thanks!
Before testing it (I really depend on this addon )
Just making sure - Chromebox is still supported right?
If you have issues with the preview, then simply revert to the latest release (with update).
Hi, thanks for this great add-on, finally I can play Spotify over my RPi 3/Kodi. The only thing is that I can't see artist, title or playing time on the on screen display. I have to look at Spotify on my smartphone to see what I'm playing. The only thing I do see on my Kodi screen is a notification in the upper right corner which DOES display artist and title. So somehow Kodi receives this information whenever a song starts. Is there a way to display this information in the OSD permanently, throughout the entire song? Are there any settings I can tweak?
This feature is only available with LibreELEC version 9.0, when you set Librespot to use Kodi mode.
Hi Awiouy,
tried to test the HIFI berry recommendation ... but struggeld with "read only" mode form libreelec ...
Anything you found out?
Thank's in advance,
Franny
Hello franny73,
Sorry for the late reply, but I have been busy elsewhere.
Nevertheless, I have good news: I have managed to use a HiFiBerry DAC+ with both Kodi and Snapclient.
Here is how I have done:
1. I used the command mount -o remount,rw /flash; nano /flash/config.txt) to add the following line to /flash/config.txt:
2. I rebooted for the changes to take effect
3. I used the command nano /storage/.config/asound.conf to create the following asound.conf:
pcm.hifiberry {
type hw
card 0
}
pcm.shared_hifiberry {
type plug
slave.pcm "dmixer"
hint {
show on
description "Shared HiFiBerry"
}
}
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hifiberry"
channels 2
}
}
ctl.dmixer {
type hw
card 0
}
Display More
4. I configured Kodi (Settings/Audio/Audio output device) to use ALSA:snd_rpi_hifiberry_dacplus, Analog
5. I configured Snapclient to use shared_hifiberry
6. For good measure I rebooted again
You want to adapt step 1 to your card.
Let me know if the above works for you.
hi,
Thanks for the add on, it works great on kodi LibreELEC 9.
Is there a feature that keeps the screen black when the next song is starting?
That would be very nice because I hear a lot of audiobooks about the addon. :-).
Try to use ALSA output mode.