From 6a16fc25260dd672544bd2c33d6294d51e455b9b Mon Sep 17 00:00:00 2001 From: Bas Stottelaar Date: Sun, 21 Sep 2014 00:52:59 +0200 Subject: [PATCH 1/2] Fix for #1903 --- headphones/searcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/searcher.py b/headphones/searcher.py index 563a9bae..3ea3e0d8 100644 --- a/headphones/searcher.py +++ b/headphones/searcher.py @@ -935,7 +935,7 @@ def searchTorrent(album, new=False, losslessOnly=False, albumlength=None): # Use proxy if specified if headphones.KAT_PROXY_URL: - providerurl = url_fix(set_proxy(proxy_url)) + providerurl = url_fix(set_proxy(headphones.KAT_PROXY_URL)) else: providerurl = url_fix("https://kickass.to") From c05fa78fa024b13a5ab49c5b987b447ccec0f90b Mon Sep 17 00:00:00 2001 From: Bas Stottelaar Date: Sun, 21 Sep 2014 00:55:35 +0200 Subject: [PATCH 2/2] Fix for #1902 --- data/interfaces/default/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/interfaces/default/base.html b/data/interfaces/default/base.html index c1d484fc..7b53f1d3 100644 --- a/data/interfaces/default/base.html +++ b/data/interfaces/default/base.html @@ -119,7 +119,7 @@ $(document).ready(function() { $('form:first *:input[type!=hidden]:first').focus(); try{ - var type = window.localStorage.getItem('search_type'); + var type = window.localStorage.getItem('search_type') || "artist"; $("#search_type").val(type); } catch(e) { }