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

cleanup ui sound system #7684

Merged
merged 1 commit into from Aug 12, 2015
Merged

Conversation

tamland
Copy link
Member

@tamland tamland commented Aug 1, 2015

Cleans up old stuff after the move to addons. It is now purely addon based. The purpose of this is simplify the code, and UI-wise make it behave the same as skins and other with a "Get more" button and the same setting select dialog.

To be clear, this removes the ability to load themes from the 'sounds' directory (in system and home), and for skins to include sounds (they should be provided as a separate addon).

@tamland tamland added API change Type: Cleanup non-breaking change which removes non-working or unmaintained functionality labels Aug 1, 2015
@tamland
Copy link
Member Author

tamland commented Aug 6, 2015

@Montellese Can you review please?

@tamland
Copy link
Member Author

tamland commented Aug 7, 2015

jenkins build this please

@@ -53,6 +53,10 @@ void CGUIAudioManager::OnSettingChanged(const CSetting *setting)
const std::string &settingId = setting->GetId();
if (settingId == CSettings::SETTING_LOOKANDFEEL_SOUNDSKIN)
{
//Migrate "OFF" setting
if (((CSettingString*)setting)->GetValue() == "OFF")

This comment was marked as spam.

@Montellese
Copy link
Member

Looks ok apart from the minors.

@tamland
Copy link
Member Author

tamland commented Aug 8, 2015

done, thanks

@@ -53,6 +53,7 @@ void CGUIAudioManager::OnSettingChanged(const CSetting *setting)
const std::string &settingId = setting->GetId();
if (settingId == CSettings::SETTING_LOOKANDFEEL_SOUNDSKIN)
{

This comment was marked as spam.

@Montellese
Copy link
Member

One last minor left.

remove loading from load sounds from skin dir, system/sounds, user/sounds
and support directory based themes to unify it with skins, langauges etc.
@hudokkow
Copy link
Member

hudokkow commented Aug 8, 2015

jenkins build this please

@mkortstiege
Copy link
Member

@Montellese, this one should be good to go now, right?

@Montellese Montellese added this to the Jarvis 16.0-alpha2 milestone Aug 11, 2015
@Montellese
Copy link
Member

Yes my comments have been addressed.

@hudokkow
Copy link
Member

jenkins build this please

MartijnKaijser added a commit that referenced this pull request Aug 12, 2015
@MartijnKaijser MartijnKaijser merged commit b24685f into xbmc:master Aug 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Cleanup non-breaking change which removes non-working or unmaintained functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants