linuxserver/docker-lazylibrarian

date format not working

Closed this issue · 2 comments

dr400 commented

Hi, unable to provide the log (or do not know how to do it). Sorry.
Apparently the date of what I'm looking for does not match the regex of LL. I tried many tricks (monthnames.json too) but none worked.

my monthnames.json file :

[["en_GB.UTF-8", "en_GB.UTF-8", "fr_FR.utf8", "fr_FR.utf8"], ["january", "jan", "janvier", "jan"], ["february", "feb", "fevrier", "fév"], ["march", "mar", "mars", "mar"], ["april", "apr", "avril", "avr"], ["may", "may", "mai", "mai"], ["june", "jun", "juin", "jui"], ["july", "jul", "juillet", "jui"], ["august", "aug", "août", "aoû"], ["september", "sep", "septembre", "sep"], ["october", "oct", "octobre", "oct"], ["november", "nov", "novembre", "nov"], ["december", "dec", "decembre", "dec"]]

I've tried to check months available in the LL app but unable to create API Key (generate button does nothing ...) to send the API cmd...

Log:

2019-12-08 13:26:00 INFO SEARCHALLMAG searchmag.py search_magazines 457 Added Pack Journaux du 08 Décembre 2019 Pdf to pastissues marked Skipped
2019-12-08 13:26:00 DEBUG SEARCHALLMAG searchmag.py search_magazines 391 This issue of Pack Journaux du 08 Décembre 2019 Pdf is unknown age; skipping.
2019-12-08 13:26:00 DEBUG SEARCHALLMAG searchmag.py search_magazines 321 Magazine Pack Journaux du 08 Décembre 2019 Pdf not in a recognised date format.
2019-12-08 13:26:00 DEBUG SEARCHALLMAG searchmag.py search_magazines 255 Magazine title matched Pack Journaux for Pack Journaux du 08 Décembre 2019 Pdf
2019-12-08 13:26:00 DEBUG SEARCHALLMAG providers.py ReturnResultsFieldsBySearchType 1331 Result fields from NZB are {'bookid': 'Pack Journaux', 'nzbprov': 'http://192.168.0.2:9117/api/v2.0/indexers/yggtorrent/results/torznab', 'nzbtitle': 'Pack Journaux du 08 Décembre 2019 Pdf', 'nzburl': 'http://192.168.0.2:9117/dl/yggtorrent/?jackett_apikey=3znx8ks1tnlrvgbblf6z8k4trpj2cpp1&path=Q2ZESjhIQ3VTbjhoZVhkS2hFOGhNaG9nQk9ZdXV2RGkyOWxDeHVqbmFmV2R5c2s3cjVYT3NhdW9vM0w0UVc0NncyU05sTXBYU09fMVozWjVEbkdCWE9DMl9NUUNmMmlLTy03LUdPNlQ0ZW9WYzcxcXExTldrQUdGaEEwTFpJdEpzTnQtTk1lcmxJeEdzUnk3Rm52RHJPSEx1a3ZIU1pjWERHOGpuQkUwZ0YyZkhacFdnUFJGOTA1WWNlc2pNS0hkTVU4VGd3&file=Pack+Journaux+du+08+Décembre+2019+Pdf', 'nzbdate': 'Sun, 08 Dec 2019 07:25:59 +0000', 'nzbsize': '274726912', 'nzbmode': 'torznab', 'priority': 0, 'seeders': 121}
2019-12-08 13:25:55 DEBUG WEBSERVER webServe.py markPastIssues 4044 Item Pack Journaux du 08 Décembre 2019 Pdf removed from past issues
2019-12-08 13:25:35 INFO SEARCHALLMAG searchmag.py search_magazines 457 Added Pack Journaux du 08 Décembre 2019 Pdf to pastissues marked Skipped
2019-12-08 13:25:35 DEBUG SEARCHALLMAG searchmag.py search_magazines 391 This issue of Pack Journaux du 08 Décembre 2019 Pdf is unknown age; skipping.
2019-12-08 13:25:35 DEBUG SEARCHALLMAG searchmag.py search_magazines 321 Magazine Pack Journaux du 08 Décembre 2019 Pdf not in a recognised date format.
2019-12-08 13:25:35 DEBUG SEARCHALLMAG searchmag.py search_magazines 255 Magazine title matched Pack Journaux for Pack Journaux du 08 Décembre 2019 Pdf
2019-12-08 13:25:34 DEBUG SEARCHALLMAG providers.py ReturnResultsFieldsBySearchType 1331 Result fields from NZB are {'bookid': 'Pack Journaux', 'nzbprov': 'http://192.168.0.2:9117/api/v2.0/indexers/yggtorrent/results/torznab', 'nzbtitle': 'Pack Journaux du 08 Décembre 2019 Pdf', 'nzburl': 'http://192.168.0.2:9117/dl/yggtorrent/?jackett_apikey=3znx8ks1tnlrvgbblf6z8k4trpj2cpp1&path=Q2ZESjhIQ3VTbjhoZVhkS2hFOGhNaG9nQk9hbGNMNWlRNWFtME1ScUlZdG5YbnJCSGNIQU5BUnUxN2RJdmRiLVZ6X0pFcGx6UmpSdTh2SkpzOGdpVGFENE5ERXlCZXBhcWZ1VmJwSlYzZFB0dnZ6SERYVmlRSHJ1U1B5RmNsTFZsdlVSV2l3VVlPbmpieDktTi1wc0lZUGVEc3NuNE1lTU9PVnlYS1FlcFVXVXhHa3c4QmtRZHI1WnoyU21oRnlpaGd6emd3&file=Pack+Journaux+du+08+Décembre+2019+Pdf', 'nzbdate': 'Sun, 08 Dec 2019 07:25:34 +0000', 'nzbsize': '274726912', 'nzbmode': 'torznab', 'priority': 0, 'seeders': 121}

Hi, Are you able to add this issue to the LL repo on Gitlab if you have not done so already with your debug.log file? https://gitlab.com/LazyLibrarian/LazyLibrarian

Looking at the code, you should get some debug lines about monthnames.json and locale loading in general.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.