## RBMediaPlayerSource RBMediaPlayerSource |

## Synopsis

    void                (*RBMediaPlayerSourceDeleteCallback)
                                                            (RBMediaPlayerSource *source,
                                                             gpointer data);
    struct              RBMediaPlayerSource;
    struct              RBMediaPlayerSourceClass;
    void                rb_media_player_source_load         (RBMediaPlayerSource *source);
    guint64             rb_media_player_source_get_capacity (RBMediaPlayerSource *source);
    guint64             rb_media_player_source_get_free_space
                                                            (RBMediaPlayerSource *source);
    void                rb_media_player_source_get_entries  (RBMediaPlayerSource *source,
                                                             const char *category,
                                                             GHashTable *entries);
    void                rb_media_player_source_delete_entries
                                                            (RBMediaPlayerSource *source,
                                                             GList *entries,
                                                             RBMediaPlayerSourceDeleteCallback callback,
                                                             gpointer user_data,
                                                             GDestroyNotify destroy_data);
    void                rb_media_player_source_show_properties
                                                            (RBMediaPlayerSource *source);
    void                rb_media_player_source_sync         (RBMediaPlayerSource *source);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkWidget
                   +----GtkContainer
                         +----GtkBox
                               +----GtkHBox
                                     +----RBDisplayPage
                                           +----RBSource
                                                 +----RBBrowserSource
                                                       +----RBMediaPlayerSource

## Implemented Interfaces

RBMediaPlayerSource implements AtkImplementorIface, GtkBuildable and GtkOrientable.

## Properties

      "encoding-target"          GstEncodingTarget*    : Read / Write
      "serial"                   gchar*                : Read

## Description

## Details

### RBMediaPlayerSourceDeleteCallback ()

    void                (*RBMediaPlayerSourceDeleteCallback)
                                                            (RBMediaPlayerSource *source,
                                                             gpointer data);

### struct RBMediaPlayerSource

    struct RBMediaPlayerSource;

### struct RBMediaPlayerSourceClass

    struct RBMediaPlayerSourceClass {
    	RBBrowserSourceClass parent_class;

    	/* class members */
    	void		(*impl_get_entries) (RBMediaPlayerSource *source, const char *category, GHashTable *map);
    	guint64		(*impl_get_capacity) (RBMediaPlayerSource *source);
    	guint64		(*impl_get_free_space) (RBMediaPlayerSource *source);
    	void		(*impl_delete_entries) (RBMediaPlayerSource *source,
    						 GList *entries,
    						 RBMediaPlayerSourceDeleteCallback callback,
    						 gpointer data,
    						 GDestroyNotify destroy_data);
    	void		(*impl_add_playlist) (RBMediaPlayerSource *source, gchar *name, GList *entries);
    	void		(*impl_remove_playlists) (RBMediaPlayerSource *source);
    	void		(*impl_show_properties) (RBMediaPlayerSource *source, GtkWidget *info_box, GtkWidget *notebook);
    };

### rb_media_player_source_load ()

    void                rb_media_player_source_load         (RBMediaPlayerSource *source);

### rb_media_player_source_get_capacity ()

    guint64             rb_media_player_source_get_capacity (RBMediaPlayerSource *source);

### rb_media_player_source_get_free_space ()

    guint64             rb_media_player_source_get_free_space
                                                            (RBMediaPlayerSource *source);

### rb_media_player_source_get_entries ()

    void                rb_media_player_source_get_entries  (RBMediaPlayerSource *source,
                                                             const char *category,
                                                             GHashTable *entries);

`source` : | the RBMediaPlayerSource
`category` : | the sync category name
`entries` : | map to hold the entries. [element-type utf8 RB.RhythmDBEntry]

### rb_media_player_source_delete_entries ()

    void                rb_media_player_source_delete_entries
                                                            (RBMediaPlayerSource *source,
                                                             GList *entries,
                                                             RBMediaPlayerSourceDeleteCallback callback,
                                                             gpointer user_data,
                                                             GDestroyNotify destroy_data);

`source` : | the RBMediaPlayerSource
`entries` : | list of entries to delete. [element-type RB.RhythmDBEntry][transfer full]
`callback` : | callback to call on completion
`user_data` : | data for callback. [closure][scope notified]
`destroy_data` : | callback to free the callback data

### rb_media_player_source_show_properties ()

    void                rb_media_player_source_show_properties
                                                            (RBMediaPlayerSource *source);

### rb_media_player_source_sync ()

    void                rb_media_player_source_sync         (RBMediaPlayerSource *source);

## Property Details

### The `"encoding-target"` property

      "encoding-target"          GstEncodingTarget*    : Read / Write

The GstEncodingTarget for this device

### The `"serial"` property

      "serial"                   gchar*                : Read

device serial number.

Default value: NULL