attempting to play media from an add-on won't work if something is already playing
#1
And it's even worse: it stops the current playback without playing the selected add-on media. This is happening with internet radio and soundcloud add-ons. Haven't tried others.
In the debug logs i see these two patterns:

Code:

working:
===========
2023-01-02 22:43:04.746 T:9096    DEBUG <general>: CCurlFile::Open - File <https://stream.srg-ssr.ch/m/rsj/mp3_128> is a shoutcast stream. Re-opening
2023-01-02 22:43:04.746 T:9096    DEBUG <general>: File::Open - redirecting implementation for https://stream.srg-ssr.ch/m/rsj/mp3_128
2023-01-02 22:43:04.747 T:9096    DEBUG <general>: Curl::Debug - TEXT: Closing connection 1
2023-01-02 22:43:04.747 T:9096    DEBUG <general>: Curl::Debug - SSL_DATA_OUT:
2023-01-02 22:43:04.747 T:9096    DEBUG <general>: Curl::Debug - TEXT: TLSv1.2 (OUT), TLS alert, close notify (256):
2023-01-02 22:43:04.747 T:9096    DEBUG <general>: Curl::Debug - SSL_DATA_OUT:
2023-01-02 22:43:04.750 T:9096    DEBUG <general>: CurlFile::ParseAndCorrectUrl() adding custom header option 'Icy-MetaData: 1'
2023-01-02 22:43:04.750 T:9096    DEBUG <general>: CurlFile::Open(0x9fe14868) https://stream.srg-ssr.ch/m/rsj/mp3_128
2023-01-02 22:43:04.751 T:9096    DEBUG <general>: Curl::Debug - TEXT: Hostname stream.srg-ssr.ch was found in DNS cache

Code:

not working (internet radio was already playing; attempting to play it again stopped the playback):
===========
2023-01-02 22:38:19.808 T:8445    DEBUG <general>: CCurlFile::Open - File <https://stream.srg-ssr.ch/m/rsj/mp3_128> is a shoutcast stream. Re-opening
2023-01-02 22:38:19.808 T:8445    DEBUG <general>: Curl::Debug - TEXT: Closing connection 9
2023-01-02 22:38:19.808 T:8445    DEBUG <general>: Curl::Debug - SSL_DATA_OUT:
2023-01-02 22:38:19.808 T:8445    DEBUG <general>: Curl::Debug - TEXT: TLSv1.2 (OUT), TLS alert, close notify (256):
2023-01-02 22:38:19.808 T:8445    DEBUG <general>: Curl::Debug - SSL_DATA_OUT:
2023-01-02 22:38:19.811 T:8445    DEBUG <general>: CFileCache::Open - <https://stream.srg-ssr.ch/m/rsj/mp3_128> opening
2023-01-02 22:38:19.812 T:8445    DEBUG <general>: CurlFile::Open(0xa1c5fde8) https://stream.srg-ssr.ch/m/rsj/mp3_128
2023-01-02 22:38:19.812 T:8445    DEBUG <general>: Curl::Debug - TEXT: Hostname stream.srg-ssr.ch was found in DNS cache

There's no error. It just stops the playback and that's it. Why is this happening? Could it be that the cache is getting in the way somehow?
Reply

Logout Mark Read Team Forum Stats Members Help
attempting to play media from an add-on won't work if something is already playing0