mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-25 22:55:56 -05:00
add ogg and vorbis to standalone scanner framework
This commit is contained in:
parent
b06aad7e49
commit
2d208dc30b
@ -30,7 +30,8 @@
|
||||
* externs
|
||||
*/
|
||||
extern int scan_get_wmainfo(char *filename, MP3FILE *pmp3);
|
||||
|
||||
extern int scan_get_ogginfo(char *filename, MP3FILE *pmp3);
|
||||
extern int scan_get_flacinfo(char *filename, MP3FILE *pmp3);
|
||||
|
||||
/*
|
||||
* Typedefs
|
||||
@ -46,6 +47,9 @@ typedef struct scannerlist_tag {
|
||||
*/
|
||||
SCANNERLIST scanner_list[] = {
|
||||
{ "wma",scan_get_wmainfo },
|
||||
{ "flac",scan_get_flacinfo },
|
||||
{ "fla",scan_get_flacinfo },
|
||||
{ "ogg",scan_get_ogginfo },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
char *av0;
|
||||
|
@ -1,6 +1,7 @@
|
||||
CC=gcc
|
||||
CFLAGS=-g
|
||||
CFLAGS := $(CFLAGS) -g
|
||||
LDFLAGS := $(LDFLAGS) -logg -lvorbisfile -lFLAC
|
||||
|
||||
scanner: scanner-driver.o restart.o wma.o err.o
|
||||
$(CC) -o scanner scanner-driver.o restart.o wma.o err.o
|
||||
scanner: scanner-driver.o restart.o wma.o err.o flac.o ogg.o
|
||||
$(CC) -o scanner $(LDFLAGS) scanner-driver.o restart.o wma.o err.o flac.o ogg.o
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user