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
Removal of false flag for empty channels. #14170
Conversation
A minor comment: the Log text on line 175 doesn't reflect the if condition above :) |
@@ -170,7 +170,7 @@ public class SyncProgramsJobService extends JobService | |||
if (cursor != null && cursor.moveToNext()) | |||
{ | |||
Channel channel = Channel.fromCursor(cursor); | |||
if (!channel.isBrowsable()) | |||
if (channel.isBrowsable()) | |||
{ | |||
Log.d(TAG, "Channel is not browsable: " + channelId); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@Tinwarble the commits have to be squashed. |
@Rechi no idea what that means? Only commented this change because Koying recommended, beyond that I'm at a loss. |
The actual logic code change and the log message fix have to be one commit, because non of them is valid alone. |
That won't work. You have to remove the "isBrowsable" test altogether and only keep the "else" block. |
@koying which is what I asked on slack. So is this what you meant? |
Yep, that's the idea. |
deletePrograms(channelId, medias); | ||
} | ||
else | ||
{ | ||
XBMCJsonRPC jsonrpc = new XBMCJsonRPC(); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
} | ||
XBMCJsonRPC jsonrpc = new XBMCJsonRPC(); | ||
if (uri.isEmpty()) | ||
{ |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Team-Kodi, as (contribution-)friendly as ever... Rather than bug @Tinwarble , who is not a dev and I'm not sure he wants to be one, it would be faster for any of the devs that actually had a look at this to do it. I'll take him 1 minute, and can probably be done directly from github. Next, you'll ask him to squash and he will be lost again... |
ping @fritsch |
What should @fritsch do? The PR can't be merged in it's current state as it doesn't follow our guidelines. See https://github.com/xbmc/xbmc/blob/master/docs/CONTRIBUTING.md#pull-request-guidelines and https://github.com/xbmc/xbmc/blob/master/docs/CODE_GUIDELINES.md#3-indentation |
Sorry, I was just trying to help and saw that koying said fritsch understood. EDIT: Is that all that's wrong now then? |
That is already fixed. |
Description
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of change
Checklist: