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

Replace IsEmpty with String.IsEmpty on Kodi 17+ #209

Merged
1 commit merged into from Dec 16, 2016
Merged

Replace IsEmpty with String.IsEmpty on Kodi 17+ #209

1 commit merged into from Dec 16, 2016

Conversation

ghost
Copy link

@ghost ghost commented Dec 14, 2016

Should fix disabled controls in management dialog, single-list menu and automatic visibility condition for Weather when using v18.

Ping @BigNoid - should fix the issue you reported on the forum.

@BigNoid
Copy link
Owner

BigNoid commented Dec 14, 2016

Thx @Ignoble61 this pr fixes the issue mentioned on the forums.

@Guilouz
Copy link
Contributor

Guilouz commented Dec 14, 2016

@Ignoble61 @BigNoid
In default.py, why not just change Isempty with String. IsEmpty ?

When I try your changes in default.py, my mainmenu and powermenu not loading but they are restore my problem with ID 401, 307 and 402 controls in management dialog.

I try to just replace IsEmpty by String.IsEmpty and all is working fine with latest Kodi 18 build.

@ghost
Copy link
Author

ghost commented Dec 14, 2016

Because String.IsEmpty was only introduced in Krypton, and the script supports older versions of Kodi than that.

@Guilouz
Copy link
Contributor

Guilouz commented Dec 14, 2016

@Ignoble61 Ok but this changes not working correctly. I have no mainmenu/powermenu on my home screen.

@ghost
Copy link
Author

ghost commented Dec 14, 2016

Latest version of Estuary Mod is working fine for me with these changes, so please go back to the script thread and post the debug log that was requested if these changes didn't work. Also include details of how to reproduce - any particular settings that the issue occurs with, for example. Help us help you :)

@ghost ghost merged commit 88c4eca into BigNoid:master Dec 16, 2016
@ghost ghost deleted the kodi-18 branch December 16, 2016 15:40
@phil65
Copy link
Collaborator

phil65 commented Dec 16, 2016

Just an idea: Why not sending different script versions to our various version branches? That way you wouldnt have to deal with bw compatibility within your script.

@ghost
Copy link
Author

ghost commented Dec 16, 2016

This is the first time I can remember where there are changes that break this script, so it's definitely worth considering splitting the v18 release of the script. At this point, though, there's no v18 repo that I can see (though there are a fair few v18 users) - so by fixing the breaking changes in core now, any such users would get those if the script is updated on the repo in the meantime.

There's also missing api features for v18 (files.getsources can't get game sources yet, for example), which mean that whilst a v18 split can be made, a proper fully-supporting-v18 version can't actually be written yet ;)

@phil65
Copy link
Collaborator

phil65 commented Dec 16, 2016

you can do the split for krypton repository already since that one supports "string.isempty" etc.

@ghost
Copy link
Author

ghost commented Dec 16, 2016

Fair point. From my time-availability, something to be considered in the new year :)

@phil65
Copy link
Collaborator

phil65 commented Dec 16, 2016

sure. In the end, do what best fits your workflow etc.. just wanted to mention it.

@ghost
Copy link
Author

ghost commented Dec 16, 2016

Your input is always appreciated.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants