Added some mimetypes to the "SupportedMimeTypes" MPRIS property.
This commit is contained in:
parent
0d131f80d5
commit
2da41160dc
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ class MPRISRoot(DBusInterface):
|
|||
"Identity": ("s", "Wobuzz"),
|
||||
"DesktopEntry": ("s", "wobuzz"),
|
||||
"SupportedUriSchemes": ("as", ["file"]),
|
||||
"SupportedMimeTypes": ("as", ["audio/mpeg"])
|
||||
"SupportedMimeTypes": ("as", ["audio/mpeg", "audio/ogg", "audio/webm", "audio/flac"])
|
||||
},)
|
||||
|
||||
return body
|
||||
|
@ -55,4 +55,4 @@ class MPRISRoot(DBusInterface):
|
|||
return "as", ["file"]
|
||||
|
||||
def SupportedMimeTypes(self, msg: Message):
|
||||
return "as", ["audio/mpeg"]
|
||||
return "as", ["audio/mpeg", "audio/ogg", "audio/webm", "audio/flac"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue