Audacious $Id:Doxyfile42802007-03-2104:39:00Znenolod$
Functions

audctrl.h File Reference

#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.

Function Documentation

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.

Parameters:
[in]proxyDBus proxy for audacious
[in]fieldThe name of the tuple field to retrieve.
[in]posThe playlist position to query for.
Returns:
The requested field's data for the entry in the playlist at pos position.

Definition at line 965 of file audctrl.c.

void audacious_remote_activate ( DBusGProxy *  proxy)

Tells audacious to display the main window and become the selected window.

Parameters:
[in]proxyDBus proxy for audacious

Definition at line 855 of file audctrl.c.

Referenced by handle_cmd_line_options_first().

void audacious_remote_eject ( DBusGProxy *  proxy)

Tells audacious to display the open files pane.

Parameters:
[in]proxyDBus proxy for audacious

Definition at line 576 of file audctrl.c.

void audacious_remote_eq_activate ( DBusGProxy *  proxy,
gboolean  active 
)

Toggles the equalizer.

Parameters:
[in]proxyDBus proxy for audacious
[in]activeWhether or not to activate the equalizer.

Definition at line 1010 of file audctrl.c.

void audacious_remote_eq_win_toggle ( DBusGProxy *  proxy,
gboolean  show 
)

Toggles the equalizer window's visibility.

Parameters:
[in]proxyDBus proxy for audacious
[in]showWhether or not to show the equalizer window.

Definition at line 476 of file audctrl.c.

gint audacious_remote_get_balance ( DBusGProxy *  proxy)

Queries audacious about the current balance.

Parameters:
[in]proxyDBus proxy for audacious
Returns:
The current balance.

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 
)

Queries audacious about the equalizer settings.

Parameters:
[in]proxyDBus proxy for audacious
[out]preampPointer to value for preamp setting.
[out]bandsPointer to array of band settings.

Definition at line 685 of file audctrl.c.

gdouble audacious_remote_get_eq_band ( DBusGProxy *  proxy,
gint  band 
)

Queries audacious about an equalizer band's value.

Parameters:
[in]proxyDBus proxy for audacious
[in]bandWhich band to lookup the value for.
Returns:
The equalizer band's value.

Definition at line 712 of file audctrl.c.

gdouble audacious_remote_get_eq_preamp ( DBusGProxy *  proxy)

Queries audacious about the equalizer preamp's setting.

Parameters:
[in]proxyDBus proxy for audacious
Returns:
The equalizer preamp's setting.

Definition at line 696 of file audctrl.c.

void audacious_remote_get_info ( DBusGProxy *  proxy,
gint rate,
gint freq,
gint nch 
)

Queries Audacious about the current audio format.

Parameters:
[in]proxyDBus proxy for audacious
[out]ratePointer to an integer containing the bitrate.
[out]freqPointer to an integer containing the frequency.
[out]nchPointer to an integer containing the number of channels.

Definition at line 442 of file audctrl.c.

gint audacious_remote_get_main_volume ( DBusGProxy *  proxy)

Queries audacious about the current volume.

Parameters:
[in]proxyDBus proxy for audacious
Returns:
The current volume (0-100).

Definition at line 309 of file audctrl.c.

Referenced by audacious_remote_set_balance().

gint audacious_remote_get_output_time ( DBusGProxy *  proxy)

audacious_remote_get_output_time:

Parameters:
[in]proxyDBus proxy for audacious

Queries audacious about the current output position.

Returns:
The current output position.

Definition at line 272 of file audctrl.c.

gchar* audacious_remote_get_playlist_file ( DBusGProxy *  proxy,
guint  pos 
)

Queries Audacious about a playlist entry's file.

Parameters:
[in]proxyDBus proxy for audacious
[in]posThe playlist position to query for.
Returns:
A path to the file in the playlist at pos position.

Definition at line 399 of file audctrl.c.

gint audacious_remote_get_playlist_length ( DBusGProxy *  proxy)

audacious_remote_get_playlist_length:

Parameters:
[in]proxyDBus proxy for audacious

Queries audacious about the current playlist length.

Returns:
The amount of entries in the playlist.

Definition at line 246 of file audctrl.c.

gint audacious_remote_get_playlist_pos ( DBusGProxy *  proxy)

audacious_remote_get_playlist_pos:

Parameters:
[in]proxyDBus proxy for audacious

Queries audacious about the current playlist position.

Returns:
The current playlist position.

Definition at line 219 of file audctrl.c.

gint audacious_remote_get_playlist_time ( DBusGProxy *  proxy,
guint  pos 
)

Queries Audacious about a playlist entry's length.

Parameters:
[in]proxyDBus proxy for audacious
[in]posThe playlist position to query for.
Returns:
The length of the entry in the playlist at pos position.

Definition at line 427 of file audctrl.c.

gchar* audacious_remote_get_playlist_title ( DBusGProxy *  proxy,
guint  pos 
)

Queries Audacious about a playlist entry's title.

Parameters:
[in]proxyDBus proxy for audacious
[in]posThe playlist position to query for.
Returns:
The title for the entry in the playlist at pos position.

Definition at line 413 of file audctrl.c.

gint audacious_remote_get_playqueue_length ( DBusGProxy *  proxy)

Queries audacious about the playqueue's length.

Bug:
This returns the length of the playlist, NOT the length of the playqueue.
Parameters:
[in]proxyDBus proxy for audacious
Returns:
The number of entries in the playqueue.

Definition at line 818 of file audctrl.c.

gint audacious_remote_get_playqueue_list_position ( DBusGProxy *  proxy,
guint  qpos 
)

Queries audacious what is the playlist position for given a playqueue entry index.

Parameters:
[in]proxyDBus proxy for audacious
[in]qposPosition to check queue for.
Returns:
the playlist position for a playqueue entry

Definition at line 938 of file audctrl.c.

gint audacious_remote_get_playqueue_queue_position ( DBusGProxy *  proxy,
guint  pos 
)

Queries audacious about what the playqueue position is for a playlist entry.

Parameters:
[in]proxyDBus proxy for audacious
[in]posPosition to check queue for.
Returns:
the playqueue position for a playlist entry

Definition at line 923 of file audctrl.c.

gchar* audacious_remote_get_skin ( DBusGProxy *  proxy)
gchar** audacious_remote_get_tuple_fields ( DBusGProxy *  proxy)

Returns a array of strings with available tuple field names.

Parameters:
[in]proxyDBus proxy for audacious
Returns:
Array of strings.

Definition at line 1021 of file audctrl.c.

gchar* audacious_remote_get_version ( DBusGProxy *  proxy)

Queries Audacious for its version identifier.

Parameters:
[in]proxyDBus proxy for audacious
Returns:
String describing the version of Audacious.

Definition at line 72 of file audctrl.c.

void audacious_remote_get_volume ( DBusGProxy *  proxy,
gint vl,
gint vr 
)

Queries audacious for the current volume settings.

Parameters:
[in]proxyDBus proxy for audacious
[out]vlPointer to integer containing the left channel's volume (0-100).
[out]vrPointer 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)

audacious_remote_is_advance:

Parameters:
[in]proxyDBus proxy for audacious

Queries audacious about whether or not the no-playlist-advance feature is active.

Returns:
TRUE if yes, otherwise FALSE.

Definition at line 843 of file audctrl.c.

gboolean audacious_remote_is_eq_win ( DBusGProxy *  proxy)

Queries Audacious about the equalizer window's visibility.

Parameters:
[in]proxyDBus proxy for audacious
Returns:
TRUE if visible, FALSE otherwise.

Definition at line 513 of file audctrl.c.

gboolean audacious_remote_is_main_win ( DBusGProxy *  proxy)

Queries Audacious about the main window's visibility.

Parameters:
[in]proxyDBus proxy for audacious
Returns:
TRUE if visible, FALSE otherwise.

Definition at line 487 of file audctrl.c.

gboolean audacious_remote_is_paused ( DBusGProxy *  proxy)

audacious_remote_is_paused:

Parameters:
[in]proxyDBus proxy for audacious

Queries audacious about whether it is paused or not.

Returns:
TRUE if playing, FALSE otherwise.

Definition at line 204 of file audctrl.c.

gboolean audacious_remote_is_pl_win ( DBusGProxy *  proxy)

Queries Audacious about the playlist window's visibility.

Parameters:
[in]proxyDBus proxy for audacious
Returns:
TRUE if visible, FALSE otherwise.

Definition at line 500 of file audctrl.c.

gboolean audacious_remote_is_playing ( DBusGProxy *  proxy)

Queries audacious about whether it is playing or not.

Parameters:
[in]proxyDBus proxy for audacious
Returns:
TRUE if playing, FALSE otherwise.

Definition at line 189 of file audctrl.c.

gboolean audacious_remote_is_repeat ( DBusGProxy *  proxy)

Queries audacious about whether or not the repeat feature is active.

Parameters:
[in]proxyDBus proxy for audacious
Returns:
TRUE if yes, otherwise FALSE.

Definition at line 658 of file audctrl.c.

gboolean audacious_remote_is_running ( DBusGProxy *  proxy)

Check if an Audacious instance is running.

Parameters:
[in]proxyDBus proxy for audacious
Returns:
TRUE if yes, otherwise FALSE.

Definition at line 620 of file audctrl.c.

Referenced by handle_cmd_line_options_first().

gboolean audacious_remote_is_shuffle ( DBusGProxy *  proxy)

Queries audacious about whether or not the shuffle feature is active.

Parameters:
[in]proxyDBus proxy for audacious
Returns:
TRUE if yes, otherwise FALSE.

Definition at line 671 of file audctrl.c.

void audacious_remote_jump_to_time ( DBusGProxy *  proxy,
guint  pos 
)

audacious_remote_jump_to_time:

Parameters:
[in]proxyDBus proxy for audacious
[in]posThe time (in milliseconds) to jump to.

Tells audacious to seek to a new time position.

Definition at line 286 of file audctrl.c.

void audacious_remote_main_win_toggle ( DBusGProxy *  proxy,
gboolean  show 
)

Toggles the main window's visibility.

Parameters:
[in]proxyDBus proxy for audacious
[in]showWhether 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.

Parameters:
[in]proxyDBus 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 
)

Toggles the playlist window's visibility.

Parameters:
[in]proxyDBus proxy for audacious
[in]showWhether or not to show the playlist window.

Definition at line 465 of file audctrl.c.

void audacious_remote_play ( DBusGProxy *  proxy)

Requests audacious to begin playback.

Parameters:
[in]proxyDBus 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.

Parameters:
[in]proxyDBus 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.

Parameters:
[in]proxyDBus proxy for Audacious
[in]listAn array of URI strings to add.
[in]numNumber of URIs to add.
[in]enqueueWhether or not the new playlist should be added on, or replace the current playlist.

Definition at line 41 of file audctrl.c.

void audacious_remote_playlist_add ( DBusGProxy *  proxy,
GList *  list 
)

Sends a list of URIs to Audacious to add to the playlist.

Parameters:
[in]proxyDBus proxy for audacious
[in]listA 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 
)

Tells audacious to add an URI to the playlist.

Parameters:
[in]proxyDBus proxy for audacious
[in]stringThe URI to add.

Definition at line 608 of file audctrl.c.

void audacious_remote_playlist_clear ( DBusGProxy *  proxy)

audacious_remote_playlist_clear:

Parameters:
[in]proxyDBus 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 
)

Deletes a playlist entry from current playlist in given position.

Parameters:
[in]proxyDBus proxy for audacious
[in]posThe playlist position to delete.

Definition at line 148 of file audctrl.c.

void audacious_remote_playlist_enqueue_to_temp ( DBusGProxy *  proxy,
gchar *  string 
)

Tells audacious to add an URI to a temporary playlist.

Parameters:
[in]proxyDBus proxy for audacious
[in]stringThe URI to enqueue to a temporary playlist.

Definition at line 951 of file audctrl.c.

gchar* audacious_remote_playlist_get_active_name ( DBusGProxy *  proxy)

Returns the active playlist name.

Definition at line 1031 of file audctrl.c.

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.

Parameters:
[in]proxyDBus proxy for audacious
[in]stringThe URI to add.
[in]posThe position to add the URI at.

Definition at line 782 of file audctrl.c.

void audacious_remote_playlist_next ( DBusGProxy *  proxy)

Tells audacious to move forward in the playlist.

Parameters:
[in]proxyDBus 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.

Parameters:
[in]proxyDBus proxy for audacious
[in]listA 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.

Parameters:
[in]proxyDBus proxy for audacious
[in]listA 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:

Parameters:
[in]proxyDBus 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 
)

Tells audacious to add a playlist entry to the playqueue.

Parameters:
[in]proxyDBus proxy for audacious
[in]posThe playlist position to add to the queue.

Definition at line 794 of file audctrl.c.

void audacious_remote_playqueue_clear ( DBusGProxy *  proxy)

audacious_remote_playqueue_clear:

Parameters:
[in]proxyDBus proxy for audacious

Tells audacious to clear the playqueue.

Definition at line 897 of file audctrl.c.

gboolean audacious_remote_playqueue_is_queued ( DBusGProxy *  proxy,
guint  pos 
)

Queries audacious about whether or not a playlist entry is in the playqueue.

Parameters:
[in]proxyDBus proxy for audacious
[in]posPosition to check queue for.
Returns:
TRUE if yes, FALSE otherwise.

Definition at line 909 of file audctrl.c.

void audacious_remote_playqueue_remove ( DBusGProxy *  proxy,
guint  pos 
)

Tells audacious to remove a playlist entry from the playqueue.

Parameters:
[in]proxyDBus proxy for audacious
[in]posThe playlist position to remove from the queue.

Definition at line 805 of file audctrl.c.

void audacious_remote_quit ( DBusGProxy *  proxy)

Requests audacious to quit.

Parameters:
[in]proxyDBus proxy for audacious

Definition at line 761 of file audctrl.c.

void audacious_remote_set_balance ( DBusGProxy *  proxy,
gint  b 
)

Sets the balance in Audacious.

Parameters:
[in]proxyDBus proxy for audacious
[in]bThe balance to set.

