From 96fd3fec53c4dde54a23556836a3c23ff4eee9df Mon Sep 17 00:00:00 2001 From: Alhaziel Date: Thu, 27 Feb 2020 15:37:38 +0100 Subject: [PATCH] Fix Ordine Episodi SerieHD --- channels/seriehd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/seriehd.py b/channels/seriehd.py index 7725c5c0..423c29d8 100644 --- a/channels/seriehd.py +++ b/channels/seriehd.py @@ -114,7 +114,7 @@ def episodios(item): action = 'findvideos' def itemlistHook(itemlist): - itemlist.sort(key=lambda item: item.title) + itemlist.sort(key=lambda item: int(support.re.sub(r'\[[^\]]+\]','',item.title).split('x')[0])) return itemlist return locals()