audctrl.c File Reference

#include <stdlib.h>
#include <glib.h>
#include <string.h>
#include <dbus/dbus-glib.h>
#include "audacious/dbus.h"
#include "audacious/dbus-client-bindings.h"
#include "audctrl.h"
#include "config.h"

Go to the source code of this file.

Functions

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

Variables

static GError * error = NULL

Function Documentation

EXPORT gchar* audacious_get_tuple_field_data ( DBusGProxy *  proxy,
gchar *  field,
guint  pos 
)

Queries Audacious about a playlist entry's tuple information.

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

Definition at line 918 of file audctrl.c.

EXPORT void audacious_remote_eject ( DBusGProxy *  proxy  ) 

Tells audacious to display the open files pane.

Parameters:
[in] proxy DBus proxy for audacious

Definition at line 525 of file audctrl.c.

EXPORT void audacious_remote_eq_activate ( DBusGProxy *  proxy,
gboolean  active 
)

Toggles the equalizer.

Parameters:
[in] proxy DBus proxy for audacious
[in] active Whether or not to activate the equalizer.

Definition at line 963 of file audctrl.c.

EXPORT gint audacious_remote_get_balance ( DBusGProxy *  proxy  ) 

Queries audacious about the current balance.

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

Definition at line 320 of file audctrl.c.

Referenced by audacious_remote_set_main_volume().

EXPORT void audacious_remote_get_eq ( DBusGProxy *  proxy,
gdouble *  preamp,
GArray **  bands 
)

Queries audacious about the equalizer settings.

Parameters:
[in] proxy DBus proxy for audacious
[out] preamp Pointer to value for preamp setting.
[out] bands Pointer to array of band settings.

Definition at line 648 of file audctrl.c.

EXPORT gdouble audacious_remote_get_eq_band ( DBusGProxy *  proxy,
gint  band 
)

Queries audacious about an equalizer band's value.

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

Definition at line 675 of file audctrl.c.

EXPORT gdouble audacious_remote_get_eq_preamp ( DBusGProxy *  proxy  ) 

Queries audacious about the equalizer preamp's setting.

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

Definition at line 659 of file audctrl.c.

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

Queries Audacious about the current audio format.

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

Definition at line 439 of file audctrl.c.

EXPORT gint audacious_remote_get_main_volume ( DBusGProxy *  proxy  ) 

Queries audacious about the current volume.

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

Definition at line 306 of file audctrl.c.

Referenced by audacious_remote_set_balance().

EXPORT gint audacious_remote_get_output_time ( DBusGProxy *  proxy  ) 

audacious_remote_get_output_time:

Parameters:
[in] proxy DBus proxy for audacious

Queries audacious about the current output position.

Returns:
The current output position.

Definition at line 269 of file audctrl.c.

EXPORT gchar* audacious_remote_get_playlist_file ( DBusGProxy *  proxy,
guint  pos 
)

Queries Audacious about a playlist entry's file.

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

Definition at line 396 of file audctrl.c.

EXPORT gint audacious_remote_get_playlist_length ( DBusGProxy *  proxy  ) 

audacious_remote_get_playlist_length:

Parameters:
[in] proxy DBus proxy for audacious

Queries audacious about the current playlist length.

Returns:
The amount of entries in the playlist.

Definition at line 243 of file audctrl.c.

EXPORT gint audacious_remote_get_playlist_pos ( DBusGProxy *  proxy  ) 

audacious_remote_get_playlist_pos:

Parameters:
[in] proxy DBus proxy for audacious

Queries audacious about the current playlist position.

Returns:
The current playlist position.

Definition at line 216 of file audctrl.c.

EXPORT gint audacious_remote_get_playlist_time ( DBusGProxy *  proxy,
guint  pos 
)

Queries Audacious about a playlist entry's length.

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

Definition at line 424 of file audctrl.c.

EXPORT gchar* audacious_remote_get_playlist_title ( DBusGProxy *  proxy,
guint  pos 
)

Queries Audacious about a playlist entry's title.

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

Definition at line 410 of file audctrl.c.

