terual / slimpy

Squeezebox Player
GNU General Public License v3.0
4 stars 1 forks source link

No sound #1

Open tangb opened 11 years ago

tangb commented 11 years ago

Hello

First of all thank you for your lib, it seems to be what I'm looking for a while ;-)

I made some tests last week and I was unable to hear anything from slimpy. I'm running on debian.

My test: I installed python-alsaaudio from aptitude and launched slimpy. At first run, I had an error about audio card that was not correct. I tried to find my card using alsaaudio.cards() functions (it returned "Intel") but nothing more... finally I used "default" card and slimpy launched successfully. On LMS I selected slimpy player, added some music and clicked on play. Immediately the server stopped music. On my bash I had some debug messages about audio I think but nothing on my speakers. I removed python-alsaaudio package and compiled/installed by myself latest pyalsaaudio as it was said in slimpy.py header but nothing more. Still no sound. I also tryed on my ubuntu netbook unsuccessfully.

Can you help me ? Thank you very much ;-)

tangb commented 11 years ago

I found the problem : my server only share mp3s and in player capabilities are configured to support only pcm files. changing pcm to mp3 resolved my problem (not for playback but i dump slimbuffer to output file for testing)