* Add client type caching code, so we can behave in a customized manner if necessary for certain clients.
This commit is contained in:
@ -28,6 +28,12 @@ enum media_types {
|
||||
IMAGES_ONLY
|
||||
};
|
||||
|
||||
enum client_types {
|
||||
EXbox = 1,
|
||||
EPS3,
|
||||
ESamsungTV
|
||||
};
|
||||
|
||||
struct media_dir_s {
|
||||
char * path; /* Base path */
|
||||
enum media_types type; /* type of files to scan */
|
||||
@ -39,4 +45,10 @@ struct album_art_name_s {
|
||||
struct album_art_name_s * next;
|
||||
};
|
||||
|
||||
struct client_cache_s {
|
||||
struct in_addr addr;
|
||||
enum client_types type;
|
||||
time_t age;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user