Comments (4)
Hi,
Can you elaborate on 1.) describing what happens when you try to connect via Bluetooth for audio playback?
Right now during mpradio-py
installation a line is written in /etc/fstab
for automatically mounting a device called /dev/sda1
(which would be your USB stick if you plug it in). You could partition your SD CARD making a new FAT32
partition and storing everything there, but to make it work in this configuration, you should change /dev/sda1
with the partition name you just created. you can find it using sudo fdisk -l
looking for the last partition.
as for 2.) can you test by simply short-circuiting with GND? I'm gonna guess it's an hardware problem unless an exception is raised in the logs of journalctl -f mpradio
from mpradio-py.
Hello!
Thank you for answer!
When i try to connect my phone to Pi (without usb stick), it connects succesful (bluetoothctl
says that). But when i try to play music, only silence (not noise) is heard from the radio (and MPRadio remote app does not start, like PI is disconnect).
sudo systemctl status mpradio
says :
pi@raspberrypi:~ $ sudo systemctl status mpradio
● mpradio.service - Morrolinux Pirate Radio
Loaded: loaded (/etc/systemd/system/mpradio.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2019-09-24 09:33:13 MSK; 5min ago
Main PID: 459 (python3)
Tasks: 11 (limit: 2200)
Memory: 57.7M
CGroup: /system.slice/mpradio.service
├─459 python3 /home/pi/mpradio.py
├─540 sox -t raw -G -b 16 -e signed -c 2 -r 44100 - -t wav - compand 0.3,1 6:-70,-60,-20 -5 -90 0.2 treble -6
├─544 sudo pi_fm_adv --freq 88.0 --ctl /tmp/rds_ctl --audio -
└─551 pi_fm_adv --freq 88.0 --ctl /tmp/rds_ctl --audio -
Sep 24 09:33:13 raspberrypi systemd[1]: Started Morrolinux Pirate Radio.
Sep 24 09:33:18 raspberrypi bash[459]: /etc/profile: line 4: id: command not found
Sep 24 09:33:18 raspberrypi bash[459]: /etc/profile: line 4: [: : integer expression expected
Sep 24 09:33:21 raspberrypi sudo[544]: pi : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/local/bin/pi_fm_adv --freq 88.0 --ctl /tmp/rds_ctl --audio -
Sep 24 09:33:21 raspberrypi sudo[544]: pam_unix(sudo:session): session opened for user root by (uid=0)
But when i plug in usb stick, integer expression expected
dissapeared, and it starts play music from usb and from bluetooth (App starts, but buttons (like halt or reboot) not working).
I will try to make FAT32 partition tommorow, i forgot my cardreader at home :)
For 2.)
I try to short-circuiting with GND, but nothing happens. When i try to journalctl -f mpradio
it says
Failed to add match 'mpradio': Invalid argument
But it works on previous version of MPRadio (the old implementation)
Is it possible that the problem is caused by the NOOBS->raspbian lite distributive?
Thank you!
from mpradio-py.
But when i plug in usb stick,
integer expression expected
dissapeared
That error is not relevant to mpradio
and it starts play music from usb and from bluetooth
By that you mean you're then able to play bluetooth audio from your phone as well?
(App starts, but buttons (like halt or reboot) not working).
The App is being adapted from the legacy mpradio
version server backend. There are some minor differences and I haven't completed it yet. What should work:
- Tracks listing and on demand track playback
- Skip button
- Maybe some others but I'm not sure
I try to short-circuiting with GND, but nothing happens. When i try to
journalctl -f mpradio
it says
Oh yeah sorry about that it's journalctl -fu mpradio
. If you don't specify u
you're not telling journalctl
which unit to look at.
Is it possible that the problem is caused by the NOOBS->raspbian lite distributive?
Speaking of Debian... which version are you running on? 9 or 10?
from mpradio-py.
closing for inactivity
from mpradio-py.
Related Issues (20)
- Error in storage player HOT 1
- error when starting ./mpradio.py missing 'psutil' HOT 20
- no sound from Bluetooth on Raspberry Pi Zero W HOT 25
- Unable to run on boot HOT 9
- Possible Memory Leak? HOT 24
- RPi 3 GPIO 5 has a pull-up resistor, constantly firing "poweroff" HOT 3
- Android app keeps crashing HOT 3
- write in readme what debian version is requestet on debian brusters dont work HOT 17
- bluetooth app and audio passthrough to fm doesnt work HOT 56
- Newst Raspbian newst mpradio install after install it shutdown HOT 5
- The mpradio.service fails at start HOT 6
- I cannot perform playback controls or system commands HOT 2
- The radio stops playing after an uncertain amount of time HOT 2
- The radio plays music at a low speed HOT 6
- Problem with mpradio not brocasting HOT 13
- Streaming from bluetooth (alsa pcm/bluez issues) HOT 4
- Stuttering every ~20 seconds on Pi B+ and Pi 3 HOT 1
- Android App doesn't seemingly work at all HOT 2
- Songs are in slow motion HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mpradio-py.