I created a Slackware 13.1 SlackBuild and package for Pithos
, a python Pandora music client. Pithos will connect to Pandora fine. However, it will not play any songs.
It appears to be trying to use a bluetooth plugin which is strange since I do not have a bluetooth device, nor do I have rc.bluetooth enabled. If I remove the bluetooth gst-plugin (from the bluez package), gstreamer complains about a missing plugin. Eventually, after trying to play several songs, gstreamer gives up.
$> pithos --verbose
INFO - pithos:<module>:755 - Pithos 0.3.1
INFO - plugin:enable:36 - Enabling module mediakeys
ERROR - mediakeys:on_enable:63 - Could not bind media keys
INFO - pithos:pandora_ready:301 - Pandora connected
INFO - pithos:pandora_ready:311 - Restoring saved station: id = xxxxxxxxxxxxxxxx
INFO - pithos:station_changed:487 - Selecting station xxxxxxxxxxxxxxxxx; total = 18
INFO - pandora:get_playlist:217 - pandora: Get Playlist
INFO - pithos:start_song:352 - Starting song: index = 0
bt_audio_service_open: connect() failed: Connection refused (111)
ERROR - pithos:on_message:509 - Gstreamer error: GStreamer encountered a general stream error., gstbasesrc.c(2543): gst_base_src_loop (): /GstPlayBin2:player/GstURIDecodeBin:uridecodebin0/GstNeonhttpSrc:source:
streaming task paused, reason not-linked (-1)
WARNING - pithos:get_playlist:424 - Too many gstreamer errors. Not retrying
I can get rid of the mediakeys error by setting enable_mediakeys=False in ~/.config/pithos.ini, but I do not know how to tell pithos to make gstreamer ignore the bluetooth plugin and use something else.
gstreamer does appear to be working fine btw. I switched Phonon's backend to it and tested streaming some music from Amarok. The issue appears to be more specific to how pithos uses gstreamer in Slackware. I posted a bug report on launchpad
. The pithos author mentioned that part of the issue may be that gstreamer is trying to use neon for HTTP instead of libsoup. Does anyone have experience with those libs?
Does anyone know how to change gstreamer's default audio output device?
My intention is to submit the pithos SlackBuild to SBo after I work these kinks out. If anyone is interested in testing this with me, let me know. I can send you a copy of my SlackBuild. In the mean time, pianobar
is a nice client.