EXPORT 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] proxy DBus proxy for audacious
Returns:
The number of entries in the playqueue.

Definition at line 781 of file audctrl.c.

EXPORT 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] proxy DBus proxy for audacious
[in] qpos Position to check queue for.
Returns:
the playlist position for a playqueue entry

Definition at line 891 of file audctrl.c.

EXPORT 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] proxy DBus proxy for audacious
[in] pos Position to check queue for.
Returns:
the playqueue position for a playlist entry

Definition at line 876 of file audctrl.c.

EXPORT gchar** audacious_remote_get_tuple_fields ( DBusGProxy *  proxy  ) 

Returns a array of strings with available tuple field names.

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

Definition at line 974 of file audctrl.c.

EXPORT gchar* audacious_remote_get_version ( DBusGProxy *  proxy  ) 

Queries Audacious for its version identifier.

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

Definition at line 69 of file audctrl.c.

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

Queries audacious for the current volume settings.

Parameters:
[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 295 of file audctrl.c.

Referenced by audacious_remote_get_main_volume().

EXPORT gboolean audacious_remote_is_advance ( DBusGProxy *  proxy  ) 

audacious_remote_is_advance:

Parameters:
[in] proxy DBus 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 806 of file audctrl.c.

EXPORT gboolean audacious_remote_is_main_win ( DBusGProxy *  proxy  ) 

Queries Audacious about the main window's visibility.

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

Definition at line 462 of file audctrl.c.

EXPORT gboolean audacious_remote_is_paused ( DBusGProxy *  proxy  ) 

audacious_remote_is_paused:

Parameters:
[in] proxy DBus proxy for audacious

Queries audacious about whether it is paused or not.

Returns:
TRUE if playing, FALSE otherwise.

Definition at line 201 of file audctrl.c.

EXPORT gboolean audacious_remote_is_playing ( DBusGProxy *  proxy  ) 

Queries audacious about whether it is playing or not.

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

Definition at line 186 of file audctrl.c.

EXPORT gboolean audacious_remote_is_repeat ( DBusGProxy *  proxy  ) 

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

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

Definition at line 613 of file audctrl.c.

EXPORT gboolean audacious_remote_is_running ( DBusGProxy *  proxy  ) 

Check if an Audacious instance is running.

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

Definition at line 569 of file audctrl.c.

Referenced by do_remote().

EXPORT gboolean audacious_remote_is_shuffle ( DBusGProxy *  proxy  ) 

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

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

Definition at line 626 of file audctrl.c.

EXPORT gboolean audacious_remote_is_stop_after ( DBusGProxy *  proxy  ) 

Definition at line 633 of file audctrl.c.

EXPORT void audacious_remote_jump_to_time ( DBusGProxy *  proxy,
guint  pos 
)

audacious_remote_jump_to_time:

Parameters:
[in] proxy DBus proxy for audacious
[in] pos The time (in milliseconds) to jump to.

Tells audacious to seek to a new time position.

Definition at line 283 of file audctrl.c.

EXPORT void audacious_remote_main_win_toggle ( DBusGProxy *  proxy,
gboolean  show 
)

Toggles the main window's visibility.

Parameters:
[in] proxy DBus proxy for audacious
[in] show Whether or not to show the main window.

Definition at line 451 of file audctrl.c.

Referenced by do_remote().

EXPORT void audacious_remote_pause ( DBusGProxy *  proxy  ) 

Tells audacious to pause.

Parameters:
[in] proxy DBus proxy for audacious

Definition at line 165 of file audctrl.c.

Referenced by do_remote().

EXPORT void audacious_remote_play ( DBusGProxy *  proxy  ) 

Requests audacious to begin playback.

Parameters:
[in] proxy DBus proxy for audacious

Definition at line 155 of file audctrl.c.

Referenced by audacious_remote_playlist(), and do_remote().

EXPORT void audacious_remote_play_pause ( DBusGProxy *  proxy  ) 

Tells audacious to toggle between play and pause.

Parameters:
[in] proxy DBus proxy for audacious

Definition at line 734 of file audctrl.c.

Referenced by do_remote().

EXPORT 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] 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.

