Code Monkey home page Code Monkey logo

docker-shairport-sync's People

Contributors

kevineye avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

docker-shairport-sync's Issues

How do you run multiple instances?

I have multiple sound cards for which I want to run this container. What are the options to use to avoid "fatal error: Could not establish a service on port 5000 -- program terminating. Is another instance of Shairport Sync running on this device?"

cannot find default PCM

I'm not sure if this docker is still alive or dead, but i'm having issues with starting this one and another one, similiar

ALSA lib confmisc.c:767:(parse_card) cannot find card '0'

ALSA lib conf.c:4554:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory

ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings

ALSA lib conf.c:4554:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory

ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name

ALSA lib conf.c:4554:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5033:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2501:(snd_pcm_open_noupdate) Unknown PCM default

That's all what it tells me in log. However, my default PCM card, device are set to 1 in alsa config and when i use it to play local file on 'default pcm' it plays correctly, but docker via alsa seems to be looking for device number 0, which does not exist in my system.
Any clues?

Build with mqtt-client?

Any way to build SPS with mqtt using this? can't get any of the additional commands that I've tried to work.

pipe output

I'm new to docker and need some help.

mkfifo /some/pipe
docker run -d
--name shairport-pipe
--net host
--device /dev/snd
-e AIRPLAY_NAME=Docker
-v /some/pipe:/output
kevineye/shairport-sync
-o pipe
-- /output"

So everything is clear except for the last two lines. I created a pipe, I gave the docker an custom AIRPLAY_NAME, I configured the output directory, but what exactly do I have to do regarding "-o pipe" and "-- /output"?

ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave

I run:

docker run -d \
    --net host \
    --device /dev/snd \
    -e AIRPLAY_NAME=Docker \
    kevineye/shairport-sync

and I get this error in the logs whenever I try and play music:

ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave

I tried to google the issue but no working solution. Any help would be great!

standard_init_linux.go:175: exec user process caused "exec format error"

kevineye,
do you would like what the problem?


HypriotOS/armv6: pirate@black-pearl in ~
$ docker run -d --name shairport --net host --device /dev/snd -e AIRPLAY_NAME=Docker kevineye/shairport-sync
8653d10dc625fe3e9f8f29aa34036740df40c234b1c951472c46a74f2eaf9e39

HypriotOS/armv6: pirate@black-pearl in ~
$ docker logs shairport
standard_init_linux.go:175: exec user process caused "exec format error"

HypriotOS/armv6: pirate@black-pearl in ~
$ docker info
Containers: 1
 Running: 0
 Paused: 0
 Stopped: 1
Images: 1
Server Version: 1.12.1
Storage Driver: overlay
 Backing Filesystem: extfs
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge overlay host null
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options:
Kernel Version: 4.4.15-hypriotos+
Operating System: Raspbian GNU/Linux 8 (jessie)
OSType: linux
Architecture: armv6l
CPUs: 1
Total Memory: 370.7 MiB
Name: black-pearl
ID: NYJC:LNSZ:Z4B3:XGBM:GENT:L7B4:LZLI:IIQI:3YII:VPFF:UCEO:JCOE
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No cpuset support
Insecure Registries:
 127.0.0.0/8

HypriotOS/armv6: pirate@black-pearl in ~
$ cat /etc/*-release
PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
HYPRIOT_OS="HypriotOS/armhf"
HYPRIOT_OS_VERSION="v1.0.0"
HYPRIOT_DEVICE="Raspberry Pi"
HYPRIOT_IMAGE_VERSION="v1.0.0"



HypriotOS/armv6: pirate@black-pearl in ~
$ docker run -ti --rm --net host --device /dev/snd -e AIRPLAY_NAME=Docker kevineye/shairport-sync bash
standard_init_linux.go:175: exec user process caused "exec format error"


HypriotOS/armv6: pirate@black-pearl in ~
$ docker run -ti --rm --net host --device /dev/snd -e AIRPLAY_NAME=Docker kevineye/shairport-sync uname -a
standard_init_linux.go:175: exec user process caused "exec format error"

doesnt work

docker logs shairport
Timeout reached while wating for return value
Could not receive return value from daemon process.

any hints how to get it to work

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.