internlm/SWE-Fixer-Train-110K huggingface dataset:
Repository: pymedusa/Medusa

Issue:
Search Settings dont save
**Describe the bug**
I'm here with a problem in Search Settings when I select Synology DS and save, everything works correctly until you restart the server or medusa. After restart the setting is reverted to Black Hole

In my config.ini the **torrent_method**  key is

torrent_method = downloadstation

even after rebooting

**To Reproduce**
Steps to reproduce the behavior:
1. Go to 'Search Settings'
2. Select 'Synology DS'
3. Save
4. Restart Medusa
5. Go to 'Search Settings'
6. Demo https://streamable.com/tgql1

**Expected behavior**
Search provider save


**Medusa (please complete the following information):**
 - OS: Linux-3.10.102-x86_64-with-glibc2.2.5 (SynologyOS)
 - Branch: master 
 - Commit: master 




Discussion:
So its still changed after a page reload? But not app restart? 
> So its still changed after a page reload? But not app restart?

Yes, only after restarting, it happens
Just confirmed it.
Thing is i'm already changing the code for the config - search page. And I think it's already fixed there.
https://github.com/pymedusa/Medusa/pull/5553
Ok thanks...

I'll wait for release

Thks
Ill make sure in my branch

Resolving patch:
diff --git a/medusa/__main__.py b/medusa/__main__.py
--- a/medusa/__main__.py
+++ b/medusa/__main__.py
@@ -578,7 +578,7 @@ def initialize(self, console_logging=True):
             app.NZB_METHOD = check_setting_str(app.CFG, 'General', 'nzb_method', 'blackhole', valid_values=('blackhole', 'sabnzbd', 'nzbget'))
             app.TORRENT_METHOD = check_setting_str(app.CFG, 'General', 'torrent_method', 'blackhole',
                                                    valid_values=('blackhole', 'utorrent', 'transmission', 'deluge',
-                                                                 'deluged', 'download_station', 'rtorrent', 'qbittorrent', 'mlnet'))
+                                                                 'deluged', 'downloadstation', 'rtorrent', 'qbittorrent', 'mlnet'))
 
             app.DOWNLOAD_PROPERS = bool(check_setting_int(app.CFG, 'General', 'download_propers', 1))
             app.PROPERS_SEARCH_DAYS = max(2, min(8, check_setting_int(app.CFG, 'General', 'propers_search_days', 2)))
diff --git a/medusa/server/web/manage/handler.py b/medusa/server/web/manage/handler.py
--- a/medusa/server/web/manage/handler.py
+++ b/medusa/server/web/manage/handler.py
@@ -791,7 +791,7 @@ def manageTorrents(self):
 
         if app.TORRENT_METHOD == 'utorrent':
             webui_url = '/'.join(s.strip('/') for s in (webui_url, 'gui/'))
-        if app.TORRENT_METHOD == 'download_station':
+        if app.TORRENT_METHOD == 'downloadstation':
             if helpers.check_url('{url}download/'.format(url=webui_url)):
                 webui_url += 'download/'
             else:


Test patch:
Repository: pymedusa/Medusa

Issue:
Banners missing for TV Maze
I've noticed that series indexed from TV maze often lack banners.
I have manually found banners, renamed them and put then in the correct folder:
/Medusa/cache/images/tvmaze
And all is fine - for a while, then the banner disappers. 
I repeat the above exercise and the same happens all over again.
So the banner files I create are being deleted.
I've just tried again and this time made the file read only to see if this works.

Not a biggie but reporting anyway.

Branch: master Commit: 54da0c77d705a23f1ce67945ba4af3e1b978dcfc Version: v0.2.13 Database: 44.12
--
Python Version: | 2.7.9 (default, Sep 26 2018, 00:51:08) [GCC 4.9.2]
SSL Version: | OpenSSL 1.0.1t 3 May 2016
OS: | Linux-4.9.61+-armv7l-with-debian-8.11
Locale: | en_GB.UTF-8


 


Discussion:
*edit:* never mind that doesn't work
Hmm. I think this should be requested as a feature request, where we rebuild banner from metadata if exists.

Can you enable kodi metadata in postprocessing and check the show banner. Then add banner.jpg to the shows folder? 

Resolving patch:
diff --git a/medusa/image_cache.py b/medusa/image_cache.py
--- a/medusa/image_cache.py
+++ b/medusa/image_cache.py
@@ -301,8 +301,8 @@ def fill_cache(series_obj):
                 log.debug('Checking {provider.name} metadata for {img}',
                           {'provider': provider, 'img': IMAGE_TYPES[img_type]})
 
