32p search order

Post any problems / bugs / issues that are Mylar-related in here.
Post Reply
goin3d
Posts: 21
Joined: Sun Dec 08, 2019 5:34 am

32p search order

Post by goin3d »

ok, i know this one may sound crazy but here goes!!

i'm currently on the latest python3-dev branch and have noticed across my main and fresh test installs that 32p is not getting hit as part of the api search unless it's first in the search order. For example:

Code: Select all

 provider_order = 0, DDL, 1, 32p 


will not search 32p and looks like this: (after which all of the post processing works perfectly)

Code: Select all

 04-May-2020 15:50:56 - INFO :: mylar.queueissue.1431 : Thread-13 : Initiating manual search for Falcon & Winter Soldier issue: 2
04-May-2020 15:50:56 - INFO :: mylar.queueissue.1474 : Thread-13 : [WANTED-SEARCH] Now Queueing Falcon & Winter Soldier (2020) #2 for search
04-May-2020 15:50:57 - INFO :: mylar.search_queue.3113 : SEARCH-QUEUE : [SEARCH-QUEUE] Now loading item from search queue: {'issueid': '743437', 'comicname': 'Falcon & Winter Soldier', 'seriesyear': '2020', 'comicid': '125300', 'issuenumber': '2', 'booktype': 'Print'}
04-May-2020 15:50:58 - INFO :: mylar.NZB_SEARCH.514 : SEARCH-QUEUE : Shhh be very quiet...I'm looking for Falcon & Winter Soldier issue: 2 (2020) using ddl.
192.168.1.32 - - [04/May/2020:15:50:58] "GET /comicDetails?ComicID=125300 HTTP/1.1" 200 42221 "http://192.168.1.210:8090/comicDetails?ComicID=125300" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36"
192.168.1.32 - - [04/May/2020:15:50:58] "GET /cache/125300.jpg?20-05-04%2015:50:58 HTTP/1.1" 200 397229 "http://192.168.1.210:8090/comicDetails?ComicID=125300" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36"
04-May-2020 15:51:00 - INFO :: mylar.search_results.89 : SEARCH-QUEUE : There are 1 results
04-May-2020 15:51:00 - INFO :: mylar.search_init.396 : SEARCH-QUEUE : Could not find Issue 2 of Falcon & Winter Soldier (2020) using ddl [api] 
But

Code: Select all

 provider_order = 0, 32p, 1, DDL 

does and looks like this:

Code: Select all

 04-May-2020 15:54:37 - INFO :: mylar.queueissue.1431 : Thread-12 : Initiating manual search for Falcon & Winter Soldier issue: 2
04-May-2020 15:54:37 - INFO :: mylar.queueissue.1474 : Thread-12 : [WANTED-SEARCH] Now Queueing Falcon & Winter Soldier (2020) #2 for search
04-May-2020 15:54:39 - INFO :: mylar.search_queue.3113 : SEARCH-QUEUE : [SEARCH-QUEUE] Now loading item from search queue: {'issueid': '743437', 'comicname': 'Falcon & Winter Soldier', 'seriesyear': '2020', 'comicid': '125300', 'issuenumber': '2', 'booktype': 'Print'}
04-May-2020 15:54:39 - INFO :: mylar.NZB_SEARCH.514 : SEARCH-QUEUE : Shhh be very quiet...I'm looking for Falcon & Winter Soldier issue: 2 (2020) using 32P.
192.168.1.32 - - [04/May/2020:15:54:39] "GET /comicDetails?ComicID=125300 HTTP/1.1" 200 42221 "http://192.168.1.210:8090/comicDetails?ComicID=125300" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36"
192.168.1.32 - - [04/May/2020:15:54:39] "GET /cache/125300.jpg?20-05-04%2015:54:39 HTTP/1.1" 200 397229 "http://192.168.1.210:8090/comicDetails?ComicID=125300" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36"
04-May-2020 15:54:41 - INFO :: mylar.searcher.2138 : SEARCH-QUEUE : Found Falcon & Winter Soldier (2020) #2 using 32P
04-May-2020 15:54:41 - INFO :: mylar.torsend2client.966 : SEARCH-QUEUE : matched on Falcon & Winter Soldier 
Is that making any sense? i was hoping this was something simple like having the provider_order options wrong, but i keep trying it to the same result.
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: 32p search order

Post by evilhero »

Yep, can confirm - something is amiss with the way it's cycling thru. There's a normal delay between searches so the sites don't get hammered (usually around ~30s), but yeah I tested it and it did the DDL then just came back and said done.

Will look into this...
goin3d
Posts: 21
Joined: Sun Dec 08, 2019 5:34 am

Re: 32p search order

Post by goin3d »

much appreciated!!!!
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: 32p search order

Post by evilhero »

FYI: the fix (Pull Request) is now awaiting secondary approval (we do the approval thing just as a precaution to try to minimise screw-ups). Should be in python3-dev at some point today...
Post Reply