-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Don't hide parent folder icon when browsing by watched movie/episode #9042
Conversation
Don't we have a similar logic somewhere else which also has to take care of season flattening etc? IIRC I've seen similar code with the same exceptions somewhere else. |
Having slept over it I think we should/could probably do it the same way we're handling the "* all albums" stuff now? Will have to search for that other code then. Btw it seems that the flattening code also has a problem, as it seems to still add the "season" level to the "history" for browsing back up. Not sure if I named those concepts correctly as I haven't read up on them. |
We could inject the parent item using a list item modifier but it would obviously affect all views / nodes and not just season view. What might be an issue is that the list modifier has no idea about the watched / unwatched state. |
I wouldn't think it will be and I think we want this everywhere. As 99% of our menus have a parent. The important info is basically hasParent yes/no |
So should I try to change this @Montellese or are we good with this PR? |
We can leave it like this for now (will also make backporting easier) but would be nice if we could someday refactor the two very similar implementations into one. |
Not sure how I feel about backporting. jenkins build this please |
I would like to merge this tomorrow, so speak up if anyone sees a problem |
Don't hide parent folder icon when browsing by watched movie/episode
This PR is causing a segfault when navigating into empty folders with "Show parent folder items" disabled/unchecked. Without this PR there is no problem. To reproduce:
(I intended to create a trac ticket for this, but I can't login to kodi.trac.tv right now - login issues) |
Funny, I has a crash that sounded like this last night. Let's check if there's a crashlog... Yep - looks like the same one. I think I clicked on video add-ons which was empty. |
When you filter for Watched in the video library. You'll loose the goto parent folder icon, rendering you unable to go up in the hierarchy via the menu.
This fixes the problem.