2017-06-16, 21:23
(2017-06-16, 15:43)Fjux Wrote: 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?
Yeah, I came to the same conclusion. For now I stripped the local playback from the Connect daemon. I can eventually make it a setting toggle to enable it again.
Instead I just monitor the events the connect player is receiving and I launch the Kodi player with the track that was requested.
The source for the audio is just the official Spotify servers but it's requested with an unofficial SDK (librespot), the same logic that is used by standalone Spotify Connect devices, for example wifi speakers, sonos etc.
I've just reproduced the issue with the sudden track changes and that will be fixed in the next release.
I'm still a bit struggling with the question why Kodi sometimes refuses to play, as also indicated by a few logs posted here.
I'm guessing that if it takes too long before the stream starts, Kodi ends the connection or something.