my $title = qx(playerctl $player_arg metadata title);
$title =~ s/(\s|\s\()[Ff]([et]at[. ].*|t.*)//;
+$title =~ s/(\s\(.+\) *|\s-\s.+)//;
$title =~ s/&/&/;
push(@metadata, $title) if $title;
+for (@metadata){
+ s/\n//;
+}
+
# Print stuff
print(join(" - ", @metadata)) if @metadata;
print("</span>");