#include <glib.h>#include <dbus/dbus-glib.h>Go to the source code of this file.
Functions | |
| G_BEGIN_DECLS void | audacious_remote_playlist (DBusGProxy *proxy, gchar **list, gint num, gboolean enqueue) |
| Sends a list of URIs to Audacious, either replacing current playlist or enqueuing them. | |
| gchar * | audacious_remote_get_version (DBusGProxy *proxy) |
| Queries Audacious for its version identifier. | |
| void | audacious_remote_playlist_add (DBusGProxy *proxy, GList *list) |
| Sends a list of URIs to Audacious to add to the playlist. | |
| void | audacious_remote_playlist_delete (DBusGProxy *proxy, guint pos) |
| Deletes a playlist entry from current playlist in given position. | |
| void | audacious_remote_play (DBusGProxy *proxy) |
| Requests audacious to begin playback. | |
| void | audacious_remote_pause (DBusGProxy *proxy) |
| Tells audacious to pause. | |
| void | audacious_remote_stop (DBusGProxy *proxy) |
| Tells audacious to stop. | |
| gboolean | audacious_remote_is_playing (DBusGProxy *proxy) |
| Queries audacious about whether it is playing or not. | |
| gboolean | audacious_remote_is_paused (DBusGProxy *proxy) |
| audacious_remote_is_paused: | |
| gint | audacious_remote_get_playlist_pos (DBusGProxy *proxy) |
| audacious_remote_get_playlist_pos: | |
| void | audacious_remote_set_playlist_pos (DBusGProxy *proxy, guint pos) |
| audacious_remote_set_playlist_pos: | |
| gint | audacious_remote_get_playlist_length (DBusGProxy *proxy) |
| audacious_remote_get_playlist_length: | |
| void | audacious_remote_playlist_clear (DBusGProxy *proxy) |
| audacious_remote_playlist_clear: | |
| gint | audacious_remote_get_output_time (DBusGProxy *proxy) |
| audacious_remote_get_output_time: | |
| void | audacious_remote_jump_to_time (DBusGProxy *proxy, guint pos) |
| audacious_remote_jump_to_time: | |
| void | audacious_remote_get_volume (DBusGProxy *proxy, gint *vl, gint *vr) |
| Queries audacious for the current volume settings. | |
| gint | audacious_remote_get_main_volume (DBusGProxy *proxy) |
| Queries audacious about the current volume. | |
| gint | audacious_remote_get_balance (DBusGProxy *proxy) |
| Queries audacious about the current balance. | |
| void | audacious_remote_set_volume (DBusGProxy *proxy, gint vl, gint vr) |
| Sets the volume for the left and right channels in Audacious. | |
| void | audacious_remote_set_main_volume (DBusGProxy *proxy, gint v) |
| Sets the volume in Audacious. | |
| void | audacious_remote_set_balance (DBusGProxy *proxy, gint b) |
| Sets the balance in Audacious. | |
| gchar * | audacious_remote_get_skin (DBusGProxy *proxy) |
| void | audacious_remote_set_skin (DBusGProxy *proxy, gchar *skinfile) |
| gchar * | audacious_remote_get_playlist_file (DBusGProxy *proxy, guint pos) |
| Queries Audacious about a playlist entry's file. | |
| gchar * | audacious_remote_get_playlist_title (DBusGProxy *proxy, guint pos) |
| Queries Audacious about a playlist entry's title. | |
| gint | audacious_remote_get_playlist_time (DBusGProxy *proxy, guint pos) |
| Queries Audacious about a playlist entry's length. | |
| void | audacious_remote_get_info (DBusGProxy *proxy, gint *rate, gint *freq, gint *nch) |
| Queries Audacious about the current audio format. | |
| void | audacious_remote_main_win_toggle (DBusGProxy *proxy, gboolean show) |
| Toggles the main window's visibility. | |
| void | audacious_remote_pl_win_toggle (DBusGProxy *proxy, gboolean show) |
| Toggles the playlist window's visibility. | |
| void | audacious_remote_eq_win_toggle (DBusGProxy *proxy, gboolean show) |
| Toggles the equalizer window's visibility. | |
| gboolean | audacious_remote_is_main_win (DBusGProxy *proxy) |
| Queries Audacious about the main window's visibility. | |
| gboolean | audacious_remote_is_pl_win (DBusGProxy *proxy) |
| Queries Audacious about the playlist window's visibility. | |
| gboolean | audacious_remote_is_eq_win (DBusGProxy *proxy) |
| Queries Audacious about the equalizer window's visibility. | |
| void | audacious_remote_show_prefs_box (DBusGProxy *proxy) |
| Tells audacious to show the preferences pane. | |
| void | audacious_remote_toggle_aot (DBusGProxy *proxy, gboolean ontop) |
| Tells audacious to set the always-on-top feature. | |
| void | audacious_remote_eject (DBusGProxy *proxy) |
| Tells audacious to display the open files pane. | |
| void | audacious_remote_playlist_prev (DBusGProxy *proxy) |
| audacious_remote_playlist_prev: | |
| void | audacious_remote_playlist_next (DBusGProxy *proxy) |
| Tells audacious to move forward in the playlist. | |
| void | audacious_remote_playlist_add_url_string (DBusGProxy *proxy, gchar *string) |
| Tells audacious to add an URI to the playlist. | |
| gboolean | audacious_remote_is_running (DBusGProxy *proxy) |
| Check if an Audacious instance is running. | |
| void | audacious_remote_toggle_repeat (DBusGProxy *proxy) |
| Tells audacious to toggle the repeat feature. | |
| void | audacious_remote_toggle_shuffle (DBusGProxy *proxy) |
| Tells audacious to toggle the shuffle feature. | |
| gboolean | audacious_remote_is_repeat (DBusGProxy *proxy) |
| Queries audacious about whether or not the repeat feature is active. | |
| gboolean | audacious_remote_is_shuffle (DBusGProxy *proxy) |
| Queries audacious about whether or not the shuffle feature is active. | |
| void | audacious_remote_get_eq (DBusGProxy *proxy, gdouble *preamp, GArray **bands) |
| Queries audacious about the equalizer settings. | |
| gdouble | audacious_remote_get_eq_preamp (DBusGProxy *proxy) |
| Queries audacious about the equalizer preamp's setting. | |
| gdouble | audacious_remote_get_eq_band (DBusGProxy *proxy, gint band) |
| Queries audacious about an equalizer band's value. | |
| void | audacious_remote_set_eq (DBusGProxy *proxy, gdouble preamp, GArray *bands) |
| Tells audacious to set the equalizer up using the provided values. | |
| void | audacious_remote_set_eq_preamp (DBusGProxy *proxy, gdouble preamp) |
| Tells audacious to set the equalizer's preamp setting. | |
| void | audacious_remote_set_eq_band (DBusGProxy *proxy, gint band, gdouble value) |
| Tells audacious to set an equalizer band's setting. | |
| void | audacious_remote_quit (DBusGProxy *proxy) |
| Requests audacious to quit. | |
| void | audacious_remote_play_pause (DBusGProxy *proxy) |
| Tells audacious to toggle between play and pause. | |
| void | audacious_remote_playlist_ins_url_string (DBusGProxy *proxy, gchar *string, guint pos) |
| Tells audacious to add an URI to the playlist at a specific position. | |
| void | audacious_remote_playqueue_add (DBusGProxy *proxy, guint pos) |
| Tells audacious to add a playlist entry to the playqueue. | |
| void | audacious_remote_playqueue_remove (DBusGProxy *proxy, guint pos) |
| Tells audacious to remove a playlist entry from the playqueue. | |
| gint | audacious_remote_get_playqueue_length (DBusGProxy *proxy) |
| Queries audacious about the playqueue's length. | |
| void | audacious_remote_toggle_advance (DBusGProxy *proxy) |
| Tells audacious to toggle the no-playlist-advance feature. | |
| gboolean | audacious_remote_is_advance (DBusGProxy *proxy) |
| audacious_remote_is_advance: | |
| void | audacious_remote_activate (DBusGProxy *proxy) |
| Tells audacious to display the main window and become the selected window. | |
| void | audacious_remote_show_jtf_box (DBusGProxy *proxy) |
| Tells audacious to show the Jump-to-File pane. | |
| void | audacious_remote_playqueue_clear (DBusGProxy *proxy) |
| audacious_remote_playqueue_clear: | |
| gboolean | audacious_remote_playqueue_is_queued (DBusGProxy *proxy, guint pos) |
| Queries audacious about whether or not a playlist entry is in the playqueue. | |
| gint | audacious_remote_get_playqueue_list_position (DBusGProxy *proxy, guint qpos) |
| Queries audacious what is the playlist position for given a playqueue entry index. | |
| gint | audacious_remote_get_playqueue_queue_position (DBusGProxy *proxy, guint pos) |
| Queries audacious about what the playqueue position is for a playlist entry. | |
| void | audacious_set_session_uri (DBusGProxy *proxy, gchar *uri) |
| gchar * | audacious_get_session_uri (DBusGProxy *proxy) |
| void | audacious_set_session_type (DBusGProxy *proxy, gint type) |
| void | audacious_remote_playlist_enqueue_to_temp (DBusGProxy *proxy, gchar *string) |
| Tells audacious to add an URI to a temporary playlist. | |
| gchar * | audacious_get_tuple_field_data (DBusGProxy *proxy, gchar *field, guint pos) |
| Queries Audacious about a playlist entry's tuple information. | |
| void | audacious_remote_show_about_box (DBusGProxy *proxy) |
| Tells audacious to show the about box. | |
| void | audacious_remote_toggle_about_box (DBusGProxy *proxy, gboolean show) |
| Tells audacious to show/hide the about box. | |
| void | audacious_remote_toggle_jtf_box (DBusGProxy *proxy, gboolean show) |
| Tells audacious to show/hide the Jump-to-File pane. | |
| void | audacious_remote_toggle_prefs_box (DBusGProxy *proxy, gboolean show) |
| Tells audacious to show/hide the preferences pane. | |
| void | audacious_remote_toggle_filebrowser (DBusGProxy *proxy, gboolean show) |
| Tells audacious to show the filebrowser dialog. | |
| void | audacious_remote_eq_activate (DBusGProxy *proxy, gboolean active) |
| Toggles the equalizer. | |
| gchar ** | audacious_remote_get_tuple_fields (DBusGProxy *proxy) |
| Returns a array of strings with available tuple field names. | |
| void | audacious_remote_playlist_open_list (DBusGProxy *proxy, GList *list) |
| Sends a list of URIs for Audacious to open. | |
| void | audacious_remote_playlist_open_list_to_temp (DBusGProxy *proxy, GList *list) |
| Sends a list of URIs for Audacious to open in a temporary playlist. | |
| gchar * | audacious_remote_playlist_get_active_name (DBusGProxy *proxy) |
| Returns the active playlist name. | |
| gchar* audacious_get_session_uri | ( | DBusGProxy * | proxy | ) |
| gchar* audacious_get_tuple_field_data | ( | DBusGProxy * | proxy, | |
| gchar * | field, | |||
| guint | pos | |||
| ) |
Queries Audacious about a playlist entry's tuple information.
| [in] | proxy | DBus proxy for audacious |
| [in] | field | The name of the tuple field to retrieve. |
| [in] | pos | The playlist position to query for. |
| void audacious_remote_activate | ( | DBusGProxy * | proxy | ) |
Tells audacious to display the main window and become the selected window.
| [in] | proxy | DBus proxy for audacious |
Definition at line 855 of file audctrl.c.
Referenced by handle_cmd_line_options_first().
| void audacious_remote_eject | ( | DBusGProxy * | proxy | ) |
| void audacious_remote_eq_activate | ( | DBusGProxy * | proxy, | |
| gboolean | active | |||
| ) |
| void audacious_remote_eq_win_toggle | ( | DBusGProxy * | proxy, | |
| gboolean | show | |||
| ) |
| gint audacious_remote_get_balance | ( | DBusGProxy * | proxy | ) |
Queries audacious about the current balance.
| [in] | proxy | DBus proxy for audacious |
Definition at line 323 of file audctrl.c.
Referenced by audacious_remote_set_main_volume().
| void audacious_remote_get_eq | ( | DBusGProxy * | proxy, | |
| gdouble * | preamp, | |||
| GArray ** | bands | |||
| ) |
| gdouble audacious_remote_get_eq_preamp | ( | DBusGProxy * | proxy | ) |
Queries Audacious about the current audio format.
| [in] | proxy | DBus proxy for audacious |
| [out] | rate | Pointer to an integer containing the bitrate. |
| [out] | freq | Pointer to an integer containing the frequency. |
| [out] | nch | Pointer to an integer containing the number of channels. |
| gint audacious_remote_get_main_volume | ( | DBusGProxy * | proxy | ) |
Queries audacious about the current volume.
| [in] | proxy | DBus proxy for audacious |
Definition at line 309 of file audctrl.c.
Referenced by audacious_remote_set_balance().
| gint audacious_remote_get_output_time | ( | DBusGProxy * | proxy | ) |
| gchar* audacious_remote_get_playlist_file | ( | DBusGProxy * | proxy, | |
| guint | pos | |||
| ) |
| gint audacious_remote_get_playlist_length | ( | DBusGProxy * | proxy | ) |
| gint audacious_remote_get_playlist_pos | ( | DBusGProxy * | proxy | ) |
| gint audacious_remote_get_playlist_time | ( | DBusGProxy * | proxy, | |
| guint | pos | |||
| ) |
| gchar* audacious_remote_get_playlist_title | ( | DBusGProxy * | proxy, | |
| guint | pos | |||
| ) |
| gint audacious_remote_get_playqueue_length | ( | DBusGProxy * | proxy | ) |
| gint audacious_remote_get_playqueue_list_position | ( | DBusGProxy * | proxy, | |
| guint | qpos | |||
| ) |
| gint audacious_remote_get_playqueue_queue_position | ( | DBusGProxy * | proxy, | |
| guint | pos | |||
| ) |
| gchar* audacious_remote_get_skin | ( | DBusGProxy * | proxy | ) |
| gchar** audacious_remote_get_tuple_fields | ( | DBusGProxy * | proxy | ) |
| gchar* audacious_remote_get_version | ( | DBusGProxy * | proxy | ) |
Queries audacious for the current volume settings.
| [in] | proxy | DBus proxy for audacious |
| [out] | vl | Pointer to integer containing the left channel's volume (0-100). |
| [out] | vr | Pointer to integer containing the right channel's volume (0-100). |
Definition at line 298 of file audctrl.c.
Referenced by audacious_remote_get_main_volume().
| gboolean audacious_remote_is_advance | ( | DBusGProxy * | proxy | ) |
| gboolean audacious_remote_is_eq_win | ( | DBusGProxy * | proxy | ) |
| gboolean audacious_remote_is_main_win | ( | DBusGProxy * | proxy | ) |
| gboolean audacious_remote_is_paused | ( | DBusGProxy * | proxy | ) |
| gboolean audacious_remote_is_pl_win | ( | DBusGProxy * | proxy | ) |
| gboolean audacious_remote_is_playing | ( | DBusGProxy * | proxy | ) |
| gboolean audacious_remote_is_repeat | ( | DBusGProxy * | proxy | ) |
| gboolean audacious_remote_is_running | ( | DBusGProxy * | proxy | ) |
Check if an Audacious instance is running.
| [in] | proxy | DBus proxy for audacious |
Definition at line 620 of file audctrl.c.
Referenced by handle_cmd_line_options_first().
| gboolean audacious_remote_is_shuffle | ( | DBusGProxy * | proxy | ) |
| void audacious_remote_jump_to_time | ( | DBusGProxy * | proxy, | |
| guint | pos | |||
| ) |
| void audacious_remote_main_win_toggle | ( | DBusGProxy * | proxy, | |
| gboolean | show | |||
| ) |
Toggles the main window's visibility.
| [in] | proxy | DBus proxy for audacious |
| [in] | show | Whether or not to show the main window. |
Definition at line 454 of file audctrl.c.
Referenced by handle_cmd_line_options_first().
| void audacious_remote_pause | ( | DBusGProxy * | proxy | ) |
Tells audacious to pause.
| [in] | proxy | DBus proxy for audacious |
Definition at line 168 of file audctrl.c.
Referenced by handle_cmd_line_options_first().
| void audacious_remote_pl_win_toggle | ( | DBusGProxy * | proxy, | |
| gboolean | show | |||
| ) |
| void audacious_remote_play | ( | DBusGProxy * | proxy | ) |
Requests audacious to begin playback.
| [in] | proxy | DBus proxy for audacious |
Definition at line 158 of file audctrl.c.
Referenced by audacious_remote_playlist(), and handle_cmd_line_options_first().
| void audacious_remote_play_pause | ( | DBusGProxy * | proxy | ) |
Tells audacious to toggle between play and pause.
| [in] | proxy | DBus proxy for audacious |
Definition at line 771 of file audctrl.c.
Referenced by handle_cmd_line_options_first().
| G_BEGIN_DECLS void audacious_remote_playlist | ( | DBusGProxy * | proxy, | |
| gchar ** | list, | |||
| gint | num, | |||
| gboolean | enqueue | |||
| ) |
Sends a list of URIs to Audacious, either replacing current playlist or enqueuing them.
| [in] | proxy | DBus proxy for Audacious |
| [in] | list | An array of URI strings to add. |
| [in] | num | Number of URIs to add. |
| [in] | enqueue | Whether or not the new playlist should be added on, or replace the current playlist. |
| void audacious_remote_playlist_add | ( | DBusGProxy * | proxy, | |
| GList * | list | |||
| ) |
Sends a list of URIs to Audacious to add to the playlist.
| [in] | proxy | DBus proxy for audacious |
| [in] | list | A GList of URIs to add to the playlist. |
Definition at line 86 of file audctrl.c.
Referenced by handle_cmd_line_filenames().
| void audacious_remote_playlist_add_url_string | ( | DBusGProxy * | proxy, | |
| gchar * | string | |||
| ) |
| void audacious_remote_playlist_clear | ( | DBusGProxy * | proxy | ) |
audacious_remote_playlist_clear:
| [in] | proxy | DBus proxy for audacious |
Clears the playlist.
Definition at line 259 of file audctrl.c.
Referenced by audacious_remote_playlist().
| void audacious_remote_playlist_delete | ( | DBusGProxy * | proxy, | |
| guint | pos | |||
| ) |
| void audacious_remote_playlist_enqueue_to_temp | ( | DBusGProxy * | proxy, | |
| gchar * | string | |||
| ) |
| gchar* audacious_remote_playlist_get_active_name | ( | DBusGProxy * | proxy | ) |
| void audacious_remote_playlist_ins_url_string | ( | DBusGProxy * | proxy, | |
| gchar * | string, | |||
| guint | pos | |||
| ) |
| void audacious_remote_playlist_next | ( | DBusGProxy * | proxy | ) |
Tells audacious to move forward in the playlist.
| [in] | proxy | DBus proxy for audacious |
Definition at line 597 of file audctrl.c.
Referenced by handle_cmd_line_options_first().
| void audacious_remote_playlist_open_list | ( | DBusGProxy * | proxy, | |
| GList * | list | |||
| ) |
Sends a list of URIs for Audacious to open.
New in Audacious 2.3.
| [in] | proxy | DBus proxy for audacious |
| [in] | list | A GList of URIs to open |
Definition at line 106 of file audctrl.c.
Referenced by handle_cmd_line_filenames().
| void audacious_remote_playlist_open_list_to_temp | ( | DBusGProxy * | proxy, | |
| GList * | list | |||
| ) |
Sends a list of URIs for Audacious to open in a temporary playlist.
New in Audacious 2.3.
| [in] | proxy | DBus proxy for audacious |
| [in] | list | A GList of URIs to open |
Definition at line 127 of file audctrl.c.
Referenced by handle_cmd_line_filenames().
| void audacious_remote_playlist_prev | ( | DBusGProxy * | proxy | ) |
audacious_remote_playlist_prev:
| [in] | proxy | DBus proxy for audacious |
Tells audacious to move backwards in the playlist.
Definition at line 587 of file audctrl.c.
Referenced by handle_cmd_line_options_first().
| void audacious_remote_playqueue_add | ( | DBusGProxy * | proxy, | |
| guint | pos | |||
| ) |
| void audacious_remote_playqueue_clear | ( | DBusGProxy * | proxy | ) |
| gboolean audacious_remote_playqueue_is_queued | ( | DBusGProxy * | proxy, | |
| guint | pos | |||
| ) |
| void audacious_remote_playqueue_remove | ( | DBusGProxy * | proxy, | |
| guint | pos | |||
| ) |
| void audacious_remote_quit | ( | DBusGProxy * | proxy | ) |
| void audacious_remote_set_balance | ( | DBusGProxy * | proxy, | |
| gint | b | |||
| ) |
| void audacious_remote_set_eq | ( | DBusGProxy * | proxy, | |
| gdouble | preamp, | |||
| GArray * | bands | |||
| ) |
| void audacious_remote_set_eq_preamp | ( | DBusGProxy * | proxy, | |
| gdouble | preamp | |||
| ) |
| void audacious_remote_set_main_volume | ( | DBusGProxy * | proxy, | |
| gint | v | |||
| ) |
| void audacious_remote_set_playlist_pos | ( | DBusGProxy * | proxy, | |
| guint | pos | |||
| ) |
| void audacious_remote_set_skin | ( | DBusGProxy * | proxy, | |
| gchar * | skinfile | |||
| ) |
Sets the volume for the left and right channels in Audacious.
| [in] | proxy | DBus proxy for audacious |
| [in] | vl | The volume for the left channel (0-100). |
| [in] | vr | The volume for the right channel (0-100). |
Definition at line 337 of file audctrl.c.
Referenced by audacious_remote_set_balance(), and audacious_remote_set_main_volume().
| void audacious_remote_show_about_box | ( | DBusGProxy * | proxy | ) |
| void audacious_remote_show_jtf_box | ( | DBusGProxy * | proxy | ) |
Tells audacious to show the Jump-to-File pane.
| [in] | proxy | DBus proxy for audacious |
Definition at line 865 of file audctrl.c.
Referenced by handle_cmd_line_options_first().
| void audacious_remote_show_prefs_box | ( | DBusGProxy * | proxy | ) |
| void audacious_remote_stop | ( | DBusGProxy * | proxy | ) |
Tells audacious to stop.
| [in] | proxy | DBus proxy for audacious |
Definition at line 178 of file audctrl.c.
Referenced by handle_cmd_line_options_first().
| void audacious_remote_toggle_about_box | ( | DBusGProxy * | proxy, | |
| gboolean | show | |||
| ) |
Tells audacious to show/hide the about box.
| [in] | proxy | DBus proxy for audacious |
| [in] | show | shows/hides |
Definition at line 555 of file audctrl.c.
Referenced by audacious_remote_show_about_box().
| void audacious_remote_toggle_advance | ( | DBusGProxy * | proxy | ) |
| void audacious_remote_toggle_aot | ( | DBusGProxy * | proxy, | |
| gboolean | ontop | |||
| ) |
| void audacious_remote_toggle_filebrowser | ( | DBusGProxy * | proxy, | |
| gboolean | show | |||
| ) |
| void audacious_remote_toggle_jtf_box | ( | DBusGProxy * | proxy, | |
| gboolean | show | |||
| ) |
Tells audacious to show/hide the Jump-to-File pane.
| [in] | proxy | DBus proxy for audacious |
| [in] | show | shows/hides jtf pane |
Definition at line 875 of file audctrl.c.
Referenced by audacious_remote_show_jtf_box().
| void audacious_remote_toggle_prefs_box | ( | DBusGProxy * | proxy, | |
| gboolean | show | |||
| ) |
Tells audacious to show/hide the preferences pane.
| [in] | proxy | DBus proxy for audacious |
| [in] | show | shows/hides |
Definition at line 535 of file audctrl.c.
Referenced by audacious_remote_show_prefs_box().
| void audacious_remote_toggle_repeat | ( | DBusGProxy * | proxy | ) |
| void audacious_remote_toggle_shuffle | ( | DBusGProxy * | proxy | ) |
| void audacious_set_session_type | ( | DBusGProxy * | proxy, | |
| gint | type | |||
| ) |
| void audacious_set_session_uri | ( | DBusGProxy * | proxy, | |
| gchar * | uri | |||
| ) |
1.7.1