Commit 5d2d284d authored by echel0n's avatar echel0n

Merge branch 'migrate/py3' of https://git.sickrage.ca/SiCKRAGE/sickrage into migrate/py3

# Conflicts:
#	requirements-dev.txt
#	requirements.txt
#	sickrage/__init__.py
#	sickrage/autoProcessTV/__init__.py
#	sickrage/autoProcessTV/hellaToSiCKRAGE.py
#	sickrage/clients/__init__.py
#	sickrage/clients/deluge.py
#	sickrage/clients/deluged.py
#	sickrage/clients/download_station.py
#	sickrage/clients/mlnet.py
#	sickrage/clients/putio.py
#	sickrage/clients/qbittorrent.py
#	sickrage/clients/rtorrent.py
#	sickrage/clients/sabnzbd.py
#	sickrage/clients/transmission.py
#	sickrage/clients/utorrent.py
#	sickrage/core/__init__.py
#	sickrage/core/api/__init__.py
#	sickrage/core/blackandwhitelist.py
#	sickrage/core/caches/quicksearch_cache.py
#	sickrage/core/caches/tv_cache.py
#	sickrage/core/classes.py
#	sickrage/core/config.py
#	sickrage/core/databases/__init__.py
#	sickrage/core/databases/cache/__init__.py
#	sickrage/core/databases/main/__init__.py
#	sickrage/core/exceptions/__init__.py
#	sickrage/core/helpers/__init__.py
#	sickrage/core/helpers/browser.py
#	sickrage/core/helpers/compat.py
#	sickrage/core/helpers/metadata.py
#	sickrage/core/helpers/show_names.py
#	sickrage/core/helpers/srdatetime.py
#	sickrage/core/imdb_popular.py
#	sickrage/core/logger.py
#	sickrage/core/media/banner.py
#	sickrage/core/media/fanart.py
#	sickrage/core/media/network.py
#	sickrage/core/media/poster.py
#	sickrage/core/media/util.py
#	sickrage/core/nameparser/__init__.py
#	sickrage/core/nameparser/episode.py
#	sickrage/core/nameparser/show.py
#	sickrage/core/nameparser/validator.py
#	sickrage/core/process_tv.py
#	sickrage/core/processors/auto_postprocessor.py
#	sickrage/core/processors/failed_processor.py
#	sickrage/core/processors/post_processor.py
#	sickrage/core/queues/event.py
#	sickrage/core/queues/search.py
#	sickrage/core/queues/show.py
#	sickrage/core/scene_exceptions.py
#	sickrage/core/scene_numbering.py
#	sickrage/core/search.py
#	sickrage/core/searchers/__init__.py
#	sickrage/core/searchers/backlog_searcher.py
#	sickrage/core/searchers/daily_searcher.py
#	sickrage/core/searchers/failed_snatch_searcher.py
#	sickrage/core/searchers/proper_searcher.py
#	sickrage/core/searchers/subtitle_searcher.py
#	sickrage/core/searchers/trakt_searcher.py
#	sickrage/core/tv/episode/__init__.py
#	sickrage/core/tv/show/__init__.py
#	sickrage/core/tv/show/coming_episodes.py
#	sickrage/core/tv/show/history.py
#	sickrage/core/ui.py
#	sickrage/core/updaters/show_updater.py
#	sickrage/core/updaters/tz_updater.py
#	sickrage/core/version_updater.py
#	sickrage/core/webserver/__init__.py
#	sickrage/core/webserver/api.py
#	sickrage/core/webserver/routes.py
#	sickrage/core/webserver/views.py
#	sickrage/indexers/__init__.py
#	sickrage/indexers/config.py
#	sickrage/indexers/thetvdb/api.py
#	sickrage/libs/fanart/__init__.py
#	sickrage/libs/fanart/errors.py
#	sickrage/libs/fanart/immutable.py
#	sickrage/libs/fanart/items.py
#	sickrage/libs/fanart/movie.py
#	sickrage/libs/fanart/music.py
#	sickrage/libs/fanart/tv.py
#	sickrage/libs/upnpclient/__init__.py
#	sickrage/libs/upnpclient/errors.py
#	sickrage/libs/upnpclient/marshal.py
#	sickrage/libs/upnpclient/soap.py
#	sickrage/libs/upnpclient/ssdp.py
#	sickrage/libs/upnpclient/upnp.py
#	sickrage/libs/upnpclient/util.py
#	sickrage/metadata/kodi.py
#	sickrage/metadata/kodi_12plus.py
#	sickrage/metadata/mede8er.py
#	sickrage/metadata/mediabrowser.py
#	sickrage/metadata/ps3.py
#	sickrage/metadata/tivo.py
#	sickrage/metadata/wdtv.py
#	sickrage/notifiers/boxcar2.py
#	sickrage/notifiers/discord.py
#	sickrage/notifiers/emailnotify.py
#	sickrage/notifiers/freemobile.py
#	sickrage/notifiers/growl.py
#	sickrage/notifiers/join.py
#	sickrage/notifiers/libnotify.py
#	sickrage/notifiers/nma.py
#	sickrage/notifiers/pushbullet.py
#	sickrage/notifiers/slack.py
#	sickrage/notifiers/synoindex.py
#	sickrage/notifiers/synology.py
#	sickrage/notifiers/telegram.py
#	sickrage/notifiers/trakt.py
#	sickrage/notifiers/tweet.py
#	sickrage/notifiers/twilio_notifer.py
#	sickrage/providers/__init__.py
#	sickrage/providers/nzb/anizb.py
#	sickrage/providers/nzb/binsearch.py
#	sickrage/providers/torrent/abnormal.py
#	sickrage/providers/torrent/alpharatio.py
#	sickrage/providers/torrent/archetorrent.py
#	sickrage/providers/torrent/bitcannon.py
#	sickrage/providers/torrent/bitsoup.py
#	sickrage/providers/torrent/btn.py
#	sickrage/providers/torrent/danishbits.py
#	sickrage/providers/torrent/elitetorrent.py
#	sickrage/providers/torrent/filelist.py
#	sickrage/providers/torrent/hd4free.py
#	sickrage/providers/torrent/hdbits.py
#	sickrage/providers/torrent/hdspace.py
#	sickrage/providers/torrent/hdtorrents.py
#	sickrage/providers/torrent/horriblesubs.py
#	sickrage/providers/torrent/hounddawgs.py
#	sickrage/providers/torrent/immortalseed.py
#	sickrage/providers/torrent/iptorrents.py
#	sickrage/providers/torrent/limetorrents.py
#	sickrage/providers/torrent/morethantv.py
#	sickrage/providers/torrent/ncore.py
#	sickrage/providers/torrent/nebulance.py
#	sickrage/providers/torrent/newpct.py
#	sickrage/providers/torrent/norbits.py
#	sickrage/providers/torrent/nyaatorrents.py
#	sickrage/providers/torrent/pretome.py
#	sickrage/providers/torrent/rarbg.py
#	sickrage/providers/torrent/scenetime.py
#	sickrage/providers/torrent/shazbat.py
#	sickrage/providers/torrent/skytorrents.py
#	sickrage/providers/torrent/thepiratebay.py
#	sickrage/providers/torrent/tntvillage.py
#	sickrage/providers/torrent/tokyotoshokan.py
#	sickrage/providers/torrent/torrentbytes.py
#	sickrage/providers/torrent/torrentday.py
#	sickrage/providers/torrent/torrentleech.py
#	sickrage/providers/torrent/torrentproject.py
#	sickrage/providers/torrent/torrentz.py
#	sickrage/providers/torrent/tvchaosuk.py
#	sickrage/providers/torrent/xthor.py
#	sickrage/providers/torrent/yggtorrent.py
#	sickrage/providers/torrent/zooqle.py
#	sickrage/subtitles/__init__.py
#	sickrage/subtitles/providers/itasa.py
#	sickrage/subtitles/providers/utils.py
#	tests/__init__.py
#	tests/test_common.py
#	tests/test_config.py
#	tests/test_helpers.py
parents 7f5696f9 19708c3c
......@@ -2,20 +2,20 @@
# Author: echel0n <[email protected]>
# URL: https://sickrage.ca
#
# This file is part of SickRage.
# This file is part of SiCKRAGE.
#
# SickRage is free software: you can redistribute it and/or modify
# SiCKRAGE is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# SickRage is distributed in the hope that it will be useful,
# SiCKRAGE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with SickRage. If not, see <http://www.gnu.org/licenses/>.
# along with SiCKRAGE. If not, see <http://www.gnu.org/licenses/>.
import os
......
......@@ -4305,12 +4305,14 @@
"balanced-match": {
"version": "1.0.0",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"brace-expansion": {
"version": "1.1.11",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
......@@ -4325,17 +4327,20 @@
"code-point-at": {
"version": "1.1.0",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"concat-map": {
"version": "0.0.1",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"console-control-strings": {
"version": "1.1.0",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"core-util-is": {
"version": "1.0.2",
......@@ -4452,7 +4457,8 @@
"inherits": {
"version": "2.0.3",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"ini": {
"version": "1.3.5",
......@@ -4464,6 +4470,7 @@
"version": "1.0.0",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"number-is-nan": "^1.0.0"
}
......@@ -4478,6 +4485,7 @@
"version": "3.0.4",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"brace-expansion": "^1.1.7"
}
......@@ -4485,12 +4493,14 @@
"minimist": {
"version": "0.0.8",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"minipass": {
"version": "2.2.4",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"safe-buffer": "^5.1.1",
"yallist": "^3.0.0"
......@@ -4509,6 +4519,7 @@
"version": "0.5.1",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"minimist": "0.0.8"
}
......@@ -4589,7 +4600,8 @@
"number-is-nan": {
"version": "1.0.1",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"object-assign": {
"version": "4.1.1",
......@@ -4601,6 +4613,7 @@
"version": "1.4.0",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"wrappy": "1"
}
......@@ -4722,6 +4735,7 @@
"version": "1.0.2",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"code-point-at": "^1.0.0",
"is-fullwidth-code-point": "^1.0.0",
......
......@@ -2,4 +2,5 @@ twine
crowdin-cli-py
babel
wheel
tox
\ No newline at end of file
tox
vcr_unittest
\ No newline at end of file
......@@ -47,4 +47,5 @@ lxml
ipaddress
psutil
cffi
sqlalchemy
\ No newline at end of file
sqlalchemy
cryptography
\ No newline at end of file
# Author: echel0n <[email protected]>
# URL: https://sickrage.ca
#
# This file is part of SickRage.
# This file is part of SiCKRAGE.
#
# SickRage is free software: you can redistribute it and/or modify
# SiCKRAGE is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# SickRage is distributed in the hope that it will be useful,
# SiCKRAGE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with SickRage. If not, see <http://www.gnu.org/licenses/>.
# along with SiCKRAGE. If not, see <http://www.gnu.org/licenses/>.
......
# Author: echel0n <[email protected]>
# URL: https://sickrage.ca
#
# This file is part of SickRage.
# This file is part of SiCKRAGE.
#
# SickRage is free software: you can redistribute it and/or modify
# SiCKRAGE is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# SickRage is distributed in the hope that it will be useful,
# SiCKRAGE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with SickRage. If not, see <http://www.gnu.org/licenses/>.
# along with SiCKRAGE. If not, see <http://www.gnu.org/licenses/>.
......@@ -2,7 +2,7 @@
# Author: echel0n <[email protected]>
# URL: https://sickrage.ca
#
# This file is part of SickRage.
# This file is part of SiCKRAGE.
#
# SiCKRAGE is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
......@@ -15,7 +15,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with SickRage. If not, see <http://www.gnu.org/licenses/>.
# along with SiCKRAGE. If not, see <http://www.gnu.org/licenses/>.
import os.path
......
......@@ -2,20 +2,20 @@
# Author: echel0n <[email protected]>
# URL: https://sickrage.ca
#
# This file is part of SickRage.
# This file is part of SiCKRAGE.
#
# SickRage is free software: you can redistribute it and/or modify
# SiCKRAGE is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# SickRage is distributed in the hope that it will be useful,
# SiCKRAGE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with SickRage. If not, see <http://www.gnu.org/licenses/>.
# along with SiCKRAGE. If not, see <http://www.gnu.org/licenses/>.
......
......@@ -2,20 +2,20 @@
# Author: echel0n <[email protected]>
# URL: https://sickrage.ca
#
# This file is part of SickRage.
# This file is part of SiCKRAGE.
#
# SickRage is free software: you can redistribute it and/or modify
# SiCKRAGE is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# SickRage is distributed in the hope that it will be useful,
# SiCKRAGE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with SickRage. If not, see <http://www.gnu.org/licenses/>.
# along with SiCKRAGE. If not, see <http://www.gnu.org/licenses/>.
import logging
......
......@@ -2,20 +2,20 @@
# Author: echel0n <[email protected]>
# URL: https://sickrage.ca
#
# This file is part of SickRage.
# This file is part of SiCKRAGE.
#
# SickRage is free software: you can redistribute it and/or modify
# SiCKRAGE is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# SickRage is distributed in the hope that it will be useful,
# SiCKRAGE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with SickRage. If not, see <http://www.gnu.org/licenses/>.
# along with SiCKRAGE. If not, see <http://www.gnu.org/licenses/>.
import sys
......
# Author: echel0n <[email protected]>
# URL: https://sickrage.ca
#
# This file is part of SickRage.
# This file is part of SiCKRAGE.
#
# SickRage is free software: you can redistribute it and/or modify
# SiCKRAGE is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# SickRage is distributed in the hope that it will be useful,
# SiCKRAGE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with SickRage. If not, see <http://www.gnu.org/licenses/>.
# along with SiCKRAGE. If not, see <http://www.gnu.org/licenses/>.
......
# Author: echel0n <[email protected]>
# URL: https://sickrage.ca
#
# This file is part of SickRage.
# This file is part of SiCKRAGE.
#
# SickRage is free software: you can redistribute it and/or modify
# SiCKRAGE is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# SickRage is distributed in the hope that it will be useful,
# SiCKRAGE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with SickRage. If not, see <http://www.gnu.org/licenses/>.
# along with SiCKRAGE. If not, see <http://www.gnu.org/licenses/>.
......
# Author: echel0n <[email protected]>
# URL: https://sickrage.ca
#
# This file is part of SickRage.
# This file is part of SiCKRAGE.
#
# SickRage is free software: you can redistribute it and/or modify
# SiCKRAGE is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# SickRage is distributed in the hope that it will be useful,
# SiCKRAGE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with SickRage. If not, see <http://www.gnu.org/licenses/>.
# along with SiCKRAGE. If not, see <http://www.gnu.org/licenses/>.
......
# Author: echel0n <[email protected]>
# URL: https://sickrage.ca
#
# This file is part of SickRage.
# This file is part of SiCKRAGE.
#
# SickRage is free software: you can redistribute it and/or modify
# SiCKRAGE is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# SickRage is distributed in the hope that it will be useful,
# SiCKRAGE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with SickRage. If not, see <http://www.gnu.org/licenses/>.
# along with SiCKRAGE. If not, see <http://www.gnu.org/licenses/>.
......
# Author: echel0n <[email protected]>
# URL: https://sickrage.ca
#
# This file is part of SickRage.
# This file is part of SiCKRAGE.
#
# SickRage is free software: you can redistribute it and/or modify
# SiCKRAGE is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# SickRage is distributed in the hope that it will be useful,
# SiCKRAGE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with SickRage. If not, see <http://www.gnu.org/licenses/>.
# along with SiCKRAGE. If not, see <http://www.gnu.org/licenses/>.
......
......@@ -2,20 +2,20 @@
# URL: https://sickrage.ca
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage.git
#
# This file is part of SickRage.
# This file is part of SiCKRAGE.
#
# SickRage is free software: you can redistribute it and/or modify
# SiCKRAGE is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# SickRage is distributed in the hope that it will be useful,
# SiCKRAGE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with SickRage. If not, see <http://www.gnu.org/licenses/>.
# along with SiCKRAGE. If not, see <http://www.gnu.org/licenses/>.
from base64 import standard_b64encode
......
# Author: echel0n <[email protected]>
# URL: https://sickrage.ca
#
# This file is part of SickRage.
# This file is part of SiCKRAGE.
#
# SickRage is free software: you can redistribute it and/or modify
# SiCKRAGE is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# SickRage is distributed in the hope that it will be useful,
# SiCKRAGE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with SickRage. If not, see <http://www.gnu.org/licenses/>.
# along with SiCKRAGE. If not, see <http://www.gnu.org/licenses/>.
......
# Author: Mr_Orange <[email protected]>
# URL: https://sickrage.ca
#
# This file is part of SickRage.
# This file is part of SiCKRAGE.
#
# SickRage is free software: you can redistribute it and/or modify
# SiCKRAGE is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# SickRage is distributed in the hope that it will be useful,
# SiCKRAGE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with SickRage. If not, see <http://www.gnu.org/licenses/>.
# along with SiCKRAGE. If not, see <http://www.gnu.org/licenses/>.
......
# Author: jkaberg <[email protected]>, based on fuzemans work (https://github.com/RuudBurger/CouchPotatoServer/blob/develop/couchpotato/core/downloaders/rtorrent/main.py)
# URL: https://sickrage.ca
#
# This file is part of SickRage.
# This file is part of SiCKRAGE.
#
# SickRage is free software: you can redistribute it and/or modify
# SiCKRAGE is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# SickRage is distributed in the hope that it will be useful,
# SiCKRAGE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with SickRage. If not, see <http://www.gnu.org/licenses/>.
# along with SiCKRAGE. If not, see <http://www.gnu.org/licenses/>.
......
......@@ -2,20 +2,20 @@
# URL: https://sickrage.ca
# Git: https://git.sickrage.ca/SiCKRAGE/sickrage
#
# This file is part of SickRage.
# This file is part of SiCKRAGE.
#
# SickRage is free software: you can redistribute it and/or modify
# SiCKRAGE is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# SickRage is distributed in the hope that it will be useful,
# SiCKRAGE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with SickRage. If not, see <http://www.gnu.org/licenses/>.
# along with SiCKRAGE. If not, see <http://www.gnu.org/licenses/>.
......
# Author: Mr_Orange <[email protected]>
# URL: https://sickrage.ca
#
# This file is part of SickRage.
# This file is part of SiCKRAGE.
#
# SickRage is free software: you can redistribute it and/or modify
# SiCKRAGE is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# SickRage is distributed in the hope that it will be useful,
# SiCKRAGE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with SickRage. If not, see <http://www.gnu.org/licenses/>.
# along with SiCKRAGE. If not, see <http://www.gnu.org/licenses/>.
......
# Authors: Mr_Orange <[email protected]>, EchelonFour
# URL: https://sickrage.ca
#
# This file is part of SickRage.
# This file is part of SiCKRAGE.
#
# SickRage is free software: you can redistribute it and/or modify
# SiCKRAGE is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# SickRage is distributed in the hope that it will be useful,
# SiCKRAGE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with SickRage. If not, see <http://www.gnu.org/licenses/>.
# along with SiCKRAGE. If not, see <http://www.gnu.org/licenses/>.
......
# Author: echel0n <[email protected]>
# URL: https://sickrage.ca
#
# This file is part of SickRage.
# This file is part of SiCKRAGE.
#
# SickRage is free software: you can redistribute it and/or modify
# SiCKRAGE is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# SickRage is distributed in the hope that it will be useful,
# SiCKRAGE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with SickRage. If not, see <http://www.gnu.org/licenses/>.
# along with SiCKRAGE. If not, see <http://www.gnu.org/licenses/>.
import datetime
......@@ -38,13 +38,12 @@ from keycloak.realm import KeycloakRealm
from tornado.ioloop import IOLoop
import sickrage
from sickrage.core.api import API
from sickrage.core.caches.name_cache import NameCache
from sickrage.core.caches.quicksearch_cache import QuicksearchCache
from sickrage.core.common import SD, SKIPPED, WANTED
from sickrage.core.config import Config
from sickrage.core.helpers import findCertainShow, generate_secret, makeDir, get_lan_ip, restoreSR, \
getDiskSpaceUsage, getFreeSpace, launch_browser, torrent_webui_url
getDiskSpaceUsage, getFreeSpace, launch_browser, torrent_webui_url, encryption
from sickrage.core.logger import Logger
from sickrage.core.nameparser.validator import check_force_season_folders
from sickrage.core.processors import auto_postprocessor
......@@ -85,6 +84,7 @@ class Core(object):
except Exception:
self.tz = tz.tzlocal()
self.private_key = None
self.config_file = None
self.data_dir = None
self.cache_dir = None
......@@ -208,6 +208,12 @@ class Core(object):
helpers.move_file(os.path.abspath(os.path.join(self.data_dir, 'sickbeard.db')),
os.path.abspath(os.path.join(self.data_dir, 'sickrage.db')))
# init private key
self.private_key = encryption.load_key()