Skip to content

Commit a133ef8

Browse files
authored
feat: show song name as title in media rpc (#425)
1 parent 4b95a72 commit a133ef8

File tree

27 files changed

+63
-9
lines changed

27 files changed

+63
-9
lines changed

common/preference/src/main/java/com/my/kizzy/preference/Prefs.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ object Prefs {
152152
const val MEDIA_RPC_ENABLE_TIMESTAMPS = "enable_timestamps"
153153
const val MEDIA_RPC_HIDE_ON_PAUSE = "hide_on_pause"
154154
const val MEDIA_RPC_SHOW_PLAYBACK_STATE = "show_playback_state"
155+
const val MEDIA_RPC_SHOW_SONG_AS_TITLE = "show_song_as_title"
155156

156157
//Rpc Setting Preferences
157158
const val USE_RPC_BUTTONS = "use_saved_rpc_buttons"

common/resources/src/main/res/values-ar/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,4 +217,5 @@
217217
<string name="imgur_client_id">Imgur Client ID</string>
218218
<string name="set_imgur_client_id">Set Imgur Client ID</string>
219219
<string name="set_imgur_client_id_desc">If images aren\'t showing using Imgur, you can try setting your own Client ID</string>
220+
<string name="show_song_as_title">Show Song as Title</string>
220221
</resources>

common/resources/src/main/res/values-de/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,4 +218,5 @@
218218
<string name="imgur_client_id">Imgur Client ID</string>
219219
<string name="set_imgur_client_id">Set Imgur Client ID</string>
220220
<string name="set_imgur_client_id_desc">If images aren\'t showing using Imgur, you can try setting your own Client ID</string>
221+
<string name="show_song_as_title">Show Song as Title</string>
221222
</resources>

common/resources/src/main/res/values-es/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,4 +215,5 @@
215215
<string name="imgur_client_id">Imgur Client ID</string>
216216
<string name="set_imgur_client_id">Set Imgur Client ID</string>
217217
<string name="set_imgur_client_id_desc">If images aren\'t showing using Imgur, you can try setting your own Client ID</string>
218+
<string name="show_song_as_title">Show Song as Title</string>
218219
</resources>

common/resources/src/main/res/values-fa/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,4 +218,5 @@
218218
<string name="imgur_client_id">Imgur Client ID</string>
219219
<string name="set_imgur_client_id">Set Imgur Client ID</string>
220220
<string name="set_imgur_client_id_desc">If images aren\'t showing using Imgur, you can try setting your own Client ID</string>
221+
<string name="show_song_as_title">Show Song as Title</string>
221222
</resources>

common/resources/src/main/res/values-fil/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,4 +217,5 @@
217217
<string name="imgur_client_id">Imgur Client ID</string>
218218
<string name="set_imgur_client_id">Set Imgur Client ID</string>
219219
<string name="set_imgur_client_id_desc">If images aren\'t showing using Imgur, you can try setting your own Client ID</string>
220+
<string name="show_song_as_title">Show Song as Title</string>
220221
</resources>

common/resources/src/main/res/values-fr/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,4 +217,5 @@
217217
<string name="imgur_client_id">Imgur Client ID</string>
218218
<string name="set_imgur_client_id">Set Imgur Client ID</string>
219219
<string name="set_imgur_client_id_desc">If images aren\'t showing using Imgur, you can try setting your own Client ID</string>
220+
<string name="show_song_as_title">Show Song as Title</string>
220221
</resources>

common/resources/src/main/res/values-he/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,5 +218,6 @@
218218
<string name="imgur_client_id">Imgur Client ID</string>
219219
<string name="set_imgur_client_id">Set Imgur Client ID</string>
220220
<string name="set_imgur_client_id_desc">If images aren\'t showing using Imgur, you can try setting your own Client ID</string>
221+
<string name="show_song_as_title">Show Song as Title</string>
221222

222223
</resources>

common/resources/src/main/res/values-hi/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,4 +218,5 @@
218218
<string name="imgur_client_id">Imgur Client ID</string>
219219
<string name="set_imgur_client_id">Imgur Client ID सेट करे</string>
220220
<string name="set_imgur_client_id_desc">अगर पिक्चर नहीं दिख रहे है तो आप अपने Imgur Client ID सेट कर सकते है</string>
221+
<string name="show_song_as_title">Show Song as Title</string>
221222
</resources>

common/resources/src/main/res/values-hr/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,4 +218,5 @@
218218
<string name="imgur_client_id">Imgur Client ID</string>
219219
<string name="set_imgur_client_id">Set Imgur Client ID</string>
220220
<string name="set_imgur_client_id_desc">If images aren\'t showing using Imgur, you can try setting your own Client ID</string>
221+
<string name="show_song_as_title">Show Song as Title</string>
221222
</resources>

0 commit comments

Comments
 (0)