Skip to content

Conversation

@tpikonen
Copy link
Contributor

@tpikonen tpikonen commented Apr 4, 2022

Some media players (notably firefox on linux) do not support / have the 'Position' property, which makes the MPRIS extension throw an exception when pause is toggled.

This patch makes the MPRIS property query functions return None when the queried properties do not exist.

Also, fix exceptions caused by log string formats, when the properties are None.

@auouymous auouymous merged commit 93fda24 into gpodder:master Apr 9, 2022
@auouymous
Copy link
Member

LGTM, thanks for the fix.

@tpikonen tpikonen deleted the mpris-nopos branch April 10, 2022 10:09
@tpikonen tpikonen mentioned this pull request Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants