MCPcopy Create free account

hub / github.com/Mange/mpris-rs / functions

Functions402 in github.com/Mange/mpris-rs

↓ 1 callersFunctiontry_parse_track_metadata_changed
(message: &Message)
src/pooled_connection.rs:434
↓ 1 callersFunctiontry_parse_track_removed
(message: &Message)
src/pooled_connection.rs:423
↓ 1 callersFunctiontry_parse_tracklist_replaced
(message: &Message)
src/pooled_connection.rs:397
↓ 1 callersMethodunderlying
(&self)
src/pooled_connection.rs:53
↓ 1 callersMethodunique_name
Returns the player's unique D-Bus bus name (usually something like `:1.1337`).
src/player.rs:159
↓ 1 callersMethodvolume
(&self)
src/generated/media_player_player.rs:158
Methodactivate_playlist
(&self, playlist_id: dbus::Path)
src/generated/media_player_playlists.rs:62
Methodactive_playlist
( &self, )
src/generated/media_player_playlists.rs:101
Methodadd_metadata
Adds/updates the metadata cache for a track (as identified by [`Metadata::track_id`]). The metadata will be added to the cache even if the [`TrackID`
src/track_list.rs:265
Methodadd_track
( &self, uri: &str, after_track: dbus::Path, set_as_current: bool, )
src/generated/media_player_tracklist.rs:157
Methodalbum_artists
A list of artists of the album the track appears on. Based on `xesam:albumArtist` > The album artist(s).
src/metadata.rs:71
Methodalbum_name
The name of the album the track appears on. Based on `xesam:album` > The album name.
src/metadata.rs:79
Methodappend
(&self, i: &mut arg::IterAppend)
src/generated/media_player_playlists.rs:41
Methodappend
(&self, i: &mut arg::IterAppend)
src/generated/media_player_tracklist.rs:44
Methodart_url
An URL to album art of the current track. Based on `mpris:artUrl` > The location of an image representing the track or album. Clients should not assu
src/metadata.rs:88
Methodas_array
Returns the value as a `Some(&Vec<Value>)` if it is a `MetadataValue::Array`, or `None` otherwise.
src/metadata/value.rs:234
Methodas_bool
Returns the value as a `Some(bool)` if it is a `MetadataValue::Bool`, or `None` otherwise.
src/metadata/value.rs:202
Methodas_f64
Returns the value as a `Some(f64)` if it is a `MetadataValue::F64`, or `None` otherwise.
src/metadata/value.rs:194
Methodas_i16
Returns the value as a `Some(i16)` if it is a signed integer smaller than or equal to i16, or `None` otherwise.
src/metadata/value.rs:165
Methodas_i32
Returns the value as a `Some(i32)` if it is a signed integer smaller than or equal to i32, or `None` otherwise.
src/metadata/value.rs:174
Methodas_i64
Returns the value as a `Some(i64)` if it is a signed integer smaller than or equal to i64, or `None` otherwise.
src/metadata/value.rs:184
Methodas_map
Returns the value as a `Some(&HashMap<String, Value>)` if it is a `MetadataValue::Map`, or `None` otherwise.
src/metadata/value.rs:226
Methodas_micros
(&self)
src/extensions.rs:21
Methodas_millis
(&self)
src/extensions.rs:17
Methodas_str
Returns the value as a `Some(&str)` if it is a `MetadataValue::String`, or `None` otherwise.
src/metadata/value.rs:210
Methodas_str_array
Returns the value as a `Some(Vec<&str>)` if it is a `MetadataValue::Array`. Any elements that are not `MetadataValue::String` values will be ignored.
src/metadata/value.rs:114
Methodas_string
Returns the value as a `Some(&String)` if it is a `MetadataValue::String`, or `None` otherwise.
src/metadata/value.rs:218
Methodas_u16
Returns the value as a `Some(u16)` if it is an unsigned int smaller than or equal to u16, or `None` otherwise.
src/metadata/value.rs:132
Methodas_u32
Returns the value as a `Some(u32)` if it is an unsigned int smaller than or equal to u32, or `None` otherwise.
src/metadata/value.rs:142
Methodas_u64
Returns the value as a `Some(u64)` if it is an unsigned int smaller than or equal to u64, or `None` otherwise.
src/metadata/value.rs:153
Methodas_u8
Returns the value as a `Some(u8)` if it is a `MetadataValue::U8`, or `None` otherwise.
src/metadata/value.rs:123
Methodauto_rating
Based on `xesam:autoRating` > An automatically-generated rating, based on things such as how often it has been played. > This should be in the range 0
src/metadata.rs:103
Methodbus_name_player_name_part
(&self)
src/player.rs:140
Methodbus_name_trimmed
Returns the player name part of the player's D-Bus bus name with the MPRIS2 prefix trimmed. Examples: - `org.mpris.MediaPlayer2.io.github.celluloid_p
src/player.rs:154
Methodcan_control
(&self)
src/generated/media_player_player.rs:230
Methodcan_edit_tracks
(&self)
src/generated/media_player_tracklist.rs:190
Methodcan_go_next
(&self)
src/generated/media_player_player.rs:190
Methodcan_go_previous
(&self)
src/generated/media_player_player.rs:198
Methodcan_pause
(&self)
src/generated/media_player_player.rs:214
Methodcan_play
(&self)
src/generated/media_player_player.rs:206
Methodcan_quit
(&self)
src/generated/media_player.rs:46
Methodcan_raise
(&self)
src/generated/media_player.rs:70
Methodcan_seek
(&self)
src/generated/media_player_player.rs:222
Methodcan_set_fullscreen
(&self)
src/generated/media_player.rs:62
Methodchecked_next
Sends a `Next` signal to the player, if the player indicates that it can go to the next media. Returns a boolean to show if the signal was sent or no
src/player.rs:846
Methodchecked_pause
Sends a `Pause` signal to the player, if the player indicates that it can pause. Returns a boolean to show if the signal was sent or not. See: [MPRI
src/player.rs:815
Methodchecked_play
Sends a `Play` signal to the player, if the player indicates that it can play. Returns a boolean to show if the signal was sent or not. See: [MPRIS2
src/player.rs:800
Methodchecked_previous
Sends a `Previous` signal to the player, if the player indicates that it can go to a previous media. Returns a boolean to show if the signal was sent
src/player.rs:862
Methodchecked_quit
Send a `Quit` signal to the player, if it supports it. See: [`can_quit`](Self::can_quit) and [`quit`](Self::quit) methods.
src/player.rs:694
Methodchecked_raise
Send a `Raise` signal to the player, if it supports it. See: [`can_raise`](Self::can_raise) and [`raise`](Self::raise) methods.
src/player.rs:663
Methodchecked_seek
Sends a `Seek` signal to the player, if the player indicates that it can seek. Returns a boolean to show if the signal was sent or not. See: [MPRIS2
src/player.rs:877
Methodchecked_seek_backwards
Seeks the player backwards, if the player indicates that it can seek. Returns a boolean to show if the signal was sent or not. See: [MPRIS2 specific
src/player.rs:907
Methodchecked_seek_forwards
Seeks the player forwards, if the player indicates that it can seek. Returns a boolean to show if the signal was sent or not. See: [MPRIS2 specifica
src/player.rs:892
Methodchecked_set_loop_status
Set the loop status of the player, if the player indicates that supports it and that it can be controlled. Returns a boolean to show if the signal wa
src/player.rs:1203
Methodchecked_set_playback_rate
Set the playback rate of the player, if the player indicates that supports it and that it can be controlled. Returns a boolean to show if the signal
src/player.rs:346
Methodchecked_set_position
Set the "Position" setting of the player, if the player indicates that it supports the "Position" setting and can be controlled. Returns a boolean to
src/player.rs:269
Methodchecked_set_shuffle
Set the "Shuffle" setting of the player, if the player indicates that it supports the "Shuffle" setting and can be controlled. Returns a [`bool`] to
src/player.rs:1152
Methodchecked_set_volume
Set the "Volume" setting of the player, if the player indicates that it supports the "Volume" setting and can be controlled. Returns a boolean to sho
src/player.rs:1257
Methodchecked_stop
Sends a `Stop` signal to the player, if the player indicates that it can stop. Returns a boolean to show if the signal was sent or not. See: [MPRIS2
src/player.rs:830
Methodcreated_at
The instant where this [`Progress`] was recorded. See: [`age`](Self::age).
src/progress.rs:400
Methoddbus_timeout_ms
Returns the current D-Bus communication timeout (in milliseconds). When querying D-Bus the call should not block longer than this, and will instead f
src/player.rs:95
Methoddescription
(&self)
examples/control.rs:85
Methoddisc_number
Based on `xesam:discNumber` > The disc number on the album that this track is from.
src/metadata.rs:109
Methodeq
(&self, other: &TrackList)
src/track_list.rs:405
Methodfind_by_name
Find a [`Player`] by it's MPRIS [`Identity`][identity]. Returns [`NoPlayerFound`](FindingError::NoPlayerFound) if no direct match found. [identity]:
src/find.rs:142
Methodfind_first
Return the first found [`Player`] regardless of state.
src/find.rs:86
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/track_list.rs:97
Methodfor_connection
Create a new [`PlayerFinder`] with the given connection. Use [`new`](Self::new) if you want a new default connection rather than manually managing th
src/find.rs:57
Methodfor_pooled_connection
( pooled_connection: Rc<PooledConnection>, bus_name: String, timeout_ms: i32, )
src/player.rs:53
Methodforce_refresh
Force a refresh right now. This will ignore the interval and perform a refresh anyway. The new [`Progress`] will be saved, and the [`TrackList`] will
src/progress.rs:299
Functionformat_elapsed
(duration: Duration)
examples/events.rs:31
Methodfrom
(error: InvalidPlaybackStatus)
src/lib.rs:159
Methodfrom
(path: dbus::Path<'a>)
src/track_list.rs:73
Methodfrom
(metadata: Metadata)
src/metadata.rs:195
Methodfrom
(connection: Connection)
src/pooled_connection.rs:247
Methodfrom
(error: dbus::Error)
src/find.rs:29
Methodfrom
(string: &'a str)
src/metadata/value.rs:426
Functionfrom_hashmap_artist_string
()
src/metadata.rs:253
Functionfrom_hashmap_artists_list
()
src/metadata.rs:264
Methodfrom_iter
(iter: I)
src/track_list.rs:172
Methodfrom_key
(key: termion::event::Key)
examples/control.rs:49
Methodfrom_micros_ext
(micros: u64)
src/extensions.rs:11
Methodfrom_player
(player: &Player)
src/progress.rs:324
Methodfrom_str
(string: &str)
src/lib.rs:95
Methodget
(i: &mut dbus::arg::Iter<'_>)
src/metadata/value.rs:439
Methodget_desktop_entry
Returns the player's `DesktopEntry` property, if supported. See: [MPRIS2 specification about `DesktopEntry`][desktop_entry]. [desktop_entry]: https:
src/player.rs:182
Methodget_fullscreen
Query the player for current fullscreen state. This property was added in MPRIS 2.2, and not all players will implement it. This method will try to d
src/player.rs:1083
Methodget_playlists
( &self, index: u32, max_count: u32, order: &str, reverse_order: bool,
src/generated/media_player_playlists.rs:70
Methodget_track_metadata
Query the player for metadata for a single [`TrackID`]. Note that [`get_tracks_metadata`](Self::get_tracks_metadata) with a list is more effective if
src/player.rs:514
Methodget_tracks_metadata
( &self, track_ids: Vec<dbus::Path>, )
src/generated/media_player_tracklist.rs:145
Methodgo_to
(&self, track_id: dbus::Path)
src/generated/media_player_tracklist.rs:178
Methodidentity
(&self)
src/generated/media_player.rs:86
Methodinitial_position
Returns the position that the current track was at when the [`Progress`] was created. This is the number that was returned for the [`Position`][posit
src/progress.rs:393
Methodinto_array
Consumes `self` and returns the inner value as a `Some(Vec<Value>)` if it is a `MetadataValue::Array`, or `None` otherwise.
src/metadata/value.rs:350
Methodinto_bool
Consumes `self` and returns the inner value as a `Some(bool)` if it is a `MetadataValue::Bool`, or `None` otherwise.
src/metadata/value.rs:323
Methodinto_f64
Consumes `self` and returns the inner value as a `Some(f64)` if it is a `MetadataValue::F64`, or `None` otherwise.
src/metadata/value.rs:314
Methodinto_i16
Consumes `self` and returns the inner value as a `Some(i16)` if it is a signed integer smaller than or equal to i16, or `None` otherwise.
src/metadata/value.rs:284
Methodinto_i32
Consumes `self` and returns the inner value as a `Some(i32)` if it is a signed integer smaller than or equal to i32, or `None` otherwise.
src/metadata/value.rs:293
Methodinto_i64
Consumes `self` and returns the inner value as a `Some(i64)` if it is a signed integer smaller than or equal to i64, or `None` otherwise.
src/metadata/value.rs:303
Methodinto_map
Consumes `self` and returns the inner value as a `Some(HashMap<String, Value>)` if it is a `MetadataValue::Map`, or `None` otherwise.
src/metadata/value.rs:341
← previousnext →201–300 of 402, ranked by callers