Top |
RygelPlayerControllerRygelPlayerController — This class keeps track of global states that are not dependant on the RygelMediaPlayer. |
These states are: # URI # MetaData # Number of tracks # Current track # Playback state
In case of playlists this class will also control the player. It needs to proxy the playback state to react on end of item to be able to switch to the next item.
typedef struct _RygelPlayerController RygelPlayerController;
This class keeps track of global states that are not dependant on the RygelMediaPlayer.
These states are: # URI # MetaData # Number of tracks # Current track # Playback state
In case of playlists this class will also control the player. It needs to proxy the playback state to react on end of item to be able to switch to the next item.
struct RygelPlayerControllerIface { GTypeInterface parent_iface; gboolean (*next) (RygelPlayerController* self); gboolean (*previous) (RygelPlayerController* self); void (*set_single_play_uri) (RygelPlayerController* self, const gchar* uri, const gchar* metadata, const gchar* mime, const gchar* features); void (*set_playlist_uri) (RygelPlayerController* self, const gchar* uri, const gchar* metadata, GUPnPMediaCollection* collection); void (*set_next_single_play_uri) (RygelPlayerController* self, const gchar* uri, const gchar* metadata, const gchar* mime, const gchar* features); void (*set_next_playlist_uri) (RygelPlayerController* self, const gchar* uri, const gchar* metadata, GUPnPMediaCollection* collection); gboolean (*is_play_mode_valid) (RygelPlayerController* self, const gchar* play_mode); const gchar* (*get_playback_state) (RygelPlayerController* self); void (*set_playback_state) (RygelPlayerController* self, const gchar* value); guint (*get_n_tracks) (RygelPlayerController* self); void (*set_n_tracks) (RygelPlayerController* self, guint value); guint (*get_track) (RygelPlayerController* self); void (*set_track) (RygelPlayerController* self, guint value); gchar* (*get_uri) (RygelPlayerController* self); void (*set_uri) (RygelPlayerController* self, const gchar* value); gchar* (*get_metadata) (RygelPlayerController* self); void (*set_metadata) (RygelPlayerController* self, const gchar* value); gchar* (*get_track_uri) (RygelPlayerController* self); void (*set_track_uri) (RygelPlayerController* self, const gchar* value); gchar* (*get_track_metadata) (RygelPlayerController* self); void (*set_track_metadata) (RygelPlayerController* self, const gchar* value); gchar* (*get_next_uri) (RygelPlayerController* self); void (*set_next_uri) (RygelPlayerController* self, const gchar* value); gchar* (*get_next_metadata) (RygelPlayerController* self); void (*set_next_metadata) (RygelPlayerController* self, const gchar* value); gchar* (*get_current_transport_actions) (RygelPlayerController* self); const gchar* (*get_play_mode) (RygelPlayerController* self); void (*set_play_mode) (RygelPlayerController* self, const gchar* value); gboolean (*get_can_pause) (RygelPlayerController* self); };
Interface for creating RygelPlayerController implementations.
the parent interface structure |
||
virtual method called by |
||
virtual method called by |
||
virtual method called by |
||
virtual method called by |
||
virtual method called by |
||
virtual method called by |
||
virtual method called by |
||
getter method for the abstract property "playback-state" |
||
setter method for the abstract property "playback-state" |
||
getter method for the abstract property "n-tracks" |
||
setter method for the abstract property "n-tracks" |
||
getter method for the abstract property "track" |
||
setter method for the abstract property "track" |
||
getter method for the abstract property "uri" |
||
setter method for the abstract property "uri" |
||
getter method for the abstract property "metadata" |
||
setter method for the abstract property "metadata" |
||
getter method for the abstract property "track-uri" |
||
setter method for the abstract property "track-uri" |
||
getter method for the abstract property "track-metadata" |
||
setter method for the abstract property "track-metadata" |
||
getter method for the abstract property "next-uri" |
||
setter method for the abstract property "next-uri" |
||
getter method for the abstract property "next-metadata" |
||
setter method for the abstract property "next-metadata" |
||
getter method for the abstract property "current-transport-actions" |
||
getter method for the abstract property "play-mode" |
||
setter method for the abstract property "play-mode" |
||
getter method for the abstract property "can-pause" |