LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-30-2010, 11:11 AM   #1
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
pithos - gstreamer trying to use bluetooth when no bluetooth device is installed


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.
 
  


Reply

Tags
gstreamer, multimedia, pandora, python, slackware



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to pairing bluetooth device dafrasaga Slackware 7 08-20-2010 09:28 AM
Bluetooth Dongle and Bluetooth Mouse... Any ideas on this one? flipjarg Linux - Newbie 1 07-14-2010 07:04 AM
Bluetooth not working on FC6 with Targus USB bluetooth adapter mikevicious Linux - Software 1 12-11-2009 09:03 AM
Bluetooth device not registering BallsOfSteel Linux - Hardware 6 05-10-2008 09:28 AM
How to disable my bluetooth device? tahrenyie85 Linux - Hardware 5 01-21-2008 09:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration