-
-
Notifications
You must be signed in to change notification settings - Fork 958
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed: Show "Not Available" instead of "?" when no InCinemas date
- Loading branch information
Showing
1 changed file
with
1 addition
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64e9e48
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I agree with the changes here - but I may be wrong.. so I just want to clarify.
I think the function that generates isAvailable already takes this into account.
What about cases where the inCinemas date is unknown but the physical release is known and past? isAvailable is true if the physical release date is known and past even if inCinemas date is unknown. With this change, lack of inCinemas date knowledge will mark movies as Unavailable even if they definitely released quite a while ago and this is known because of known physical release date.
I might be totally off base here, but I just wanted to clarify..
There is a difference between ? and "Not Available".. I think.
Please let me know what you think.
Having said that, I think the second part of this change, may be necessary. The reason I noticed this issue is because the changes conflicted with the branch I have which reverts the colour to green. I realize the reversion to the green colour is not totally agreed upon, but there were a couple other changes I had in that branch. Perhaps you could take a look:
https://github.com/geogolem/Radarr/tree/MovieStatusFix
maybe the other changes could be pushed, without reverting the colour...
Not sure if I am totally missing the point here, but thought I would point it out.
64e9e48
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Main thing I was after is getting rid of the icon, I see your point to the if physical but no in cinemas scenario. How about this, if no in cinemas AND no physical date then not available, else if we have a physical call it missing?
This is only the UI as well and has no effect on backend processing.
64e9e48
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the changes I made in my MovieStatusFix branch accomplish what you are proposing... but I need to double check, if I do, I will create another branch with just those changes (they really should be in their own branch anyway) and open a PR for you to take a look. I think the issue you were trying to fix regarding the icon etc., I fixed in my branch a while ago, but didnt bother creating a separate PR for it, because I wasn't really sure what people wanted. Anyway, once I do a little more investigation and open a PR, I will link to it here, or report back.
64e9e48
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Qstick : I created a new PR: #4201
this new PR basically just isolates some changes from this PR: #4012
which likely should have been the case from the beginning anyway.
I'm not 100% certain if my proposed changes do in fact resolve the issue you were aiming at with your changes, but I believe it does.