mp3splt-gtk
|
#include "audacious_control.h"
#include <audacious/audctrl.h>
#include <audacious/dbus.h>
Go to the source code of this file.
audacious control
this file contains the functions that control the audacious player
Definition in file audacious_control.c.
void myaudacious_add_files | ( | GList * | list, |
ui_state * | ui | ||
) |
add files to the audacious playlist
Definition at line 157 of file audacious_control.c.
Referenced by myaudacious_start_with_songs(), player_add_files(), and player_add_files_and_select().
gchar* myaudacious_get_filename | ( | ui_state * | ui | ) |
returns the filename
The filename is allocated by this function and must be g_free'ed after use.
Definition at line 87 of file audacious_control.c.
Referenced by player_get_filename().
gint myaudacious_get_playlist_number | ( | ui_state * | ui | ) |
returns the number of songs in the playlist
Definition at line 104 of file audacious_control.c.
Referenced by player_get_playlist_number().
void myaudacious_get_song_infos | ( | gchar * | total_infos, |
ui_state * | ui | ||
) |
Acquires informations about the song.
Definition at line 50 of file audacious_control.c.
Referenced by player_get_song_infos().
gint myaudacious_get_time_elapsed | ( | ui_state * | ui | ) |
returns elapsed time
Definition at line 120 of file audacious_control.c.
Referenced by player_get_elapsed_time().
gchar* myaudacious_get_title_song | ( | ui_state * | ui | ) |
returns the title of the song
The filename is allocated by this function and must be g_free'ed after use.
Definition at line 113 of file audacious_control.c.
Referenced by player_get_title().
gint myaudacious_get_total_time | ( | ui_state * | ui | ) |
returns the total duration of the current song
Definition at line 265 of file audacious_control.c.
Referenced by player_get_total_time().
gint myaudacious_get_volume | ( | ui_state * | ui | ) |
returns volume level
Definition at line 178 of file audacious_control.c.
Referenced by player_get_volume().
gint myaudacious_is_paused | ( | ui_state * | ui | ) |
returns TRUE if audacious is paused, if not, FALSE
Definition at line 218 of file audacious_control.c.
Referenced by player_is_paused().
gint myaudacious_is_playing | ( | ui_state * | ui | ) |
returns TRUE if audacious is playing, else FALSE
Definition at line 272 of file audacious_control.c.
Referenced by player_is_playing().
gint myaudacious_is_running | ( | ui_state * | ui | ) |
returns TRUE if audacious is running; if not, FALSE
Definition at line 194 of file audacious_control.c.
Referenced by player_is_running().
void myaudacious_jump | ( | gint | position, |
ui_state * | ui | ||
) |
jump to time
Definition at line 259 of file audacious_control.c.
Referenced by player_seek().
void myaudacious_next | ( | ui_state * | ui | ) |
Switch to the next song.
Definition at line 247 of file audacious_control.c.
Referenced by player_next().
void myaudacious_pause | ( | ui_state * | ui | ) |
Pause playing the current song.
Definition at line 241 of file audacious_control.c.
Referenced by player_pause().
void myaudacious_play | ( | ui_state * | ui | ) |
Start playing the current song.
Definition at line 229 of file audacious_control.c.
Referenced by player_play().
void myaudacious_play_last_file | ( | ui_state * | ui | ) |
plays the last file of the playlist
Definition at line 150 of file audacious_control.c.
References myaudacious_select_last_file().
Referenced by player_add_play_files(), and player_start_play_with_songs().
void myaudacious_prev | ( | ui_state * | ui | ) |
Switch to the previous song.
Definition at line 253 of file audacious_control.c.
Referenced by player_prev().
void myaudacious_select_last_file | ( | ui_state * | ui | ) |
selects the last file in the playlist
Definition at line 143 of file audacious_control.c.
Referenced by myaudacious_play_last_file(), and player_add_files_and_select().
void myaudacious_set_volume | ( | gint | volume, |
ui_state * | ui | ||
) |
sets the volume level
Definition at line 172 of file audacious_control.c.
Referenced by player_set_volume().
void myaudacious_start | ( | ui_state * | ui | ) |
starts audacious
Definition at line 126 of file audacious_control.c.
Referenced by myaudacious_start_with_songs(), and player_start().
void myaudacious_start_with_songs | ( | GList * | list, |
ui_state * | ui | ||
) |
starts audacious with songs
list | The list of the songs to start audacious with |
Definition at line 187 of file audacious_control.c.
References myaudacious_add_files(), and myaudacious_start().
Referenced by player_start_add_files(), and player_start_play_with_songs().
void myaudacious_stop | ( | ui_state * | ui | ) |
Stop playing the current song.
Definition at line 235 of file audacious_control.c.
Referenced by player_stop().