Quellcode durchsuchen

Add audiospace to list of unsupported cards

Zed vor 4 Jahren
Ursprung
Commit
f5ba2b62e7
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/parser.nim

+ 1 - 1
src/parser.nim

@@ -190,7 +190,7 @@ proc parseCard(js: JsonNode; urls: JsonNode): Card =
     result.url = vals{"player_url"}.getStrVal
     if "youtube.com" in result.url:
       result.url = result.url.replace("/embed/", "/watch?v=")
-  of unified, unknown:
+  of audiospace, unified, unknown:
     result.title = "This card type is not supported."
   else: discard