Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. IoBroker.mpd

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    IoBroker.mpd

    This topic has been deleted. Only users with topic management privileges can see it.
    • Bluefox
      Bluefox last edited by

      Vielleicht haben einige schon verstanden, dass es neuen Adapter gibt: MPD - Music Player Daemon.

      > Music Player Daemon (MPD) is a flexible, powerful, server-side application for playing music. Through plugins and libraries it can play a variety of sound files while being controlled by its network protocol.

      "Sonos" für Raspbery. https://www.musicpd.org/

      1 Reply Last reply Reply Quote 0
      • Alex1808
        Alex1808 last edited by

        in der aktuelle version wurde "addplay" Funktion hinzugefügt.. damit kann mann eigene mp3-s abspielen lassen :!:

        mpd.0.addplay >> http://192.168.0.1/test.mp3

        1 Reply Last reply Reply Quote 0
        • Alex1808
          Alex1808 last edited by

          mpd läuft jetzt mi sayit :!:

          1 Reply Last reply Reply Quote 0
          • R
            rascal last edited by

            Hallo,

            soweit ich das verstanden habe mit mpd:

            mpd ist getrennt in einen Server-Part, welcher auf verschiedenen Systemen laufen kann

            und

            einem Client-Part, welcher ebenfalls auf verschiedenen System installiert werden kann und welcher den "Server" steuert.

            Wie kommt da mpd über sayit ins Spiel?

            Brauche ich auf dem Gerät, welches abspielen soll, sayit + web instance?

            Muss auf dem Abspielgerät ein mpd Server installiert sein?

            "MPD - play text on Music Player Daemon. Use only http for web adapter, don't use https." ist ein bisschen wage 🙂

            1 Reply Last reply Reply Quote 0
            • Alex1808
              Alex1808 last edited by

              @rascal:

              Hallo,

              soweit ich das verstanden habe mit mpd:

              mpd ist getrennt in einen Server-Part, welcher auf verschiedenen Systemen laufen kann

              und

              einem Client-Part, welcher ebenfalls auf verschiedenen System installiert werden kann und welcher den "Server" steuert. `

              Ja! iobroker.mpd adapter fungiert als Klient und steuert player.

              ` > Wie kommt da mpd über sayit ins Spiel?

              Brauche ich auf dem Gerät, welches abspielen soll, sayit + web instance? `

              man brauch iobroker server mit sayit und mpd Instanzen. sayit gibt an mpd was ausgesprochen werden soll

              > Muss auf dem Abspielgerät ein mpd Server installiert sein?
              na ja, irgend wie soll doch ton rauskommen..

              ich habe ein Raspberry mit Max2play, da habe ich auch ein mpd player und der wird vom iobroker.mpd gesteuert über 6600 port

              > "MPD - play text on Music Player Daemon. Use only http for web adapter, don't use https." ist ein bisschen wage :)
              das macht doch sinn nur im internen netz, da brauche ich kein https

              1 Reply Last reply Reply Quote 0
              • Bluefox
                Bluefox last edited by

                > > "MPD - play text on Music Player Daemon. Use only http for web adapter, don't use https." ist ein bisschen wage 🙂 `

                das macht doch sinn nur im internen netz, da brauche ich kein https `
                Er meint, dass die Beschreibung zu mager ist. Oder?

                1 Reply Last reply Reply Quote 0
                • R
                  rascal last edited by

                  ja Bluefox… die Beschreibung war für mich nicht aussagekräftig genug.... "mpd for Dummies" 🙂

                  1 Reply Last reply Reply Quote 0
                  • R
                    rascal last edited by

                    also nochmals:

                    Brauche ich auf einem Raspberry der den Sound ausgeben soll iobroker + sayit + mpd server oder nur den mpd Server (ohne iobroker)+ sayit nur am iobroker host

                    1 Reply Last reply Reply Quote 0
                    • Alex1808
                      Alex1808 last edited by

                      @rascal:

                      also nochmals:

                      Brauche ich auf einem Raspberry der den Sound ausgeben soll iobroker + sayit + mpd server oder nur den mpd Server (ohne iobroker)+ sayit nur am iobroker host `

                      nur mpd server. Praktisch ein SONOS für Kleingeld 😉

                      1 Reply Last reply Reply Quote 0
                      • R
                        rascal last edited by

                        Hey,

                        Ist da noch der Bug drin?

                        Ich kann auf den mpd zugreifen, streams usw abspielen, es funktioniert auch, wenn ich über sayit einen Text ausgebe, sobald ich bei sayit die Volume ändere, scheint sich der mpd Adapter zu verabschieden.

                        Das Log zeigt mir:

                        sayit.8	2016-12-23 19:06:57.439	info	Set "mpd.0.say: http://192.168.1.10:8082/state/sayit.8.tts.mp3
                        sayit.8	2016-12-23 19:06:57.438	info	Set "undefined.status.volume: 100
                        sayit.8	2016-12-23 19:06:57.437	info	saying: Test
                        

                        ebenfalls hat er mir eine error im log gebracht, was aber nur einmalig war:

                        mpd.0	2016-12-23 19:05:56.675	error	client.sendCommand {"seekid": ",73"} ERROR - Error: [2@0] {seekid} Integer expected:
                        mpd.0	2016-12-23 19:05:54.663	info	client.sendCommand {"playid": "8"} OK! - ""
                        mpd.0	2016-12-23 19:05:54.613	info	client.sendCommand {"addid": "http://192.168.1.10:8082/state/sayit.8.tts.mp3"} OK! - "Id: 8\n"
                        sayit.8	2016-12-23 19:05:54.603	info	Set "mpd.0.say: http://192.168.1.10:8082/state/sayit.8.tts.mp3
                        sayit.8	2016-12-23 19:05:54.603	info	Set "undefined.status.volume: 100
                        sayit.8	2016-12-23 19:05:54.602	info	saying: Test
                        

                        lg

                        Martin

                        1 Reply Last reply Reply Quote 0
                        • R
                          rascal last edited by

                          hey, gibts da schon was neues?

                          1 Reply Last reply Reply Quote 0
                          • Alex1808
                            Alex1808 last edited by

                            @rascal:

                            hey, gibts da schon was neues? `

                            Es gibt eine neue Version.

                            1 Reply Last reply Reply Quote 0
                            • R
                              rascal last edited by

                              hey,

                              danke für die neue Version, es funktioniert trotzdem nicht 😞

                              Wenn ich den mpd-Adapter restarte und in sayit einen Text eingebe, wird er gesprochen, wenn ich den selben Text oder einen anderen Text eingebe, passiert nichts mehr, nur im Log sehe ich das:

                              sayit.8	2017-01-03 18:44:50.028	info	Copied file "/opt/iobroker/node_modules/iobroker.sayit/say.mp3" to "/opt/iobroker/cache/e035139509158b7c14aa0cf4f4583ef2.mp3"
                              sayit.8	2017-01-03 18:44:50.026	info	Set "mpd.0.say: http://192.168.1.10:8082/state/sayit.8.tts.mp3
                              sayit.8	2017-01-03 18:44:50.025	info	Set "undefined.status.volume: 100
                              sayit.8	2017-01-03 18:44:49.800	info	saying: Das ist ein zweiter Test
                              mpd.0	2017-01-03 18:44:34.043	info	client.sendCommand {"playlistsearch": "any,sayit"} OK! - ""
                              mpd.0	2017-01-03 18:44:32.040	info	client.sendCommand {"playid": "6"} OK! - ""
                              mpd.0	2017-01-03 18:44:32.037	info	client.sendCommand {"addid": "http://192.168.1.10:8082/state/sayit.8.tts.mp3"} OK! - "Id: 6\n"
                              sayit.8	2017-01-03 18:44:32.032	info	Set "mpd.0.say: http://192.168.1.10:8082/state/sayit.8.tts.mp3
                              sayit.8	2017-01-03 18:44:32.032	info	Set "undefined.status.volume: 100
                              sayit.8	2017-01-03 18:44:32.031	info	saying: Das ist ein Test
                              mpd.0	2017-01-03 18:44:17.209	info	MPD ready!
                              mpd.0	2017-01-03 18:44:17.196	info	starting. Version 0.1.3 in /opt/iobroker/node_modules/iobroker.mpd, node: v0.10.33
                              host.	2017-01-03 18:44:17.099	info	States connected to redis 127.0.0.1:6379
                              host.Mastermind	2017-01-03 18:44:16.434	info	instance system.adapter.mpd.0 started with pid 17644
                              host.Mastermind	2017-01-03 18:44:13.933	info	instance system.adapter.mpd.0 terminated with code 0 (OK)
                              host.Mastermind	2017-01-03 18:44:13.921	info	stopInstance system.adapter.mpd.0 killing pid 17444
                              host.Mastermind	2017-01-03 18:44:13.921	info	stopInstance system.adapter.mpd.0
                              mpd.0	2017-01-03 18:44:13.925	info	terminating
                              mpd.0	2017-01-03 18:44:13.923	info	cleaned everything up...
                              

                              wenn ich den mpd-Adapter wieder neu starte, funktioniert es wieder für ein mal.

                              Die Lautstärke habe ich diesmal gar nicht angerührt.

                              Es hilft auch nichts wenn ich den MPD Service auf dem Remote Rasp neu starte

                              1 Reply Last reply Reply Quote 0
                              • R
                                rascal last edited by

                                selbes Problem mit der 0.1.4 er Version 😢

                                1 Reply Last reply Reply Quote 0
                                • aurodionov
                                  aurodionov last edited by

                                  logs:

                                  ! SmartHome 2017-01-05 18:08:47.547 info host.SmartHome instance system.adapter.mpd.0 started with pid 15723
                                  ! host.SmartHome 2017-01-05 18:08:17.530 info Restart adapter system.adapter.mpd.0 because enabled
                                  ! host.SmartHome 2017-01-05 18:08:17.529 error instance system.adapter.mpd.0 terminated with code 0 (OK)
                                  ! mpd.0 2017-01-05 18:08:17.500 info cleaned everything up…
                                  ! mpd.0 2017-01-05 18:08:17.498 error at Timer.listOnTimeout (timers.js:92:15)
                                  ! mpd.0 2017-01-05 18:08:17.498 error at null._onTimeout (/opt/iobroker/node_modules/iobroker.mpd/main.js:464:13)
                                  ! mpd.0 2017-01-05 18:08:17.498 error at Sendcmd (/opt/iobroker/node_modules/iobroker.mpd/main.js:154:12)
                                  ! mpd.0 2017-01-05 18:08:17.498 error at MpdClient.sendCommand (/opt/iobroker/node_modules/iobroker.mpd/node_modules/mpd/index.js:88:8)
                                  ! mpd.0 2017-01-05 18:08:17.498 error at MpdClient.sendWithCallback (/opt/iobroker/node_modules/iobroker.mpd/node_modules/mpd/index.js:127:17)
                                  ! mpd.0 2017-01-05 18:08:17.498 error at Command.toString (/opt/iobroker/node_modules/iobroker.mpd/node_modules/mpd/index.js:140:38)
                                  ! mpd.0 2017-01-05 18:08:17.498 error at Array.map (native)
                                  ! mpd.0 2017-01-05 18:08:17.498 error at argEscape (/opt/iobroker/node_modules/iobroker.mpd/node_modules/mpd/index.js:145:19)
                                  ! mpd.0 2017-01-05 18:08:17.498 error TypeError: Cannot read property 'toString' of undefined
                                  ! mpd.0 2017-01-05 18:08:17.492 error uncaught exception: Cannot read property 'toString' of undefined
                                  ! sayit.1 2017-01-05 18:08:16.380 info Set "mpd.0.say: http://192.168.55.170:8082/state/sayit.1.tts.mp3
                                  ! sayit.1 2017-01-05 18:08:16.379 info saying: проверочка
                                  ! mpd.0 2017-01-05 18:08:15.470 info client.sendCommand {"playid": "13384"} OK! - ""
                                  ! mpd.0 2017-01-05 18:08:15.409 info client.sendCommand {"addid": "http://192.168.55.170:8082/state/sayit.1.tts.mp3"} OK! - "Id: 13384\n"
                                  ! sayit.1 2017-01-05 18:08:15.377 info Set "mpd.0.say: http://192.168.55.170:8082/state/sayit.1.tts.mp3
                                  ! sayit.1 2017-01-05 18:08:15.373 info saying: /opt/iobroker/node_modules/iobroker.sayit/gong.mp3
                                  ! javascript.0 2017-01-05 18:08:15.363 info script.js.mytest: registered 0 subscriptions and 0 schedules
                                  ! javascript.0 2017-01-05 18:08:15.354 info Start javascript script.js.mytest

                                  1 Reply Last reply Reply Quote 0
                                  • I
                                    instalator last edited by

                                    @rascal:

                                    selbes Problem mit der 0.1.4 er Version 😢 `
                                    Welche Version der SayIt?

                                    1 Reply Last reply Reply Quote 0
                                    • R
                                      rascal last edited by

                                      @instalator:

                                      @rascal:

                                      selbes Problem mit der 0.1.4 er Version 😢 Welche Version der SayIt?

                                      sayit 1.3.0

                                      1 Reply Last reply Reply Quote 0
                                      • I
                                        instalator last edited by

                                        @rascal:

                                        @instalator:

                                        @rascal:

                                        selbes Problem mit der 0.1.4 er Version 😢 Welche Version der SayIt?

                                        sayit 1.3.0 `
                                        Installieren Sie 1.3.1 ist

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          rascal last edited by

                                          Hallo,

                                          ich habe sayit jetzt auf 1.3.1, iobroker gestoppt, sayit upload gemacht, iobroker neu gestartet… hat alles nichts geholfen

                                          es sagt immer nur die erste Eingabe, hier "Test 1"

                                          Alle weiteren werden nicht ausgegeben "Test 2", "Test 3"

                                          sayit.8	2017-01-05 17:23:11.384	info	Copied file "/opt/iobroker/node_modules/iobroker.sayit/say.mp3" to "/opt/iobroker/cache/d95b88a9b64b903600b60fce7f8beff8.mp3"
                                          sayit.8	2017-01-05 17:23:11.380	info	Set "mpd.0.say: 100;http://192.168.1.10:8082/state/sayit.8.tts.mp3
                                          sayit.8	2017-01-05 17:23:11.190	info	saying: Test 3
                                          sayit.8	2017-01-05 17:23:07.829	info	Set "mpd.0.say: 100;http://192.168.1.10:8082/state/sayit.8.tts.mp3
                                          sayit.8	2017-01-05 17:23:07.828	info	saying: Test 2
                                          mpd.0	2017-01-05 17:23:04.780	info	client.sendCommand {"playlistsearch": "any,sayit"} OK! - ""
                                          mpd.0	2017-01-05 17:23:02.776	info	client.sendCommand {"setvol": "100"} OK! - ""
                                          mpd.0	2017-01-05 17:23:01.773	info	client.sendCommand {"playid": "5"} OK! - ""
                                          mpd.0	2017-01-05 17:23:01.769	info	client.sendCommand {"addid": "http://192.168.1.10:8082/state/sayit.8.tts.mp3"} OK! - "Id: 5\n"
                                          sayit.8	2017-01-05 17:23:01.761	info	Set "mpd.0.say: 100;http://192.168.1.10:8082/state/sayit.8.tts.mp3
                                          sayit.8	2017-01-05 17:23:01.758	info	saying: Test 1
                                          sayit.8	2017-01-05 17:22:57.727	info	Upload announce mp3 files
                                          sayit.8	2017-01-05 17:22:57.724	info	starting. Version 1.3.1 in /opt/iobroker/node_modules/iobroker.sayit, node: v0.10.33
                                          host.	2017-01-05 17:22:57.696	info	States connected to redis 127.0.0.1:6379
                                          host.Mastermind	2017-01-05 17:22:57.041	info	instance system.adapter.sayit.8 started with pid 20545
                                          host.Mastermind	2017-01-05 17:22:54.538	info	instance system.adapter.sayit.8 terminated with code 0 (OK)
                                          sayit.8	2017-01-05 17:22:54.531	info	terminating
                                          sayit.8	2017-01-05 17:22:54.529	info	stopping...
                                          host.Mastermind	2017-01-05 17:22:54.527	info	stopInstance system.adapter.sayit.8 killing pid 20468
                                          sayit.8	2017-01-05 17:22:53.534	info	stopping...
                                          host.Mastermind	2017-01-05 17:22:53.526	info	stopInstance system.adapter.sayit.8
                                          host.Mastermind	2017-01-05 17:22:53.526	info	object change system.adapter.sayit.8
                                          mpd.0	2017-01-05 17:22:52.436	info	MPD ready!
                                          mpd.0	2017-01-05 17:22:52.417	info	starting. Version 0.1.4 in /opt/iobroker/node_modules/iobroker.mpd, node: v0.10.33
                                          host.	2017-01-05 17:22:52.324	info	States connected to redis 127.0.0.1:6379
                                          host.Mastermind	2017-01-05 17:22:51.688	info	instance system.adapter.mpd.0 started with pid 20535
                                          host.Mastermind	2017-01-05 17:22:49.187	info	instance system.adapter.mpd.0 terminated with code 0 (OK)
                                          mpd.0	2017-01-05 17:22:49.181	info	terminating
                                          mpd.0	2017-01-05 17:22:49.179	info	cleaned everything up...
                                          host.Mastermind	2017-01-05 17:22:49.174	info	stopInstance system.adapter.mpd.0 killing pid 20476
                                          host.Mastermind	2017-01-05 17:22:49.174	info	stopInstance system.adapter.mpd.0
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • I
                                            instalator last edited by

                                            @rascal:

                                            Hallo,

                                            ich habe sayit jetzt auf 1.3.1, iobroker gestoppt, sayit upload gemacht, iobroker neu gestartet… hat alles nichts geholfen

                                            es sagt immer nur die erste Eingabe, hier "Test 1"

                                            Alle weiteren werden nicht ausgegeben "Test 2", "Test 3"

                                            sayit.8	2017-01-05 17:23:11.384	info	Copied file "/opt/iobroker/node_modules/iobroker.sayit/say.mp3" to "/opt/iobroker/cache/d95b88a9b64b903600b60fce7f8beff8.mp3"
                                            sayit.8	2017-01-05 17:23:11.380	info	Set "mpd.0.say: 100;http://192.168.1.10:8082/state/sayit.8.tts.mp3
                                            sayit.8	2017-01-05 17:23:11.190	info	saying: Test 3
                                            sayit.8	2017-01-05 17:23:07.829	info	Set "mpd.0.say: 100;http://192.168.1.10:8082/state/sayit.8.tts.mp3
                                            sayit.8	2017-01-05 17:23:07.828	info	saying: Test 2
                                            mpd.0	2017-01-05 17:23:04.780	info	client.sendCommand {"playlistsearch": "any,sayit"} OK! - ""
                                            mpd.0	2017-01-05 17:23:02.776	info	client.sendCommand {"setvol": "100"} OK! - ""
                                            mpd.0	2017-01-05 17:23:01.773	info	client.sendCommand {"playid": "5"} OK! - ""
                                            mpd.0	2017-01-05 17:23:01.769	info	client.sendCommand {"addid": "http://192.168.1.10:8082/state/sayit.8.tts.mp3"} OK! - "Id: 5\n"
                                            sayit.8	2017-01-05 17:23:01.761	info	Set "mpd.0.say: 100;http://192.168.1.10:8082/state/sayit.8.tts.mp3
                                            sayit.8	2017-01-05 17:23:01.758	info	saying: Test 1
                                            sayit.8	2017-01-05 17:22:57.727	info	Upload announce mp3 files
                                            sayit.8	2017-01-05 17:22:57.724	info	starting. Version 1.3.1 in /opt/iobroker/node_modules/iobroker.sayit, node: v0.10.33
                                            host.	2017-01-05 17:22:57.696	info	States connected to redis 127.0.0.1:6379
                                            host.Mastermind	2017-01-05 17:22:57.041	info	instance system.adapter.sayit.8 started with pid 20545
                                            host.Mastermind	2017-01-05 17:22:54.538	info	instance system.adapter.sayit.8 terminated with code 0 (OK)
                                            sayit.8	2017-01-05 17:22:54.531	info	terminating
                                            sayit.8	2017-01-05 17:22:54.529	info	stopping...
                                            host.Mastermind	2017-01-05 17:22:54.527	info	stopInstance system.adapter.sayit.8 killing pid 20468
                                            sayit.8	2017-01-05 17:22:53.534	info	stopping...
                                            host.Mastermind	2017-01-05 17:22:53.526	info	stopInstance system.adapter.sayit.8
                                            host.Mastermind	2017-01-05 17:22:53.526	info	object change system.adapter.sayit.8
                                            mpd.0	2017-01-05 17:22:52.436	info	MPD ready!
                                            mpd.0	2017-01-05 17:22:52.417	info	starting. Version 0.1.4 in /opt/iobroker/node_modules/iobroker.mpd, node: v0.10.33
                                            host.	2017-01-05 17:22:52.324	info	States connected to redis 127.0.0.1:6379
                                            host.Mastermind	2017-01-05 17:22:51.688	info	instance system.adapter.mpd.0 started with pid 20535
                                            host.Mastermind	2017-01-05 17:22:49.187	info	instance system.adapter.mpd.0 terminated with code 0 (OK)
                                            mpd.0	2017-01-05 17:22:49.181	info	terminating
                                            mpd.0	2017-01-05 17:22:49.179	info	cleaned everything up...
                                            host.Mastermind	2017-01-05 17:22:49.174	info	stopInstance system.adapter.mpd.0 killing pid 20476
                                            host.Mastermind	2017-01-05 17:22:49.174	info	stopInstance system.adapter.mpd.0
                                            ```` `  
                                            

                                            Nun, mein Freund. Ich habe eine neue Version MPD 0,1,5

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            899
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            15
                                            103
                                            20328
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo