1 /*
2 	metaprint: display of meta data (including filtering of UTF8 to ASCII)
3 
4 	copyright 2006-2020 by the mpg123 project
5 	free software under the terms of the LGPL 2.1
6 
7 	see COPYING and AUTHORS files in distribution or http://mpg123.org
8 	initially written by Thomas Orgis
9 */
10 
11 #ifndef MPG123_METAPRINT_H
12 #define MPG123_METAPRINT_H
13 
14 #include "mpg123.h"
15 #include <stdio.h>
16 
17 // Tired of typing the printing safeguard. Print the string contents
18 // or an empty string if there are none.
19 #define MPGSTR(ms) ((ms).fill ? (ms).p : "")
20 #define PSTR(ms) ((ms) ? (ms) : "")
21 
22 void print_id3_tag(mpg123_handle *mh, int long_meta, FILE *out, int linelimit);
23 void print_icy(mpg123_handle *mh, FILE *out);
24 
25 // Set to true if lyrics shall be printed.
26 extern int meta_show_lyrics;
27 
28 #endif
29