Skip to content

Help! Babelpod runs but no sound. Stops after selection of AirPlay speaker #25

@snibles

Description

@snibles

Hey everyone!
I really need help to make babelpod to work. I already tried and tried again with no success.
Can someone help me, please?

I followed these steps:

A clean install of latest version of Raspberry OS. (Raspbian GNU/Linux 11 (bullseye))

sudo apt update && sudo apt upgrade -y
wget https://nodejs.org/dist/v9.8.0/node-v9.8.0-linux-armv6l.tar.xz
sudo mkdir /usr/local/lib/nodejs
sudo tar -xJvf node-v9.8.0-linux-armv6l.tar.xz -C /usr/local/lib/nodejs
sudo mv /usr/local/lib/nodejs/node-v9.8.0-linux-armv6l/ /usr/local/lib/nodejs/node-v9.8.0
nano ~/.profile,

then I added the lines:
# Nodejs
export NODEJS_HOME=/usr/local/lib/nodejs/node-v9.8.0
export PATH=$NODEJS_HOME/bin:$PATH

source ~/.profile

Installed an old version of Python:
sudo apt install python2
npm config set python "/usr/bin/python2.7"

then I used @maexdaemaege repo:
git clone https://github.com/maexdaemaege/node_airtunes2
cd node_airtunes2
npm install
cd ..

I also used @maexdaemaege repo for Babelpod:
git clone https://github.com/maexdaemaege/babelpod.git
cd babelpod
npm install
node index.js

Following these steps, Babelpod runs, and I can select the input/output on the web browser.
It evens recognize my USB sound car.
But as soon as I select the AirPlay speaker, it stops.

This is my terminal output:

pi@raspberrypi:~/babelpod $ node index.js
listening on *:3000
bluetooth controller exists
a user connected
a user connected
user disconnected
a user connected
switch_input: plughw:1,0
switch_output: airplay_10.0.1.33_7000
inputStream Socket {
connecting: false,
_hadError: false,
_handle: Pipe { owner: [Circular], onread: [Function: onread], reading: false },
_parent: null,
_host: null,
_readableState:
ReadableState {
objectMode: false,
highWaterMark: 16384,
buffer: BufferList { head: [Object], tail: [Object], length: 1 },
length: 22052,
pipes:
ToVoid {
_writableState: [WritableState],
writable: true,
_events: [Object],
_eventsCount: 5,
_maxListeners: undefined },
pipesCount: 1,
flowing: false,
ended: false,
endEmitted: false,
reading: false,
sync: false,
needReadable: false,
emittedReadable: true,
readableListening: false,
resumeScheduled: false,
destroyed: false,
defaultEncoding: 'utf8',
awaitDrain: 1,
readingMore: false,
decoder: null,
encoding: null },
readable: true,
_events:
{ end: [ [Function], [Function] ],
finish: [Function: onSocketFinish],
_socketEnd: [Function: onSocketEnd],
close: [Function],
data: [Function: ondata] },
_eventsCount: 5,
_maxListeners: undefined,
_writableState:
WritableState {
objectMode: false,
highWaterMark: 16384,
finalCalled: false,
needDrain: false,
ending: false,
ended: false,
finished: false,
destroyed: false,
decodeStrings: false,
defaultEncoding: 'utf8',
length: 0,
writing: false,
corked: 0,
sync: true,
bufferProcessing: false,
onwrite: [Function: bound onwrite],
writecb: null,
writelen: 0,
bufferedRequest: null,
lastBufferedRequest: null,
pendingcb: 0,
prefinished: false,
errorEmitted: false,
bufferedRequestCount: 0,
corkedRequestsFree:
{ next: null,
entry: null,
finish: [Function: bound onCorkedFinish] } },
writable: false,
allowHalfOpen: false,
_bytesDispatched: 0,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
[Symbol(asyncId)]: 482,
[Symbol(lastWriteQueueSize)]: 0,
[Symbol(bytesRead)]: 0 }
outputStream ToVoid {
_writableState:
WritableState {
objectMode: false,
highWaterMark: 16384,
finalCalled: false,
needDrain: true,
ending: false,
ended: false,
finished: false,
destroyed: false,
decodeStrings: true,
defaultEncoding: 'utf8',
length: 22096,
writing: true,
corked: 0,
sync: false,
bufferProcessing: false,
onwrite: [Function: bound onwrite],
writecb: [Function: nop],
writelen: 44,
bufferedRequest:
{ chunk: <Buffer fd ff fd ff fd ff fd ff fd ff fd ff fc ff fc ff fa ff fa ff fd ff fd ff fb ff fb ff fd ff fd ff ff ff ff ff fc ff fc ff fd ff fd ff fd ff fd ff fd ff ... >,
encoding: 'buffer',
isBuf: true,
callback: [Function: nop],
next: null },
lastBufferedRequest:
{ chunk: <Buffer fd ff fd ff fd ff fd ff fd ff fd ff fc ff fc ff fa ff fa ff fd ff fd ff fb ff fb ff fd ff fd ff ff ff ff ff fc ff fc ff fd ff fd ff fd ff fd ff fd ff ... >,
encoding: 'buffer',
isBuf: true,
callback: [Function: nop],
next: null },
pendingcb: 2,
prefinished: false,
errorEmitted: false,
bufferedRequestCount: 1,
corkedRequestsFree:
{ next: null,
entry: null,
finish: [Function: bound onCorkedFinish] } },
writable: true,
_events:
{ unpipe: [Function: onunpipe],
drain: [Function],
error: [Function: onerror],
close: { [Function: bound onceWrapper] listener: [Function: onclose] },
finish: { [Function: bound onceWrapper] listener: [Function: onfinish] } },
_eventsCount: 5,
_maxListeners: undefined }
adding device: 10.0.1.33:7000
airplay status: stopped

@afaden @maexdaemaege is this project dead and current version doesn't work anymore?
This is such a cool project and I can't get it to work. Frustrating.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions