-
-
Notifications
You must be signed in to change notification settings - Fork 956
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
Movie stays on "Not Available" when skipping the cinema release #4920
Comments
Do you have a few example movies to share? |
Without looking at the code yet, i could see this happening if there is no date from TMDb to use and base the delay off of. If there isn't a check, there simply needs to be a check for cinema data before allowing to set it or after the data is grabbed, change it from cinema to release when it has to or just leave it at cinema and fall back to release internally. Quite a few options can resolve this if it isn't doing anything yet |
but still, the icon left to the movie name detects that the movie is released. |
im looking in the code now, and i see where this is happening. There is a function public bool IsAvailable(int delay = 0) in src\NzbDrone.Core\Movies\Movie.cs A quick glance and i think I see the issue, but need to look at it a bit to figure out exactly what is going on and how to fix it. Here is the full function:
I added that comment //this is the bad situation. I think that situation, needs to fall through and still do the stuff that would happen if minimumAvailability was set to released... |
i think making this change should fix it:
I just need to reproduce with your test movie before the change and see what happens with the change.. |
OK, so i think the above fix solves the problem; however, I think I should not use the switch and just an if structure - so I am cleaning the code up a bit. Will create a branch/PR with cleaned up code soon. I usually use MinimumAvailability of Released, so I never noticed this. I think I just overlooked the case when InCinemas release date is missing when I initially implemented MinimumAvailability. |
You might want to create another issue for a feature request to add filter support for MinimumAvailability (if you want), if it doesnt already exist. that might have allowed you to workaround this issue, but it wasn't a solution - though it could be a useful feature... EDIT: it seems there is an old but interesting similar/potentially related feature request here: #2074 |
* if minimumAvailability is set to InCinemas InCinemas has no value but physical/digital release dates are known and passed, movie would be marked as Not Available When it should be Missing. This resolves #4920 remove comment * add the tests
Describe the bug
If a movie only gets release digital and not cinema, the movie will stay in "Not Available" state if the minimum availability is set to in cinemas.
The icon next to the movie title in the movie list says "released". Released is after the in cinema flag.
It should get the "Missing" state.
This causes a alot of movie not beeing watched to grab.
A wokaround is to set minimum availability to "Announced", but this way also movies announced for 2021+ will be searched.
Causing higher api rates when using manual "seach all".
There is also no posibillity to make a custom filter with movies which have no cinema date (that way it would be possible to set a tag and change those movies minimum availability to released).
To Reproduce
Choose/Add a movie which has skipped cinema and is released (alot of n**f*ix movies).
Set minimum availability to in cinemas and in indexer settings availability delay -14days
=> Movies hat "not available" flag and will not occur in "wanted" filter.
Expected behavior
A clear and concise description of what you expected to happen.
Platform Information (please complete the following information):
Debug Logs
I can send it over Discord PN
The text was updated successfully, but these errors were encountered: