Skip to content
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

videodb: fix smart playlists not honoring "Show empty TV shows" setting. #8824

Closed
wants to merge 1 commit into from

Conversation

anaconda
Copy link
Contributor

Looks like moving the setting check from GetTvShowsByWhere to GetTvShowsNav in
PR 5752 broke smart playlists as they were previously honoring the advanced
setting (hideemptyseries) and then the GUI one.
Previous behavior is restored by adding additional logic in GetItems.

@Montellese Didn't feel like making filter non-const considering this is only needed in one case out of 16, are you ok with this?

@anaconda anaconda added Type: Fix non-breaking change which fixes an issue v17 Krypton labels Jan 10, 2016
{
Filter filter2(filter);
if (!CSettings::GetInstance().GetBool(CSettings::SETTING_VIDEOLIBRARY_SHOWEMPTYTVSHOWS))
filter2.AppendWhere("totalCount IS NOT NULL AND totalCount > 0");

This comment was marked as spam.

Looks like moving the setting check from GetTvShowsByWhere to GetTvShowsNav in
PR 5752 broke smart playlists as they were previously honoring the advanced
setting (hideemptyseries) and then the GUI one.
Previous behavior is restored by adding additional logic in GetItems.
@MartijnKaijser
Copy link
Member

Ping @anaconda

@MilhouseVH
Copy link
Contributor

MilhouseVH commented Oct 7, 2016

What is the plan for this PR - I've had it in my builds for months but will drop it if there are no immediate plans to merge this now.

@Montellese
Copy link
Member

I'd prefer it if my comment was considered. But apart from that I'm all for fixing this.

@da-anda
Copy link
Member

da-anda commented Jan 22, 2017

@anaconda if you have some time, mind finishing this PR? Time to get our list of open PRs down a bit :)

@razzeee
Copy link
Member

razzeee commented Apr 11, 2017

@anaconda
I'll close this as you don't seem to be around
If you want to revisit this, just reopen the PR! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Fix non-breaking change which fixes an issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants