#include <gtk/gtk.h>
#include "now_playing.h"
#include "interface.h"
#include "helper.h"
#include "upnp.h"
#include <cybergarage/renderingcontrol/crcscontrolpoint.h>
#include <cybergarage/avdebug.h>
Functions | |
int | create_now_playing_bar () |
int | create_renderer_combo_model () |
int | create_now_playing_text_view_model () |
void | renderer_combo_selection_changed (GtkComboBox *widget, gpointer user_data) |
void | update_now_playing_text () |
void | update_local_now_playing_text (GtkTextBuffer *buffer) |
void | reset_now_playing_update_timeout (guint seconds) |
gboolean | now_playing_update_timeout (gpointer data) |
gboolean | get_current_renderer (gchar **udn, gchar **uri, gchar **name) |
gboolean | cache_current_track_for_current_renderer (gchar *uri, gchar *trackName) |
void | update_active_renderer_widgets () |
void | set_seek_bar_limit (gchar *max_limit) |
void | set_seek_bar_limit_long (long max_limit) |
void | set_seek_bar_position (gchar *position) |
void | set_seek_bar_position_long (long position) |
Variables | |
UPnPBrowserWidgets * | widgets |
|
Cache the currently playing URI and track name to the renderer model
|
|
Create the "Now Playing" tuuba |
|
Create the "Now Playing" text view |
|
Create the renderer combo & model |
|
Helper function to get the currently selected renderer device's UDN
|
|
Timeout callback to update the now playing area |
|
Callback for selecting an item from the renderer combo |
|
Reset the timeout that updates the now playing bar
|
|
Set the maximum limit for the seek bar. If max_limit results in 0, the seek bar is disabled
|
|
Set the maximum limit for the seek bar.
|
|
Set the seek bar's position as a TrackDuration string |
|
Set the seek bar's position as a long representation (seconds) |
|
Checks for some actions from the selected renderer device and de/activates widgets according to their presence/absence |
|
Update the text displayed in the "Now Playing" area from local renderer |
|
Update the text displayed in the "Now Playing" area |
|
Global struct that holds the application widgets |