permit the use of the SickGear (and Legacy SickBeard) API
+permit the use of the SickGear (and legacy SickBeard) API
@@ -505,10 +505,22 @@ diff --git a/gui/slick/js/apibuilder.js b/gui/slick/js/apibuilder.js index 527fb26..abd1e26 100644 --- a/gui/slick/js/apibuilder.js +++ b/gui/slick/js/apibuilder.js @@ -26,7 +26,7 @@ function goListGroup(apikey, L8, L7, L6, L5, L4, L3, L2, L1){ }); // handle the show.getposter / show.getbanner differently as they return an image and not json - if (L1 == "?cmd=sg.getnetworkicon" || L1 == "?cmd=sg.show.getposter" || L1 == "?cmd=sg.show.getbanner" || L1 == "?cmd=show.getposter" || L1 == "?cmd=show.getbanner" || L1 == "?cmd=sg.getindexericon") { + if (L1 == "?cmd=sg.getnetworkicon" || L1 == "?cmd=sg.show.getposter" || L1 == "?cmd=sg.show.getbanner" || L1 == "?cmd=show.getposter" || L1 == "?cmd=show.getbanner" || L1 == "?cmd=sg.getindexericon" || L1 == "?cmd=sg.show.getfanart") { var imgcache = sbRoot + "/api/" + apikey + "/" + L1 + L2 + GlobalOptions; var html = imgcache + 'for all features use SickGear API Command: %s
" % help['SickGearCommand'] + sg_cmd_new = self._get_old_command(command_class=v) + sg_cmd = '' + if sg_cmd_new: + sg_cmd = 'for all features use SickGear API Command: %s
" % sg_cmd_new if "desc" in help: if is_old_command: - table_sickbeard_commands += '