Giter Site home page Giter Site logo

mpd's Introduction

		       Music Player Daemon (MPD)
			http://www.musicpd.org

A daemon for playing music of various formats.  Music is played through the 
server's audio device.  The daemon stores info about all available music, 
and this info can be easily searched and retrieved.  Player control, info
retrieval, and playlist management can all be managed remotely.

For basic installation information see the INSTALL file.

MPD is released under the GNU General Public License version 2, which is
distributed in the COPYING file.

You should have received a copy of the GNU General Public License along with
this program.  If not, see <http://www.gnu.org/licenses/>.

mpd's People

Contributors

alama avatar allquixotic avatar arybczak avatar avuton avatar borine avatar davedavenport avatar dguibert avatar drzissou avatar ekroth avatar eldstal avatar elenril avatar fschlich avatar ftrvxmtrx avatar gustavoz avatar hyperblast avatar jchnkl avatar jefromi avatar kodest avatar lintweaker avatar maxkellermann avatar mcfiredrill avatar metyl2 avatar mina86 avatar mineo avatar nanotech avatar neuschaefer avatar rbignon avatar simonkagstrom avatar tguillem avatar toofishes avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

lfam

mpd's Issues

Example config

Could you provide an example config?

Playing audio streams works already out of the box.

Starting mpd service from terminal

Is it possible to start this mpd service out of the another app/script? I want to make mpd starts when i am out of my house, using tasker.

Won't compile using build.py

This is the output after running build.py for the second time (for cleaner output).

