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