Commit 4ae55c14 authored by schreibfaul1's avatar schreibfaul1

fetch new playlist before the old one is empty #645

parent 5043901a
......@@ -3,8 +3,8 @@
*
* Created on: Oct 26.2018
*
* Version 3.0.8e
* Updated on: Jan 04.2024
* Version 3.0.8f
* Updated on: Jan 10.2024
* Author: Wolle (schreibfaul1)
*
*/
......@@ -2594,7 +2594,7 @@ const char* Audio::parsePlaylist_M3U8() {
vector_clear_and_shrink(m_playlistContent); // clear after reading everything, m_playlistContent.size is now 0
}
if(m_playlistURL.size() > 0) {
if(m_playlistURL.size() > 1) {
if(m_playlistBuff) {free(m_playlistBuff); m_playlistBuff = NULL;}
if(m_playlistURL[m_playlistURL.size() - 1]) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment