1. Download Spotify Library
$wget https://github.com/ramedeiros/spotify_libraries/archive/master.zip
or
$git clone https://github.com/ramedeiros/spotify_libraries.git
2. Copy files to lib folder.
$cd spotify_libraries
$sudo cp lib* /usr/lib/x86_64-linux-gnu/
3. link library
$sudo ldconfig
$sudo ln -frs /usr/lib/x86_64-linux-gnu/libavutil.so.52.6.100 /usr/lib/x86_64-linux-gnu/libavutil.so.52
$sudo ln -frs /usr/lib/x86_64-linux-gnu/libavformat.so.54.36.100 /usr/lib/x86_64-linux-gnu/libavformat.so.54
$sudo ln -frs /usr/lib/x86_64-linux-gnu/libavcodec.so.54.71.100 /usr/lib/x86_64-linux-gnu/libavcodec.so.54
Reference :
1. https://community.spotify.com/t5/Desktop-Linux-Windows-Web-Player/Linux-Local-files-do-not-play-on-Ubuntu-16-04-SOLVED/td-p/1343831
2. https://github.com/ramedeiros/spotify_libraries
沒有留言:
張貼留言