Oh I think I misunderstand you maybe? Here is a sed command to replace the option for all playlist files in one go. First a test command that will only output to stdout, without editing the file itself (make backups anyway):
sed ās/ālabel_display_modeā: [0-9],/ālabel_display_modeā: 3,/ā ā āAmstrad - CPC.lplā
The above command will only replace the key: value pair for one file, but wonāt change the file itself. It will output to stdou, so you can test if the command is working. The number 3
in there is the display mode Remove () and []
, while 0
is the first configuration as Show Full Labels
. If you want make changes to the actual file, you can add the sed option -i
to the command, so it will edit the file in place and overwrite it. The following command will do this with all .lpl files in current directory:
sed -i ās/ālabel_display_modeā: [0-9],/ālabel_display_modeā: 3,/ā ā *.lpl