-                if os.path.isfile(provider.get_poster_path(series_obj)):
-                    path = provider.get_poster_path(series_obj)
+                path = provider.get_image_path(series_obj, img_type)
+                if os.path.isfile(path):
                     filename = os.path.abspath(path)
                     file_type = which_type(filename)
 
diff --git a/medusa/metadata/generic.py b/medusa/metadata/generic.py
--- a/medusa/metadata/generic.py
+++ b/medusa/metadata/generic.py
@@ -35,6 +35,12 @@
 log = BraceAdapter(logging.getLogger(__name__))
 log.logger.addHandler(logging.NullHandler())
 
+BANNER = 1
+POSTER = 2
+BANNER_THUMB = 3
+POSTER_THUMB = 4
+FANART = 5
+
 
 class GenericMetadata(object):
     """
@@ -173,6 +179,16 @@ def get_poster_path(self, show_obj):
     def get_banner_path(self, show_obj):
         return os.path.join(show_obj.location, self.banner_name)
 
+    def get_image_path(self, show_obj, image_type):
+        """Based on the image_type (banner, poster, fanart) call the correct method, and return the path."""
+        banner_path = {
+            BANNER: self.get_banner_path,
+            POSTER: self.get_poster_path,
+            FANART: self.get_fanart_path
+        }
+        if banner_path.get(image_type):
+            return banner_path[image_type](show_obj)
+
     @staticmethod
     def get_episode_thumb_path(ep_obj):
         """


Test patch:
Repository: pymedusa/Medusa

Issue:
LimeTorrents address needs to be updated
**Describe the bug**
Not really a bug but an updated is required for the address.
I'm getting Status: 301 errors (meaning site has moved) as shown below:
SEARCHQUEUE-DAILY-SEARCH :: [LimeTorrents] :: [54da0c7] GET URL: https://www.limetorrents.cc/browse-torrents/TV-shows/ [Status: 301]

I believe the new address is https://www.limetorrents.info

Because it's a built-in provider I can't seem to change it.

Could this be updated in a future commit?

Thanks

**To Reproduce**
Steps to reproduce the behavior:
1. Go to 'http://localhost:8081/errorlogs/viewlog/?min_level=10&log_filter=None&log_period=one_day&log_search=status%3A%20301'
4. See error

**Screenshots**
If applicable, add screenshots to help explain your problem.
![image](https://user-images.githubusercontent.com/314932/49688479-7fdefc00-fad8-11e8-90c8-4d023965fcf4.png)


**Medusa (please complete the following information):**
 - OS: WIndows 10
 - Branch: master
 - Commit: 54da0c77d705a23f1ce67945ba4af3e1b978dcfc 

**Logs:**
<details>

```
<-- Please replace this whole line with your logs -->
```
</details>

**Additional context**
Add any other context about the problem here.



Discussion:

Resolving patch:
diff --git a/medusa/providers/torrent/html/limetorrents.py b/medusa/providers/torrent/html/limetorrents.py
--- a/medusa/providers/torrent/html/limetorrents.py
+++ b/medusa/providers/torrent/html/limetorrents.py
@@ -36,7 +36,7 @@ def __init__(self):
         self.public = True
 
         # URLs
-        self.url = 'https://www.limetorrents.cc'
+        self.url = 'https://www.limetorrents.info'
         self.urls = {
             'update': urljoin(self.url, '/post/updatestats.php'),
             'search': urljoin(self.url, '/search/tv/{query}/'),


Test patch:
Repository: pymedusa/Medusa

Issue:
[APP SUBMITTED]: BraceException: Failed to create symlink of {source} at {destination}. Error: {error!r}. Copying instead

### INFO
**Python Version**: `2.7.15 (default, May 26 2018, 01:11:09) [GCC 4.2.1 Compatible FreeBSD Clang 4.0.0 (tags/RELEASE_400/final 297347)]`
**Operating System**: `FreeBSD-11.2-STABLE-amd64-64bit-ELF`
**Locale**: `None`
**Branch**: [master](../tree/master)
**Database**: `44.12`
**Commit**: pymedusa/Medusa@54da0c77d705a23f1ce67945ba4af3e1b978dcfc
**Link to Log**: https://gist.github.com/dc2dd557633d63aaa5e2a4839fc8113c
### ERROR
<pre>
2018-12-10 17:47:23 ERROR    POSTPROCESSOR :: [54da0c7] BraceMessage string formatting failed. Using representation instead.
Traceback (most recent call last):
  File "/usr/local/medusa/<a href="../blob/54da0c77d705a23f1ce67945ba4af3e1b978dcfc/medusa/logger/adapters/style.py#L53">medusa/logger/adapters/style.py</a>", line 53, in __str__
    return self.msg.format(*args)
KeyError: u'source'
Traceback (most recent call last):
  File "/usr/local/medusa/<a href="../blob/54da0c77d705a23f1ce67945ba4af3e1b978dcfc/medusa/logger/adapters/style.py#L60">medusa/logger/adapters/style.py</a>", line 60, in __str__
    raise BraceException(self.msg)
BraceException: Failed to create symlink of {source} at {destination}. Error: {error!r}. Copying instead
</pre>
---
_STAFF NOTIFIED_: @pymedusa/support @pymedusa/moderators



Discussion:

Resolving patch:
diff --git a/medusa/helpers/__init__.py b/medusa/helpers/__init__.py
--- a/medusa/helpers/__init__.py
+++ b/medusa/helpers/__init__.py
@@ -404,7 +404,7 @@ def move_and_symlink_file(src_file, dest_file):
                 u'Failed to create symlink of {source} at {destination}.'
                 u' Error: {error!r}', {
                     'source': src_file,
-                    'dest': dest_file,
+                    'destination': dest_file,
                     'error': msg,
                 }
             )
@@ -413,7 +413,7 @@ def move_and_symlink_file(src_file, dest_file):
                 u'Failed to create symlink of {source} at {destination}.'
                 u' Error: {error!r}. Copying instead', {
                     'source': src_file,
-                    'dest': dest_file,
+                    'destination': dest_file,
                     'error': msg,
                 }
             )


