From: harrisonthorne <harrisonthorne@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [ISSUE] Spotify + MPRIS not working
Date: Wed, 14 Oct 2020 05:12:36 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-25587@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 3019 bytes --]
New issue by harrisonthorne on void-packages repository
https://github.com/void-linux/void-packages/issues/25587
Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System
* xuname:
`Void 5.8.13_1 x86_64 AuthenticAMD uptodate rrrmFFFFFFFFFFFFFFFFF`
* package:
`spotify-1.1.26_2`
### Expected behavior
On my previous install with Arch Linux, I was able to control Spotify playback with `playerctl`. I'm using awesomewm with keybinds to control audio playback, with commands such as `playerctl play-pause`. These commands work for other MPRIS players like Firefox and MPV with the mpv-mpris plugin.
### Actual behavior
`playerctl` doesn't work with Spotify, and playback information doesn't show up in my [muse-status](https://github.com/harrisonthorne/muse-status) bar either.
### Steps to reproduce the behavior
Bonus issue: Currently it seems that spotify-1.1.26_***1*** is unable to be installed correctly/completely from the official nonfree repository:
```
~/D/void-packages $ sudo xbps-install spotify
Name Action Version New version Download size
spotify install - 1.1.26_1 -
Size required on disk: 229B
Space available on disk: 6123MB
Do you want to continue? [Y/n]
[*] Verifying package integrity
spotify-1.1.26_1: verifying RSA signature...
[*] Collecting package files
spotify-1.1.26_1: collecting files...
[*] Unpacking packages
spotify-1.1.26_1: unpacking ...
[*] Configuring unpacked packages
spotify-1.1.26_1: configuring ...
looking up repository.spotify.com
connecting to repository.spotify.com:80
connecting to 13.249.200.159
requesting http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.1.26.501.gbe11e53b-15_amd64.deb
http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.1.26.501.gbe11e53b-15_amd64.deb: (null)
Failed downloading spotify client
ERROR: spotify-1.1.26_1: [configure] INSTALL script failed to execute the post ACTION: Operation not permitted
Transaction failed! see above for errors.
```
So I am using the spotify package from my local repository.
1. Install spotify from a local void-packages repository
2. Make sure `playerctl` is installed too
3. Play a song on Spotify and try to toggle playback with `playerctl play-pause`
Here's an extra little bit of information:
```
~/D/void-packages $ dbus-send --type=method_call --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.mpris.MediaPlayer2.spotify was not provided by any .service files
```
(Taken from [this issue on the Spotify discussion forums](https://community.spotify.com/t5/Desktop-Linux/Media-Keys-Don-t-Work/td-p/4586503/page/6))
next reply other threads:[~2020-10-14 3:12 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-14 3:12 harrisonthorne [this message]
2020-10-14 3:19 ` harrisonthorne
2020-10-14 3:22 ` ericonr
2020-10-14 3:23 ` ericonr
2020-10-14 3:37 ` harrisonthorne
2020-10-14 3:40 ` harrisonthorne
2020-10-14 16:00 ` ohlookitsaaron
2020-10-14 22:15 ` harrisonthorne
2020-10-16 18:14 ` harrisonthorne
2020-10-16 18:14 ` [ISSUE] [CLOSED] " harrisonthorne
2020-10-16 18:25 ` harrisonthorne
2020-10-29 0:44 ` ericonr
2020-10-29 0:45 ` ericonr
2021-02-13 12:58 ` dm17
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-25587@inbox.vuxu.org \
--to=harrisonthorne@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).