ChanServ changed the topic of #libreelec to: [ LibreELEC Support Channel ~ current release: (Leia) 9.2.6 ~ No discussion/support for piracy addons/services ~ Log: https://freenode.irclog.whitequark.org/libreelec ]
shibboleth has quit [Quit: shibboleth]
Turmoil has joined #libreelec
turm01l has quit [Ping timeout: 260 seconds]
Turmoil is now known as turm01l
kriger has quit [Read error: Connection timed out]
tsal_ has quit [Ping timeout: 252 seconds]
tsal has joined #libreelec
_xor has quit [Quit: brb]
_xor has joined #libreelec
buzzmarshall has joined #libreelec
buzzmarshall has quit [Remote host closed the connection]
buzzmarshall has joined #libreelec
buzzmarshall has quit [Remote host closed the connection]
Gittun has joined #libreelec
r0bert has quit [Quit: 11:56:06 [cuddlyPlatypus] i get my kicks off interracial midget bondage, but that's just me]
r0bert has joined #libreelec
lolek has quit [Quit: Leaving.]
lolek has joined #libreelec
Fischerfredl has joined #libreelec
Fischerfredl has quit [Excess Flood]
jab has joined #libreelec
xe` has quit [Quit: Quit]
xe` has joined #libreelec
speeedy has quit [Remote host closed the connection]
speeedy has joined #libreelec
ghostcube has joined #libreelec
Fenster has quit [Ping timeout: 240 seconds]
chewitt has quit [Quit: Zzz..]
kriger has joined #libreelec
fraggle_laptop has quit [Ping timeout: 240 seconds]
chewitt has joined #libreelec
Fenster has joined #libreelec
mkreisl has quit [Read error: Connection reset by peer]
mkreisl has joined #libreelec
Gittun has quit [*.net *.split]
moufl has quit [*.net *.split]
Gittun has joined #libreelec
moufl has joined #libreelec
tsal has quit [Ping timeout: 265 seconds]
tsal has joined #libreelec
ThreeM has quit [Remote host closed the connection]
mkreisl has quit [Ping timeout: 260 seconds]
mkreisl has joined #libreelec
kriger has quit [Read error: Connection timed out]
buzzmarshall has joined #libreelec
pauljw has quit [Quit: Leaving]
<evert1> hmm, I keep on struggling with sending audio over network with kodi (although on core-elec in stead of libre-elec). When I start from clean slate and just do it in from cli like the wiki it works. Trying to commit it to config doesn't seem to work, I've not managed to make it persist a reboot
<evert1> which is so odd, my kde based desktop uses the same pulse sink and that works flawless
psymin has joined #libreelec
<lrusak> To or from ?
<evert1> from kodi to a (dedicated) pulse server in the network
<evert1> I think I need to load the zeroconf-discover first
<lrusak> That Module should be the only one you need to send audio
<lrusak> Or you could just load the tunnel-sink directly
<evert1> how do you mean?
<evert1> I also don't understand where it could cache things. Currently I have the sink visible and as default, but it's not working. And somehow I get some of this bad state persisting after a reboot
<evert1> I tried in config/autostart.sh to have just a line to load the discover module and one to set my (known) sink as default
<lrusak> Well the zeroconf module will just load a tunnel sink if it finds another pulse server
<evert1> without loading it, it won't show me the tunnel sink?
<lrusak> So what’s the actual problem?
<evert1> and is using autostart fine for this, or will it still require a kodi restart (like doing it manual?)
<lrusak> You don’t need to restart Kodi
<lrusak> Not for a tunnel sink
<evert1> I think there are multiple problems: I don't fully understand how the pulse network stuff works, but I got it working just using the zeroconf, setting correct tunnel and restarting kodi service. Actual problem is I have no idea how to persist it after a reboot, adding the same manual steps to autostart.sh doesn't give the correct result
<lrusak> You shouldn’t have to restart kodi
<evert1> lrusak: https://wiki.libreelec.tv/configuration/pulseaudio#network-sending this wiki says to start/stop kodi, so it's not needed?
<lrusak> And make sure that when autostart.ah runs that pulse is started already
<evert1> how do I verify/check that?
<lrusak> I wrote the wiki article a long time ago. It’s not very clear about what restarting Kodi does, but in this case you don’t need to
<lrusak> You can maybe check pactl info to see if the pulse server is tuning
<lrusak> * You can maybe check pactl info to see if the pulse server is running
<evert1> if I don't load the zeroconf module, I can't see any tunnel sinks in pactl list short sink
<lrusak> Correct
<evert1> (so it gives an error when trying to add one as default)
<lrusak> Ah, well the zeroconf module may take a bit to find the sinks
<lrusak> So you may need to wait till the sink is available before making it the default
<evert1> maybe let's rephrase my question: in what config file would you add this configuration?
<evert1> because maybe the autostart.sh is not the best solution to start? :)
<lrusak> there isn’t really anywhere else
<evert1> so adding some sleep in the autostart.sh between loading zeroconf and making the tunnel default?
<lrusak> But you probably don’t need to set the default sink anyways. Pulse should switch to the new sink when it’s added
<evert1> that would blow my mind after struggling with this for so long (with intermittent tries to get it working)
<evert1> thanks a lot for your help, I'll try it again later tonight with the new information (it's difficult to test, because I'm unable to turn the screen with kodi on currently to change the audio settings and play something)
<evert1> if just adding 'pactl load-module module-zeroconf-discover' to the autostart.sh file will make it work, that would be amazing
lolek has quit [Quit: Leaving.]
pragmaticenigma has joined #libreelec
Fischerfredl has joined #libreelec
ThreeM has joined #libreelec
ThreeM has quit [Client Quit]
ThreeM has joined #libreelec
|Jeroen| has joined #libreelec
ThreeM has quit [Quit: Im quit]
ThreeM has joined #libreelec
<evert1> lrusak: just having loaded the discover module will show the tunnel via ssh/cli, but it's not an option in kodi UI as audio output device
gouchi has joined #libreelec
<lrusak> it doesn't have to be
<lrusak> you can just set kodi to use the pulseaudio default device
<lrusak> and check your default device using "pactl info"
<evert1> oh, it never clicked that that could even work
<evert1> because it's worder 'pulse: default, bluetooth audio' so I thought it was something BT
<lrusak> yeaaaa, we do that because it's really just to let people know that if they are using a bluetooth headset they need to use that device
<lrusak> but it's just a name
<evert1> ok, great progress :)
<evert1> I did have to set a default sink, because the one it selected by default is the wrong one :(
<evert1> awesome. Reboot and it works! You have no idea how happy that makes me!
<evert1> pactl load-module module-zeroconf-discover
<evert1> sleep 2
<evert1> pactl set-default-sink tunnel.pulse.local.alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo
<evert1> this is the contents of autostart.sh, I think the extra sleep helped (and knowing I can just select the pulse output in kodi ui)
<lrusak> you could also just create the tunnel-sink manually, that way you don't have to worry about other sinks being added
<evert1> would you be able to point me to documentation for this?
<lrusak> especially if you know the IP of the pulse server you want to send to
<evert1> yeah, the pulse server is static (ip/hostname)
<lrusak> the pulse docs are a bit out of date, but this can get you going, https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#module-tunnel-sink-new
<lrusak> if you look at pactl list modules short, it should show that module being used already
<lrusak> and the properties that are set
<evert1> yeah, it shows that module with the server ip and other options
<evert1> so a pactl load-module module-tunnel-sink-new server=[ip]:port sink=alsa_output.. would do the trick?
<lrusak> yea, it should
<lrusak> you can unload the module that is already loaded with `pactl unload-module <module-#>`
TheTrash has joined #libreelec
speeedy has quit [*.net *.split]
EuroTrash has quit [*.net *.split]
LossAngeles has quit [*.net *.split]
LossAngeles has joined #libreelec
_abbenormal has quit [Ping timeout: 240 seconds]
tsal has quit [Ping timeout: 240 seconds]
<evert1> hmm, little odd
<evert1> not working with the sink-new module from autostart, but when I copy/paste that line it does.
tsal has joined #libreelec
_abbenormal has joined #libreelec
Tobbi has joined #libreelec
<lrusak> define not working?
<evert1> see the paste of what happens after a fresh reboot
<evert1> the tunnel is not in the list of sinks, after running autostart.sh manually it suddenly is (and audio works)
<lrusak> could be the network isn't ready yet
<evert1> hmm, I added 2 seconds sleep in there, maybe some more?
<evert1> that did the trick indeed, going from 5 to 10s sleep
<lrusak> or just use `connmand-wait-online --timeout=30`
<lrusak> or `wait-time-sync --timeout 30`
<lrusak> that way you don't have to just guess with `sleep`
<evert1> I never heard of conmand-wait-online, from what package/utility is that?
<lrusak> connmand is the network manager that LibreELEC uses
pragmaticenigma has quit [Quit: Leaving]
<evert1> awesome, the conmand-wait-online --timeout=30 works perfect
<evert1> thank you so much for the help lrusak!
<lrusak> cheers
<evert1> lrusak: just wondering, currently
<evert1> my pulseaudio server is on 24/7, but I'd like to make the / ro and only turn it on when actually needing it (saving a few watt idle power usage). How will this setup react to it when I start my kodi box before the pulse server? Will it try reconnecting until it's available?
<lrusak> probably not
<lrusak> in that case maybe the zeroconf route is better, but then you don't really have control of which device to select (if there is more than one)
<evert1> that's too bad, but given the fact that the zeroconf selects the wrong sink that's not helping either (or I need to make sure on the pa server I only expose the 'good' sink)
<evert1> sadly my amplifier doesn't have a power outlet either (that would be so handy for something like this)
<lrusak> you could write a script I guess to poll for an IP and add the sink then, but that's not very nice
<evert1> i'll have to test it first to see what happens and then ponder about solutions (or just accept the quick kodi reboot)
<lrusak> unfortunately we patch kodi to only show the one pulseaudio device, otherwise kodi would enumerate all pulse sinks and allow you to select one specifically
ghostcube has quit [Quit: Verlassend]
gouchi has quit [Remote host closed the connection]
gouchi has joined #libreelec
Fischerfredl has quit [Quit: Fischerfredl]
|Jeroen| has quit [Quit: dada]
chbmb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
chbmb has joined #libreelec
shibboleth has joined #libreelec
_fraggle_ has joined #libreelec
Fenster has quit [Ping timeout: 265 seconds]
lolek has joined #libreelec
jab has quit [Ping timeout: 268 seconds]
gouchi has quit [Remote host closed the connection]
Fenster has joined #libreelec
Gittun has quit [Quit: ‹‹UPP››]
Tobbi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
psymin has quit [Quit: Leaving]
shibboleth has quit [Quit: shibboleth]
GreenRiot has quit [Quit: ZNC 1.7.4 - https://znc.in]
GreenRiot has joined #libreelec