Test patch:
Repository: pymedusa/Medusa

Issue:
Mako Error when adding existing shows
### INFO
**Python Version**: `3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 23:09:28) [MSC v.1916 64 bit (AMD64)]`
**Operating System**: `Windows-10-10.0.17134-SP0`
**Locale**: `cp1252`
**Branch**: [develop]
**Database**: `44.14`
**Commit**: [a0fe169]
 When trying to add more then two existing shows Medusa throws a Mako error
![addshows](https://user-images.githubusercontent.com/7034303/52365450-8379fb00-2a15-11e9-99e5-2db57ee588fa.png)
![makoerror](https://user-images.githubusercontent.com/7034303/52365475-97bdf800-2a15-11e9-900e-0a921979651d.png)



Discussion:

Resolving patch:
diff --git a/medusa/server/web/home/add_shows.py b/medusa/server/web/home/add_shows.py
--- a/medusa/server/web/home/add_shows.py
+++ b/medusa/server/web/home/add_shows.py
@@ -96,6 +96,11 @@ def newShow(self, show_to_add=None, other_shows=None, search_string=None):
         elif not isinstance(other_shows, list):
             other_shows = [other_shows]
 
+        other_shows = [
+            x.decode('utf-8') if not isinstance(x, text_type) else x
+            for x in other_shows
+        ]
+
         provided_indexer_id = int(indexer_id or 0)
         provided_indexer_name = show_name
 
@@ -537,7 +542,10 @@ def addExistingShows(self, shows_to_add=None, promptForSettings=None):
         elif not isinstance(shows_to_add, list):
             shows_to_add = [shows_to_add]
 
-        shows_to_add = [text_type(x, 'utf-8') if not isinstance(x, text_type) else x for x in shows_to_add]
+        shows_to_add = [
+            x.decode('utf-8') if not isinstance(x, text_type) else x
+            for x in shows_to_add
+        ]
 
         prompt_for_settings = config.checkbox_to_value(prompt_for_settings)
 


Test patch:
Repository: pymedusa/Medusa

Issue:
[APP SUBMITTED]: BraceException: Connect Error to NZBget: could not add {file}.nzb to the queue

### INFO
**Python Version**: `2.7.15 (default, Aug 16 2018, 14:17:09) [GCC 6.4.0]`
**Operating System**: `Linux-3.10.102-x86_64-with`
**Locale**: `None`
**Branch**: [master](../tree/master)
**Database**: `44.12`
**Commit**: pymedusa/Medusa@918cfe7ce01808499585ffe6c1356fd5ed369f76
**Link to Log**: https://gist.github.com/be86404ccfa2e89b8fc547e5343851fe
### ERROR
<pre>
2019-02-03 04:04:19 ERROR    SNATCHQUEUE-SNATCH-73141 :: [918cfe7] BraceMessage string formatting failed. Using representation instead.
Traceback (most recent call last):
  File "/app/medusa/<a href="../blob/918cfe7ce01808499585ffe6c1356fd5ed369f76/medusa/logger/adapters/style.py#L53">medusa/logger/adapters/style.py</a>", line 53, in __str__
    return self.msg.format(*args)
KeyError: u'file'
Traceback (most recent call last):
  File "/app/medusa/<a href="../blob/918cfe7ce01808499585ffe6c1356fd5ed369f76/medusa/logger/adapters/style.py#L60">medusa/logger/adapters/style.py</a>", line 60, in __str__
    raise BraceException(self.msg)
BraceException: Connect Error to NZBget: could not add {file}.nzb to the queue
</pre>
---
_STAFF NOTIFIED_: @pymedusa/support @pymedusa/moderators



Discussion:

Resolving patch:
diff --git a/medusa/clients/nzb/nzbget.py b/medusa/clients/nzb/nzbget.py
--- a/medusa/clients/nzb/nzbget.py
+++ b/medusa/clients/nzb/nzbget.py
@@ -206,6 +206,6 @@ def sendNZB(nzb, proper=False):
                         {'name': nzb.name})
             return False
     except Exception:
-        log.warning('Connect Error to NZBget: could not add {file}.nzb to the'
+        log.warning('Connect Error to NZBget: could not add {name}.nzb to the'
                     ' queue', {'name': nzb.name})
         return False


Test patch:
Repository: pymedusa/Medusa

Issue:
[APP SUBMITTED]: TypeError: '<' not supported between instances of 'NoneType' and 'float'
### INFO
**Python Version**: `3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 23:09:28) [MSC v.1916 64 bit (AMD64)]`
**Operating System**: `Windows-7-6.1.7601-SP1`
**Locale**: `cp1255`
**Branch**: [develop](../tree/develop)
**Database**: `44.14`
**Commit**: pymedusa/Medusa@1c234ec968c288e8e299cc46dbbc19dd85e7355e
**Link to Log**: **No Log available**
### ERROR
<pre>
2019-02-26 08:00:24 ERROR    SHOWUPDATER :: [1c234ec] Exception generated: '<' not supported between instances of 'NoneType' and 'float'
Traceback (most recent call last):
  File "C:\Medusa\<a href="../blob/c4f7a20b184d1cb2105ae2b80d448a9769bf387e/medusa/scheduler.py#L93">medusa\scheduler.py</a>", line 93, in run
    self.action.run(self.force)
  File "C:\Medusa\<a href="../blob/c4f7a20b184d1cb2105ae2b80d448a9769bf387e/medusa/show_updater.py#L134">medusa\show_updater.py</a>", line 134, in run
    last_update < time.time() - 604800 * update_max_weeks]):