Definition at line 371 of file audctrl.c.

void audacious_remote_set_eq ( DBusGProxy *  proxy,
gdouble  preamp,
GArray *  bands 
)

Tells audacious to set the equalizer up using the provided values.

Parameters:
[in]proxyDBus proxy for audacious
[in]preampValue for preamp setting.
[in]bandsArray of band settings.

Definition at line 728 of file audctrl.c.

void audacious_remote_set_eq_band ( DBusGProxy *  proxy,
gint  band,
gdouble  value 
)

Tells audacious to set an equalizer band's setting.

Parameters:
[in]proxyDBus proxy for audacious
[in]bandThe band to set the value for.
[in]valueThe value to set that band to.

Definition at line 751 of file audctrl.c.

void audacious_remote_set_eq_preamp ( DBusGProxy *  proxy,
gdouble  preamp 
)

Tells audacious to set the equalizer's preamp setting.

Parameters:
[in]proxyDBus proxy for audacious
[in]preampValue for preamp setting.

Definition at line 739 of file audctrl.c.

void audacious_remote_set_main_volume ( DBusGProxy *  proxy,
gint  v 
)

Sets the volume in Audacious.

Parameters:
[in]proxyDBus proxy for audacious
[in]vThe volume to set (0-100).

Definition at line 349 of file audctrl.c.

void audacious_remote_set_playlist_pos ( DBusGProxy *  proxy,
guint  pos 
)

audacious_remote_set_playlist_pos:

Parameters:
[in]proxyDBus proxy for audacious
[in]posPlaylist position to jump to.

Tells audacious to jump to a different playlist position.

Definition at line 233 of file audctrl.c.

void audacious_remote_set_skin ( DBusGProxy *  proxy,
gchar *  skinfile 
)
void audacious_remote_set_volume ( DBusGProxy *  proxy,
gint  vl,
gint  vr 
)

Sets the volume for the left and right channels in Audacious.

Parameters:
[in]proxyDBus proxy for audacious
[in]vlThe volume for the left channel (0-100).
[in]vrThe 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)

Tells audacious to show the about box.

Parameters:
[in]proxyDBus proxy for audacious

Definition at line 545 of file audctrl.c.

void audacious_remote_show_jtf_box ( DBusGProxy *  proxy)

Tells audacious to show the Jump-to-File pane.

Parameters:
[in]proxyDBus 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)

Tells audacious to show the preferences pane.

Parameters:
[in]proxyDBus proxy for audacious

Definition at line 525 of file audctrl.c.

void audacious_remote_stop ( DBusGProxy *  proxy)

Tells audacious to stop.

Parameters:
[in]proxyDBus 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.

Parameters:
[in]proxyDBus proxy for audacious
[in]showshows/hides

Definition at line 555 of file audctrl.c.

Referenced by audacious_remote_show_about_box().

void audacious_remote_toggle_advance ( DBusGProxy *  proxy)

Tells audacious to toggle the no-playlist-advance feature.

Parameters:
[in]proxyDBus proxy for audacious

Definition at line 830 of file audctrl.c.

void audacious_remote_toggle_aot ( DBusGProxy *  proxy,
gboolean  ontop 
)

Tells audacious to set the always-on-top feature.

Parameters:
[in]proxyDBus proxy for audacious
[in]ontopBoolean value whether or not Audacious should be always-on-top.

Definition at line 566 of file audctrl.c.

void audacious_remote_toggle_filebrowser ( DBusGProxy *  proxy,
gboolean  show 
)

Tells audacious to show the filebrowser dialog.

Parameters:
[in]proxyDBus proxy for audacious
[in]showshows/hides filebrowser

Definition at line 886 of file audctrl.c.

void audacious_remote_toggle_jtf_box ( DBusGProxy *  proxy,
gboolean  show 
)

Tells audacious to show/hide the Jump-to-File pane.

Parameters:
[in]proxyDBus proxy for audacious
[in]showshows/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.

Parameters:
[in]proxyDBus proxy for audacious
[in]showshows/hides

Definition at line 535 of file audctrl.c.

Referenced by audacious_remote_show_prefs_box().

void audacious_remote_toggle_repeat ( DBusGProxy *  proxy)

Tells audacious to toggle the repeat feature.

Parameters:
[in]proxyDBus proxy for audacious

Definition at line 637 of file audctrl.c.

void audacious_remote_toggle_shuffle ( DBusGProxy *  proxy)

Tells audacious to toggle the shuffle feature.

Parameters:
[in]proxyDBus proxy for audacious

Definition at line 647 of file audctrl.c.

void audacious_set_session_type ( DBusGProxy *  proxy,
gint  type 
)
void audacious_set_session_uri ( DBusGProxy *  proxy,
gchar *  uri 
)