Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

RPI as a A2DP Transmitter only for mp3 - possible?
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
RPI as a A2DP Transmitter only for mp3 - possible?
23rd Oct, 2015, 09:20 AM
Post: #1
elvito Offline
Registered
Posts: 1
Joined: Oct 2015
Reputation: 0
RPI as a A2DP Transmitter only for mp3 - possible?
Hello,

I bought a couple of days ago the original 7" touch display for the RPI. I want to build a small box for my kids where they can listen to their favorite CDs (CDs got lot of scratches...they're kids Smile ) by just tipping on the screen. Kodi seems perfect because I can customize a skin, so it will be easy enough for my kids (3+5 years) to use it. I don't need any video support just mp3 and ogg. I additionally bought an BT Stick and a cheap water- and shockproof BT speaker so they can take the speaker around their room. I thought it would be easy to set up a system for this scenario. I first tried openelec and raspbmc without success to send the audio to the speaker. I learned that A2DP is not (yet) supported by openelec and raspbmc, although I don't understand exactly why not (I'm no IT-guru). Finally I was able with raspbian wheezy (and an apt-getted kodi) to set up a working BT connection between speakers and the RPI (followed mainly this guide --> https://wiki.debian.org/BluetoothUser/a2dp). In Kodi the sound from the menu (navigation sound) is transmitted to the speakers, but if I start a mp3 the sound stops. I read in this forum that the cause is the omxplayer which is hardcoded into Kodi (right so far?). Xbian is advertised as highly cutomizable, so I thought it would maybe possible to change the audioplayer from omxplayer to vlc or something like that? If my plan with this audiobox for my kids is insane or impracticably it would be nice if someone here could give me a hint, before I start frustrating "try and error" for the next weeks.

thanks in advance
cheers elvito

p.s. I like your btrfs approach, btrfs saved me already lots of hours with my linuxdesktop Smile
Find all posts by this user
Quote this message in a reply
9th Apr, 2016, 03:51 AM
Post: #2
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: RPI as a A2DP Transmitter only for mp3 - possible?
A2DP is available in the Xbian-config packages. However by the sound of it, you don't need Kodi but a RPi music player - of which there are many.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
29th Apr, 2016, 05:28 AM
Post: #3
belese Offline
Moderator
******
Posts: 650
Joined: Jan 2013
Reputation: 38
RE: RPI as a A2DP Transmitter only for mp3 - possible?
a2dp package won't work on Debian Jessie, since it use bluez5.
and a2dp package is for bluez4.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
29th Apr, 2016, 06:03 AM
Post: #4
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: RPI as a A2DP Transmitter only for mp3 - possible?
I recently read a few web pages where it's possible to do what you want but not with Xbian.

There seems to be issues with the bluetooth setup but if you google "raspberry pi bluetooth music player" you'll see a number of hits which will give you a guide to setting them up. Most use runeaudio or volumio as the basic setup.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
29th Apr, 2016, 06:47 AM
Post: #5
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: RPI as a A2DP Transmitter only for mp3 - possible?
(29th Apr, 2016 05:28 AM)belese Wrote:  a2dp package won't work on Debian Jessie, since it use bluez5.
and a2dp package is for bluez4.

Shouldn't be big problem building new package for Jessie Huh
Find all posts by this user
Quote this message in a reply
30th Apr, 2016, 12:35 AM
Post: #6
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: RPI as a A2DP Transmitter only for mp3 - possible?
See Thread

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 20th May, 2025, 04:31 AM Powered By MyBB, © 2002-2025 MyBB Group.