-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature configure per show daily search airdate offset #5874
Feature configure per show daily search airdate offset #5874
Conversation
…ate offset. * Implemented check in dailsearch for searching episodes early.
DeepCode analyzed this pull request. |
I've tested this with both per-search (negative offsets) and post-search (positive offsets), and everything seems to work OK! Still, this offset needs to be visible on the show page, as well as the manual search page - in the top/header - show-info part, at least in cases it is not 0. "UI control for providers" - in not necessary IMHO. Best keep it simple.. Thanks! Rafi |
... one small typo in series.py - "# The offset in ours, for when we want to start searching episodes for this show. -1 is search 1 hour early. 1, 1 hour later." Also, be aware that once the early offset-time arrives, the status for a specific episode (changed to "wanted" when the offset time arrives) is not/cannot be reverted back to "unaired" even if the user corrects this offset, or sets it to 0 again. Not a big deal I believe, but it can be nice (and useful for testing) if there was a manual option to also change a status to 'unaired' ... |
Yes I'm aware. Also, if the backlog search is triggered. It will also search for these early episodes if they're already set to wanted by the daily search. |
This feature (dealing with offsets/time-limits) reminds of another desired feature - an autofiles size filter (min/max). Actually I have it working here locally great (tho, w/o changing anything in the DB yet). So, since you are changing the DB for this feature, it might be a good point in time to consider adding two more edit-boxes for this file-size feature if you are interested ... :) |
No i'm not interested. I already got like 6 other PR's on my backlog to finish. I did this one cause it's rather easy to implement. |
Sure, no problem. Works for me... |
@rafi-d |
@medariox |
Yes i updated the todo checklist of this pr. |
I have been testing this for the last couple of weeks, and results are very good, but there is this one symptom which I've noticed, and not sure if it is related or not: |
Sounds like a "proper" was released after. But that should replace the original? |
Yes, I guess it was released later on. And yes, if you decided to download same release twice, it should have deleted the first one. Honestly, I have never seen this happen. Also, be aware that delete cleanly, is not that easy, since you have to remove it from the client (WebAPI to uTorrent) as well. So, in the worse case, if the client is still seeding it, you'd also need to stop it first, otherwise, the files might be locked (this was not the case here now). |
Okay but that doesn't sound as anything related to this pr. More something with your post-processing setup. |
If so, let's forget it for now over here. BTW, I do not have any post processing set, and didn't know that deleting of double download episodes even requires post-processing. I thought if it does an extra download, it should just clean/erase the previous one .... I hope you release this feature soon, I am already one version behind... :) |
I'll merge develop into it. |
maybe you can add minimal UI for it, so to make this easier to use/test?... |
…search-start-search-offset
…how and snatchSelection)
DeepCode analyzed this pull request. |
Got it. Looks good, thanks. I guess it is ready for release... |
I guess "[WIP]" in the title is now redundant?... |
Yeah, just needs to get review |
…ate offset.
TODO:
add UI control to providersimplement feature #3679
Update:
I've scratched the feature to enable/disable the feature per provider. As for that I need to make structural changes throughout medusa's code. And i'm not going to do that now.