Add some video metadata support through libdlna (>0.2.3).
Some more changes for DLNA compliance. Reformat some other code.
This commit is contained in:
19
metadata.h
19
metadata.h
@ -10,9 +10,28 @@
|
||||
#ifndef __METADATA_H__
|
||||
#define __METADATA_H__
|
||||
|
||||
typedef struct metadata_s {
|
||||
char *title;
|
||||
char *artist;
|
||||
char *album;
|
||||
char *genre;
|
||||
char *comment;
|
||||
char *channels;
|
||||
char *bitrate;
|
||||
char *frequency;
|
||||
char *bps;
|
||||
char *resolution;
|
||||
char *duration;
|
||||
char *mime;
|
||||
char *dlna_pn;
|
||||
} metadata_t;
|
||||
|
||||
char *
|
||||
modifyString(char * string, const char * before, const char * after, short like);
|
||||
|
||||
sqlite_int64
|
||||
GetFolderMetadata(const char * name, const char * artist);
|
||||
|
||||
sqlite_int64
|
||||
GetAudioMetadata(const char * path, char * name);
|
||||
|
||||
|
Reference in New Issue
Block a user