Kodi Community Forum

Full Version: Audio stops after playing for random time - V17.6 - Full log available
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello All

Log file is available at paste.ubuntu.com/26337328

This is my first posting so please pardon me if this has been answered already. I searched through the postings and couldn't come up with a solution.

I am streaming music from my local collection in a Kodi server served by a Rasberry Pi hardware.

The song I was playing has a duration of 59.04 minutes.

When the client plays the music, the music continues for about 37 minutes and then the music stops. The application does not crash.

While looking through the uploaded log, I see the following lines printed repeatedly
xml:
20:10:23.136 T:548182946896 DEBUG: UPnP: Building didl for object 'http://192.168.1.95:1203/%25/036932DBB8C8000107DF31504C561893/Tanjore%2520S%2520Kalyanaraman%2520%2520RTP%2520%2520Ragam%2520Kharaharapriya.mp3'...
CCurlFile::FillBuffer - Reconnect, (re)try 1
20:17:05.155 T:547679736912 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)

...
20:47:29.565 T:547679736912 INFO: CFileCache:Tonguerocess - Source read didn't return any data! Hit eof(?)
20:47:31.287 T:547353261136 INFO: PAPlayer:TonguerocessStream - Stream Finished
Can some one point me to some help/suggestion to solve this problem?
Thank you very much for your help and time.

Regards
Sriram

Hello All
I repeated the experiment with keeping the tablet screen cover open. I was able to fully play the music. The log file is available at
paste.ubuntu.com/26337809

So to play the music, I have to keep the cover of the tablet keep open so that the device doesn't go into sleep/power-save mode? It is weird that I am able to play 35 minutes of music before the app shuts down when the screen cover is closed....

Thanks for your help and time.

Regards
Sriram

Hello All
I did a few experiments to see whether I can correct the problem but no avail.

1. I made sure Kodi client in the Android tablet is not optimized - can use as much power as needed

2. I wanted to avoid too short timeout time so I added the following to the advancedsettings.xml

<advancedsettings>
    <curlclienttimeout>
        30
    </curlclienttimeout>
</advancedsettings>

3. I just wanted to make sure that another client can play the music with power saving (cover closed) and I had no problem with the other client.

So it appears to be a problem (at least for me) that one can't close the cover of a tablet and continue playing the music. 

If there is something else I can try, please post the suggestion. Thank you all for your time and help.

Regards
Sriram