From 9a3e7ab0a97eebcc165f38ab5249316401bb92b7 Mon Sep 17 00:00:00 2001 From: echel0n Date: Sun, 25 May 2014 23:29:22 -0700 Subject: [PATCH] Added anime support with anidb support. Added fanzub anime nzb provider. Fixed NyaaTorrents anime provider. This is in testing phase so bugs are to be expected. --- gui/slick/images/providers/anidb.gif | Bin 0 -> 1080 bytes gui/slick/images/providers/fanzub.gif | Bin 0 -> 1406 bytes gui/slick/images/providers/nyaatorrents.png | Bin 0 -> 3715 bytes .../interfaces/default/config_anime.tmpl | 103 + .../default/config_postProcessing.tmpl | 36 + gui/slick/interfaces/default/displayShow.tmpl | 100 +- gui/slick/interfaces/default/editShow.tmpl | 4 + .../default/inc_addShowOptions.tmpl | 8 + gui/slick/interfaces/default/inc_top.tmpl | 1 + gui/slick/js/configPostProcessing.js | 2 +- gui/slick/js/sceneExceptionsTooltip.js | 39 + lib/adba/__init__.py | 796 + lib/adba/aniDBAbstracter.py | 293 + lib/adba/aniDBcommands.py | 388 + lib/adba/aniDBerrors.py | 37 + lib/adba/aniDBfileInfo.py | 75 + lib/adba/aniDBlink.py | 218 + lib/adba/aniDBmaper.py | 138 + lib/adba/aniDBresponses.py | 1856 + lib/adba/aniDBtvDBmaper.py | 65 + lib/adba/anime-list.xml | 5250 ++ lib/adba/animetitles.xml | 49439 ++++++++++++++++ lib/tvrage_api/tvrage_api.py | 2 +- sickbeard/__init__.py | 45 +- sickbeard/common.py | 27 +- sickbeard/config.py | 2 +- sickbeard/databases/cache_db.py | 66 +- sickbeard/databases/mainDB.py | 49 +- sickbeard/db.py | 9 +- sickbeard/exceptions.py | 7 +- sickbeard/helpers.py | 116 +- sickbeard/name_parser/parser.py | 246 +- sickbeard/name_parser/regexes.py | 179 +- sickbeard/naming.py | 19 +- sickbeard/notifiers/boxcar.py | 2 +- sickbeard/notifiers/boxcar2.py | 2 +- sickbeard/notifiers/pushover.py | 6 +- sickbeard/notifiers/pytivo.py | 4 +- sickbeard/postProcessor.py | 79 +- sickbeard/properFinder.py | 11 +- sickbeard/providers/__init__.py | 6 +- sickbeard/providers/dtt.py | 2 +- sickbeard/providers/ezrss.py | 2 +- sickbeard/providers/fanzub.py | 151 + sickbeard/providers/generic.py | 11 +- sickbeard/providers/hdtorrents.py | 2 +- sickbeard/providers/iptorrents.py | 4 +- sickbeard/providers/kat.py | 4 +- sickbeard/providers/newzbin.py | 2 +- sickbeard/providers/newznab.py | 25 +- sickbeard/providers/nextgen.py | 4 +- sickbeard/providers/nyaatorrents.py | 11 +- sickbeard/providers/omgwtfnzbs.py | 2 +- sickbeard/providers/publichd.py | 4 +- sickbeard/providers/scc.py | 4 +- sickbeard/providers/speedcd.py | 4 +- sickbeard/providers/thepiratebay.py | 4 +- sickbeard/providers/torrentday.py | 4 +- sickbeard/providers/torrentleech.py | 4 +- sickbeard/scene_exceptions.py | 169 +- sickbeard/scene_numbering.py | 137 +- sickbeard/search.py | 36 +- sickbeard/show_name_helpers.py | 113 +- sickbeard/show_queue.py | 11 +- sickbeard/tv.py | 83 +- sickbeard/tvcache.py | 4 +- sickbeard/webserve.py | 142 +- tests/test_lib.py | 2 +- 68 files changed, 60236 insertions(+), 430 deletions(-) create mode 100644 gui/slick/images/providers/anidb.gif create mode 100644 gui/slick/images/providers/fanzub.gif create mode 100644 gui/slick/images/providers/nyaatorrents.png create mode 100644 gui/slick/interfaces/default/config_anime.tmpl create mode 100644 gui/slick/js/sceneExceptionsTooltip.js create mode 100644 lib/adba/__init__.py create mode 100644 lib/adba/aniDBAbstracter.py create mode 100644 lib/adba/aniDBcommands.py create mode 100644 lib/adba/aniDBerrors.py create mode 100644 lib/adba/aniDBfileInfo.py create mode 100644 lib/adba/aniDBlink.py create mode 100644 lib/adba/aniDBmaper.py create mode 100644 lib/adba/aniDBresponses.py create mode 100644 lib/adba/aniDBtvDBmaper.py create mode 100644 lib/adba/anime-list.xml create mode 100644 lib/adba/animetitles.xml create mode 100644 sickbeard/providers/fanzub.py diff --git a/gui/slick/images/providers/anidb.gif b/gui/slick/images/providers/anidb.gif new file mode 100644 index 0000000000000000000000000000000000000000..c87ccaa322859e03e3341cd11094c27991876acc GIT binary patch literal 1080 zcmZ?wbhEHb6krfw_|5H|U>z1XfOAryA={GqaxNXgw`7Y}$;a)90+1p=mrLH+|OZ zWwYk2oIP#n>=`rXO=_9HXx$!RdwKESt6TqH zod5sf@&Au^|Nr^~P8!3XQ2fcl$-uCgK?mejP@Z7m_|LG|AyMcl$K*!$1tAlao_b8y z;OepXRIGGip{m-vmWN5p1s2!}?Amf^@evU<6=peD;~58YwubWcJfw| zV~Cakvqr&+&z@6ngsm{^O;mh%s*91+X9lBaG(|M^i%D8Qp=u*S{`0@v`zfQq<% literal 0 HcmV?d00001 diff --git a/gui/slick/images/providers/fanzub.gif b/gui/slick/images/providers/fanzub.gif new file mode 100644 index 0000000000000000000000000000000000000000..2a930b1b4cf607ec2795a96206c589fe2b40edf7 GIT binary patch literal 1406 zcmZQzU<5(|0R}M0U}azs1F|%L7$l?s#Ec9aKoZP=&}i&zH+hEry%7kxQPyY(jE2C- z3;`w}02UdH3=Cif1CRqML4XLz0&zeXnGX_x@Ie|ufC*V1Y#ypSL=_Gas1#-%*e-&6 zkW(3f0B9}P}DHl literal 0 HcmV?d00001 diff --git a/gui/slick/images/providers/nyaatorrents.png b/gui/slick/images/providers/nyaatorrents.png new file mode 100644 index 0000000000000000000000000000000000000000..d122990c9809cac0e8fb2fc9b6d1ab4a634f37cf GIT binary patch literal 3715 zcmV-}4t(*6P)4Tx05}naRo`#hR1`jmZ&IWdKOk5~hl<6oRa0BJ8yc;~21%2p?MfD<>DVeH z9(p*dx19w`~g7O0}n_%Aq@s%d)fBDv`JHkDym6Hd+5XuAtvnwRpGmK zVkc9?T=n|PIo~X-eVh__(Z?q}P9Z-Dj?gOW6|D%o20XmjW-qs4UjrD(li^iv8@eK9k+ZFm zVRFymFOPAzG5-%Pn|1W;U4vNroTa&AxDScmEA~{ri9gr1^c?U@uwSpaNnw8l_>cP1 zd;)kMQ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f+)!{3MdQ>yEi8>|yC)2k_Ro-w7o zc##7T%;E0~@Ium2UiJU(4S*b5Y)=5MS4}7XVU<^DlOeU+;>roi3vj7>4s0>u)q_5uI}-uX>24C~o2tTx+dm<*L6I0Z3IpAQbO%0p`DE3(QG z&E=kmxr5h5c-bCe03HFMGXQn8<^0$(;T8!L93=HU#fK;x&|;_Cnj>C~FFroPay||7 z)BvbJ5Kq^(GXN-1^ihrxaz3|GfLOp}EZ07oL{I6D(T&|Hx{b#Rsj9%rD zmGXlq!M<703xKG#`jQb`0tf~Y;aI0;v$header +#else +

$title

+#end if + + + +
+
+ +
+ +
+ +
+
+

AniDB AniDB

+

AniDB is non-profit database of anime information that is freely open to the public

+
+ +
+
+ + +
+ +
+
+ + +
+ +
+ + +
+
+ + +
+
+ +
+ +
+
+ +
+

Look and Feel

+
+
+
+ + +
+ +
+
+

+ +
+ +
+ + +
+
+ +#include $os.path.join($sickbeard.PROG_DIR, "gui/slick/interfaces/default/inc_bottom.tmpl") diff --git a/gui/slick/interfaces/default/config_postProcessing.tmpl b/gui/slick/interfaces/default/config_postProcessing.tmpl index 39522cf5..34fd83a3 100644 --- a/gui/slick/interfaces/default/config_postProcessing.tmpl +++ b/gui/slick/interfaces/default/config_postProcessing.tmpl @@ -467,6 +467,42 @@
+
+ + + +
+ +
+ + + +
+ +
+ + + +
+