fix: updated readme

This commit is contained in:
Djairo Hougee 2023-11-05 16:27:10 +01:00
parent 137c3b1456
commit c56a59b126
1 changed files with 13 additions and 7 deletions

View File

@ -168,15 +168,19 @@ full = '+'
# [[metadata_fields]] # [[metadata_fields]]
# field = '<name of field>' # field = '<name of field>'
# num_chars = <maximum number of characters> # num_chars = <maximum number of characters>
# See https://www.freedesktop.org/wiki/Specifications/mpris-spec/metadata/ for available fields. # format = <string containing '{}' to apply formatting>
# if no extra formatting is desired, use a string of '{}'.
# See https://www.freedesktop.org/wiki/Specifications/mpris-spec/metadata/ for available names.
# string, u8 (0 <= u8 <= 255) # string, u8 (0 <= u8 <= 255)
[[metadata_fields]] [[metadata_fields]]
field = 'xesam:title' field = 'xesam:title'
num_chars = 40 num_chars = 40
format = '{}'
[[metadata_fields]] [[metadata_fields]]
field = 'xesam:artist' field = 'xesam:artist'
num_chars = 20 num_chars = 20
format = '{}'
# The prefixes to use with various players. Each entry is keyed by the Mpris identity. # The prefixes to use with various players. Each entry is keyed by the Mpris identity.
@ -210,12 +214,12 @@ Whenever a config file is specified that does not actually exist, the script cre
break_character = '-' break_character = '-'
[player_priorities] [player_priorities]
mpv = 3
Firefox = 5
Chromium = 6
Clementine = 1 Clementine = 1
Spotify = 2 Spotify = 2
mpv = 3
"VLC Media Player" = 4 "VLC Media Player" = 4
Firefox = 5
Chromium = 6
[rating_icons] [rating_icons]
nil = '-' nil = '-'
@ -225,18 +229,20 @@ Whenever a config file is specified that does not actually exist, the script cre
[[metadata_fields]] [[metadata_fields]]
field = 'xesam:title' field = 'xesam:title'
num_chars = 40 num_chars = 40
format = '{}'
[[metadata_fields]] [[metadata_fields]]
field = 'xesam:artist' field = 'xesam:artist'
num_chars = 20 num_chars = 20
format = '{}'
[player_prefixes] [player_prefixes]
Clementine = 'c'
chromium = 'g'
default = '>'
Firefox = 'f' Firefox = 'f'
mpv = 'm' mpv = 'm'
Spotify = 's' Spotify = 's'
chromium = 'g'
Clementine = 'c'
default = '>'
"VLC Media Player" = 'v' "VLC Media Player" = 'v'
``` ```
</details> </details>