From e694276a8d0f6a813c22ce7f4bf137e7bc008d09 Mon Sep 17 00:00:00 2001 From: Ruud Date: Mon, 18 Mar 2013 22:02:47 +0100 Subject: [PATCH 1/3] Save view to different cookie so people don't have to reset. --- couchpotato/core/plugins/movie/static/list.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/couchpotato/core/plugins/movie/static/list.js b/couchpotato/core/plugins/movie/static/list.js index 5ac210ed..3d5545e3 100644 --- a/couchpotato/core/plugins/movie/static/list.js +++ b/couchpotato/core/plugins/movie/static/list.js @@ -429,12 +429,12 @@ var MovieList = new Class({ .addClass(new_view+'_list') self.current_view = new_view; - Cookie.write(self.options.identifier+'_view', new_view, {duration: 1000}); + Cookie.write(self.options.identifier+'_view2', new_view, {duration: 1000}); }, getSavedView: function(){ var self = this; - return Cookie.read(self.options.identifier+'_view'); + return Cookie.read(self.options.identifier+'_view2'); }, search: function(){ From f8f22cdef7d3576ada10b7034a3cd5c3c82dab9a Mon Sep 17 00:00:00 2001 From: Ruud Date: Tue, 19 Mar 2013 00:25:03 +0100 Subject: [PATCH 2/3] Description typo --- couchpotato/static/scripts/page/home.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/static/scripts/page/home.js b/couchpotato/static/scripts/page/home.js index e3c1ae09..c1e91162 100644 --- a/couchpotato/static/scripts/page/home.js +++ b/couchpotato/static/scripts/page/home.js @@ -37,7 +37,7 @@ Page.Home = new Class({ 'identifier': 'soon', 'limit': 18, 'title': 'Available soon', - 'description': 'These are being searches for and should be available soon as they will be released on DVD in the next few weeks.', + 'description': 'These are being searched for and should be available soon as they will be released on DVD in the next few weeks.', 'on_empty_element': new Element('div').adopt( new Element('h1', {'text': 'Available soon'}), new Element('span', {'text': 'There are no movies available soon. Add some movies, so you have something to watch later.'}) From e54928720afbb544e49527a20729c9ede259ca75 Mon Sep 17 00:00:00 2001 From: Ruud Date: Tue, 19 Mar 2013 20:24:48 +0100 Subject: [PATCH 3/3] Don't download same quality twice. fix #1519 --- couchpotato/core/plugins/searcher/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/plugins/searcher/main.py b/couchpotato/core/plugins/searcher/main.py index 0285917f..1f320eab 100644 --- a/couchpotato/core/plugins/searcher/main.py +++ b/couchpotato/core/plugins/searcher/main.py @@ -165,7 +165,7 @@ class Searcher(Plugin): # See if better quality is available for release in movie['releases']: - if release['quality']['order'] < quality_type['quality']['order'] and release['status_id'] not in [available_status.get('id'), ignored_status.get('id')]: + if release['quality']['order'] <= quality_type['quality']['order'] and release['status_id'] not in [available_status.get('id'), ignored_status.get('id')]: has_better_quality += 1 # Don't search for quality lower then already available.