Skip to content

Commit

Permalink
Improve the scanner to start and stop properly and to release track d…
Browse files Browse the repository at this point in the history
…ata when remote control becomes unavailable.
  • Loading branch information
mikebrady committed Apr 7, 2018
1 parent 7481c70 commit 4aab0a6
Show file tree
Hide file tree
Showing 6 changed files with 372 additions and 322 deletions.
12 changes: 8 additions & 4 deletions common.h
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,14 @@ typedef struct {

#ifdef HAVE_METADATA_HUB
char *cover_art_cache_dir;
int scan_interval_when_active; // number of seconds between DACP server scans when playing something (1)
int scan_interval_when_inactive; // number of seconds between DACP server scans playing nothing (3)
int scan_max_bad_response_count; // number of successive bad results to ignore before giving up (10)
int scan_max_inactive_count; // number of scans to do before stopping if not made active again (about 15 minutes worth)
int scan_interval_when_active; // number of seconds between DACP server scans when playing
// something (1)
int scan_interval_when_inactive; // number of seconds between DACP server scans playing nothing
// (3)
int scan_max_bad_response_count; // number of successive bad results to ignore before giving up
// (10)
int scan_max_inactive_count; // number of scans to do before stopping if not made active again
// (about 15 minutes worth)
#endif
int disable_resend_requests; // set this to stop resend request being made for missing packets

Expand Down
Loading

0 comments on commit 4aab0a6

Please sign in to comment.