TypeError: '<' not supported between instances of 'NoneType' and 'float'
</pre>
---
_STAFF NOTIFIED_: @pymedusa/support @pymedusa/moderators



Discussion:
I think this started when I added [Space Force from TVmaze](http://www.tvmaze.com/shows/40445/space-force). All my other shows are on TVDB and I don't think I added anything from TMDB or TVmaze before.
That's something I really dislike about using any()/all(). They are much more error prone in favor of a minimal reduced syntax, so not worth it IMO.

Resolving patch:
diff --git a/medusa/show_updater.py b/medusa/show_updater.py
--- a/medusa/show_updater.py
+++ b/medusa/show_updater.py
@@ -130,8 +130,7 @@ def run(self, force=False):
 
             # These are the criteria for performing a full show refresh.
             if any([not hasattr(indexer_api, 'get_last_updated_seasons'),
-                    not last_update,
-                    last_update < time.time() - 604800 * update_max_weeks]):
+                    not last_update or last_update < time.time() - 604800 * update_max_weeks]):
                 # no entry in lastUpdate, or last update was too long ago,
                 # let's refresh the show for this indexer
                 logger.debug(u'Trying to update {show}. Your lastUpdate for {indexer_name} is older then {weeks} weeks,'


Test patch:
Repository: pymedusa/Medusa

Issue:
[APP SUBMITTED]: KeyError: u'hash'

### INFO
**Python Version**: `2.7.15 (default, Jan 24 2019, 16:32:39) [GCC 8.2.0]`
**Operating System**: `Linux-4.15.0-46-generic-x86_64-with`
**Locale**: `None`
**Branch**: [master](../tree/master)
**Database**: `44.14`
**Commit**: pymedusa/Medusa@79efa1a44d8213e4ba161945b982f027e67a0ff3
**Link to Log**: **No Log available**
### ERROR
<pre>
2019-03-17 21:26:23 ERROR    SNATCHQUEUE-SNATCH-80270 :: [79efa1a] DelugeD: Failed Sending Torrent
Traceback (most recent call last):
  File "/app/medusa/<a href="../blob/79efa1a44d8213e4ba161945b982f027e67a0ff3/medusa/clients/torrent/generic.py#L253">medusa/clients/torrent/generic.py</a>", line 253, in send_torrent
    r_code = self._add_torrent_uri(result)
  File "/app/medusa/<a href="../blob/79efa1a44d8213e4ba161945b982f027e67a0ff3/medusa/clients/torrent/deluged.py#L66">medusa/clients/torrent/deluged.py</a>", line 66, in _add_torrent_uri
    remote_torrent = self.drpc.add_torrent_magnet(result.url, options, result.hash)
  File "/app/medusa/<a href="../blob/79efa1a44d8213e4ba161945b982f027e67a0ff3/medusa/clients/torrent/deluged.py#L262">medusa/clients/torrent/deluged.py</a>", line 262, in add_torrent_magnet
    torrent_id = self._check_torrent(info_hash)
  File "/app/medusa/<a href="../blob/79efa1a44d8213e4ba161945b982f027e67a0ff3/medusa/clients/torrent/deluged.py#L411">medusa/clients/torrent/deluged.py</a>", line 411, in _check_torrent
    if torrent_id['hash']:
KeyError: u'hash'
</pre>
---
_STAFF NOTIFIED_: @pymedusa/support @pymedusa/moderators



Discussion:

Resolving patch:
diff --git a/medusa/clients/torrent/deluged.py b/medusa/clients/torrent/deluged.py
--- a/medusa/clients/torrent/deluged.py
+++ b/medusa/clients/torrent/deluged.py
@@ -408,7 +408,7 @@ def disconnect(self):
 
     def _check_torrent(self, info_hash):
         torrent_id = self.client.core.get_torrent_status(info_hash, {})
-        if torrent_id['hash']:
+        if torrent_id.get('hash'):
             log.debug('DelugeD: Torrent already exists in Deluge')
             return info_hash
         return False


Test patch:
Repository: pymedusa/Medusa

Issue:
Parse Error During Postprocessor Email Notification
**Describe the bug**
Whenever I download "Jeopardy!" Medusa snatches the show and postprocesses it correctly EXCEPT that it always generates this warning:

> WARNING  POSTPROCESSOR :: [f46bfac] Unable to parse "Jeopardy! - 2019 04 15 - Returning Champion Vs. , show # 7971 - 720p HDTV" for email notification

I suspect there's something in the showname string that it doesn't like. This is an uncommon string, with several unusual characters (such as the exclamation mark, pound sign, period, and comma), and this doesn't happen with any other show.

Normally, this wouldn't be a big deal, but it's annoying because the show airs every weekday, so it happens five times a week, 46 weeks a year.

**Medusa (please complete the following information):**
 - OS: Windows-7-6.1.7601-SP1
 - Branch: master
 - Commit:  f46bfacf8763204fbde4f26a5916095371d494d1 
</details>



Discussion:

Resolving patch:
diff --git a/medusa/notifiers/emailnotify.py b/medusa/notifiers/emailnotify.py
--- a/medusa/notifiers/emailnotify.py
+++ b/medusa/notifiers/emailnotify.py
@@ -42,7 +42,7 @@ class Notifier(object):
 
     name_pattern = re.compile(
         r'(?P<show>.+?) - '
-        r'(?P<ep_id>S?\d+[Ex]\d+( - \d{3})?|\d{3}|\d{4}-\d{2}-\d{2}) - '
+        r'(?P<ep_id>S?\d+[Ex]\d+( - \d{3})?|\d{3}|\d{4} \d{2} \d{2}) - '
         r'(?P<episode>.*)'
     )
 


Test patch:
diff --git a/tests/notifiers/test_emailnotify.py b/tests/notifiers/test_emailnotify.py
--- a/tests/notifiers/test_emailnotify.py
+++ b/tests/notifiers/test_emailnotify.py
@@ -99,26 +99,26 @@
         }
     },
     {  # p11 - [%SN - %AD - %EN] - hypen in episode name
-        'ep_name': 'Archer - 2017-08-12 - Danger Island - Disheartening Situation',
+        'ep_name': 'Archer - 2017 08 12 - Danger Island - Disheartening Situation',
         'expected': {
             'show': 'Archer',
-            'ep_id': '2017-08-12',
+            'ep_id': '2017 08 12',
             'episode': 'Danger Island - Disheartening Situation'
         }
     },
     {  # p12 - [%SN - %AD - %EN]
-        'ep_name': 'Jersey Shore Family Vacation - 2018-04-20 - Meatball Down',
+        'ep_name': 'Jersey Shore Family Vacation - 2018 04 20 - Meatball Down',
         'expected': {
             'show': 'Jersey Shore Family Vacation',
-            'ep_id': '2018-04-20',
+            'ep_id': '2018 04 20',
             'episode': 'Meatball Down'
         }
     },
     {  # p13 - [%SN - %AD - %EN] - empty episode name
-        'ep_name': 'Jersey Shore Family Vacation - 2018-04-20 - ',
+        'ep_name': 'Jersey Shore Family Vacation - 2018 04 20 - ',
         'expected': {
             'show': 'Jersey Shore Family Vacation',
-            'ep_id': '2018-04-20',
+            'ep_id': '2018 04 20',
             'episode': ''
         }
     },