codehero@wheatley ~/Software/mpd/android (git)-[android-2] % ./build.py /opt/android-sdk/ /opt/android-ndk/
configure.ac:39: installing './compile'
libtoolize: putting auxiliary files in '.'.
libtoolize: linking file './ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/bin/sh: /home/codehero/Software/mpd/android/lib/src/libid3tag-0.15.1b/missing: No such file or directory
configure: WARNING: 'missing' script is too old or missing
checking for arm-linux-androideabi-strip... /opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... arm-unknown-linux-androideabi
checking for arm-linux-androideabi-gcc... /opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc accepts -g... yes
checking for /opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc option to accept ISO C89... none needed
checking whether /opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of /opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc... none
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by /opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc... /opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/arm-linux-androideabi/bin/ld
checking if the linker (/opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/arm-linux-androideabi/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... no
checking for arm-linux-androideabi-dumpbin... no
checking for arm-linux-androideabi-link... no
checking for dumpbin... no
checking for link... link -dump
configure: WARNING: using cross tools not prefixed with host triplet
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to arm-unknown-linux-androideabi format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/arm-linux-androideabi/bin/ld option to reload object files... -r
checking for arm-linux-androideabi-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for arm-linux-androideabi-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-linux-androideabi-ar... /opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ar
checking for archiver @FILE support... @
checking for arm-linux-androideabi-strip... (cached) /opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-strip
checking for arm-linux-androideabi-ranlib... no
checking for ranlib... ranlib
checking command to parse nm output from /opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc object... ok
checking for sysroot... /opt/android-ndk/platforms/android-14/arch-arm
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for arm-linux-androideabi-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... /opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc supports -fno-rtti -fno-exceptions... no
checking for /opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc option to produce PIC... -fPIC -DPIC
checking if /opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc PIC flag -fPIC -DPIC works... yes
checking if /opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc static flag -static works... yes
checking if /opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc supports -c -o file.o... yes
checking if /opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc supports -c -o file.o... (cached) yes
checking whether the /opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc linker (/opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/arm-linux-androideabi/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... Android linker
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for ANSI C header files... (cached) yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking for unistd.h... (cached) yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for ftruncate... yes
checking for compress2 in -lz... yes
checking whether to enable profiling... no
checking whether to enable debugging... default
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating msvc++/Makefile
config.status: creating libid3tag.list
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: creating config.h
  CC       version.lo
  CC       ucs4.lo
  CC       latin1.lo
  CC       utf16.lo
  CC       field.lo
  CC       genre.lo
/bin/sh: /home/codehero/Software/mpd/android/lib/src/libid3tag-0.15.1b/depcomp: No such file or directory
Makefile:558: recipe for target 'latin1.lo' failed
make[2]: *** [latin1.lo] Error 127
make[2]: *** Waiting for unfinished jobs....
  CC       utf8.lo
  CC       compat.lo
  CC       render.lo
  CC       frametype.lo
/bin/sh: /home/codehero/Software/mpd/android/lib/src/libid3tag-0.15.1b/depcomp: No such file or directory
Makefile:558: recipe for target 'utf16.lo' failed
make[2]: *** [utf16.lo] Error 127
/bin/sh: /home/codehero/Software/mpd/android/lib/src/libid3tag-0.15.1b/depcomp: No such file or directory
  CC       frame.lo
  CC       parse.lo
Makefile:558: recipe for target 'version.lo' failed
make[2]: *** [version.lo] Error 127
/bin/sh: /home/codehero/Software/mpd/android/lib/src/libid3tag-0.15.1b/depcomp: No such file or directory
Makefile:558: recipe for target 'field.lo' failed
make[2]: *** [field.lo] Error 127
/bin/sh: /home/codehero/Software/mpd/android/lib/src/libid3tag-0.15.1b/depcomp: No such file or directory
/bin/sh: /home/codehero/Software/mpd/android/lib/src/libid3tag-0.15.1b/depcomp: No such file or directory
Makefile:558: recipe for target 'frame.lo' failed
make[2]: *** [frame.lo] Error 127
Makefile:558: recipe for target 'parse.lo' failed
make[2]: *** [parse.lo] Error 127
/bin/sh: /home/codehero/Software/mpd/android/lib/src/libid3tag-0.15.1b/depcomp: No such file or directory
Makefile:558: recipe for target 'compat.lo' failed
make[2]: *** [compat.lo] Error 127
/bin/sh: /home/codehero/Software/mpd/android/lib/src/libid3tag-0.15.1b/depcomp: No such file or directory
/bin/sh: /home/codehero/Software/mpd/android/lib/src/libid3tag-0.15.1b/depcomp: No such file or directory
Makefile:558: recipe for target 'render.lo' failed
make[2]: *** [render.lo] Error 127
Makefile:558: recipe for target 'frametype.lo' failed
make[2]: *** [frametype.lo] Error 127
/bin/sh: /home/codehero/Software/mpd/android/lib/src/libid3tag-0.15.1b/depcomp: No such file or directory
/bin/sh: /home/codehero/Software/mpd/android/lib/src/libid3tag-0.15.1b/depcomp: No such file or directory
Makefile:558: recipe for target 'utf8.lo' failed
make[2]: *** [utf8.lo] Error 127
Makefile:558: recipe for target 'genre.lo' failed
make[2]: *** [genre.lo] Error 127
/bin/sh: /home/codehero/Software/mpd/android/lib/src/libid3tag-0.15.1b/depcomp: No such file or directory
Makefile:558: recipe for target 'ucs4.lo' failed
make[2]: *** [ucs4.lo] Error 127
Makefile:599: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
Makefile:424: recipe for target 'all' failed
make: *** [all] Error 2
Traceback (most recent call last):
  File "./build.py", line 419, in <module>
    x.build()
  File "./build.py", line 249, in build
    subprocess.check_call(['/usr/bin/make', '--quiet', '-j12'], cwd=build)
  File "/usr/lib/python3.4/subprocess.py", line 561, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/make', '--quiet', '-j12']' returned non-zero exit status 2
./build.py /opt/android-sdk/ /opt/android-ndk/  4.80s user 0.67s system 73% cpu 7.471 total

Volume alway return -1

Hi Thomas,
First of all, thanks a lot for your great input to this amazing project, this revive my broken android phone as "music play daemon".
However, when I get status from mpd server running on android, the volume always return '-1', can you help to solve this issue, so I can control the volume from mpd clients?

Option for audio-output.

hi,
there is no option available to set the audio-output only on one output from the device.
My Android device has 3 audio outputs: hdmi, jack, and optical. All 3 are active at the same time.
Option like:
device "hw:0,0"
or
mixer_device "hw:0,1"
will be not recognized.
Thanks

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.