Definition at line 38 of file audctrl.c.

EXPORT void audacious_remote_playlist_add ( DBusGProxy *  proxy,
GList *  list 
)

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

Parameters:
[in] proxy DBus proxy for audacious
[in] list A GList of URIs to add to the playlist.

Definition at line 83 of file audctrl.c.

Referenced by do_remote().

EXPORT void audacious_remote_playlist_add_url_string ( DBusGProxy *  proxy,
gchar *  string 
)

Tells audacious to add an URI to the playlist.

Parameters:
[in] proxy DBus proxy for audacious
[in] string The URI to add.

Definition at line 557 of file audctrl.c.

EXPORT void audacious_remote_playlist_clear ( DBusGProxy *  proxy  ) 

audacious_remote_playlist_clear:

Parameters:
[in] proxy DBus proxy for audacious

Clears the playlist.

Definition at line 256 of file audctrl.c.

Referenced by audacious_remote_playlist().

EXPORT void audacious_remote_playlist_delete ( DBusGProxy *  proxy,
guint  pos 
)

Deletes a playlist entry from current playlist in given position.

Parameters:
[in] proxy DBus proxy for audacious
[in] pos The playlist position to delete.

Definition at line 145 of file audctrl.c.

EXPORT void audacious_remote_playlist_enqueue_to_temp ( DBusGProxy *  proxy,
gchar *  string 
)

Tells audacious to add an URI to a temporary playlist.

Parameters:
[in] proxy DBus proxy for audacious
[in] string The URI to enqueue to a temporary playlist.

Definition at line 904 of file audctrl.c.

EXPORT gchar* audacious_remote_playlist_get_active_name ( DBusGProxy *  proxy  ) 

Returns the active playlist name.

Definition at line 984 of file audctrl.c.

EXPORT 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] proxy DBus proxy for audacious
[in] string The URI to add.
[in] pos The position to add the URI at.

Definition at line 745 of file audctrl.c.

EXPORT void audacious_remote_playlist_next ( DBusGProxy *  proxy  ) 

Tells audacious to move forward in the playlist.

Parameters:
[in] proxy DBus proxy for audacious

Definition at line 546 of file audctrl.c.

Referenced by do_remote().

EXPORT 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] proxy DBus proxy for audacious
[in] list A GList of URIs to open

Definition at line 103 of file audctrl.c.

Referenced by do_remote().

EXPORT 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] proxy DBus proxy for audacious
[in] list A GList of URIs to open

Definition at line 124 of file audctrl.c.

Referenced by do_remote().

EXPORT void audacious_remote_playlist_prev ( DBusGProxy *  proxy  ) 

audacious_remote_playlist_prev:

Parameters:
[in] proxy DBus proxy for audacious

Tells audacious to move backwards in the playlist.

Definition at line 536 of file audctrl.c.

Referenced by do_remote().

EXPORT void audacious_remote_playqueue_add ( DBusGProxy *  proxy,
guint  pos 
)

Tells audacious to add a playlist entry to the playqueue.

Parameters:
[in] proxy DBus proxy for audacious
[in] pos The playlist position to add to the queue.

Definition at line 757 of file audctrl.c.

EXPORT void audacious_remote_playqueue_clear ( DBusGProxy *  proxy  ) 

audacious_remote_playqueue_clear:

Parameters:
[in] proxy DBus proxy for audacious

Tells audacious to clear the playqueue.

Definition at line 850 of file audctrl.c.

EXPORT 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] proxy DBus proxy for audacious
[in] pos Position to check queue for.
Returns:
TRUE if yes, FALSE otherwise.

Definition at line 862 of file audctrl.c.

EXPORT void audacious_remote_playqueue_remove ( DBusGProxy *  proxy,
guint  pos 
)

Tells audacious to remove a playlist entry from the playqueue.

Parameters:
[in] proxy DBus proxy for audacious
[in] pos The playlist position to remove from the queue.

Definition at line 768 of file audctrl.c.

EXPORT void audacious_remote_quit ( DBusGProxy *  proxy  ) 

Requests audacious to quit.

Parameters:
[in] proxy DBus proxy for audacious

Definition at line 724 of file audctrl.c.

EXPORT void audacious_remote_set_balance ( DBusGProxy *  proxy,
gint  b 
)

Sets the balance in Audacious.

Parameters:
[in] proxy DBus proxy for audacious
[in] b The balance to set.

Definition at line 368 of file audctrl.c.

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

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

Parameters:
[in] proxy DBus proxy for audacious
[in] preamp Value for preamp setting.
[in] bands Array of band settings.

Definition at line 691 of file audctrl.c.

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

Tells audacious to set an equalizer band's setting.

Parameters:
[in] proxy DBus proxy for audacious
[in] band The band to set the value for.
[in] value The value to set that band to.

Definition at line 714 of file audctrl.c.

EXPORT void audacious_remote_set_eq_preamp ( DBusGProxy *  proxy,
gdouble  preamp 
)

Tells audacious to set the equalizer's preamp setting.

Parameters:
[in] proxy DBus proxy for audacious
[in] preamp Value for preamp setting.

Definition at line 702 of file audctrl.c.

EXPORT void audacious_remote_set_main_volume ( DBusGProxy *  proxy,
gint  v 
)

Sets the volume in Audacious.

Parameters:
[in] proxy DBus proxy for audacious
[in] v The volume to set (0-100).

Definition at line 346 of file audctrl.c.

EXPORT void audacious_remote_set_playlist_pos ( DBusGProxy *  proxy,
guint  pos 
)

audacious_remote_set_playlist_pos:

Parameters:
[in] proxy DBus proxy for audacious
[in] pos Playlist position to jump to.

Tells audacious to jump to a different playlist position.

Definition at line 230 of file audctrl.c.

EXPORT void audacious_remote_set_volume ( DBusGProxy *  proxy,
gint  vl,
gint  vr 
)

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

Parameters:
[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 334 of file audctrl.c.

Referenced by audacious_remote_set_balance(), and audacious_remote_set_main_volume().

EXPORT void audacious_remote_show_about_box ( DBusGProxy *  proxy  ) 

Tells audacious to show the about box.

Parameters:
[in] proxy DBus proxy for audacious

Definition at line 494 of file audctrl.c.

EXPORT void audacious_remote_show_jtf_box ( DBusGProxy *  proxy  ) 

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

Parameters:
[in] proxy DBus proxy for audacious

Definition at line 818 of file audctrl.c.

Referenced by do_remote().

EXPORT void audacious_remote_show_prefs_box ( DBusGProxy *  proxy  ) 

Tells audacious to show the preferences pane.

Parameters:
[in] proxy DBus proxy for audacious

Definition at line 474 of file audctrl.c.

EXPORT void audacious_remote_stop ( DBusGProxy *  proxy  ) 

Tells audacious to stop.

Parameters:
[in] proxy DBus proxy for audacious

Definition at line 175 of file audctrl.c.

Referenced by do_remote().

EXPORT void audacious_remote_toggle_about_box ( DBusGProxy *  proxy,
gboolean  show 
)

Tells audacious to show/hide the about box.

Parameters:
[in] proxy DBus proxy for audacious
[in] show shows/hides

Definition at line 504 of file audctrl.c.

Referenced by audacious_remote_show_about_box().

EXPORT void audacious_remote_toggle_advance ( DBusGProxy *  proxy  ) 

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

Parameters:
[in] proxy DBus proxy for audacious

Definition at line 793 of file audctrl.c.

EXPORT void audacious_remote_toggle_aot ( DBusGProxy *  proxy,
gboolean  ontop 
)

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

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

Definition at line 515 of file audctrl.c.

EXPORT void audacious_remote_toggle_filebrowser ( DBusGProxy *  proxy,
gboolean  show 
)

Tells audacious to show the filebrowser dialog.

Parameters:
[in] proxy DBus proxy for audacious
[in] show shows/hides filebrowser

Definition at line 839 of file audctrl.c.

EXPORT void audacious_remote_toggle_jtf_box ( DBusGProxy *  proxy,
gboolean  show 
)

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

Parameters:
[in] proxy DBus proxy for audacious
[in] show shows/hides jtf pane

Definition at line 828 of file audctrl.c.

Referenced by audacious_remote_show_jtf_box().

EXPORT void audacious_remote_toggle_prefs_box ( DBusGProxy *  proxy,
gboolean  show 
)

Tells audacious to show/hide the preferences pane.

Parameters:
[in] proxy DBus proxy for audacious
[in] show shows/hides

Definition at line 484 of file audctrl.c.

Referenced by audacious_remote_show_prefs_box().

EXPORT void audacious_remote_toggle_repeat ( DBusGProxy *  proxy  ) 

Tells audacious to toggle the repeat feature.

Parameters:
[in] proxy DBus proxy for audacious

Definition at line 586 of file audctrl.c.

EXPORT void audacious_remote_toggle_shuffle ( DBusGProxy *  proxy  ) 

Tells audacious to toggle the shuffle feature.

Parameters:
[in] proxy DBus proxy for audacious

Definition at line 596 of file audctrl.c.

EXPORT void audacious_remote_toggle_stop_after ( DBusGProxy *  proxy  ) 

Definition at line 601 of file audctrl.c.


Variable Documentation

GError* error = NULL [static]

Definition at line 27 of file audctrl.c.

Referenced by audacious_get_dbus_proxy(), audacious_get_tuple_field_data(), audacious_rc_init(), audacious_remote_eject(), audacious_remote_eq_activate(), audacious_remote_get_balance(), audacious_remote_get_eq(), audacious_remote_get_eq_band(), audacious_remote_get_eq_preamp(), audacious_remote_get_info(), audacious_remote_get_output_time(), audacious_remote_get_playlist_file(), audacious_remote_get_playlist_length(), audacious_remote_get_playlist_pos(), audacious_remote_get_playlist_time(), audacious_remote_get_playlist_title(), audacious_remote_get_playqueue_length(), audacious_remote_get_playqueue_list_position(), audacious_remote_get_playqueue_queue_position(), audacious_remote_get_tuple_fields(), audacious_remote_get_version(), audacious_remote_get_volume(), audacious_remote_is_advance(), audacious_remote_is_main_win(), audacious_remote_is_paused(), audacious_remote_is_playing(), audacious_remote_is_repeat(), audacious_remote_is_running(), audacious_remote_is_shuffle(), audacious_remote_is_stop_after(), audacious_remote_jump_to_time(), audacious_remote_main_win_toggle(), audacious_remote_pause(), audacious_remote_play(), audacious_remote_play_pause(), audacious_remote_playlist(), audacious_remote_playlist_add(), audacious_remote_playlist_add_url_string(), audacious_remote_playlist_clear(), audacious_remote_playlist_delete(), audacious_remote_playlist_enqueue_to_temp(), audacious_remote_playlist_get_active_name(), audacious_remote_playlist_ins_url_string(), audacious_remote_playlist_next(), audacious_remote_playlist_open_list(), audacious_remote_playlist_open_list_to_temp(), audacious_remote_playlist_prev(), audacious_remote_playqueue_add(), audacious_remote_playqueue_clear(), audacious_remote_playqueue_is_queued(), audacious_remote_playqueue_remove(), audacious_remote_quit(), audacious_remote_set_eq(), audacious_remote_set_eq_band(), audacious_remote_set_eq_preamp(), audacious_remote_set_playlist_pos(), audacious_remote_set_volume(), audacious_remote_stop(), audacious_remote_toggle_about_box(), audacious_remote_toggle_advance(), audacious_remote_toggle_aot(), audacious_remote_toggle_filebrowser(), audacious_remote_toggle_jtf_box(), audacious_remote_toggle_prefs_box(), audacious_remote_toggle_repeat(), audacious_remote_toggle_shuffle(), audacious_remote_toggle_stop_after(), config_load(), config_save(), equalizer_read_aud_preset(), equalizer_read_presets(), equalizer_write_preset_file(), get_plugin(), import_winamp_eqf(), init_dbus(), org_atheme_audacious_add_async_callback(), org_atheme_audacious_add_list_async_callback(), org_atheme_audacious_add_url_async_callback(), org_atheme_audacious_advance_async_callback(), org_atheme_audacious_auto_advance_async_callback(), org_atheme_audacious_balance_async_callback(), org_atheme_audacious_clear_async_callback(), org_atheme_audacious_delete_async_callback(), org_atheme_audacious_eject_async_callback(), org_atheme_audacious_equalizer_activate_async_callback(), org_atheme_audacious_get_active_playlist_name_async_callback(), org_atheme_audacious_get_eq_async_callback(), org_atheme_audacious_get_eq_band_async_callback(), org_atheme_audacious_get_eq_preamp_async_callback(), org_atheme_audacious_get_info_async_callback(), org_atheme_audacious_get_playqueue_length_async_callback(), org_atheme_audacious_get_tuple_fields_async_callback(), org_atheme_audacious_info_async_callback(), org_atheme_audacious_jump_async_callback(), org_atheme_audacious_length_async_callback(), org_atheme_audacious_main_win_visible_async_callback(), org_atheme_audacious_open_list_async_callback(), org_atheme_audacious_open_list_to_temp_async_callback(), org_atheme_audacious_pause_async_callback(), org_atheme_audacious_paused_async_callback(), org_atheme_audacious_play_async_callback(), org_atheme_audacious_play_pause_async_callback(), org_atheme_audacious_playing_async_callback(), org_atheme_audacious_playlist_add_async_callback(), org_atheme_audacious_playlist_enqueue_to_temp_async_callback(), org_atheme_audacious_playlist_ins_url_string_async_callback(), org_atheme_audacious_playqueue_add_async_callback(), org_atheme_audacious_playqueue_clear_async_callback(), org_atheme_audacious_playqueue_is_queued_async_callback(), org_atheme_audacious_playqueue_remove_async_callback(), org_atheme_audacious_position_async_callback(), org_atheme_audacious_queue_get_list_pos_async_callback(), org_atheme_audacious_queue_get_queue_pos_async_callback(), org_atheme_audacious_quit_async_callback(), org_atheme_audacious_repeat_async_callback(), org_atheme_audacious_reverse_async_callback(), org_atheme_audacious_seek_async_callback(), org_atheme_audacious_set_eq_async_callback(), org_atheme_audacious_set_eq_band_async_callback(), org_atheme_audacious_set_eq_preamp_async_callback(), org_atheme_audacious_set_volume_async_callback(), org_atheme_audacious_show_about_box_async_callback(), org_atheme_audacious_show_filebrowser_async_callback(), org_atheme_audacious_show_jtf_box_async_callback(), org_atheme_audacious_show_main_win_async_callback(), org_atheme_audacious_show_prefs_box_async_callback(), org_atheme_audacious_shuffle_async_callback(), org_atheme_audacious_song_filename_async_callback(), org_atheme_audacious_song_frames_async_callback(), org_atheme_audacious_song_length_async_callback(), org_atheme_audacious_song_title_async_callback(), org_atheme_audacious_song_tuple_async_callback(), org_atheme_audacious_status_async_callback(), org_atheme_audacious_stop_after_async_callback(), org_atheme_audacious_stop_async_callback(), org_atheme_audacious_stopped_async_callback(), org_atheme_audacious_time_async_callback(), org_atheme_audacious_toggle_aot_async_callback(), org_atheme_audacious_toggle_auto_advance_async_callback(), org_atheme_audacious_toggle_repeat_async_callback(), org_atheme_audacious_toggle_shuffle_async_callback(), org_atheme_audacious_toggle_stop_after_async_callback(), org_atheme_audacious_version_async_callback(), org_atheme_audacious_volume_async_callback(), parse_options(), playback_thread(), save_playlists_real(), and save_preset_file().


Generated on 1 Aug 2012 for Audacious by  doxygen 1.6.1