mariusor / mpris-scrobbler

A minimalistic user daemon to submit the songs you're playing to audioscrobbler services like listenbrainz.org, libre.fm and last.fm.
MIT License
151 stars 6 forks source link

mpris::failed_to_load_player_name: This message iterator must have variant type #93

Closed gbcox closed 2 years ago

gbcox commented 2 years ago

If you start mpris daemon, then open a player... things appear to work fine. However, if you close the player and then reopen it later, you get the error shown below. Nothing is scrobbled, the daemon just sits there doing apparently nothing. The way to recover is to restart the daemon.

● mpris-scrobbler.service - daemon to scrobble tracks loaded from the MPRIS DBus interface to compatible services Loaded: loaded (/usr/lib/systemd/user/mpris-scrobbler.service; enabled; vendor preset: disabled) Active: active (running) since Thu 2022-06-09 20:22:06 PDT; 3min 16s ago Docs: man:mpris-scrobbler Main PID: 84338 (mpris-scrobbler) Tasks: 1 (limit: 38199) Memory: 6.8M CPU: 245ms CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/mpris-scrobbler.service └─ 84338 /usr/bin/mpris-scrobbler -vvv

Jun 09 20:23:59 charon mpris-scrobbler[84338]: INFO scrobbler::scrobble:( 0) When I Kissed The Teacher//ABBA//Arrival Jun 09 20:23:59 charon mpris-scrobbler[84338]: DEBUG events::new_queue_length: 0 Jun 09 20:24:00 charon mpris-scrobbler[84338]: INFO api::submitted_to[listenbrainz.org]: ok Jun 09 20:24:36 charon mpris-scrobbler[84338]: DEBUG changed::volume: no Jun 09 20:24:36 charon mpris-scrobbler[84338]: DEBUG changed::position: no Jun 09 20:24:36 charon mpris-scrobbler[84338]: DEBUG changed::playback_status: yes Jun 09 20:24:36 charon mpris-scrobbler[84338]: DEBUG changed::track: yes Jun 09 20:25:07 charon mpris-scrobbler[84338]: INFO mpris_player::closed[0]: org.mpris.MediaPlayer2.qmmp:1.430 Jun 09 20:25:17 charon mpris-scrobbler[84338]: ERROR mpris::failed_to_load_player_name: This message iterator must have variant type Jun 09 20:25:18 charon mpris-scrobbler[84338]: INFO mpris_player::opened[0]: org.mpris.MediaPlayer2.qmmp:1.435