msgctxt "#30032"
msgid "Tracking"
msgstr ""
+
+msgctxt "#30033"
+msgid "Use Dolby Sound"
+msgstr ""
+
msgctxt "#30032"
msgid "Tracking"
msgstr "Tracking"
+
+msgctxt "#30033"
+msgid "Use Dolby Sound"
+msgstr "Benutze Dolby Ton"
'password': self.addon.getSetting('password')
}
+ def get_dolby_setting(self):
+ """
+ Returns if the dolby sound is enabled
+ :return: True|False
+ """
+ return self.addon.getSetting('enable_dolby_sound') == 'true'
+
def get_custom_library_settings (self):
"""Returns the settings in regards to the custom library folder(s)
:return: None
"""
# Check if tracking is enabled
- enable_tracking = (self.addon.getSetting('enable_logging') == 'true')
+ enable_tracking = (self.addon.getSetting('enable_tracking') == 'true')
if enable_tracking:
#Get or Create Tracking id
tracking_id = self.addon.getSetting('tracking_id')
# Audio
'heaac-2-dash',
- 'ddplus-2.0-dash',
- 'ddplus-5.1-dash',
'dfxp-ls-sdh',
'simplesdh',
'nflx-cmisc',
'clientVersion': '4.0004.899.011',
'uiVersion': 'akira'
}
+
+ # Check if dolby sound is enabled and add to profles
+ if self.kodi_helper.get_dolby_setting():
+ manifest_request_data['profiles'].append('ddplus-2.0-dash')
+ manifest_request_data['profiles'].append('ddplus-5.1-dash')
+
request_data = self.__generate_msl_request_data(manifest_request_data)
resp = self.session.post(self.endpoints['manifest'], request_data)
<setting id="customlibraryfolder" type="folder" label="30027" enable="eq(-1,true)" default="special://profile/addon_data/plugin.video.netflix" source="auto" option="writeable" subsetting="true" />
</category>
<category label="30023">
+ <setting id="enable_dolby_sound" type="bool" label="30033" default="true"/>
<setting id="ssl_verification" type="bool" label="30024" default="true"/>
- <setting id="enable_logging" type="bool" label="30032" default="true"/>
+ <setting id="enable_tracking" type="bool" label="30032" default="true"/>
<setting id="" value="tracking_id" visible="false"/>
<setting id="msl_service_port" value="8000" visible="false"/>
<setting id="msl_service_certificate" visible="false" value="Cr0CCAMSEOVEukALwQ8307Y2+LVP+0MYh/HPkwUijgIwggEKAoIBAQDm875btoWUbGqQD8eAGuBlGY+Pxo8YF1LQR+Ex0pDONMet8EHslcZRBKNQ/09RZFTP0vrYimyYiBmk9GG+S0wB3CRITgweNE15cD33MQYyS3zpBd4z+sCJam2+jj1ZA4uijE2dxGC+gRBRnw9WoPyw7D8RuhGSJ95OEtzg3Ho+mEsxuE5xg9LM4+Zuro/9msz2bFgJUjQUVHo5j+k4qLWu4ObugFmc9DLIAohL58UR5k0XnvizulOHbMMxdzna9lwTw/4SALadEV/CZXBmswUtBgATDKNqjXwokohncpdsWSauH6vfS6FXwizQoZJ9TdjSGC60rUB2t+aYDm74cIuxAgMBAAE6EHRlc3QubmV0ZmxpeC5jb20SgAOE0y8yWw2Win6M2/bw7+aqVuQPwzS/YG5ySYvwCGQd0Dltr3hpik98WijUODUr6PxMn1ZYXOLo3eED6xYGM7Riza8XskRdCfF8xjj7L7/THPbixyn4mULsttSmWFhexzXnSeKqQHuoKmerqu0nu39iW3pcxDV/K7E6aaSr5ID0SCi7KRcL9BCUCz1g9c43sNj46BhMCWJSm0mx1XFDcoKZWhpj5FAgU4Q4e6f+S8eX39nf6D6SJRb4ap7Znzn7preIvmS93xWjm75I6UBVQGo6pn4qWNCgLYlGGCQCUm5tg566j+/g5jvYZkTJvbiZFwtjMW5njbSRwB3W4CrKoyxw4qsJNSaZRTKAvSjTKdqVDXV/U5HK7SaBA6iJ981/aforXbd2vZlRXO/2S+Maa2mHULzsD+S5l4/YGpSt7PnkCe25F+nAovtl/ogZgjMeEdFyd/9YMYjOS4krYmwp3yJ7m9ZzYCQ6I8RQN4x/yLlHG5RH/+WNLNUs6JAZ0fFdCmw="/>