mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
28.61k stars 2.92k forks source link

Filter the metadata printed in the console #1403

Closed ghost closed 9 years ago

ghost commented 9 years ago

[17:20:57] <SuperDupont: A bit on the topic, is there a way to filter some of the text in the terminal? The accoustid fingerprint is kinda annoying when playing a mp3: http://paste.ubuntu.com/9640906/ [17:40:49] <johnny|: SuperDupont: try mpv ... | grep -v 'Acoustid Fingerprint: ' [17:46:09] <wm4: the metadata printed should probably be filtered somehow, to exclude all the useless crap, but I'm not sure how [17:46:19] <wm4: maybe whitelist a few well-known keys

One example: http://paste.ubuntu.com/9640906/ mediainfo of the same file: http://paste.ubuntu.com/9641154/

mpv version: http://paste.ubuntu.com/9641208/

ghost commented 9 years ago

I'm open for suggestions how to handle this.

ghost commented 9 years ago

I think I'll add something like --display-tags=Artist,Title,Genre, which for example would only show the listed tags (if they are available). The default value would be set to something that contains most interesting tags.