Tobias Conradi 9 лет назад
Родитель
Сommit
5c69e3922d
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      SharedSources/ServerBrowsing/Plex/VLCNetworkServerBrowserPlex.m

+ 3 - 1
SharedSources/ServerBrowsing/Plex/VLCNetworkServerBrowserPlex.m

@@ -171,7 +171,9 @@
             } else {
                 keyPath = keyValue;
             }
-            urlPath = [baseURL URLByAppendingPathComponent:keyPath].absoluteString;
+            if (keyPath) {
+                urlPath = [baseURL URLByAppendingPathComponent:keyPath].absoluteString;
+            }
         } else {
             urlPath = dictionary[@"keyMedia"];
         }