-
-
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
[SETTINGS] Add Source settings to call source selection windows... #10199
Conversation
Too late in the release cycle to change the window name in my opinion, tag it with a todo and schedule it for v18 alpha 1 |
jenkins build this please |
Just occured to me, I could do the Window renaming now in a seperate PR then that PR could either be accepted for Krypton (assuming this one goes in), or the merger of that PR is delayed until we've branched Krypton and Master is open for v18. That way no one can raise the concern that it'll be forgotten about if delayed. |
I like the change. I'll leave it up to @ronie and skinners as he can tell if skins already use the name. If not I'd see no issue including it. |
i'm fine with the window name change as well. |
It's no big deal to change |
c8fe5a4
to
7fdd829
Compare
PR updated to include the underlying code changes necessary to rename the window from LIBRARY to MEDIA. jenkins build this please |
Windows test build if anyone wants to see this change http://mirrors.xbmc.org/test-builds/win32/KodiSetup-20160731-b94a377-media.exe |
Looks good but shouldn't the media sources button be removed? |
i'd say ditch it :) |
@jjd-uk Might want to add descriptions for each item as well for the textbox ID(6) |
@HitcherUK do you mean the Help descriptions? if so now added. |
@jjd-uk you can add the removal of the skin button in this PR or make it a separate one. Up to you. |
I'd prefer not to do it without phils ok, so I could PR the button removal to the Estuary repo |
Jenkins has gone missing since my last force push, just to be sure jenkins build this please |
.... and rename Library settings section to Media to allow creation of Media -> Library category to contain new Source settings and previous Database settings.
This was inspired by @phil65 "Media sources" item in Estuary, so this add similar ability to core in order to be available to everyone and not just Estuary users.
These changes would allow removal of "Media sources" from Estuary as this function could now be handled by core, however didn't want to be presumptuous about doing that myself, so will leave that decision to the skinners.
I've marked this as [WIP] since I've renamed the Library section to Media, however to be done in a 100% proper manner the underlying window would also need to be renamed, for example:
https://github.com/xbmc/xbmc/blob/master/xbmc/guilib/WindowIDs.h#L46
WINDOW_SETTINGS_LIBRARY to WINDOW_SETTINGS_MEDIA
However this would break skins already updated to use the
ActivateWindow(LibrarySettings)
call in their skinSettings.xml
, so would require changing toActivateWindow(MediaSettings)
if the window was renamed.Thus at the moment I've played it safe and only included the labelling changes and I've NOT yet renamed the underlying window name in code to avoid breaking skins. If this is to be merged for Krypton a decision is needed on whether we:
ActivateWindow(LibrarySettings)
callActivateWindow(LibrarySettings)
for Krypton then rename to WINDOW_SETTINGS_MEDIA in v18ping @MartijnKaijser @Paxxi and additional pings for opinions on whether to do the window rename at this point of the release cycle @ronie @BigNoid