We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d050c72 commit 314ca1bCopy full SHA for 314ca1b
src/Mpris/Entry.vala
@@ -219,6 +219,8 @@ public class Turntable.Mpris.Entry : GLib.Object {
219
// Spotify:
220
if (variant_length.is_of_type (GLib.VariantType.UINT64)) {
221
this.length = (int64) variant_length.get_uint64 ();
222
+ } else if (variant_length.is_of_type (GLib.VariantType.STRING)) { // whatever at this point, nobody reads the spec
223
+ this.length = int64.parse (variant_length.get_string ());
224
} else {
225
this.length = variant_length.get_int64 ();
226
}
0 commit comments