We have moved to a new Sailfish OS Forum. Please start new discussions there.
2

mpris - not - allowed (and if not why does gpodder uses it)

asked 2018-10-15 21:56:36 +0200

cy8aer gravatar image

updated 2018-10-18 11:09:57 +0200

Is the usage of mpris allowed on harbour?

When building a package with mpris-qt5 required the SDK validation fails. But gpodder is build with it.

(try to build it into my podQast app...)

edit retag flag offensive close delete

Comments

The harbour version of gpodder is quite old, and I don't think it includes the mpris controls.

feodoran ( 2018-10-16 22:49:48 +0200 )edit

2 Answers

Sort by » oldest newest most voted
3

answered 2018-10-15 21:59:47 +0200

coderus gravatar image

Just go and build your own: https://specifications.freedesktop.org/mpris-spec/latest/

Or carefully read: https://harbour.jolla.com/faq#Shared_Libraries

edit flag offensive delete publish link more

Comments

Code is 100% python and qml - nothing compiled. So it takes some efford I do not want at this time. Maybe later...

cy8aer ( 2018-10-15 22:44:50 +0200 )edit

@coderus: I got it (thanks for your helping comment!). I am using option "Just go and build your own". DBusAdaptor is allowed...

cy8aer ( 2018-10-16 08:47:39 +0200 )edit

@coderus: Is it possible to have upper case properties or is it possible to map a lower case property to upper case for DBusAdaptor? When comparing my code with the qtmpris lower case properties are send (and not understood by mpris mimikry)

cy8aer ( 2018-10-17 21:40:02 +0200 )edit
2

answered 2018-10-17 11:22:25 +0200

cy8aer gravatar image

According to Coderus' answer mpris is a standard dbus protocol and can be implemented with standard qml and DBusAdaptor.

edit flag offensive delete publish link more

Comments

well, it would be cool to actually know if dbusadaptor providing all enough functions to achieve this

coderus ( 2018-10-17 13:47:11 +0200 )edit

Need properties with upper case names...

cy8aer ( 2018-10-17 22:07:29 +0200 )edit
Login/Signup to Answer

Question tools

Follow
4 followers

Stats

Asked: 2018-10-15 21:56:36 +0200

Seen: 570 times

Last updated: Oct 18 '18