Repository: pymedusa/Medusa

Issue:
[HDTorrents] Published dates swap months and days
**Describe the bug**
In the manual search the dates of HDTorrents swaps the Day and Month.

**Screenshots**
![image](https://user-images.githubusercontent.com/4103090/59507138-674a0700-8eaa-11e9-86a5-a2a8ffe1b4af.png)

On the site for this torrent
![image](https://user-images.githubusercontent.com/4103090/59548365-9619b900-8f4e-11e9-9692-435a2e404967.png)

Weird thing is that a different torrent is displayed correct
![image](https://user-images.githubusercontent.com/4103090/59548406-3079fc80-8f4f-11e9-8ee4-bba60fe0fabd.png)

On the site for this torrent
![image](https://user-images.githubusercontent.com/4103090/59548408-3b349180-8f4f-11e9-8c74-b8457f3ebafb.png)

**Medusa (please complete the following information):**

Medusa Info: | Branch: master Commit: 74c3f124fb599ad923e23f46fc320778b8b4217c Version: 0.3.4 Database: 44.14
-- | --
Python Version: | 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)]
SSL Version: | OpenSSL 1.0.2o 27 Mar 2018
OS: | Windows-10-10.0.17763
Locale: | nl_NL.cp1252


Discussion:
Another semi-related issue in this picture:
"Updated" column does not obey the "Display fuzzy dates" setting... 
Its using Europe style date format. Did you configure any localization? Or is that default for this provider?
> Its using Europe style date format. Did you configure any localization? Or is that default for this provider?

Not entirely sure, this is my profile
![image](https://user-images.githubusercontent.com/4103090/59549351-7ab5aa80-8f5c-11e9-90ac-f7f0f02f45ba.png)

It still wouldn't explain why some torrents are shown correct.

Try playing with the country / timezone settings. See if that changes the date format
Did a test
Torrents with location set to The Netherlands
![image](https://user-images.githubusercontent.com/4103090/59549402-455d8c80-8f5d-11e9-9fff-34f70e4492a9.png)

Torrents with Location set to US.
![image](https://user-images.githubusercontent.com/4103090/59549419-79d14880-8f5d-11e9-9369-611986868918.png)

Also changing Timezone does not change the date format
![image](https://user-images.githubusercontent.com/4103090/59549538-78a11b00-8f5f-11e9-97e3-8caf375d3aec.png)

If that's the default format well have to fix it
Do you need access to test it?
> 
> 
> Another semi-related issue in this picture:
> "Updated" column does not obey the "Display fuzzy dates" setting...

Added it a new issue   #6843 . FYI... 

Resolving patch:
diff --git a/medusa/providers/torrent/html/hdtorrents.py b/medusa/providers/torrent/html/hdtorrents.py
--- a/medusa/providers/torrent/html/hdtorrents.py
+++ b/medusa/providers/torrent/html/hdtorrents.py
@@ -160,7 +160,7 @@ def parse(self, data, mode):
                     size = convert_size(torrent_size, units=units) or -1
 
                     pubdate_raw = cells[labels.index('Added')].get_text()
-                    pubdate = self.parse_pubdate(pubdate_raw)
+                    pubdate = self.parse_pubdate(pubdate_raw, dayfirst=True)
 
                     item = {
                         'title': title,


Test patch: