Hallo zusammen,
hat jemand den mpd auf einer dm900 am laufen?
Gibt es den irgendwo auf einem feed?
Danke und Grüße,
ikarus
Hallo zusammen,
hat jemand den mpd auf einer dm900 am laufen?
Gibt es den irgendwo auf einem feed?
Danke und Grüße,
ikarus
push
Habe noch ein altes binary rumliegen, das auf meiner DM800se installiert war. K.A. ob das bei der DM900UHD funktioniert.
Wozu willst Du das überhaupt? Die Dreamboxen können doch standardmäßig als dlna renderer arbeiten. Damit erübrigt sich die Notwendigkeit von mpd, das sowieso seine Tücken hatte mit der Überlagerung von Services. Mussten umständlich an- und abgeschaltet werden.
habe ich auf ihad gesehen, einfach mal danach suchen, mpd_0.19.10_armhf.zip
ich habe aus Versehen den Downloadlink gepastet, aus Respekt zu @pclin der hier auch aktiv ist, nun der Link zum Thread
http://www.i-have-a-dreambox.c…thread.php?postid=2185679
mit mipsel binaries werdet Ihr auf einer arm CPU nicht weit kommen, Neucompilieren ist also angesagt ... was pclin ja scheinbar gemacht hat, nur kämpft er scheinbar damit das die 900 als box so schnell bootet womit die devices dann (noch) nicht da sind ... richtige Abhängigkeiten ins service file machen würde dem aber Abhilfe schaffen.
Hi,
die Pakete könnt ihr frei verteilen!
Ist alles im dreamOS SDK mit bitbake gebaut.
gruß pclin
@gutemine
Auch ein nachträglisches starten führt nicht wie unter den alten OE's zum Erfolg.
Ich habe mich bisher aber nicht wirklich damit beschäftigt.
Nur mal in der conf 127.0.01 und localhost als alternative Versucht.
Das hat sonst immer zum Erfolg geführt.
Merkwürdig ist das mpd direkt nach der Installation aktiv ist, wenn man systemctl status mpd eingibt.
Das ist auf DM820 und DM900 gleich.
gruß pclin
Ich benutze es ja nicht, aber meistens setzt sich irgendwas auf das device und dann gehts halt nicht wie es sollte. Da hilft dann meistens ein Requires und After im Service file. Aber ich will dich nicht verwirren, wenn ihr es gar nicht schafft rührt euch halt nochmals, dann kann ich es mir ja mal anschauen.
Nein verwirren tut mich das nicht, habe da nur nicht viel Ahnung wie man das hinbekommt...
Jetzt zumindestens einen Ansatz, Danke.
Seit OE1.6 habe ich mpd und ncmpc auf der Box aber nur selten genutzt.
Im OE2.5 mit kodi wird es aber wieder Interessant, da hätte ich den mpd ganz gerne am laufen.
gruß pclin
mpd startet jetzt!
Es lag an der mpd.conf
Die mpd.conf Ist jetzt im IHAD.
Und als Client für armhf ncmpc
[16:13 root@dm900 ~] > systemctl status mpd
● mpd.service - Music Player Daemon
Loaded: loaded (/lib/systemd/system/mpd.service; disabled; vendor preset: enabled)
Active: active (running) since Di 2017-08-01 16:13:21 CEST; 9s ago
Main PID: 4572 (mpd)
CGroup: /system.slice/mpd.service
└─4572 /usr/bin/mpd --no-daemon
Aug 01 16:13:21 dm900 systemd[1]: Started Music Player Daemon.
gruß pclin
EDIT:
An der mpd.conf stimmt noch was nicht. Es werden keine Daten eingelesen.
In kodi kann ich aber schon eine Verbindung herstellen.
Versuche gerade ncmpc-0.27 zu compilieren.
Das braucht die aktuelle libmpdclient.
Um libmpdclient zubauen benötigt man meson und ninja
The Meson Build system
ninja a small build system with a focus on speed
Für meson braucht man python3 , bitbake baut gerade.
ninja ist fertig.
[16:55 root@dm900 ~] > ninja --help
usage: ninja [options] [targets...]
if targets are unspecified, builds the 'default' target (see manual).
options:
--version print ninja version ("1.7.2.git")
-C DIR change to DIR before doing anything else
-f FILE specify input build file [default=build.ninja]
-j N run N jobs in parallel [default=3, derived from CPUs available]
-k N keep going until N jobs fail [default=1]
-l N do not start new jobs if the load average is greater than N
-n dry run (don't run commands but act like they succeeded)
-v show all command lines while building
-d MODE enable debugging (use -d list to list modes)
-t TOOL run a subtool (use -t list to list subtools)
terminates toplevel options; further flags are passed to the tool
-w FLAG adjust warnings (use -w list to list warnings)
Alles anzeigen
gruß pclin
Nochmals geänderte mpd.conf im IHAD Thread
Jetzt wird auch eine db erstellt und abspielen mit ncmpc oder in kodi mit MPD Client ist jetzt möglich.
Ich habe jetzt erstmal libmpdclient-2.0.11 für mipsel/armhf compiliert, das geht noch ohne meson.
Ab 2.0.12 ist dann meson.
ncmpc-0.27 ging dann auch durch.
[20:34 root@dm900 ncmpc-0.27] > ncmpc -V
ncmpc version: 0.27
build options: multibyte wide locale nls colors getmouse artist-screen help-screen search-screen song-screen key-screen outputs-screen
configuration files:
/root/.ncmpc/config
/usr/etc/ncmpc/config
Übersetzer
Launchpad Contributions:
BBO https://launchpad.net/~bbo
Christoph Mende https://launchpad.net/~cmende
Max Kellermann https://launchpad.net/~max-duempel
Monika Brinkert https://launchpad.net/~moni-sunpig
Samuel Creshal https://launchpad.net/~samuel-creshal
cmdrhenner https://launchpad.net/~cmdrhenner
Alles anzeigen
Die libs und ncmpc gibt es in kürze im IHAD.
gruß pclin
ps.
meson wird aber noch weiter versucht...
Ist ja spannend.
meson ist jetzt gebaut. Jetzt mal versuchen ob es geht...
[21:49 root@dm900 libmpdclient-2.13] > /usr/bin/meson -v
0.42.0.dev1
[21:49 root@dm900 libmpdclient-2.13] > /usr/bin/meson --help
usage: meson [-h] [--prefix PREFIX] [--libdir LIBDIR]
[--libexecdir LIBEXECDIR] [--bindir BINDIR] [--sbindir SBINDIR]
[--includedir INCLUDEDIR] [--datadir DATADIR] [--mandir MANDIR]
[--infodir INFODIR] [--localedir LOCALEDIR]
[--sysconfdir SYSCONFDIR] [--localstatedir LOCALSTATEDIR]
[--sharedstatedir SHAREDSTATEDIR]
[--backend {ninja,vs,vs2010,vs2015,vs2017,xcode}]
[--buildtype {plain,debug,debugoptimized,release,minsize}]
[--strip] [--unity {on,off,subprojects}] [--werror]
[--layout {mirror,flat}] [--default-library {shared,static}]
[--warnlevel {1,2,3}] [--stdsplit] [--errorlogs]
[--cross-file CROSS_FILE] [-D option] [-v]
[--wrap-mode {WrapMode.default,WrapMode.nofallback,WrapMode.nodownload}]
[directories [directories ...]]
positional arguments:
directories
optional arguments:
-h, --help show this help message and exit
--prefix PREFIX Installation prefix (default: /usr/local).
--libdir LIBDIR Library directory (default: lib).
--libexecdir LIBEXECDIR
Library executable directory (default: libexec).
--bindir BINDIR Executable directory (default: bin).
--sbindir SBINDIR System executable directory (default: sbin).
--includedir INCLUDEDIR
Header file directory (default: include).
--datadir DATADIR Data file directory (default: share).
--mandir MANDIR Manual page directory (default: share/man).
--infodir INFODIR Info page directory (default: share/info).
--localedir LOCALEDIR
Locale data directory (default: share/locale).
--sysconfdir SYSCONFDIR
Sysconf data directory (default: etc).
--localstatedir LOCALSTATEDIR
Localstate data directory (default: var).
--sharedstatedir SHAREDSTATEDIR
Architecture-independent data directory (default:
com).
--backend {ninja,vs,vs2010,vs2015,vs2017,xcode}
Backend to use (default: ninja).
--buildtype {plain,debug,debugoptimized,release,minsize}
Build type to use (default: debug).
--strip Strip targets on install.
--unity {on,off,subprojects}
Unity build (default: off).
--werror Treat warnings as errors.
--layout {mirror,flat}
Build directory layout (default: mirror).
--default-library {shared,static}
Default library type (default: shared).
--warnlevel {1,2,3} Compiler warning level to use (default: 1).
--stdsplit Split stdout and stderr in test logs.
--errorlogs Whether to print the logs from failing tests.
--cross-file CROSS_FILE
File describing cross compilation environment.
-D option Set the value of an option, can be used several times
to set multiple options.
-v, --version show program's version number and exit
--wrap-mode {WrapMode.default,WrapMode.nofallback,WrapMode.nodownload}
Special wrap mode to use
Alles anzeigen
meson . output
[21:49 root@dm900 libmpdclient-2.13] > meson . output
The Meson build system
Version: 0.42.0.dev1
Source dir: /media/hdd/comp/OE2.5/dm900/libmpdclient-2.13
Build dir: /media/hdd/comp/OE2.5/dm900/libmpdclient-2.13/output
Build type: native build
Project name: libmpdclient
Native C compiler: ccache cc (gcc 5.3.0)
Build machine cpu family: arm
Build machine cpu: armv7l
Checking for function "getaddrinfo": YES
Configuring config.h using configuration
Configuring version.h using configuration
Compiler for C supports argument -Wall: YES
Compiler for C supports argument -Wextra: YES
Compiler for C supports argument -Wno-deprecated-declarations: YES
Compiler for C supports argument -Wmissing-prototypes: YES
Compiler for C supports argument -Wshadow: YES
Compiler for C supports argument -Wpointer-arith: YES
Compiler for C supports argument -Wstrict-prototypes: YES
Compiler for C supports argument -Wcast-qual: YES
Compiler for C supports argument -Wwrite-strings: YES
Compiler for C supports argument -Wl,--version-script=/media/hdd/comp/OE2.5/dm900/libmpdclient-2.13/libmpdclient.ld: YES
Build targets in project: 2
Alles anzeigen
gruß pclin
meson und ninja geht durch!
libmpdclient-2.13 ist gebaut.
[21:51 root@dm900 libmpdclient-2.13] > ninja -C output
ninja: Entering directory `output'
[46/46] Linking target example.
[21:53 root@dm900 libmpdclient-2.13] > ninja -C output install
ninja: Entering directory `output'
[0/1] Installing files.
Installing libmpdclient.so.2.13 to /usr/local/lib/libmpdclient.so.2.13
Installing async.h to /usr/local/include/mpd
Installing audio_format.h to /usr/local/include/mpd
Installing client.h to /usr/local/include/mpd
Installing capabilities.h to /usr/local/include/mpd
Installing compiler.h to /usr/local/include/mpd
Installing connection.h to /usr/local/include/mpd
Installing database.h to /usr/local/include/mpd
Installing directory.h to /usr/local/include/mpd
Installing entity.h to /usr/local/include/mpd
Installing error.h to /usr/local/include/mpd
Installing idle.h to /usr/local/include/mpd
Installing list.h to /usr/local/include/mpd
Installing mixer.h to /usr/local/include/mpd
Installing parser.h to /usr/local/include/mpd
Installing password.h to /usr/local/include/mpd
Installing player.h to /usr/local/include/mpd
Installing playlist.h to /usr/local/include/mpd
Installing protocol.h to /usr/local/include/mpd
Installing queue.h to /usr/local/include/mpd
Installing recv.h to /usr/local/include/mpd
Installing response.h to /usr/local/include/mpd
Installing send.h to /usr/local/include/mpd
Installing status.h to /usr/local/include/mpd
Installing stats.h to /usr/local/include/mpd
Installing tag.h to /usr/local/include/mpd
Installing output.h to /usr/local/include/mpd
Installing pair.h to /usr/local/include/mpd
Installing search.h to /usr/local/include/mpd
Installing socket.h to /usr/local/include/mpd
Installing song.h to /usr/local/include/mpd
Installing sticker.h to /usr/local/include/mpd
Installing settings.h to /usr/local/include/mpd
Installing message.h to /usr/local/include/mpd
Installing version.h to /usr/local/include/mpd
Installing /media/hdd/comp/OE2.5/dm900/libmpdclient-2.13/AUTHORS to /usr/local/share/doc/libmpdclient
Installing /media/hdd/comp/OE2.5/dm900/libmpdclient-2.13/COPYING to /usr/local/share/doc/libmpdclient
Installing /media/hdd/comp/OE2.5/dm900/libmpdclient-2.13/NEWS to /usr/local/share/doc/libmpdclient
Installing /media/hdd/comp/OE2.5/dm900/libmpdclient-2.13/README.rst to /usr/local/share/doc/libmpdclient
Installing /media/hdd/comp/OE2.5/dm900/libmpdclient-2.13/vapi/libmpdclient.vapi to /usr/local/share/vala/vapi
Installing /media/hdd/comp/OE2.5/dm900/libmpdclient-2.13/output/meson-private/libmpdclient.pc to /usr/local/lib/pkgconfig
Alles anzeigen
gruß pclin
libmpdclient_2.0.13 gebaut mit meson,ninja und python3
Bei Interesse an meson, ninja und python3 könnt ihr euch melden, dann baue ich gerne Pakete.
python3 ist aus dem OE2.5, mit bitbake gebaut, da gibt es also schon Pakete.
gruß pclin