-
Notifications
You must be signed in to change notification settings - Fork 26
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
Program no-focus highlight disappears #47
Comments
There are lots of initialisation / re-initialisation bugs in here now. |
I'll do my best to help. |
Thanks. There is a ton of code to debug now. |
Tried the following debug, but I don't ever see it get into the try condition: if control: Is this a correct compare? The other output I do get something, first debug comment: DEBUG: ('IM: Current channel, channel IDX', None, Channel(id=BBC1, title=BBC1, logo=None, streamUrl=None)) |
The debug log can be very picky sometimes and not print out things you think should be easy. The easiest way to see your code is to link to the line number in your commit or use a block with three backticks at the start or the end. Follow the link below the comment box about "Styling with Markdown is supported". Your code looks ok but you might need to check if the values aren't None first. |
I feel I had to wait for the program to exit completely, like wait 5 seconds or so before entering again - I do see something strange self.currentChannel starts reporting none for some reason... Should it be initialized to last channel or none if not available? |
I would imagine it needs to be set to something. |
I think that reloading of the EPG is what is causing my crashes/frezing too - because it happened when I tabbed out last night, as well as the previous reported stops. I'll have a look and see. |
It might be a good idea to store the current channel in the settings so that it is persistent. |
Is that the current playing channel or current selected channel? |
I believe sell.currentChannel is the currently played and channels[idx] is On Aug 29, 2016 2:23 PM, "primaeval" notifications@github.com wrote:
|
I did some tests on my Android box. |
Ok. Sorry I didn't get further. On Aug 29, 2016 16:52, "primaeval" notifications@github.com wrote:
|
Looks like you solved this issue? If you agree we can close. |
I'm not convinced it is solid yet. It needs a lot more testing to be sure. |
If I browse off the EPG with the now playing channel, then come back - the nofocu highlight is no longer shown.
The text was updated successfully, but these errors were encountered: