Posts by awiouy
-
-
Hello everyone, will there be a solution soon?
Greetings
Hello susumo,
There is a solution to this problem, but it introduces a new issue, on my installation at least.
I can send you a test build to determine if this new issue is limited to my installation.
What version of LibreELEC are you running, and on what hardware?
-
@awiouy as I'm running emby headless on my spare amd machine how can I turn off call for kodi to be started after every restart of emby?
They updating pluggins very offten and pushing to restart emby server every couple days. Then I have to stop kodi again
Do you really need to restart LibreELEC?
Try stopping Emby from the Emby web UI, and it should restart and take the updates into account.
-
Sorry for the delay in testing this. I've installed in that order and Emby runs ok. However, when I reboot Emby server won't start. If I reinstall it works again.
Send a log of Emby after reboot
-
Hi, Device is a X96 Max S905X2 4g/64g, running CoreELEC (official): 9.2.2 (Amlogic-ng.arm). emby4 is the latest version from the CoreElec repository 9.2.107, and the Dotnet is (I guess you mean .net Core runtime?) version is 9.2.109. I have uploaded the Dmesg | paste logfirst after boot (emby4 has not started) http://ix.io/2m9g . Below is the SSH screen output after I tried to start manually start emby4 with .kodi/addons/service.emby4/bin/emby4.start it failed! I then went back into the emby4 addon up and updated again and then it runs. journal log below the manual start up log
HTML
Display MoreInfo App: File /storage/.kodi/userdata/addon_data/service.emby4/plugins/Emby.Por tMapper.dll has version 1.0.4.0 Info App: File /storage/.kodi/addons/service.emby4/emby/plugins/Emby.PortMapper. dll has version 1.0.4.0 Info App: File /storage/.kodi/userdata/addon_data/service.emby4/plugins/OpenSubt itles.dll has version 1.0.26.0 Info App: File /storage/.kodi/addons/service.emby4/emby/plugins/OpenSubtitles.dl l has version 1.0.26.0 Info App: File /storage/.kodi/userdata/addon_data/service.emby4/plugins/Emby.Ser ver.CinemaMode.dll has version 1.0.31.0 Info App: File /storage/.kodi/addons/service.emby4/emby/plugins/Emby.Server.Cine maMode.dll has version 1.0.31.0 Info App: File /storage/.kodi/userdata/addon_data/service.emby4/plugins/OMDb.dll has version 1.0.9.0 Info App: File /storage/.kodi/addons/service.emby4/emby/plugins/OMDb.dll has ver sion 1.0.9.0 Info App: File /storage/.kodi/userdata/addon_data/service.emby4/plugins/StudioIm ages.dll has version 1.0.3.0 Info App: File /storage/.kodi/addons/service.emby4/emby/plugins/StudioImages.dll has version 1.0.3.0 Info App: Loading Emby.Webhooks, Version=1.0.11.0, Culture=neutral, PublicKeyTok en=null from /storage/.kodi/userdata/addon_data/service.emby4/plugins/Emby.Webho oks.dll Info App: Loading Emby.Dlna, Version=1.0.37.0, Culture=neutral, PublicKeyToken=n ull from /storage/.kodi/userdata/addon_data/service.emby4/plugins/Emby.Dlna.dll Info App: Loading DvdMounter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=n ull from /storage/.kodi/userdata/addon_data/service.emby4/plugins/DvdMounter.dll Info App: Loading NfoMetadata, Version=1.0.29.0, Culture=neutral, PublicKeyToken =null from /storage/.kodi/userdata/addon_data/service.emby4/plugins/NfoMetadata. dll Info App: Loading MusicBrainz, Version=1.0.13.0, Culture=neutral, PublicKeyToken =null from /storage/.kodi/userdata/addon_data/service.emby4/plugins/MusicBrainz. dll Info App: Loading Fanart, Version=1.0.7.0, Culture=neutral, PublicKeyToken=null from /storage/.kodi/userdata/addon_data/service.emby4/plugins/Fanart.dll Info App: Loading BlurayMounter, Version=1.0.0.0, Culture=neutral, PublicKeyToke n=null from /storage/.kodi/userdata/addon_data/service.emby4/plugins/BlurayMount er.dll Info App: Loading Tvdb, Version=1.0.31.0, Culture=neutral, PublicKeyToken=null f rom /storage/.kodi/userdata/addon_data/service.emby4/plugins/Tvdb.dll Info App: Loading Emby.Kodi.SyncQueue, Version=2.1.8.0, Culture=neutral, PublicK eyToken=null from /storage/.kodi/userdata/addon_data/service.emby4/plugins/Emby. Kodi.SyncQueue.dll Info App: Loading AudioDb, Version=1.0.10.0, Culture=neutral, PublicKeyToken=nul l from /storage/.kodi/userdata/addon_data/service.emby4/plugins/AudioDb.dll Info App: Loading MovieDb, Version=1.3.4.0, Culture=neutral, PublicKeyToken=null from /storage/.kodi/userdata/addon_data/service.emby4/plugins/MovieDb.dll Info App: Loading Emby.PortMapper, Version=1.0.4.0, Culture=neutral, PublicKeyTo ken=null from /storage/.kodi/userdata/addon_data/service.emby4/plugins/Emby.Port Mapper.dll Info App: Loading OpenSubtitles, Version=1.0.26.0, Culture=neutral, PublicKeyTok en=null from /storage/.kodi/userdata/addon_data/service.emby4/plugins/OpenSubtit les.dll Info App: Loading Emby.Server.CinemaMode, Version=1.0.31.0, Culture=neutral, Pub licKeyToken=null from /storage/.kodi/userdata/addon_data/service.emby4/plugins/E mby.Server.CinemaMode.dll Info App: Loading OMDb, Version=1.0.9.0, Culture=neutral, PublicKeyToken=null fr om /storage/.kodi/userdata/addon_data/service.emby4/plugins/OMDb.dll Info App: Loading StudioImages, Version=1.0.3.0, Culture=neutral, PublicKeyToken =null from /storage/.kodi/userdata/addon_data/service.emby4/plugins/StudioImages .dll Info App: Loading Emby.Api, Version=4.4.2.0, Culture=neutral, PublicKeyToken=nul l Info App: Loading Emby.Web, Version=4.4.2.0, Culture=neutral, PublicKeyToken=nul l Info App: Loading MediaBrowser.Model, Version=4.4.2.0, Culture=neutral, PublicKe yToken=null Info App: Loading MediaBrowser.Common, Version=4.4.2.0, Culture=neutral, PublicK eyToken=null Info App: Loading MediaBrowser.Controller, Version=4.4.2.0, Culture=neutral, Pub licKeyToken=null Info App: Loading Emby.Providers, Version=4.4.2.0, Culture=neutral, PublicKeyTok en=null Info App: Loading Emby.Photos, Version=4.4.2.0, Culture=neutral, PublicKeyToken= null Info App: Loading Emby.Server.Implementations, Version=4.4.2.0, Culture=neutral, PublicKeyToken=null Info App: Loading Emby.LiveTV, Version=4.4.2.0, Culture=neutral, PublicKeyToken= null Info App: Loading Emby.ActivityLog, Version=1.0.0.0, Culture=neutral, PublicKeyT oken=null Info App: Loading Emby.Server.MediaEncoding, Version=4.4.2.0, Culture=neutral, P ublicKeyToken=null Info App: Loading Emby.LocalMetadata, Version=4.4.2.0, Culture=neutral, PublicKe yToken=null Info App: Loading Emby.Notifications, Version=4.4.2.0, Culture=neutral, PublicKe yToken=null Info App: Loading Emby.Codecs.Dxva, Version=4.4.2.0, Culture=neutral, PublicKeyT oken=null Info App: Loading Emby.Codecs, Version=4.4.2.0, Culture=neutral, PublicKeyToken= null Info App: Loading Emby.Server.Connect, Version=4.4.2.0, Culture=neutral, PublicK eyToken=null Info App: Loading Emby.Server.Sync, Version=4.4.2.0, Culture=neutral, PublicKeyT oken=null Info App: Loading EmbyServer, Version=4.4.2.0, Culture=neutral, PublicKeyToken=n ull Info SqliteUserRepository: Sqlite version: 3.28.0 Info SqliteUserRepository: Sqlite compiler options: COMPILER=gcc-8.3.0,DEFAULT_M MAP_SIZE=268435456,ENABLE_COLUMN_METADATA,ENABLE_FTS4,ENABLE_FTS5,ENABLE_JSON1,E NABLE_RTREE,ENABLE_STAT3,TEMP_STORE=3,THREADSAFE=1 Info SqliteUserRepository: Default journal_mode for /storage/.kodi/userdata/addo n_data/service.emby4/data/users.db is wal Info AuthenticationRepository: Default journal_mode for /storage/.kodi/userdata/ addon_data/service.emby4/data/authentication.db is wal Info ActivityRepository: Default journal_mode for /storage/.kodi/userdata/addon_ data/service.emby4/data/activitylog.db is wal Info SqliteDisplayPreferencesRepository: Default journal_mode for /storage/.kodi /userdata/addon_data/service.emby4/data/displaypreferences.db is wal Info App: Adding HttpListener prefix http://+:8096/ Info SqliteItemRepository: Default journal_mode for /storage/.kodi/userdata/addo n_data/service.emby4/data/library.db is wal Info Main: Skia not available. Will try next image processor. Info TaskManager: Daily trigger for Thumbnail image extraction set to fire at 05 /16/2020 02:00:00, which is 350.04312849666667 minutes from now. Info TaskManager: Daily trigger for Rotate log file set to fire at 05/16/2020 00 :00:00, which is 230.042023915 minutes from now. Info App: ServerId: 25e57d5571c04986965bd2f2ce4c1c80 Info App: Starting entry point Emby.Dlna.Main.DlnaEntryPoint Info Dlna: Registering publisher for urn:schemas-upnp-org:device:MediaServer:1 Info App: Init BeginReceive on 0.0.0.0 Info App: Entry point completed: Emby.Dlna.Main.DlnaEntryPoint. Duration: 0.6220 42 seconds Info App: Starting entry point Emby.Server.Connect.ConnectEntryPoint Info App: Loading data from /storage/.kodi/userdata/addon_data/service.emby4/dat a/connect.txt Info App: Loading data from /storage/.kodi/userdata/addon_data/service.emby4/dat a/wan.dat Info App: Entry point completed: Emby.Server.Connect.ConnectEntryPoint. Duration : 0.0320763 seconds Info App: Core startup complete Info App: Post-init migrations complete Info App: Starting entry point Emby.Webhooks.WebhooksEntryPoint Info App: Entry point completed: Emby.Webhooks.WebhooksEntryPoint. Duration: 0.0 120576 seconds Info App: Starting entry point NfoMetadata.EntryPoint Info App: Entry point completed: NfoMetadata.EntryPoint. Duration: 0.0007878 sec onds Info App: Starting entry point Emby.Kodi.SyncQueue.EntryPoints.LibrarySyncNotifi cation Info App: Entry point completed: Emby.Kodi.SyncQueue.EntryPoints.LibrarySyncNoti fication. Duration: 0.0019944 seconds Info App: Starting entry point Emby.PortMapper.ExternalPortForwarding Info App: Entry point completed: Emby.PortMapper.ExternalPortForwarding. Duratio n: 0.0066721 seconds Info App: Starting entry point Emby.Security.PluginSecurityManager Info App: Entry point completed: Emby.Security.PluginSecurityManager. Duration: 0.0003905 seconds Info App: Starting entry point Emby.Server.CinemaMode.IntrosEntryPoint Info App: Entry point completed: Emby.Server.CinemaMode.IntrosEntryPoint. Durati on: 0.0007548 seconds Info App: Starting entry point MediaBrowser.Api.ApiEntryPoint Info App: Entry point completed: MediaBrowser.Api.ApiEntryPoint. Duration: 0.000 3225 seconds Info App: Starting entry point Emby.Server.Implementations.Udp.UdpServerEntryPoi nt Info App: Entry point completed: Emby.Server.Implementations.Udp.UdpServerEntryP oint. Duration: 0.0052102 seconds Info App: Starting entry point Emby.Server.Implementations.Playlists.PlaylistsEn tryPoint Info App: Entry point completed: Emby.Server.Implementations.Playlists.Playlists EntryPoint. Duration: 0.0045966 seconds Info App: Starting entry point Emby.Server.Implementations.News.NewsEntryPoint Info App: Entry point completed: Emby.Server.Implementations.News.NewsEntryPoint . Duration: 0.0010782 seconds Info App: Starting entry point Emby.Server.Implementations.Library.DeviceAccessE ntryPoint Info App: Entry point completed: Emby.Server.Implementations.Library.DeviceAcces sEntryPoint. Duration: 0.0025454 seconds Info App: Starting entry point Emby.Server.Implementations.IO.LibraryMonitorStar tup Info HttpClient: GET https://emby.media/community/index.php?/blog/rss/1-media-br owser-developers-blog Info HttpClient: GET EmbyPackages.json Info FfmpegManager: FFMpeg: /storage/.kodi/addons/tools.ffmpeg-tools/bin/ffmpeg Info FfmpegManager: FFProbe: /storage/.kodi/addons/tools.ffmpeg-tools/bin/ffprob e Info FfmpegManager: FFDetect: not found Info FfmpegManager: ProcessRun 'ffmpeg -hide_banner -version' Execute: /storage/ .kodi/addons/tools.ffmpeg-tools/bin/ffmpeg -hide_banner -version Info FfmpegManager: ProcessRun 'ffmpeg -hide_banner -version' Process exited wit h code 0 Info HttpServer: HTTP GET http://192.168.1.146:8096/emby/system/info/public. Use rAgent: python-requests/2.9.1 Info App: Entry point completed: Emby.Server.Implementations.IO.LibraryMonitorSt artup. Duration: 2.6439378 seconds Info App: Starting entry point Emby.Server.Implementations.EntryPoints.Automatic RestartEntryPoint Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.Automat icRestartEntryPoint. Duration: 0.0013653 seconds Info App: Starting entry point Emby.Server.Implementations.EntryPoints.KeepServe rAwake Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.KeepSer verAwake. Duration: 0.0005736 seconds Info App: Starting entry point Emby.Server.Implementations.EntryPoints.LibraryCh angedNotifier Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.Library ChangedNotifier. Duration: 0.0092064 seconds Info App: Starting entry point Emby.Server.Implementations.EntryPoints.ServerEve ntNotifier Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.ServerE ventNotifier. Duration: 0.0173614 seconds Info App: Starting entry point Emby.Server.Implementations.EntryPoints.StartupWi zard Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.Startup Wizard. Duration: 0.0027877 seconds Info App: Starting entry point Emby.Server.Implementations.EntryPoints.SystemEve nts Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.SystemE vents. Duration: 0.0025522 seconds Info App: Starting entry point Emby.Server.Implementations.EntryPoints.UserDataC hangeNotifier Info LibraryMonitor: Watching directory /var/media/Seagate Backup Plus/UHD Films Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.UserDat aChangeNotifier. Duration: 0.0006633 seconds Info App: Starting entry point Emby.Server.Implementations.Channels.ChannelsEntr yPoint Info App: Entry point completed: Emby.Server.Implementations.Channels.ChannelsEn tryPoint. Duration: 0.0135851 seconds Info App: Starting entry point Emby.LiveTV.EntryPoint Info LiveTV: Loading live tv data from /storage/.kodi/userdata/addon_data/servic e.emby4/data/livetv/timers Stack overflow. Aborted CoreELEC:~ # dmesg | paste <html> <head><title>502 Bad Gateway</title></head> <body bgcolor="white"> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx</center> </body> </html> CoreELEC:~ #
Hello,
That log shows that Emby starts correctly but then crashes when starting LiveTV.
Try to disable LiveTV if you know how to do that.
Otherwise refer the problem to Emby support.
-
The alsa service doesn't start at boot, I have to start it manually using ssh:
systemctl start service.librespot-alsa.service
How can I make it start on boot?
systemctl enable service.librespot-alsa.service
-
Hi awiouy, I am having the same issue on Coreelec 9.2.2, emby4 does not start after reboot, or fresh power up I have posted a question on the Coreelec forum. any advice would be welcome. thanks
Hi Mobigeek
What version of Emby 4 and Dotnet Runtime are you running?
Also, provide a log of Emby 4 (journalctl -u service.emby4).
-
avahi is turned on and active:
I disabled recovery mode and used my user id and both possible password (account password and device-specific password)
Both options did not work. I don't see librespot as option in my devices.
Anything else I could check?If you are using a VPN, disable it
-
I just turned on "wait for network" but it did not resolve the issue. Librespot is not shown in any of the devices tested.
Maybe it has to do with the general detectability of Kodi. I wanted to set up the remote using Kore (Android remote app) and Kodi wasn't automatically found. I had to add the details manually to establish a connection. This is weird since earlier versions of LibreELEC were found on the network without issues.
Do you think the problems are related?You might try two things:
1. check that avahi is enabled in LibreELEC settings, and if not enable it
2. If that does not fix your issue, disable discovery mode in Librespot settings and enter your username/password
-
I am on a RPi4 with LibreELEC 9.2 installed Librespot 123. Librespot is not being detected on any of the devices in the house even though they are all under the same network (submask).
I have Spotify Premium and Spotify Connect works with other devices in the house.
I also tested Librespot 121, and 122. The Spotify Add-on from marcveldt was in stalled before but uninstalled.
This is the Librespot log that I get. Any idea what is happening?Code
Display More2020-05-09 13:53:36.995 T:2721239920 NOTICE: Librespot: monitor started 2020-05-09 13:53:37.017 T:2721239920 DEBUG: CAddonSettings[service.librespot]: loading setting definitions 2020-05-09 13:53:37.017 T:2721239920 DEBUG: CAddonSettings[service.librespot]: trying to load setting definitions from old format... 2020-05-09 13:53:37.018 T:2721239920 DEBUG: CAddonSettings[service.librespot]: loading setting values 2020-05-09 13:53:37.018 T:2721239920 DEBUG: CSettingsManager: requested setting (ls_a) was not found. 2020-05-09 13:53:37.018 T:2721239920 DEBUG: CAddonSettings[service.librespot]: failed to find definition for setting ls_a. Creating a setting on-the-fly... 2020-05-09 13:53:37.018 T:2721239920 DEBUG: CSettingsManager: requested setting (ls_p) was not found. 2020-05-09 13:53:37.018 T:2721239920 DEBUG: CAddonSettings[service.librespot]: failed to find definition for setting ls_p. Creating a setting on-the-fly... 2020-05-09 13:53:37.018 T:2721239920 DEBUG: CSettingsManager: requested setting (ls_u) was not found. 2020-05-09 13:53:37.018 T:2721239920 DEBUG: CAddonSettings[service.librespot]: failed to find definition for setting ls_u. Creating a setting on-the-fly... 2020-05-09 13:53:37.019 T:2721239920 DEBUG: CSettingsManager: requested setting (rtp_dest) was not found. 2020-05-09 13:53:37.019 T:2721239920 DEBUG: CSettingsManager: requested setting (device) was not found. 2020-05-09 13:53:37.019 T:2721239920 DEBUG: CSettingsManager: requested setting (bitrate) was not found. 2020-05-09 13:53:37.021 T:2721239920 NOTICE: Librespot: ['librespot', '--backend', 'pulseaudio', '--bitrate', '320', '--cache', 'cache', '--device', 'librespot', '--device-type', 'TV', '--disable-audio-cache', '--name', 'Librespot@PalaisKueche', '--notify-kodi', '--autoplay'] 2020-05-09 13:53:37.065 T:2547385200 DEBUG: Thread Timer 2547385200 terminating 2020-05-09 13:53:37.244 T:2824762224 INFO: Python interpreter stopped 2020-05-09 13:53:37.245 T:2824762224 DEBUG: Thread LanguageInvoker 2824762224 terminating 2020-05-09 13:53:37.687 T:2721239920 NOTICE: Librespot: loaded module-null-sink sink_name=librespot 2020-05-09 13:53:37.805 T:2721239920 NOTICE: Librespot: loaded module-rtp-send destination_ip=127.0.0.1 port=24642 source=librespot.monitor 2020-05-09 13:53:37.961 T:2721239920 NOTICE: Librespot: suspended sink 1 2020-05-09 13:53:37.962 T:2824762224 NOTICE: Librespot: librespot thread started 2020-05-09 13:53:38.030 T:2824762224 NOTICE: Librespot: librespot started 2020-05-09 13:53:38.039 T:2841670512 INFO: ## LibreELEC Addon ## system::set_hostname ## PalaisKueche 2020-05-09 13:53:38.040 T:2841670512 INFO: ## LibreELEC Addon ## system::set_keyboard_layout ## de 2020-05-09 13:53:38.040 T:2841670512 INFO: ## LibreELEC Addon ## system::set_keyboard_layout ## loadkmap < `ls -1 /usr/lib/keymaps/*/de.bmap` 2020-05-09 13:53:38.085 T:2824762224 NOTICE: Librespot: [2020-05-09T11:53:38Z INFO librespot] librespot 703c4ddaa0 (2020-04-27). Built on 2020-05-02. Build ID: YM60he19
Did you set 'wait for network' in LibreELEC network settings? If not, do so and reboot.
Otherwise, your log does not show anything abnormal.
-
All right thanks, I don't understand much of this, but do you think i should report this issue to the coreelec devs, so they can adjust their tool chain?
Yes, please do report this to the CoreELEC devs.
Together, we might be able to fix your issue.
-
Okay i'm sorry but i think i have now a few informations that could help you.
First i disabled the spotifyd addon and the spotify addon from marcelveldt to prevent any cross-effects.
The spotify addon from marcelveldt also ships a spotify connect feature, which works for me, but is very unreliable.
The version that is shipped with Coreelec is 123 (the one with the ascii strings), so it should be quite up to date.
I tried to disable the discovery mode and entered my credentials, but this didn't change the situation (of course with disabling and enabling the addon and doing a restart of the whole system).
I also tried switching to another port, in case the port would be blocked by some other application, but also without success.
I can provide you the logs from the log generator (?), that is shipped with Coreelec, maybe you can find something here: http://ix.io/2l89
There is more going on than I've seen a few days ago.
Your log contains a lot of such lines:
According to this, people aren't / won't be able to use Rust on Linux with CP15_BARRIER_EMULATION=y & abi.cp15_barrier=1 (emulation, default value) & arm-unknown-linux-gnueabihf toolchain.
This could be the case for CoreELEC.
-
Yep 9.2.2 x64
I downgraded to 9.2.0.105 and it's working again in the meantime.
You can try to install these addons from zip, in that order:
-
emby4.start
CodeERROR: ld.so: object '/storage/.kodi/addons/service.emby4/lib/libMagickCore-7.Q16HDRI.so.6' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/storage/.kodi/addons/service.emby4/lib/libMagickCore-7.Q16HDRI.so.6' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/storage/.kodi/addons/service.emby4/lib/libMagickCore-7.Q16HDRI.so.6' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/storage/.kodi/addons/service.emby4/lib/libMagickCore-7.Q16HDRI.so.6' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. cat: error while loading shared libraries: libMagickCore-7.Q16HDRI.so.7: cannot open shared object file: No such file or directory /storage/.kodi/addons/tools.dotnet-runtime/bin/le_dotnet: line 8: dotnet: not found
Ouch!
I see the problem.
I will try to send you a test fix tonight.
You LibreELEC 9.2 right?
-
Hi awiouy thanks for getting back to me. I have updated all addons so I'm assuming dotnet is up to date. Output of journalctl -u service.emby4 is blank. I'll try refreshing the repo's see if it's missing an update.
systemctl status service.emby4.service reports:
Code
Display More-- Logs begin at Thu 2020-05-07 09:33:34 UTC, end at Thu 2020-05-07 09:34:16 UTC -- Logs begin at Thu 2020-05-07 09:33:34 UTC, end at Thu 2020-05-07 09:34:16 UTC -- No entries -- â— service.emby4.service - Emby 4 - streaming server Loaded: loaded (/storage/.kodi/addons/service.emby4/system.d/service.emby4.se â— service.emby4.service - Emby 4 - streaming server Loaded: loaded (/storage/.kodi/addons/service.emby4/system.d/service.emby4.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Thu 2020-05-07 09:36:22 UTC; 14s ago Docs: http://emby.media Process: 6091 ExecStart=/bin/sh /storage/.kodi/addons/service.emby4/bin/emby4.start (code=exited, status=127) Main PID: 6091 (code=exited, status=127) May 07 09:36:22 HOST systemd[1]: service.emby4.service: Service RestartSec=100ms expired, scheduling restart. May 07 09:36:22 HOST systemd[1]: service.emby4.service: Scheduled restart job, restart counter is at 5. â— service.emby4.service - Emby 4 - streaming server Loaded: loaded (/storage/.kodi/addons/service.emby4/system.d/service.emby4.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Thu 2020-05-07 09:36:22 UTC; 9min ago Docs: http://emby.media Process: 6091 ExecStart=/bin/sh /storage/.kodi/addons/service.emby4/bin/emby4.start (code=exited, status=127) Main PID: 6091 (code=exited, status=127) May 07 09:36:22 HEC-TOR systemd[1]: service.emby4.service: Service RestartSec=100ms expired, scheduling restart. May 07 09:36:22 HEC-TOR systemd[1]: service.emby4.service: Scheduled restart job, restart counter is at 5. May 07 09:36:22 HEC-TOR systemd[1]: Stopped Emby 4 - streaming server. May 07 09:36:22 HEC-TOR systemd[1]: service.emby4.service: Start request repeated too quickly. May 07 09:36:22 HEC-TOR systemd[1]: service.emby4.service: Failed with result 'exit-code'. May 07 09:36:22 HEC-TOR systemd[1]: Failed to start Emby 4 - streaming server.
Just seen an old thread re emby and this command might help? ldd $(which dotnet):
Codelinux-vdso.so.1 (0x00007ffe41508000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007febe8c4c000) libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007febe8c32000) libc.musl-x86_64.so.1 => not found libm.so.6 => /usr/lib/libm.so.6 (0x00007febe8af2000) libc.so.6 => /usr/lib/libc.so.6 (0x00007febe893c000) /lib/ld-musl-x86_64.so.1 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007febe8fe6000)
Thank you for the feedback.
I am surprised by the references to musl.
I will check that tonight.
In the meantime, can you try to run the command 'emby4.start' and let me know what it does?
-
Any ideas?
Hello 4Style
It is difficult for me to assess your problem:
- I do not know what version of Librespot is shipped with CoreELEC
- you do not provide a log
- I am not able to run CoreELEC or build addons for that distribution
I am however willing to assist.
Please tell me what version of Librespot you are trying to run, and in return I will tell you how to provide a log.
Your description hints at a mndns/dns-sd issue. Have you tried to disable discovery mode (and enter username/password) in the addon settings?
-
Hey guys,
after updating librespot to the newest version 9.80.3.123 it doesn't start anymore.
Iam using the latest milhouse release #0430 with an Intel NUC7PJYH. The previous version works without any issues.
If I try to start the addon, I get the following error message:
Code
Display More2020-05-06 20:00:07.844 T:1332 DEBUG <general>: CAddonMgr: enabled service.librespot 2020-05-06 20:00:07.845 T:1894 DEBUG <general>: CBinaryAddonManager::EnableEvent: Enable addon 'service.librespot' on binary addon manager 2020-05-06 20:00:07.847 T:1894 DEBUG <general>: CServiceAddonManager: starting service.librespot 2020-05-06 20:00:07.848 T:1898 DEBUG <general>: Thread LanguageInvoker start, auto delete: false 2020-05-06 20:00:07.848 T:1898 INFO <general>: initializing python engine. 2020-05-06 20:00:07.848 T:1898 DEBUG <general>: CPythonInvoker(16, /storage/.kodi/addons/service.librespot/default.py): start processing 2020-05-06 20:00:07.859 T:1332 DEBUG <general>: CGUIMediaWindow::GetDirectory (addons://user/all) 2020-05-06 20:00:07.859 T:1332 DEBUG <general>: ParentPath = [addons://user/all] 2020-05-06 20:00:07.860 T:1899 DEBUG <general>: Thread waiting start, auto delete: false 2020-05-06 20:00:07.862 T:1899 DEBUG <general>: CAddonDatabase: SELECT repo.id FROM repo .. took 0 ms 2020-05-06 20:00:07.867 T:1899 DEBUG <general>: CAddonDatabase: query SELECT * FROM addons JOIN addonlinkrepo ON addons.id=addonlinkrepo.idAddon WHERE addonlinkrepo.idRepo IN (38,157,236,549,587,606,622,632,634,635,636) ORDER BY addons.addonID returned 913 rows in 5 ms 2020-05-06 20:00:07.869 T:1898 DEBUG <general>: -->Python Interpreter Initialized<-- 2020-05-06 20:00:07.869 T:1898 DEBUG <general>: 2020-05-06 20:00:07.869 T:1898 DEBUG <general>: CPythonInvoker(16, /storage/.kodi/addons/service.librespot/default.py): the source file to load is "/storage/.kodi/addons/service.librespot/default.py" 2020-05-06 20:00:07.915 T:1899 DEBUG <general>: CAddonDatabase::GetAddons took 52 ms 2020-05-06 20:00:07.917 T:1899 DEBUG <general>: CAddonMgr::GetAvailableUpdates took 55 ms 2020-05-06 20:00:07.920 T:1898 DEBUG <general>: CPythonInvoker(16, /storage/.kodi/addons/service.librespot/default.py): setting the Python path to /storage/.kodi/addons/service.librespot:/storage/.kodi/addons/script.module.certifi/lib:/storage/.kodi/addons/script.module.chardet/lib:/storage/.kodi/addons/script.module.idna/lib:/storage/.kodi/addons/script.module.requests/lib:/storage/.kodi/addons/script.module.urllib3/lib:/:/usr/lib/python37.zip:/usr/lib/python3.7:/usr/lib/python3.7/lib-dynload:/usr/lib/python3.7/site-packages:/usr/lib/python3.7/site-packages/gtk-2.0 2020-05-06 20:00:07.920 T:1898 DEBUG <general>: CPythonInvoker(16, /storage/.kodi/addons/service.librespot/default.py): entering source directory /storage/.kodi/addons/service.librespot 2020-05-06 20:00:07.920 T:1898 DEBUG <general>: CPythonInvoker(16, /storage/.kodi/addons/service.librespot/default.py): instantiating addon using automatically obtained id of "service.librespot" dependent on version 3.0.0 of the xbmc.python api 2020-05-06 20:00:07.925 T:1899 DEBUG <general>: Thread waiting 139766305691392 terminating 2020-05-06 20:00:07.930 T:1900 DEBUG <general>: Thread BackgroundLoader start, auto delete: false 2020-05-06 20:00:07.941 T:1900 DEBUG <general>: Thread BackgroundLoader 139765978146560 terminating 2020-05-06 20:00:08.145 T:1898 INFO <general>: Librespot: monitor started 2020-05-06 20:00:08.145 T:1898 DEBUG <CAddonSettings[service.librespot]>: loading setting definitions 2020-05-06 20:00:08.145 T:1898 DEBUG <CAddonSettings[service.librespot]>: trying to load setting definitions from old format... 2020-05-06 20:00:08.146 T:1898 DEBUG <CAddonSettings[service.librespot]>: loading setting values 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (ls_D) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CAddonSettings[service.librespot]>: failed to find definition for setting ls_D. Creating a setting on-the-fly... 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (ls_a) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CAddonSettings[service.librespot]>: failed to find definition for setting ls_a. Creating a setting on-the-fly... 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (ls_b) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CAddonSettings[service.librespot]>: failed to find definition for setting ls_b. Creating a setting on-the-fly... 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (ls_m) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CAddonSettings[service.librespot]>: failed to find definition for setting ls_m. Creating a setting on-the-fly... 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (ls_o) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CAddonSettings[service.librespot]>: failed to find definition for setting ls_o. Creating a setting on-the-fly... 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (ls_p) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CAddonSettings[service.librespot]>: failed to find definition for setting ls_p. Creating a setting on-the-fly... 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (ls_u) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CAddonSettings[service.librespot]>: failed to find definition for setting ls_u. Creating a setting on-the-fly... 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (pcm_3) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CAddonSettings[service.librespot]>: failed to find definition for setting pcm_3. Creating a setting on-the-fly... 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (bitrate) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (device) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (rtp_dest) was not found. 2020-05-06 20:00:08.147 T:1898 INFO <general>: Librespot: ['librespot', '--backend', 'pulseaudio', '--bitrate', '320', '--cache', 'cache', '--device', 'librespot', '--device-type', 'TV', '--disable-audio-cache', '--name', 'Librespot', '--notify-kodi', '--autoplay'] 2020-05-06 20:00:08.194 T:1898 INFO <general>: Librespot: loaded module-null-sink sink_name=librespot 2020-05-06 20:00:08.200 T:1344 DEBUG <general>: Sink changed 2020-05-06 20:00:08.201 T:1344 DEBUG <general>: Sink appeared 2020-05-06 20:00:08.201 T:1344 DEBUG <general>: Sink removed 2020-05-06 20:00:08.201 T:1346 DEBUG <general>: CActiveAE - device count change event from driver: PULSE 2020-05-06 20:00:08.203 T:1346 DEBUG <general>: PulseAudio: Context authorizing 2020-05-06 20:00:08.203 T:1346 DEBUG <general>: PulseAudio: Context setting name 2020-05-06 20:00:08.203 T:1346 DEBUG <general>: PulseAudio: Context ready 2020-05-06 20:00:08.203 T:1346 WARNING <general>: Pulseaudio module module-allow-passthrough not loaded - opening PT devices might fail 2020-05-06 20:00:08.204 T:1346 INFO <general>: Found 2 Lists of Devices 2020-05-06 20:00:08.204 T:1346 INFO <general>: Enumerated PULSE devices: 2020-05-06 20:00:08.204 T:1346 INFO <general>: Device 1 2020-05-06 20:00:08.204 T:1346 INFO <general>: m_deviceName : Default 2020-05-06 20:00:08.204 T:1346 INFO <general>: m_displayName : Default 2020-05-06 20:00:08.204 T:1346 INFO <general>: m_displayNameExtra: Bluetooth Audio (PULSEAUDIO) 2020-05-06 20:00:08.204 T:1346 INFO <general>: m_deviceType : AE_DEVTYPE_PCM 2020-05-06 20:00:08.204 T:1346 INFO <general>: m_channels : FL, FR 2020-05-06 20:00:08.204 T:1346 INFO <general>: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000 2020-05-06 20:00:08.204 T:1346 INFO <general>: m_dataFormats : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT 2020-05-06 20:00:08.204 T:1346 INFO <general>: m_streamTypes : No passthrough capabilities 2020-05-06 20:00:08.204 T:1346 DEBUG <general>: CActiveAE - device count change event from driver: PULSE 2020-05-06 20:00:08.205 T:1346 DEBUG <general>: PulseAudio: Context authorizing 2020-05-06 20:00:08.205 T:1346 DEBUG <general>: PulseAudio: Context setting name 2020-05-06 20:00:08.205 T:1346 DEBUG <general>: PulseAudio: Context ready 2020-05-06 20:00:08.206 T:1346 WARNING <general>: Pulseaudio module module-allow-passthrough not loaded - opening PT devices might fail 2020-05-06 20:00:08.206 T:1346 INFO <general>: Found 2 Lists of Devices 2020-05-06 20:00:08.206 T:1346 INFO <general>: Enumerated PULSE devices: 2020-05-06 20:00:08.206 T:1346 INFO <general>: Device 1 2020-05-06 20:00:08.206 T:1346 INFO <general>: m_deviceName : Default 2020-05-06 20:00:08.206 T:1346 INFO <general>: m_displayName : Default 2020-05-06 20:00:08.206 T:1346 INFO <general>: m_displayNameExtra: Bluetooth Audio (PULSEAUDIO) 2020-05-06 20:00:08.206 T:1346 INFO <general>: m_deviceType : AE_DEVTYPE_PCM 2020-05-06 20:00:08.206 T:1346 INFO <general>: m_channels : FL, FR 2020-05-06 20:00:08.206 T:1346 INFO <general>: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000 2020-05-06 20:00:08.206 T:1346 INFO <general>: m_dataFormats : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT 2020-05-06 20:00:08.206 T:1346 INFO <general>: m_streamTypes : No passthrough capabilities 2020-05-06 20:00:08.218 T:1898 INFO <general>: Librespot: loaded module-rtp-send destination_ip=127.0.0.1 port=24642 source=librespot.monitor 2020-05-06 20:00:08.241 T:1344 DEBUG <general>: Sink changed 2020-05-06 20:00:08.242 T:1898 INFO <general>: Librespot: suspended sink 1 2020-05-06 20:00:08.242 T:1908 INFO <general>: Librespot: librespot thread started 2020-05-06 20:00:08.257 T:1908 INFO <general>: Librespot: librespot started 2020-05-06 20:00:08.259 T:1908 INFO <general>: Librespot: [2020-05-06T18:00:08Z INFO librespot] librespot 6ddd9501b5 (2020-05-03). Built on 2020-05-05. Build ID: Jtn2PGDd 2020-05-06 20:00:08.259 T:1908 INFO <general>: Librespot: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error("EOF while parsing a value", line: 1, column: 0)', src/libcore/result.rs:1165:5 2020-05-06 20:00:08.283 T:1908 INFO <general>: Librespot: suspended sink 1 2020-05-06 20:00:08.283 T:1908 INFO <general>: Librespot: event panic 1/3 2020-05-06 20:00:08.307 T:1908 INFO <general>: Librespot: suspended sink 1 2020-05-06 20:00:08.307 T:1908 INFO <general>: Librespot: librespot stopped
Anybody got an idea why librespot won't start?
Hello brot
I am not sure what is happening on your system.
Could you provide the output of 'pactl list modules short', to check that the addon has correctly set up pulseaudio.
-
Just updated now emby server won't start. Downgraded to 4.3 with the script, still no dice. Guess I know what I'm doing tomorrow morning 😩
Hello Morphy,
Can you be more specific about why Emby fails to start, eg with the output of 'journalctl -u service.emby4'?
Note that Emby4 also needs the latest revision on dotnet-runtime.