Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DietPi Software | Mopidy fresh installation playback but no sound #2536

Closed
arkhub opened this issue Feb 10, 2019 · 4 comments
Closed

DietPi Software | Mopidy fresh installation playback but no sound #2536

arkhub opened this issue Feb 10, 2019 · 4 comments
Assignees
Labels
Milestone

Comments

@arkhub
Copy link

arkhub commented Feb 10, 2019

Fix: https://github.com/Fourdee/DietPi/issues/2536#issuecomment-462433840


Creating a bug report/issue

Required Information

  • DietPi version : 6.21.1
  • Distro version : stretch
  • Kernel version : Linux 4.14.79-v7+ Letsencrypt supports Free Noip.com Dynamic DNS #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux
  • SBC device : RPi 3 Model B+ (armv7l)
  • Power supply used : 5V 3A
  • SDcard used : 32 gb microsd card

Additional Information (if applicable)

  • Software title : mopidy
  • Was the software title installed freshly or updated/migrated? fresh installation of mopidy (but dietpi software was updated from 6.19 to 6.20 and 6.21 before)
  • Can this issue be replicated on a fresh installation of DietPi? I think yes

Steps to reproduce

  1. install mopidy from dietpi-software
  2. open browser at http://raspberry-pi-address:6680/musicbox_webclient/
  3. try to play sample audio

Expected behaviour

  • sound should be played

Actual behaviour

  • no sound at all but playback running

Extra details

  • try sound test using gst-launch-1.0 audiotestsrc ! audioresample ! alsasink produce sounds
  • stopping the mopidy services and then execute mopidyctl -v command makes the playback works (there's sound!)
  • exiting mopidyctl -v and starting the services again using service mopidy start and the sounds dissapears again.
@MichaIng
Copy link
Owner

@arkhub
Thanks for your report.

We will investigate.

@Fourdee
Copy link
Collaborator

Fourdee commented Feb 11, 2019

Confirmed bug, no ALSA stream active, will investigate:

Feb 11 18:09:42 DietPi mopidy[1045]: WARNING  Failed looking up file:///mnt/diet
pi_userdata/Music/%5BRadio%20Streams%5D.m3u8: gst-stream-error-quark: Stream con
tains no data. (4)
Feb 11 18:09:43 DietPi mopidy[1045]: WARNING  Failed looking up file:///mnt/diet
pi_userdata/Music/%5BRadio%20Streams%5D.m3u8: gst-stream-error-quark: Stream con
tains no data. (4)
Feb 11 18:09:44 DietPi mopidy[1045]: WARNING  GStreamer warning: gst-resource-er
ror-quark: Could not open audio device for playback. (6)

@Fourdee
Copy link
Collaborator

Fourdee commented Feb 11, 2019

Fix:

dietpi-services stop
usermod -a -G dietpi,audio -d $G_FP_DIETPI_USERDATA/mopidy mopidy
dietpi-services start

@Fourdee Fourdee added Solution available 🥂 Definite solution has been done and removed Investigating 🤔 labels Feb 11, 2019
Fourdee referenced this issue Feb 11, 2019
- DietPi-Software | Mopidy: Resolved issue with failed audio playback. Many thanks to @arkhub for reporting this issue! https://github.com/Fourdee/DietPi/issues/2536
@Fourdee
Copy link
Collaborator

Fourdee commented Feb 11, 2019

@arkhub

Many thanks for reporting this issue 👍

You can apply the fix now with: https://github.com/Fourdee/DietPi/issues/2536#issuecomment-462433840

Also patched for v6.22.

Completed

 DietPi-JustBoom
─────────────────────────────────────────────────────
 Mode: ALSA Output Info

access: RW_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 440
buffer_size: 8820

@Fourdee Fourdee closed this as completed Feb 11, 2019
@MichaIng MichaIng mentioned this issue Mar 3, 2019
@MichaIng MichaIng mentioned this issue Mar 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants