21 #ifndef AUDACIOUS_AUDCTRL_H
22 #define AUDACIOUS_AUDCTRL_H
25 #include <dbus/dbus-glib.h>
91 gchar *
string, guint pos);
void audacious_remote_set_playlist_pos(DBusGProxy *proxy, guint pos)
audacious_remote_set_playlist_pos:
void audacious_remote_eq_activate(DBusGProxy *proxy, gboolean active)
Toggles the equalizer.
gint audacious_remote_get_main_volume(DBusGProxy *proxy)
Queries audacious about the current volume.
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_main_volume(DBusGProxy *proxy, gint v)
Sets the volume in Audacious.
gint audacious_remote_get_playqueue_length(DBusGProxy *proxy)
Queries audacious about the playqueue's length.
gint audacious_remote_get_playlist_length(DBusGProxy *proxy)
audacious_remote_get_playlist_length:
void audacious_remote_playlist_add(DBusGProxy *proxy, GList *list)
Sends a list of URIs to Audacious to add to the playlist.
gboolean audacious_remote_is_shuffle(DBusGProxy *proxy)
Queries audacious about whether or not the shuffle feature is active.
gchar * audacious_remote_get_playlist_file(DBusGProxy *proxy, guint pos)
Queries Audacious about a playlist entry's file.
void audacious_remote_set_skin(DBusGProxy *proxy, gchar *skinfile)
void audacious_remote_eject(DBusGProxy *proxy)
Tells audacious to display the open files pane.
void audacious_remote_stop(DBusGProxy *proxy)
Tells audacious to stop.
gchar * audacious_remote_get_skin(DBusGProxy *proxy)
void audacious_remote_main_win_toggle(DBusGProxy *proxy, gboolean show)
Toggles the main window's visibility.
void audacious_remote_show_prefs_box(DBusGProxy *proxy)
Tells audacious to show the preferences pane.
void audacious_remote_jump_to_time(DBusGProxy *proxy, guint pos)
audacious_remote_jump_to_time:
void audacious_set_session_type(DBusGProxy *proxy, gint type)
void audacious_remote_playlist_next(DBusGProxy *proxy)
Tells audacious to move forward in the playlist.
static float b[EQ_BANDS][2]
void audacious_remote_set_balance(DBusGProxy *proxy, gint b)
Sets the balance in Audacious.
gchar ** audacious_remote_get_tuple_fields(DBusGProxy *proxy)
Returns a array of strings with available tuple field names.
void audacious_remote_quit(DBusGProxy *proxy)
Requests audacious to quit.
void audacious_remote_set_eq_preamp(DBusGProxy *proxy, gdouble preamp)
Tells audacious to set the equalizer's preamp setting.
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_toggle_about_box(DBusGProxy *proxy, gboolean show)
Tells audacious to show/hide the about box.
gchar * audacious_remote_get_version(DBusGProxy *proxy)
Queries Audacious for its version identifier.
gdouble audacious_remote_get_eq_band(DBusGProxy *proxy, gint band)
Queries audacious about an equalizer band's value.
gboolean audacious_remote_is_paused(DBusGProxy *proxy)
audacious_remote_is_paused:
gchar * audacious_get_session_uri(DBusGProxy *proxy)
void audacious_remote_toggle_advance(DBusGProxy *proxy)
Tells audacious to toggle the no-playlist-advance feature.
void audacious_remote_playlist_prev(DBusGProxy *proxy)
audacious_remote_playlist_prev:
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.
gint audacious_remote_get_playqueue_list_position(DBusGProxy *proxy, guint qpos)
Queries audacious what is the playlist position for given a playqueue entry index.
void audacious_remote_get_volume(DBusGProxy *proxy, gint *vl, gint *vr)
Queries audacious for the current volume settings.
void audacious_remote_toggle_jtf_box(DBusGProxy *proxy, gboolean show)
Tells audacious to show/hide the Jump-to-File pane.
void audacious_remote_play_pause(DBusGProxy *proxy)
Tells audacious to toggle between play and pause.
void audacious_remote_playqueue_remove(DBusGProxy *proxy, guint pos)
Tells audacious to remove a playlist entry from the playqueue.
gboolean audacious_remote_is_repeat(DBusGProxy *proxy)
Queries audacious about whether or not the repeat feature is active.
void audacious_remote_playlist_clear(DBusGProxy *proxy)
audacious_remote_playlist_clear:
void audacious_set_session_uri(DBusGProxy *proxy, gchar *uri)
void audacious_remote_pause(DBusGProxy *proxy)
Tells audacious to pause.
void audacious_remote_playlist_open_list(DBusGProxy *proxy, GList *list)
Sends a list of URIs for Audacious to open.
gchar * audacious_remote_get_playlist_title(DBusGProxy *proxy, guint pos)
Queries Audacious about a playlist entry's title.
void audacious_remote_toggle_aot(DBusGProxy *proxy, gboolean ontop)
Tells audacious to set the always-on-top feature.
gint audacious_remote_get_balance(DBusGProxy *proxy)
Queries audacious about the current balance.
gdouble audacious_remote_get_eq_preamp(DBusGProxy *proxy)
Queries audacious about the equalizer preamp's setting.
void audacious_remote_toggle_stop_after(DBusGProxy *proxy)
void audacious_remote_show_about_box(DBusGProxy *proxy)
Tells audacious to show the about box.
gboolean audacious_remote_is_main_win(DBusGProxy *proxy)
Queries Audacious about the main window's visibility.
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.
void audacious_remote_playqueue_add(DBusGProxy *proxy, guint pos)
Tells audacious to add a playlist entry to the playqueue.
gboolean audacious_remote_playqueue_is_queued(DBusGProxy *proxy, guint pos)
Queries audacious about whether or not a playlist entry is in the playqueue.
void audacious_remote_toggle_repeat(DBusGProxy *proxy)
Tells audacious to toggle the repeat feature.
gboolean audacious_remote_is_advance(DBusGProxy *proxy)
audacious_remote_is_advance:
void audacious_remote_set_eq_band(DBusGProxy *proxy, gint band, gdouble value)
Tells audacious to set an equalizer band's setting.
gint audacious_remote_get_playlist_time(DBusGProxy *proxy, guint pos)
Queries Audacious about a playlist entry's length.
void audacious_remote_playlist_delete(DBusGProxy *proxy, guint pos)
Deletes a playlist entry from current playlist in given position.
gboolean audacious_remote_is_stop_after(DBusGProxy *proxy)
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_remote_show_jtf_box(DBusGProxy *proxy)
Tells audacious to show the Jump-to-File pane.
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...
gint audacious_remote_get_output_time(DBusGProxy *proxy)
audacious_remote_get_output_time:
gboolean audacious_remote_is_running(DBusGProxy *proxy)
Check if an Audacious instance is running.
void audacious_remote_toggle_shuffle(DBusGProxy *proxy)
Tells audacious to toggle the shuffle feature.
void audacious_remote_get_info(DBusGProxy *proxy, gint *rate, gint *freq, gint *nch)
Queries Audacious about the current audio format.
void audacious_remote_play(DBusGProxy *proxy)
Requests audacious to begin playback.
gchar * audacious_get_tuple_field_data(DBusGProxy *proxy, gchar *field, guint pos)
Queries Audacious about a playlist entry's tuple information.
void audacious_remote_toggle_filebrowser(DBusGProxy *proxy, gboolean show)
Tells audacious to show the filebrowser dialog.
void audacious_remote_get_eq(DBusGProxy *proxy, gdouble *preamp, GArray **bands)
Queries audacious about the equalizer settings.
void audacious_remote_playlist_enqueue_to_temp(DBusGProxy *proxy, gchar *string)
Tells audacious to add an URI to a temporary playlist.
void audacious_remote_playqueue_clear(DBusGProxy *proxy)
audacious_remote_playqueue_clear:
gchar * audacious_remote_playlist_get_active_name(DBusGProxy *proxy)
Returns the active playlist name.
void audacious_remote_playlist_add_url_string(DBusGProxy *proxy, gchar *string)
Tells audacious to add an URI to the playlist.
gint audacious_remote_get_playlist_pos(DBusGProxy *proxy)
audacious_remote_get_playlist_pos:
gboolean audacious_remote_is_playing(DBusGProxy *proxy)
Queries audacious about whether it is playing or not.
void audacious_remote_toggle_prefs_box(DBusGProxy *proxy, gboolean show)
Tells audacious to show/hide the preferences pane.