Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test failure with glib 2.73.3 #80

Merged
merged 1 commit into from
Sep 10, 2022
Merged

Fix test failure with glib 2.73.3 #80

merged 1 commit into from
Sep 10, 2022

Conversation

pabs3
Copy link
Contributor

@pabs3 pabs3 commented Sep 4, 2022

Discard the playerctl stderr when listing players.

This fixes a test failure when using glib 2.73.3.

playerctl with glib 2.73.3 emits a deprecation warning and that is
merged into the player list and the comparison with 'mpv' then fails.

When mpv is not present, the reason for that still needs to be printed,
so re-run the command when it failed or did not detect mpv is the player.

Please make a new minor release after merging this pull request.

This fixes a test failure when using glib 2.73.3.

playerctl with glib 2.73.3 emits a deprecation warning and that is
merged into the player list and the comparison with 'mpv' then fails.

When mpv is not present, the reason for that still needs to be printed,
so re-run the command when it failed or did not detect mpv is the player.
@hoyon hoyon merged commit 6ab69f9 into hoyon:master Sep 10, 2022
@hoyon
Copy link
Owner

hoyon commented Sep 10, 2022

Thanks!

@pabs3 pabs3 deleted the fix-tests branch September 10, 2022 12:44
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request Sep 30, 2022
https://build.opensuse.org/request/show/1007097
by user mia + RBrownFactory
- Update to 0.9
  * expose musicbrainz metadata if available
    gh#hoyon/mpv-mpris#79
  * Fix test failure with glib 2.73.3
    gh#hoyon/mpv-mpris#80
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