Cannot play local songs on Ubuntu 18.04

Solved!
Reply

Cannot play local songs on Ubuntu 18.04

Racle90
Regular

Plan

Premium

Country

Finland
 

Device

Laptop (Lenovo t460p)

Operating System

Ubuntu 18.04.1

 

My Question or Issue

 I cannot play local songs. Error message I get is This song is not available.
"Real" error I get is following (and happens with all local mp3 songs)

[mp3 @ 0x7f8d452c8d10] max_analyze_duration 5000000 reached at 5015510
[mp3 @ 0x7f8d452c8d10] Estimating duration from bitrate, this may be inaccurate
ffmpeg -version                                                                                                                                                         ✔  4800  11:45:17 
ffmpeg version 3.4.4-0ubuntu0.18.04.1 Copyright (c) 2000-2018 the FFmpeg developers

spotify -version                                                                                                                                                        ✔  4801  11:48:33 
Spotify version 1.0.80.480.g51b03ac3, Copyright (c) 2018, Spotify Ltd



EDIT:
Songs have permission "-rwxrwxrwx" and are owned by my user account.
Spotify is installed via package manager. Not as snap package.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Solution! 1 person liked this

Re: Cannot play local songs on Ubuntu 18.04

imperialphantom
Casual Listener

There are libraries required for local playback that may be missing, as per these similar posts:

https://community.spotify.com/t5/Desktop-Linux/Linux-Local-files-do-not-play-on-Ubuntu-16-04-SOLVED/...

https://community.spotify.com/t5/Desktop-Linux/Linux-Ubuntu-17-10-artful-play-local-files-broken-avc...

One solution is to add the libraries to your system from this github:

https://github.com/ramedeiros/spotify_libraries/

Hope this helps

1 Reply
Highlighted
Solution! 1 person liked this

Re: Cannot play local songs on Ubuntu 18.04

imperialphantom
Casual Listener

There are libraries required for local playback that may be missing, as per these similar posts:

https://community.spotify.com/t5/Desktop-Linux/Linux-Local-files-do-not-play-on-Ubuntu-16-04-SOLVED/...

https://community.spotify.com/t5/Desktop-Linux/Linux-Ubuntu-17-10-artful-play-local-files-broken-avc...

One solution is to add the libraries to your system from this github:

https://github.com/ramedeiros/spotify_libraries/

Hope this helps

SUGGESTED POSTS