No sounds from my apple tv first gen connected to speakers


#1

Hi,
really new to Mopidy.
I want to use my apple tv first gen, running OSMC, as a headless music server, analogically connected with the speakers.
I ssh into my box and installed mopidy, running as user I’ll later move to service, I checked documentation and did some settings so I can access web gui from my laptop select files and play.
Problem is: no sounds comes out of speakers
Speakers work well with osmc.
thanks


#2

Welcome!

I’m pretty sure I won’t be of much help to you, but I’m equally sure that the first thing you’re going to be asked for is the contents of your mopidy.conf.

KO


#3

And additionally, please provide your log (see https://docs.mopidy.com/en/latest/troubleshooting/), normally there will be error messages if the audio device cannot be opened.

When you play the files does web gui show the file playing (with the time position increasing) or not?

Does OSMC use ALSA or pulseaudio? If it’s ALSA you can run aplay -l to get a list of audio devices which might help you set the correct audio config.


#4

Hi, thank you for your replies:

here is my mopidy.conf http://paste.osmc.io/bebofabiso

When I play the song from material-webclient I can’t see the bar but only the pause button

aplay-l gives me this:

**** List of PLAYBACK Hardware Devices ****

card 0: Intel [HDA Intel], device 0: ALC889A Analog [ALC889A Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC889A Digital [ALC889A Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0


#5

The audioaudiosink might be using the wrong device, since you have not provided your debug log we cannot tell. You could try to specify the device by setting the Mopidy audio/output setting as follows:

[audio]
output = alsasink device=hw:0,0

#6

I did try the try your suggestion but mopidy won’t start:

ERROR    Failed to create audio output "alsasink device=hw:0,0": gst_parse_error: no element "alsasink" (1)

and here si my debug log: http://paste.osmc.io/porekotacu

thanks for your help


#7

Still struggling, with this, any idea?