MediaPortal Version: 1.2.2
Description
When playing web-radio stream from www.sverigesradio.se, it seems like it takes around 8 secs for the server to respond to the stream request. At least it does in my setup with a squid proxy etc. However, the BASS player is set to timeout after 5 secs, and the stream won't play. Actually, the default of BASS library is 5 secs, and it is not changed in MP code.
To change the timeout to 15 secs, in BassAudio.cs add the line
before
Steps to Reproduce:
Make sure you are using BASS engine for your playback.
Create a m3u-file containing only the line
http://http-live.sr.se/p3-aac-192
Play the file in MP music section, and the timeout will occur.
This happens every time on my setup, but needs to be confirmed on other setups as well.
Description
When playing web-radio stream from www.sverigesradio.se, it seems like it takes around 8 secs for the server to respond to the stream request. At least it does in my setup with a squid proxy etc. However, the BASS player is set to timeout after 5 secs, and the stream won't play. Actually, the default of BASS library is 5 secs, and it is not changed in MP code.
To change the timeout to 15 secs, in BassAudio.cs add the line
Code:
Bass.BASS_SetConfig(BASSConfig.BASS_CONFIG_NET_TIMEOUT, 15000);
Code:
stream = Bass.BASS_StreamCreateURL(filePath, 0, streamFlags, null, IntPtr.Zero);
Steps to Reproduce:
Make sure you are using BASS engine for your playback.
Create a m3u-file containing only the line
http://http-live.sr.se/p3-aac-192
Play the file in MP music section, and the timeout will occur.
This happens every time on my setup, but needs to be confirmed on other setups as well.