Whats the best way to debug audio here...
Posts by Mr.Tiptop
-
-
Hello has anyone also experienced a slight popping/cracking of audio when playing video? I have tested multiple audio files, current version of LE and older versions. device is not the issue - confirmed.
-
The LE10 add on binary (as-is) will not run on 9.x due to glibc library changes and others. It is possible that Snapcast current could be backported - though 9.x is in a maintenance state, I would suggest that the functionality changes be built and committed to LE10, then raise a request for the backport. Alternatively - compile the current and update the local copy.
Are you planning on staying with Kodi 18/LE9 or planning on upgrading?
I am planning to go to LE10 as soon as its available on Pi3.
Ill let you know how i get along. Thanks for all the help! been really good.
-
So it seems that version v0.15.0 does not have this feature or options in them yet :(. so it seems that we have found the route of the issue.. is it possible to use LE10 office addon snapserver with LE9.2.6?
-
just btw, i am running
NAME="LibreELEC"
VERSION="9.2.6"
ID="libreelec"
VERSION_ID="9.2"
PRETTY_NAME="LibreELEC (official): 9.2.6"
it seems that the snapserver version is old..
snapserver v0.15.0.
looking at the addons from repo for this version of LE it looks to be old one..
<a href="service.snapserver/">service.snapserver/</a> 17-Oct-2019 15:40
-
strings.po looks like this:
Code
Display More# Kodi Media Center language file # Addon Name: snapserver # Addon id: service.snapclient # Addon Provider: Team LibreELEC msgid "" msgstr "" msgctxt "#30000" msgid "Configuration" msgstr "" msgctxt "#30001" msgid "Server port" msgstr "" msgctxt "#30002" msgid "Control port" msgstr "" msgctxt "#30003" msgid "Priority" msgstr "" msgctxt "#30004" msgid "Stream" msgstr "" msgctxt "#30005" msgid "HTTP Json RPC Service" msgstr "" msgctxt "#30006" msgid "HTTP Json RPC Port" msgstr ""
netstat -ant | grep LISTEN
Code
Display Moretcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:36666 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:9090 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:36003 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:4713 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN tcp 0 0 :::111 :::* LISTEN tcp 0 0 :::8080 :::* LISTEN tcp 0 0 :::22 :::* LISTEN tcp 0 0 :::36666 :::* LISTEN tcp 0 0 :::445 :::* LISTEN tcp 0 0 :::9090 :::* LISTEN tcp 0 0 :::1704 :::* LISTEN tcp 0 0 :::1705 :::* LISTEN tcp 0 0 :::4713 :::* LISTEN tcp 0 0 :::139 :::* LISTEN
does not seem to be binding on port 1780
-
So i have managed to do some of what you suggested, but i cant edit advancedsettings.xml or settings.xml as it say file system readonly. i am also struggling to get http service up.. naturally in can browse to my box on port 8080, but its not binding port 1780 as i have specified in the snapserver config.
-
Hello, thanks for the reply.. So to my knowledge the snapserver addon seems to be a light version (no full config file) - again to my knowledge. So if there is a way i can edit the addon config where can i find this file. the normal snapserver.conf is in /etc/snserver.conf, but this file does not exist in libreelec as its an addon.. Sorry if i am not explaining properly.
Currently port 1704/1704 are open. i would like to enable 1780 http JSon RPC so that i can install snapweb on my server.. this will allow me to control all my snapclients via web interface instead of CLI
-
Hello is there any plan to enable this feature in Snapserver?
Code
Display More# HTTP RPC #################################################################### # [http] # enable HTTP Json RPC (HTTP POST and websockets) #enabled = true # address to listen on, can be specified multiple times # use "0.0.0.0" to bind to any IPv4 address or :: to bind to any IPv6 address # or "127.0.0.1" or "::1" to bind to localhost IPv4 or IPv6, respectively # use the address of a specific network interface to just listen to and accept # connections from that interface #bind_to_address = 0.0.0.0 # which port the server should listen to #port = 1780
-
awesome thanks for the support
-
ok, so it looked like the librespot addon was causing the issue...
Code
Display More2021-03-16 19:11:41.571 T:728 INFO <general>: Librespot: librespot stopped 2021-03-16 19:11:41.626 T:728 INFO <general>: Librespot: librespot started 2021-03-16 19:11:41.697 T:728 INFO <general>: Librespot: suspended sink 1 2021-03-16 19:11:41.697 T:728 INFO <general>: Librespot: librespot stopped 2021-03-16 19:11:41.753 T:728 INFO <general>: Librespot: librespot started 2021-03-16 19:11:41.813 T:728 INFO <general>: Librespot: suspended sink 1 2021-03-16 19:11:41.813 T:728 INFO <general>: Librespot: librespot stopped 2021-03-16 19:11:41.859 T:728 INFO <general>: Librespot: librespot started 2021-03-16 19:11:41.947 T:728 INFO <general>: Librespot: suspended sink 1 2021-03-16 19:11:41.947 T:728 INFO <general>: Librespot: librespot stopped 2021-03-16 19:11:42.003 T:728 INFO <general>: Librespot: librespot started 2021-03-16 19:11:47.026 T:728 INFO <general>: Librespot: suspended sink 1 2021-03-16 19:11:47.563 T:728 INFO <general>: Librespot: librespot stopped 2021-03-16 19:11:47.628 T:728 INFO <general>: Librespot: librespot started 2021-03-16 19:11:47.699 T:728 INFO <general>: Librespot: suspended sink 1 2021-03-16 19:11:47.699 T:728 INFO <general>: Librespot: librespot stopped
once i disabled this, scanning still took a while but GUI was more responsive.
-
Hello, anyone else having issues with scrapping and building library on 9.95.1? Also general GUI seems to freeze often when opening menus etc. not sure if this is due to kodi building my library or not.
Code
Display MoreNAME="LibreELEC" VERSION="9.95.1" ID="libreelec" VERSION_ID="10.0" PRETTY_NAME="LibreELEC (official): 9.95.1" HOME_URL="https://libreelec.tv" BUG_REPORT_URL="https://github.com/LibreELEC/LibreELEC.tv" BUILD_ID="c5d7822663d3797efd44889b545833f84b3130ec" LIBREELEC_ARCH="RK3399.arm" LIBREELEC_BUILD="official" LIBREELEC_PROJECT="Rockchip" LIBREELEC_DEVICE="RK3399"
its running on Nanopi-m4
-
Hello, I have a random question. MY current setup is Two Pi's, one running snapserver, and other running snapclient. All works perfectly! The snapserver is not connected to a TV/Screen as i just use if for music for my outdoor area. In the add-on settings we have three sinks/streams - Airplay, Spotify, Kodi/default. now i have set my default sink/stream to be spotify as this is what i mainly use. but if i want to airplay something from my phone to snapserver i need to set the add-on to stream this rather than Spotify. Is there a way i can trigger snapserver to change the stream without having to connect the pi to a display?
Thanks again for the amazing development here!!!
-
Hello, I am currently running librespot (version below) and the end result is that i would like play librespot through the audio jack on my pi, and also i would like to pipe this audio to snapserver. the only way i manage to do this is install snapclient also on the same pi to play the audio, but this is a little choppy. as everything run on the same box, i was wondering how i can do this?
service.librespot-9.2.0.123.zip
service.snapclient-9.2.0.102.zip
service.snapserver-9.2.0.102.zip
Thanks for the great work!!
-
Hello, i have noticed that nightly builds for RK399 (specifically nanopi-m4) have disappeared.. did i miss something?
-
So just an update here.. i followed you instructions snapcast: add streaming from kodi by awiouy · Pull Request #2597 · LibreELEC/LibreELEC.tv · GitHub and it works (snapcast & Snapserver). The only issue is that the server is connected to my TV and i cannot hear the audio as it is piping to "PULSE: Snapserver" which does not pipe to HDMI...
Any sugesstions?
-
Hello Thanks for the great work.
For some reason Librespot is not playing on any of my snapclients.. I have test all clients using mopidy server and they do work.. So its not my snapclients..
My snapserver seems to be working as i see when i start it, my clients receive data..
Librespot works as i can use it to stream music from my phone to libreelec.. It seems that (after digging) Librespot is not piping audio to the sink file...
snapclient log:
Code
Display More2020-04-02 15-04-35 [Notice] Connected to 192.168.4.30 2020-04-02 15-04-35 [Info] My MAC: "0e:f3:b2:40:25:d1", socket: 6 2020-04-02 15-04-35 [Info] ServerSettings - buffer: 1000, latency: 0, volume: 100, muted: 0 metadata:{"STREAM":"AirPlay"} 2020-04-02 15-04-35 [Info] Codec: flac 2020-04-02 15-04-35 [Notice] sampleformat: 44100:16:2 2020-04-02 15-04-35 [Info] frames: 1323 2020-04-02 15-04-35 [Info] Last time sync older than a minute. Clearing time buffer 2020-04-02 15-04-35 [Info] Last time sync older than a minute. Clearing time buffer 2020-04-02 15-04-35 [Info] Failed to get chunk 2020-04-02 15-04-35 [Info] age > 200: -972 2020-04-02 15-04-35 [Info] sleep < -bufferDuration/2: -972 < -15, sleep: -972 2020-04-02 15-04-35 [Info] sleep < -bufferDuration/2: -972 < -15, sleep: -942 2020-04-02 15-04-35 [Info] sleep < -bufferDuration/2: -942 < -15, sleep: -912 2020-04-02 15-04-35 [Info] sleep < -bufferDuration/2: -912 < -15, sleep: -882 2020-04-02 15-04-35 [Info] sleep < -bufferDuration/2: -882 < -15, sleep: -852
snapserver log:
Code
Display Moreose:~ # pactl list sinks Sink #1 State: SUSPENDED Name: librespot_sink Description: Null Output Driver: module-null-sink.c Sample Specification: s16le 2ch 44100Hz Channel Map: front-left,front-right Owner Module: 15 Mute: no Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB balance 0.00 Base Volume: 65536 / 100% / 0.00 dB Monitor Source: librespot_sink.monitor Latency: 0 usec, configured 0 usec Flags: DECIBEL_VOLUME LATENCY Properties: device.description = "Null Output" device.class = "abstract" device.icon_name = "audio-card" Formats: pcm Sink #2 State: SUSPENDED Name: Snapserver Description: Snapserver Driver: module-pipe-sink.c Sample Specification: s16le 2ch 48000Hz Channel Map: front-left,front-right Owner Module: 17 Mute: no Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB balance 0.00 Base Volume: 65536 / 100% / 0.00 dB Monitor Source: Snapserver.monitor Latency: 0 usec, configured 0 usec Flags: DECIBEL_VOLUME LATENCY Properties: device.string = "/tmp/snapkodi"
Please let me know if you need any further logs etc.
-
Any news on the 4K resolution issues?