* Consolidate client detection code.
* Add forced sorting support for Panasonic devices.
This commit is contained in:
@ -30,7 +30,8 @@
|
||||
#define __MINIDLNATYPES_H__
|
||||
|
||||
#include "config.h"
|
||||
#include <netinet/in.h>
|
||||
#include "clients.h"
|
||||
//#include <netinet/in.h>
|
||||
#include <time.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
@ -66,28 +67,6 @@ enum file_types {
|
||||
TYPE_FILE
|
||||
};
|
||||
|
||||
enum client_types {
|
||||
EXbox = 1,
|
||||
EPS3,
|
||||
ESamsungSeriesC,
|
||||
EDenonReceiver,
|
||||
EFreeBox,
|
||||
EPopcornHour,
|
||||
EMediaRoom,
|
||||
ESonyBDP,
|
||||
ESonyBravia,
|
||||
ERokuSoundBridge,
|
||||
EToshibaTV,
|
||||
ELGDevice,
|
||||
ENetgearEVA2000,
|
||||
ESamsungSeriesA,
|
||||
ESamsungSeriesB,
|
||||
EMarantzDMP,
|
||||
ELifeTab,
|
||||
EDirecTV,
|
||||
EStandardDLNA150 = 100
|
||||
};
|
||||
|
||||
struct media_dir_s {
|
||||
char *path; /* base path */
|
||||
media_types types; /* types of files to scan */
|
||||
@ -100,12 +79,4 @@ struct album_art_name_s {
|
||||
struct album_art_name_s *next;
|
||||
};
|
||||
|
||||
struct client_cache_s {
|
||||
struct in_addr addr;
|
||||
unsigned char mac[6];
|
||||
enum client_types type;
|
||||
uint32_t flags;
|
||||
time_t age;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user