Classes |
struct | StatusRequest |
struct | PositionRequest |
struct | InfoRequest |
struct | FieldRequest |
struct | AddRequest |
struct | MprisMetadataRequest |
Defines |
#define | DBUS_TYPE_G_STRING_VALUE_HASHTABLE (dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_VALUE)) |
Functions |
static void | mpris_playlist_update_hook (gpointer unused, MprisTrackList *obj) |
void | audacious_rc_class_init (RemoteObjectClass *klass) |
void | mpris_root_class_init (MprisRootClass *klass) |
void | mpris_player_class_init (MprisPlayerClass *klass) |
void | mpris_tracklist_class_init (MprisTrackListClass *klass) |
void | audacious_rc_init (RemoteObject *object) |
void | mpris_root_init (MprisRoot *object) |
void | mpris_player_init (MprisPlayer *object) |
void | mpris_tracklist_init (MprisTrackList *object) |
void | init_dbus () |
static GValue * | tuple_value_to_gvalue (const Tuple *tuple, const gchar *key) |
static void | tuple_insert_to_hash_full (GHashTable *md, const Tuple *tuple, const gchar *tuple_key, const gchar *key) |
| Retrieves value named tuple_key and inserts it inside hash table.
|
static void | tuple_insert_to_hash (GHashTable *md, const Tuple *tuple, const gchar *key) |
static void | remove_metadata_value (gpointer value) |
static GHashTable * | make_mpris_metadata (const gchar *filename, const Tuple *tuple) |
static void | real_position (gint *playlist, gint *entry) |
static gboolean | get_status_cb (void *data) |
static void | get_status (struct StatusRequest *request) |
static gboolean | get_position_cb (void *data) |
static void | get_position (struct PositionRequest *request) |
static gboolean | get_info_cb (void *data) |
static void | get_info (struct InfoRequest *request) |
static gboolean | get_field_cb (void *data) |
static void | get_field (struct FieldRequest *request) |
static gboolean | play_cb (void *unused) |
static gboolean | pause_cb (void *unused) |
static gboolean | play_pause_cb (void *unused) |
static gboolean | seek_cb (void *data) |
static gboolean | stop_cb (void *unused) |
static gboolean | prev_cb (void *unused) |
static gboolean | next_cb (void *unused) |
static gboolean | jump_cb (void *data) |
static gboolean | add_cb (void *data) |
static gboolean | delete_cb (void *data) |
static gboolean | clear_cb (void *unused) |
static gboolean | add_to_queue_cb (void *data) |
static gboolean | remove_from_queue_cb (void *data) |
static gboolean | clear_queue_cb (void *unused) |
static gboolean | queue_get_entry_cb (void *data) |
static gint | queue_get_entry (gint position) |
static gboolean | queue_find_entry_cb (void *data) |
static gint | queue_find_entry (gint position) |
gboolean | add_to_new_playlist_cb (void *data) |
static gboolean | get_mpris_metadata_cb (void *data) |
static void | get_mpris_metadata (struct MprisMetadataRequest *request) |
static gboolean | set_no_playlist_advance_cb (void *no_advance) |
static gboolean | set_shuffle_cb (void *shuffle) |
static gboolean | set_repeat_cb (void *repeat) |
gboolean | mpris_root_identity (MprisRoot *obj, gchar **identity, GError **error) |
gboolean | mpris_root_quit (MprisPlayer *obj, GError **error) |
gboolean | mpris_player_next (MprisPlayer *obj, GError **error) |
gboolean | mpris_player_prev (MprisPlayer *obj, GError **error) |
gboolean | mpris_player_pause (MprisPlayer *obj, GError **error) |
gboolean | mpris_player_stop (MprisPlayer *obj, GError **error) |
gboolean | mpris_player_play (MprisPlayer *obj, GError **error) |
gboolean | mpris_player_repeat (MprisPlayer *obj, gboolean rpt, GError **error) |
static void | append_int_value (GValueArray *ar, gint tmp) |
static gint | get_playback_status (void) |
gboolean | mpris_player_get_status (MprisPlayer *obj, GValueArray **status, GError **error) |
gboolean | mpris_player_get_metadata (MprisPlayer *obj, GHashTable **metadata, GError **error) |
gboolean | mpris_player_get_caps (MprisPlayer *obj, gint *capabilities, GError **error) |
gboolean | mpris_player_volume_set (MprisPlayer *obj, gint vol, GError **error) |
gboolean | mpris_player_volume_get (MprisPlayer *obj, gint *vol, GError **error) |
gboolean | mpris_player_position_set (MprisPlayer *obj, gint pos, GError **error) |
gboolean | mpris_player_position_get (MprisPlayer *obj, gint *pos, GError **error) |
gboolean | mpris_emit_caps_change (MprisPlayer *obj) |
gboolean | mpris_emit_track_change (MprisPlayer *obj) |
gboolean | mpris_emit_status_change (MprisPlayer *obj, PlaybackStatus status) |
gboolean | mpris_emit_tracklist_change (MprisTrackList *obj, gint playlist) |
gboolean | mpris_tracklist_get_metadata (MprisTrackList *obj, gint pos, GHashTable **metadata, GError **error) |
gboolean | mpris_tracklist_get_current_track (MprisTrackList *obj, gint *pos, GError **error) |
gboolean | mpris_tracklist_get_length (MprisTrackList *obj, gint *length, GError **error) |
gboolean | mpris_tracklist_add_track (MprisTrackList *obj, gchar *uri, gboolean play, GError **error) |
gboolean | mpris_tracklist_del_track (MprisTrackList *obj, gint pos, GError **error) |
gboolean | mpris_tracklist_loop (MprisTrackList *obj, gboolean loop, GError **error) |
gboolean | mpris_tracklist_random (MprisTrackList *obj, gboolean random, GError **error) |
gboolean | audacious_rc_version (RemoteObject *obj, gchar **version, GError **error) |
gboolean | audacious_rc_quit (RemoteObject *obj, GError **error) |
gboolean | audacious_rc_eject (RemoteObject *obj, GError **error) |
gboolean | audacious_rc_main_win_visible (RemoteObject *obj, gboolean *visible, GError **error) |
gboolean | audacious_rc_show_main_win (RemoteObject *obj, gboolean show, GError **error) |
gboolean | audacious_rc_get_tuple_fields (RemoteObject *obj, gchar ***fields, GError **error) |
gboolean | audacious_rc_play (RemoteObject *obj, GError **error) |
gboolean | audacious_rc_pause (RemoteObject *obj, GError **error) |
gboolean | audacious_rc_stop (RemoteObject *obj, GError **error) |
gboolean | audacious_rc_playing (RemoteObject *obj, gboolean *is_playing, GError **error) |
gboolean | audacious_rc_paused (RemoteObject *obj, gboolean *is_paused, GError **error) |
gboolean | audacious_rc_stopped (RemoteObject *obj, gboolean *is_stopped, GError **error) |
gboolean | audacious_rc_status (RemoteObject *obj, gchar **status, GError **error) |
gboolean | audacious_rc_info (RemoteObject *obj, gint *rate, gint *freq, gint *nch, GError **error) |
gboolean | audacious_rc_time (RemoteObject *obj, gint *time, GError **error) |
gboolean | audacious_rc_seek (RemoteObject *obj, guint pos, GError **error) |
gboolean | audacious_rc_volume (RemoteObject *obj, gint *vl, gint *vr, GError **error) |
gboolean | audacious_rc_set_volume (RemoteObject *obj, gint vl, gint vr, GError **error) |
gboolean | audacious_rc_balance (RemoteObject *obj, gint *balance, GError **error) |
gboolean | audacious_rc_position (RemoteObject *obj, gint *pos, GError **error) |
gboolean | audacious_rc_advance (RemoteObject *obj, GError **error) |
gboolean | audacious_rc_reverse (RemoteObject *obj, GError **error) |
gboolean | audacious_rc_length (RemoteObject *obj, gint *length, GError **error) |
gboolean | audacious_rc_song_title (RemoteObject *obj, guint pos, gchar **title, GError **error) |
gboolean | audacious_rc_song_filename (RemoteObject *obj, guint pos, gchar **filename, GError **error) |
gboolean | audacious_rc_song_length (RemoteObject *obj, guint pos, gint *length, GError **error) |
gboolean | audacious_rc_song_frames (RemoteObject *obj, guint pos, gint *length, GError **error) |
gboolean | audacious_rc_song_tuple (RemoteObject *obj, guint pos, gchar *field, GValue *value, GError **error) |
gboolean | audacious_rc_jump (RemoteObject *obj, guint pos, GError **error) |
gboolean | audacious_rc_add (RemoteObject *obj, gchar *file, GError **error) |
gboolean | audacious_rc_add_url (RemoteObject *obj, gchar *file, GError **error) |
static GList * | string_array_to_list (gchar **strings) |
gboolean | audacious_rc_add_list (RemoteObject *obj, gchar **filenames, GError **error) |
gboolean | audacious_rc_open_list (RemoteObject *obj, gchar **filenames, GError **error) |
gboolean | audacious_rc_open_list_to_temp (RemoteObject *obj, gchar **filenames, GError **error) |
gboolean | audacious_rc_delete (RemoteObject *obj, guint pos, GError **error) |
gboolean | audacious_rc_clear (RemoteObject *obj, GError **error) |
gboolean | audacious_rc_auto_advance (RemoteObject *obj, gboolean *is_advance, GError **error) |
gboolean | audacious_rc_toggle_auto_advance (RemoteObject *obj, GError **error) |
gboolean | audacious_rc_repeat (RemoteObject *obj, gboolean *is_repeating, GError **error) |
gboolean | audacious_rc_toggle_repeat (RemoteObject *obj, GError **error) |
gboolean | audacious_rc_shuffle (RemoteObject *obj, gboolean *is_shuffling, GError **error) |
gboolean | audacious_rc_toggle_shuffle (RemoteObject *obj, GError **error) |
gboolean | audacious_rc_show_prefs_box (RemoteObject *obj, gboolean show, GError **error) |
gboolean | audacious_rc_show_about_box (RemoteObject *obj, gboolean show, GError **error) |
gboolean | audacious_rc_show_jtf_box (RemoteObject *obj, gboolean show, GError **error) |
gboolean | audacious_rc_show_filebrowser (RemoteObject *obj, gboolean show, GError **error) |
gboolean | audacious_rc_play_pause (RemoteObject *obj, GError **error) |
gboolean | audacious_rc_get_info (RemoteObject *obj, gint *rate, gint *freq, gint *nch, GError **error) |
gboolean | audacious_rc_toggle_aot (RemoteObject *obj, gboolean ontop, GError **error) |
gboolean | audacious_rc_playqueue_add (RemoteObject *obj, gint pos, GError **error) |
gboolean | audacious_rc_playqueue_remove (RemoteObject *obj, gint pos, GError **error) |
gboolean | audacious_rc_playqueue_clear (RemoteObject *obj, GError **error) |
gboolean | audacious_rc_get_playqueue_length (RemoteObject *obj, gint *length, GError **error) |
gboolean | audacious_rc_queue_get_list_pos (RemoteObject *obj, gint qpos, gint *pos, GError **error) |
gboolean | audacious_rc_queue_get_queue_pos (RemoteObject *obj, gint pos, gint *qpos, GError **error) |
gboolean | audacious_rc_playqueue_is_queued (RemoteObject *obj, gint pos, gboolean *is_queued, GError **error) |
gboolean | audacious_rc_playlist_ins_url_string (RemoteObject *obj, gchar *url, gint pos, GError **error) |
gboolean | audacious_rc_playlist_add (RemoteObject *obj, void *list, GError **error) |
gboolean | audacious_rc_playlist_enqueue_to_temp (RemoteObject *obj, gchar *url, GError **error) |
gboolean | audacious_rc_get_eq (RemoteObject *obj, gdouble *preamp, GArray **bands, GError **error) |
gboolean | audacious_rc_get_eq_preamp (RemoteObject *obj, gdouble *preamp, GError **error) |
gboolean | audacious_rc_get_eq_band (RemoteObject *obj, gint band, gdouble *value, GError **error) |
gboolean | audacious_rc_set_eq (RemoteObject *obj, gdouble preamp, GArray *bands, GError **error) |
gboolean | audacious_rc_set_eq_preamp (RemoteObject *obj, gdouble preamp, GError **error) |
gboolean | audacious_rc_set_eq_band (RemoteObject *obj, gint band, gdouble value, GError **error) |
gboolean | audacious_rc_equalizer_activate (RemoteObject *obj, gboolean active, GError **error) |
gboolean | audacious_rc_get_active_playlist_name (RemoteObject *obj, gchar **title, GError **error) |
DBusGProxy * | audacious_get_dbus_proxy (void) |
Variables |
static DBusGConnection * | dbus_conn = NULL |
static guint | signals [LAST_SIG] = { 0 } |
static guint | tracklist_signals [LAST_TRACKLIST_SIG] = { 0 } |
MprisPlayer * | mpris = NULL |
static GThread * | main_thread |
static GMutex * | info_mutex |
static GCond * | info_cond |