Skip to content

Commit

Permalink
Merge pull request #7335 from pymedusa/release/release-0.3.6
Browse files Browse the repository at this point in the history
Release/release 0.3.6
  • Loading branch information
medariox authored Nov 11, 2019
2 parents baad1e5 + b855fff commit 80b323e
Show file tree
Hide file tree
Showing 143 changed files with 5,730 additions and 9,796 deletions.
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
## 0.3.6 (2019-11-11)

#### New Features
- Added notifier for Discord (discordapp.com) ([#7189](https://github.com/pymedusa/Medusa/pull/7189))

#### Improvements
- Shows without any episodes can now be added ([#6977](https://github.com/pymedusa/Medusa/pull/6977))
- Vueified displayShow ([#6709](https://github.com/pymedusa/Medusa/pull/6709))
- New subtitles search UI component
- Direct toggle of show options on displayShow page like the checks for Subtitles, Season Folders, Paused, etc.
- Mark episodes as "watched"
- Added pagination
- Added search field, that searches columns like Title, File and Episode number
- Added ability to use custom domain for TorrentDay provider ([#7326](https://github.com/pymedusa/Medusa/pull/7326))

#### Fixes
- Fixed AnimeBytes daily search, for multi-ep results ([#7190](https://github.com/pymedusa/Medusa/pull/7190))
- Fixed rare UnicodeDecodeError when parsing titles with Python 2.7 ([#7192](https://github.com/pymedusa/Medusa/pull/7192))
- Fixed displayShow loading of large shows with many seasons e.g. daily shows ([#6977](https://github.com/pymedusa/Medusa/pull/6977))
- Fixed torrent checker for client Transmission running on python 3 ([#7250](https://github.com/pymedusa/Medusa/pull/7250))
- Fixed provider beyond-hd due to added captcha and layout changes ([#7323](https://github.com/pymedusa/Medusa/pull/7323))
- Fixed provider bj-share due to layout changes ([#7250](https://github.com/pymedusa/Medusa/pull/7250))
- Fixed provider btdb due date format change in layout ([#7250](https://github.com/pymedusa/Medusa/pull/7250))
- Fixed exception when there is no anime XML ([#7256](https://github.com/pymedusa/Medusa/pull/7256))
- Fixed BTDB manual search & updated Xthor domain ([#7303](https://github.com/pymedusa/Medusa/pull/7303))
- Fixed duplicate manual search results for providers without unqiue URLs ([#7305](https://github.com/pymedusa/Medusa/pull/7305))
- Fixed exception when release groups aren't available for anime shows ([#7333](https://github.com/pymedusa/Medusa/pull/7333))

-----

## 0.3.5 (2019-09-08)

#### New Features
Expand Down
3 changes: 3 additions & 0 deletions ext/adba/aniDBtvDBmaper.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ def get_anidb_for_tvdb(self, tvdb_id):

def _get_x_for_y(self, xValue, x, y):
# print("searching "+x+" with the value "+str(xValue)+" and want to give back "+y)
if not self.xmlMap:
return 0

x_value = str(xValue)
for anime in self.xmlMap.findall("anime"):
try:
Expand Down
2 changes: 1 addition & 1 deletion ext/readme.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## ext
Folder | Package | Version / Commit | Usage | Notes
:----: | :-----: | :--------------: | :---- | :----
ext | `adba` | pymedusa/[112c04b](https://github.com/pymedusa/adba/tree/112c04b50d318802b4a0c7924f8e26aaf9e60a5b) | **`medusa`** | -
ext | `adba` | pymedusa/[6efeff3](https://github.com/pymedusa/adba/tree/6efeff3a6bdcb6d45a4a79f424939ade2930e5f0) | **`medusa`** | -
ext | <code><b>appdirs</b>.py</code> | [1.4.3](https://pypi.org/project/appdirs/1.4.3/) | `simpleanidb`, `subliminal` (cli only) | -
ext | `attrs` | [18.2.0](https://pypi.org/project/attrs/18.2.0/) | `imdbpie` | Module: `attr`
ext | `babelfish` | [f403000](https://github.com/Diaoul/babelfish/tree/f403000dd63092cfaaae80be9f309fd85c7f20c9) | **`medusa`**, `guessit`, `knowit`, `subliminal` | -
Expand Down
19 changes: 17 additions & 2 deletions medusa/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -745,6 +745,15 @@ def initialize(self, console_logging=True):
app.TELEGRAM_ID = check_setting_str(app.CFG, 'Telegram', 'telegram_id', '', censor_log='normal')
app.TELEGRAM_APIKEY = check_setting_str(app.CFG, 'Telegram', 'telegram_apikey', '', censor_log='low')

app.USE_DISCORD = bool(check_setting_int(app.CFG, 'Discord', 'use_discord', 0))
app.DISCORD_NOTIFY_ONSNATCH = bool(check_setting_int(app.CFG, 'Discord', 'discord_notify_onsnatch', 0))
app.DISCORD_NOTIFY_ONDOWNLOAD = bool(
check_setting_int(app.CFG, 'Discord', 'discord_notify_ondownload', 0))
app.DISCORD_NOTIFY_ONSUBTITLEDOWNLOAD = bool(
check_setting_int(app.CFG, 'Discord', 'discord_notify_onsubtitledownload', 0))
app.DISCORD_WEBHOOK = check_setting_str(app.CFG, 'Discord', 'discord_webhook', '', censor_log='normal')
app.DISCORD_TTS = check_setting_bool(app.CFG, 'Discord', 'discord_tts', 0)

app.USE_PROWL = bool(check_setting_int(app.CFG, 'Prowl', 'use_prowl', 0))
app.PROWL_NOTIFY_ONSNATCH = bool(check_setting_int(app.CFG, 'Prowl', 'prowl_notify_onsnatch', 0))
app.PROWL_NOTIFY_ONDOWNLOAD = bool(check_setting_int(app.CFG, 'Prowl', 'prowl_notify_ondownload', 0))
Expand Down Expand Up @@ -961,7 +970,6 @@ def initialize(self, console_logging=True):
app.TIMEZONE_DISPLAY = check_setting_str(app.CFG, 'GUI', 'timezone_display', 'local')
app.POSTER_SORTBY = check_setting_str(app.CFG, 'GUI', 'poster_sortby', 'name')
app.POSTER_SORTDIR = check_setting_int(app.CFG, 'GUI', 'poster_sortdir', 1)
app.DISPLAY_ALL_SEASONS = bool(check_setting_int(app.CFG, 'General', 'display_all_seasons', 1))
app.RECENTLY_DELETED = set()
app.RELEASES_IN_PP = []
app.GIT_REMOTE_BRANCHES = []
Expand Down Expand Up @@ -1593,7 +1601,6 @@ def save_config():
new_config['General']['no_restart'] = int(app.NO_RESTART)
new_config['General']['developer'] = int(app.DEVELOPER)
new_config['General']['python_version'] = app.PYTHON_VERSION
new_config['General']['display_all_seasons'] = int(app.DISPLAY_ALL_SEASONS)
new_config['General']['news_last_read'] = app.NEWS_LAST_READ
new_config['General']['broken_providers'] = helpers.get_broken_providers() or app.BROKEN_PROVIDERS
new_config['General']['selected_root'] = int(app.SELECTED_ROOT)
Expand Down Expand Up @@ -1755,6 +1762,14 @@ def save_config():
new_config['Telegram']['telegram_id'] = app.TELEGRAM_ID
new_config['Telegram']['telegram_apikey'] = app.TELEGRAM_APIKEY

new_config['Discord'] = {}
new_config['Discord']['use_discord'] = int(app.USE_DISCORD)
new_config['Discord']['discord_notify_onsnatch'] = int(app.DISCORD_NOTIFY_ONSNATCH)
new_config['Discord']['discord_notify_ondownload'] = int(app.DISCORD_NOTIFY_ONDOWNLOAD)
new_config['Discord']['discord_notify_onsubtitledownload'] = int(app.DISCORD_NOTIFY_ONSUBTITLEDOWNLOAD)
new_config['Discord']['discord_webhook'] = app.DISCORD_WEBHOOK
new_config['Discord']['discord_tts'] = int(app.DISCORD_TTS)

new_config['Prowl'] = {}
new_config['Prowl']['use_prowl'] = int(app.USE_PROWL)
new_config['Prowl']['prowl_notify_onsnatch'] = int(app.PROWL_NOTIFY_ONSNATCH)
Expand Down
10 changes: 9 additions & 1 deletion medusa/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ def __init__(self):
self.SORT_ARTICLE = False
self.DEBUG = False
self.DBDEBUG = False
self.DISPLAY_ALL_SEASONS = True
self.DEFAULT_PAGE = 'home'
self.SEEDERS_LEECHERS_IN_NOTIFY = True
self.SHOW_LIST_ORDER = ['Anime', 'Series']
Expand Down Expand Up @@ -392,6 +391,15 @@ def __init__(self):
self.TELEGRAM_ID = ''
self.TELEGRAM_APIKEY = ''

self.USE_DISCORD = False
self.DISCORD_NOTIFY_ONSNATCH = False
self.DISCORD_NOTIFY_ONDOWNLOAD = False
self.DISCORD_NOTIFY_ONSUBTITLEDOWNLOAD = False
self.DISCORD_WEBHOOK = None
self.DISCORD_NAME = 'pymedusa'
self.DISCORD_AVATAR_URL = '{base_url}/images/ico/favicon-144.png'.format(base_url=self.BASE_PYMEDUSA_URL)
self.DISCORD_TTS = False

self.USE_PROWL = False
self.PROWL_NOTIFY_ONSNATCH = False
self.PROWL_NOTIFY_ONDOWNLOAD = False
Expand Down
Loading

0 comments on commit 80b323e

Please sign in to comment.