From 649aad0551267231ec9c1ac6e3fca9354d1373df Mon Sep 17 00:00:00 2001 From: Ruud Date: Fri, 20 Jan 2012 19:25:06 +0100 Subject: [PATCH] Default title is first, if it isn't set --- couchpotato/core/plugins/library/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/plugins/library/main.py b/couchpotato/core/plugins/library/main.py index fd9e2197..39d0c117 100644 --- a/couchpotato/core/plugins/library/main.py +++ b/couchpotato/core/plugins/library/main.py @@ -84,7 +84,7 @@ class LibraryPlugin(Plugin): for title in titles: t = LibraryTitle( title = toUnicode(title), - default = title.lower() == default_title.lower() + default = title.lower() == default_title.lower() or (default_title is '' and titles[0] == title) ) library.titles.append(t)