Rewrite spotify to use libevent for better reliability

This commit is contained in:
ejurgensen 2014-03-23 21:45:06 +01:00
parent 7c3da47eb7
commit 87f8b204df
3 changed files with 818 additions and 547 deletions

View File

@ -1107,7 +1107,7 @@ process_inotify_file(struct watch_info *wi, char *path, struct inotify_event *ie
int type;
int ret;
DPRINTF(E_DBG, L_SCAN, "File event: 0x%x, cookie 0x%x, wd %d\n", ie->mask, ie->cookie, wi->wd);
DPRINTF(E_SPAM, L_SCAN, "File event: 0x%x, cookie 0x%x, wd %d\n", ie->mask, ie->cookie, wi->wd);
if (ie->mask & IN_DELETE)
{

File diff suppressed because it is too large Load Diff

View File

@ -8,12 +8,15 @@
int
spotify_playback_play(struct media_file_info *mfi);
int
spotify_playback_pause(void);
void
spotify_playback_pause_nonblock(void);
int
spotify_playback_stop(void);
void
spotify_playback_stop_nonblock(void);
int
spotify_playback_seek(int ms);