Shows the ID3/Vorbis tag for a given filename
Included Files
- #include </usr/lib/gcc-lib/i486-pc-linux-gnu/3.2.3/include/stdio.h>
- #include </usr/include/stdlib.h>
- #include </usr/include/string.h>
- #include </usr/include/unistd.h>
- #include </usr/include/signal.h>
- #include </usr/include/sys/types.h>
- #include </usr/include/errno.h>
char PROCNAME[128]
struct tm* CUR_TIME
ubs_table GLOBAL
int LOGLEVEL
Shows the ID3/Vorbis tag for a given filename
int cmd_tag ( int cmdc, char** cmdv )
- int cmd_tag
- Returns OK on success, or whatever sub_print_tag() returns.
- int cmdc
- Number of arguments
- char** cmdv
- Argument vector
Opens up the music file and finds the tag, printing it out to the screen. This is done via the get_media_tag() function.
int sub_print_tag ( char* sname, int format )
- int sub_print_tag
- Returns OK on success, NO_FILE if the get_media_tag() call fails.
- char* sname
- The filename to query
- int format
- Output format to use.