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

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