mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-23 04:33:17 -05:00
39 lines
556 B
C
39 lines
556 B
C
|
|
#ifndef __SPOTIFY_H__
|
|
#define __SPOTIFY_H__
|
|
|
|
#include "db.h"
|
|
#include <event.h>
|
|
|
|
int
|
|
spotify_playback_play(struct media_file_info *mfi);
|
|
|
|
void
|
|
spotify_playback_pause_nonblock(void);
|
|
|
|
int
|
|
spotify_playback_stop(void);
|
|
|
|
void
|
|
spotify_playback_stop_nonblock(void);
|
|
|
|
int
|
|
spotify_playback_seek(int ms);
|
|
|
|
int
|
|
spotify_audio_get(struct evbuffer *evbuf, int wanted);
|
|
|
|
int
|
|
spotify_artwork_get(struct evbuffer *evbuf, char *path, int max_w, int max_h);
|
|
|
|
void
|
|
spotify_login(char *path);
|
|
|
|
int
|
|
spotify_init(void);
|
|
|
|
void
|
|
spotify_deinit(void);
|
|
|
|
#endif /* !__SPOTIFY_H__ */
|