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

Cannot play track when restoring playback state #185

Open
kingosticks opened this issue May 29, 2018 · 0 comments
Open

Cannot play track when restoring playback state #185

kingosticks opened this issue May 29, 2018 · 0 comments
Labels
C-bug Category: This is a bug

Comments

@kingosticks
Copy link
Member

Originally reported by @simmel at #146 (comment)

kaka:~$ mopidy
INFO     Starting Mopidy 2.1.0
INFO     Loading config from builtin defaults
INFO     Loading config from /Users/simlu/.config/mopidy/mopidy.conf
INFO     Loading config from command line options
INFO     Enabled extensions: spotify, mpd, http, stream, m3u, scrobbler, softwaremixer, file, local, local-sqlite
INFO     Disabled extensions: none
INFO     Starting Mopidy mixer: SoftwareMixer
INFO     Starting Mopidy audio
INFO     Starting Mopidy backends: StreamBackend, M3UBackend, FileBackend, LocalBackend, SpotifyBackend
INFO     Loaded 4512 local tracks using sqlite
INFO     Audio output set to "autoaudiosink"
INFO     Starting Mopidy core
INFO     Logged in to Spotify in offline mode
INFO     Loading state from /Users/simlu/.local/share/mopidy/core/state.json.gz
INFO     Playback of spotify:track:6g1NlCpW7fgqDnWbCCDrHl failed: Session must be logged in and online to load objects: <ConnectionState.OFFLINE: 4>
WARNING  Track is not playable: spotify:track:6g1NlCpW7fgqDnWbCCDrHl
INFO     Starting Mopidy frontends: MpdFrontend, HttpFrontend, ScrobblerFrontend
INFO     MPD server running at [::1]:6600
INFO     HTTP server running at [::ffff:127.0.0.1]:6680
INFO     Starting GLib mainloop
INFO     Logged in to Spotify in online mode
INFO     New MPD connection from [::1]:58387
INFO     Scrobbler connected to Last.fm
^CINFO     Interrupted. Exiting...
INFO     Stopping Mopidy frontends
INFO     Stopping Mopidy core
INFO     Saving state to /Users/simlu/.local/share/mopidy/core/state.json.gz
INFO     Limiting history to 500 tracks
INFO     Stopping Mopidy backends
INFO     Stopping Mopidy audio
INFO     Stopping Mopidy mixer

It looks to be due to a race condition as described here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

1 participant