You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
907 B

From 97c5a5fbc27452ee5970f9c7be946d3819a79d05 Mon Sep 17 00:00:00 2001
From: Karlchen <k_straussberger@netzland.net>
Date: Sat, 26 Feb 2022 23:32:42 +0100
Subject: [PATCH] Fix playlist parser error
closes #2463
---
src/content/scripting/playlist_parser_script.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/src/content/scripting/playlist_parser_script.cc
+++ b/src/content/scripting/playlist_parser_script.cc
@@ -218,8 +218,8 @@ void PlaylistParserScript::processPlayli
auto item = std::static_pointer_cast<CdsItem>(obj);
log_debug("Checking playlist {} ...", obj->getLocation().string());
+ GrbFile file(item->getLocation());
if (item->getMimeType() != MIME_TYPE_ASX_PLAYLIST) {
- GrbFile file(item->getLocation());
currentHandle = file.open("r");
} else {
pugi::xml_parse_result result = xmlDoc->load_file(item->getLocation().c_str());