diff --git a/CHANGELOG.md b/CHANGELOG.md index ae0dc58..21a2afb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,14 @@ # Changelog -## [0.4.1] It seems some Soundbars don't like music +## [0.4.1] Media Mystique: The Great Data Disappearing Act! ### Fixed -- As it seems that some soundbars don't have the 'audioTrackData' attribute - the update process now, only tries to look at the data if it is existing. +- Made media data (*track title*, *artist*, *length*) optional to acoomodate soundbars that don't provide this information (🥲) + +### Added + +- Add translations for the english translation file ## [0.4.0] Started with an "ick", but is now packed with new features 💪 diff --git a/custom_components/samsung_soundbar/translations/en.json b/custom_components/samsung_soundbar/translations/en.json index c9f8aed..3089350 100644 --- a/custom_components/samsung_soundbar/translations/en.json +++ b/custom_components/samsung_soundbar/translations/en.json @@ -1,18 +1,18 @@ { - "config":{ - "step":{ - "user":{ + "config": { + "step": { + "user": { "data": { "api_key": "SmartThings API Token", "device_id": "Device ID", - "device_name":"Device Name", + "device_name": "Device Name", "device_volume": "Max Volume (int)" - }, - "description": "Please enter your credentials.", - "title": "Authentication" + }, + "description": "Please enter your credentials.", + "title": "Authentication" }, - "device":{ - "data" : { + "device": { + "data": { "settings_advanced_audio": "Enable 'Advanced Audio switches' capabilities (NightMode, BassMode, VoiceEnhancer)", "settings_eq": "Enable 'EQ selector' capabilities", "settings_soundmode": "Enable 'Soundmode selector' capabilities", @@ -21,8 +21,8 @@ "description": "Some soundbars have a different featureset than others. Please the features supported by your soundbar (visible in the SmartThings App).", "title": "Device Settings" }, - "reconfigure_confirm":{ - "data" : { + "reconfigure_confirm": { + "data": { "settings_advanced_audio": "Enable 'Advanced Audio switches' capabilities (NightMode, BassMode, VoiceEnhancer)", "settings_eq": "Enable 'EQ selector' capabilities", "settings_soundmode": "Enable 'Soundmode selector' capabilities", @@ -59,5 +59,79 @@ "Front": "Front" } } - } + }, + "services": { + "select_soundmode": { + "name": "Select Sound Mode", + "description": "Choose between 'Standard', 'Surround', 'Game', and 'Adaptive Sound'." + }, + "set_woofer_level": { + "name": "Set Subwoofer Level", + "description": "Change the volume of your subwoofer.", + "fields": { + "level": { + "name": "Volume Level", + "description": "Subwoofer level, from -12 to +6" + } + } + }, + "set_night_mode": { + "name": "Set Night Mode", + "description": "Turn 'Night Mode' on/off.", + "fields": { + "enabled": { + "name": "On/Off", + "description": "See name." + } + } + }, + "set_bass_enhancer": { + "name": "Set Bass Mode", + "description": "Turn 'Bass Mode' on/off.", + "fields": { + "enabled": { + "name": "On/Off", + "description": "See name." + } + } + }, + "set_voice_enhancer": { + "name": "Set Voice Enhancer", + "description": "Turn 'Voice Enhancer' on/off.", + "fields": { + "enabled": { + "name": "On/Off", + "description": "See name." + } + } + }, + "set_speaker_level": { + "name": "Change Speaker Level", + "description": "Change the volume of individual speakers." + }, + "set_rear_speaker_mode": { + "name": "Set Rear Speaker Mode", + "description": "Use your rear speakers as 'Front' or 'Rear' speakers." + }, + "set_active_voice_amplifier": { + "name": "Set Voice Amplifier", + "description": "Turn 'Voice Amplifier' on/off.", + "fields": { + "enabled": { + "name": "On/Off", + "description": "See name." + } + } + }, + "set_space_fit_sound": { + "name": "Set SpaceFitSound", + "description": "Turn 'SpaceFitSound' on/off.", + "fields": { + "enabled": { + "name": "On/Off", + "description": "See name." + } + } + } + } } \ No newline at end of file