aspiers / opensuse-spotify-installer

Automate installation of Spotify on openSUSE
80 stars 29 forks source link

Local mp3 files don't play #3

Closed marandus closed 11 years ago

marandus commented 12 years ago

I used your script to install Spotify 0.8.4 on my openSUSE 12.2 64bit installation. Streaming works perfectly, no problem at all. But it refuses to play my local mp3 files. They can be played by any other player (Amarok for example), so the files seem to be ok.

Spotify does not crash when it tries to play the local file nor does it output anything on the console. It just stops playback. It loads the track name, artist, cover etc and displays it, but the playback progress bar has no progress marker (that moving dot) and it does output any sound. I can just skip to the next song that is not local and it would work again without any problems.

Do you have any suggestions what the problem may be? I used this version of Spotify on Linux Mint 13 with the same files and had no problems, so I guess there is a library missing or something like that.

aspiers commented 12 years ago

It works fine for me. Please can you paste the output of rpm -qf /usr/lib64/libmp3lame.so* here?

marandus commented 12 years ago

Seems like I don't have that lib on my system, from which repo can I get it?

aspiers commented 12 years ago

Ahah! That might explain it. It's the libmp3lame0 rpm from the Packman Repository. Please install and then let me know whether that helps or not! If it does I can adjust the script accordingly.

marandus commented 12 years ago

Yep, fixed the problem for me. Works perfectly now, thank you very much! Hadn't that repo in my list. After adding it to the list he wanted to install about 20-30 libs without any action from my side, so seems there were some more libs missing ;-)

aspiers commented 12 years ago

Awesome! I will adjust the script accordingly. I think I will make it check whether libmp3lame0 is installed, and if not, interactively prompt the user whether they want it to install that from Packman.

marandus commented 12 years ago

Sounds like a good idea and it should be stated clearly that local file playback will not work without it.

aspiers commented 12 years ago

Exactly. Thanks for helping me make this better!!

marandus commented 12 years ago

You're welcome, but I have to thank because now I can listen to my favourite music at work again ;D

aspiers commented 12 years ago

:-)

l300lvl commented 12 years ago

I'm having a similar problem on 12.2 G:S 3.6, but I already had libmp3lame0 installed and it alerted that when this script ran. I was trying to determine what else would cause things to not run, but when running spotify from terminal and attempting to play local files, nothing is reported.

I'll try running with gdb when I get a second.

aspiers commented 12 years ago

@l300lvl is your similar problem with mp3s or another file format? And did you install libmp3lame0 from Packman or from somewhere else?

aspiers commented 11 years ago

I have finished a revamp of the script, and this is now done; please re-open if you have problems with the latest version. Please note the installation process has changed - see the README.