diff options
author | Andy Holmes <andrew.g.r.holmes@gmail.com> | 2022-04-23 23:55:19 -0700 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2022-04-25 10:23:08 +0200 |
commit | 802320a8d85f8adc3aed851a0cdb7733f85f91b1 (patch) | |
tree | 6119e125e1bca40130f3b74f90392b2e236bc456 /src/plugins | |
parent | cc3c38db9588611b2e0ac9e74f1464b975c76a89 (diff) | |
download | totem-802320a8d85f8adc3aed851a0cdb7733f85f91b1.tar.gz |
mpris: Fix exported movie length
The metadata property `mpris:length` should be in microseconds, but was
being exported in milliseconds.
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/mpris/totem-mpris.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/mpris/totem-mpris.c b/src/plugins/mpris/totem-mpris.c index 529b1443f..e454590d8 100644 --- a/src/plugins/mpris/totem-mpris.c +++ b/src/plugins/mpris/totem-mpris.c @@ -269,7 +269,7 @@ calculate_metadata (TotemMprisPlugin *pi, g_variant_builder_add (builder, "{sv}", "mpris:length", - g_variant_new_int64 (stream_length)); + g_variant_new_int64 (stream_length * 1000)); g_variant_builder_add (builder, "{sv}", "xesam:trackNumber", |