* Add generic DLNA client type detection and caching, and don't use DLNA-specific MIME types if the client doesn't support DLNA.

This commit is contained in:
Justin Maggard
2009-05-01 19:36:43 +00:00
parent 35352221b2
commit 401da95831
5 changed files with 54 additions and 27 deletions

View File

@ -31,7 +31,8 @@ enum media_types {
enum client_types {
EXbox = 1,
EPS3,
ESamsungTV
ESamsungTV,
EUnknownClient
};
struct media_dir_s {
@ -48,6 +49,7 @@ struct album_art_name_s {
struct client_cache_s {
struct in_addr addr;
enum client_types type;
u_int32_t flags;
time_t age;
};