2020-10-05, 16:31
(2020-09-15, 19:31)kriznik Wrote: I have exactly same issue when playing from LMS it stops after 2-3seconds
and in log a lot of demuxers
Code:2020-09-15 12:43:02.751 T:139637611808512 NOTICE: plugin.audio.squeezebox --> play started by lms server
2020-09-15 12:43:02.998 T:139637628593920 ERROR: Init: Error creating demuxer
2020-09-15 12:43:03.031 T:139637628593920 NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder pcm_s16le
2020-09-15 12:43:03.163 T:139638178051840 NOTICE: PulseAudio: Opened device Default in pcm mode with Buffersize 150 ms
just to head up for anyone who needs to solve this issue:
(tested on libreelec and regular kodi on linux machine as well)
you need to do two edits:
1:
.kodi/addons/plugin.audio.squeezebox/resources/lib/player_monitor.py
comment this section
Code:
def onPlayBackStopped(self):
'''Kodi event fired when playback is stopped'''
if self.is_playing:
self.lmsserver.stop()
log_msg("playback stopped")
self.is_playing = False
2:
.kodi/addons/plugin.audio.squeezebox/resources/lib/main_service.py
Code:
elif self.lmsserver.status["title"] != xbmc.getInfoLabel("MusicPlayer.Title").decode("utf-8")
Code:
elif self.lmsserver.status["title"].strip() != xbmc.getInfoLabel("MusicPlayer.Title").decode("utf-8")
it still throws demuxer errors into log, but playback is not interrupted and everything works!