Property

ValentMediaPlayer:position

unstable since: 1.0

Declaration

property position: double [ read, write ]

Description [src]

The current track position in seconds.

Acceptable values are between 0 and the mpris:length metadata entry (see ValentMediaPlayer:metadata). If the player does not have VALENT_MEDIA_ACTION_SEEK in ValentMediaPlayer:flags, setting this property should have no effect.

Type:gdouble

Available since: 1.0

Default value0.000000
Getter methodvalent_media_player_get_position()
Setter methodvalent_media_player_set_position()

Flags

Readableyes
Writableyes
Constructno
Construct onlyno