* Consolidate client detection code.

* Add forced sorting support for Panasonic devices.
This commit is contained in:
Justin Maggard
2013-03-18 05:37:46 +00:00
parent bc33a34331
commit 1c748c1d5a
12 changed files with 436 additions and 265 deletions

View File

@ -52,6 +52,7 @@
#include <time.h>
#include "minidlnatypes.h"
#include "clients.h"
#include "config.h"
#include <sqlite3.h>
@ -64,7 +65,6 @@
# define SERVER_NAME "MiniDLNA"
#endif
#define CLIENT_CACHE_SLOTS 20
#define USE_FORK 1
#define DB_VERSION 9
@ -194,7 +194,7 @@ extern uint32_t runtime_flags;
#define GETFLAG(mask) (runtime_flags & mask)
#define CLEARFLAG(mask) runtime_flags &= ~mask
extern const char * pidfilename;
extern const char *pidfilename;
extern char uuidvalue[];
@ -229,9 +229,8 @@ extern sqlite3 *db;
extern char friendly_name[];
extern char db_path[];
extern char log_path[];
extern struct media_dir_s * media_dirs;
extern struct album_art_name_s * album_art_names;
extern struct client_cache_s clients[CLIENT_CACHE_SLOTS];
extern struct media_dir_s *media_dirs;
extern struct album_art_name_s *album_art_names;
extern short int scanning;
extern volatile short int quitting;
extern volatile uint32_t updateID;