2017-06-16, 15:43
(2017-06-15, 22:28)marcelveldt Wrote:(2017-06-15, 22:07)Fjux Wrote: there is no way to get librespot to output it to kodi? or perhaps through a loopback audio device?
Yes, there is and that's what I use for the local playback. In that case I just pass the raw pcm audio to kodi and add some wave headers to it.
In case of Connect playback I can't tell when the stream is started or not. Librespot will just be outputting audio because someone told it to do so.
Offcourse I can work around that and buffer the audio so the Kodi player can pick it up but that let me to more trouble.
Long story short, for now I thought that outputting the connect stream directly to the sound card was the best option.
In the meanwhile I will keep checking for other options.
The loopback audio device sounds interesting...
i googled around a bit. but it might be harder then i initially thought.
As far as i know Kodi has no default support for audio inputs. except streaming to pusle audio.
the only thing i could think of letting the local system stream the audio to the DLNA of kodi (all localhost) and then play it through kodi.
https://wiki.archlinux.org/index.php/Pul...o/Examples
but i think you will get some issues then with showing the correct songs ect.
PS. i noticed that the songs sometimes stop playing, and it suddently skips to the next song.
In the log from kodi i only see a next song requested log row. though i did not press any button. where is the spotty lib streaming the songs from? is a different source (IE mobile or PC) streaming it to spotty, or is it streaming directly from the spotify servers?