Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Entwicklung
    4. Emby 1.0.0, startet immer wieder neu...

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Emby 1.0.0, startet immer wieder neu...

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

      @madison leider nein 😞

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User last edited by A Former User

        @michael-mauer
        Ich hab den Protokollfehler mit "undefined" auch. Das liegt aus meiner Sicht an Geräten im Objektbaum, die keinen userName haben. Bei anderen Geräten wie nvidia Shield steht bei mir z.B. emby als userName drin.

        a588aa22-d2a3-41ae-82e1-14e4113fb9ea-image.png

        Ich hab das betreffende Gerät mit dem gesamten Objektbaum gelöscht und seitdem sind die undefined-Fehler fort und auch kein Crash mehr.

        Nur werden die gelöschten Objekte nach einiger Zeit wieder im Objektbaum neu angelegt. In den Einstellungen der Instanz kann man Geräte IDs ignorieren. Das scheint aber nicht zu klappen.

        Der Entwickler schrieb vor einiger Zeit dazu:
        "Da ich per Websocket mit dem EmbyServer spreche kommen geänderte States sofort an.
        Die Clientliste selbst bekomme ich von Emby. Ich parse diese nur und erstelle dann alle States.
        Du könntest die IDs vom Server in den Einstellungen ignorieren."

        Daher hab ich in den emby Server geschaut. Dort finde ich aber die Geräte nicht. Bei mir werden z.B. Yamaha Verstärker angeboten als Emby Gerät in iobroker, die zu den Fehlern führen.

        Daher habe ich auf DLNA Funktionalität getippt und diese im emby Server abgeschaltet - das scheint zu helfen und reduziert die Anzahl Geräte im ioBroker:

        9f6981ac-9137-4ce5-a40c-26e73b99b1e9-image.png

        Es bleibt nur noch ein Gerät übrig, was den Protokollfehler undefined verursacht: Emby Server DLNA

        Den hab ich noch nicht aus der Liste rausbekommen.

        62d8861d-6d35-4d7a-9437-93d98059c59f-image.png

        ? 1 Reply Last reply Reply Quote 0
        • ?
          A Former User @Guest last edited by

          I just added a bug report in Github: https://github.com/thewhobox/ioBroker.emby/issues/23

          apachelance created this issue in thewhobox/ioBroker.emby

          closed Undefined error in ioBroker #23

          M 1 Reply Last reply Reply Quote 0
          • M
            madison @Guest last edited by

            @apachelance die DLNA einstellungen finde ich bei meinem Emby Server gar nicht
            wäre toll wenn sich da was tut!

            ? 1 Reply Last reply Reply Quote 0
            • ?
              A Former User @madison last edited by

              @madison
              Die sind hier zu finden:

              e838f1c5-d0c6-455c-97fd-2ee2a80a8700-image.png

              M 1 Reply Last reply Reply Quote 0
              • M
                madison @Guest last edited by

                @apachelance den Menüpunkt DLNA gibts bei mir nicht!
                Screenshot 2023-10-06 120143.jpg

                ? 1 Reply Last reply Reply Quote 0
                • ?
                  A Former User @madison last edited by

                  @madison

                  Seltsam. Bei mir läuft der Server in Version 4.7.14.0. Aber selbst mit abgeschaltetem DLNA bleibt noch mindestens ein Gerät, welches die undefined-Probleme verursacht.

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    madison @Guest last edited by

                    @apachelance hab auch die 4.7.14.0
                    ich denke das Problem liegt am Adapter, früher hat das einwandfrei funktioniert.

                    1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User last edited by

                      Ich hab Kontakt zum Entwickler aufgenommen. Er ist jedoch nicht mehr aktiv in der ioBroker Entwicklung. Von daher kann es sein, dass es hier nicht weitergeht mit dem emby Adapter.

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        madison @Guest last edited by

                        @apachelance das wäre schade

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

                          Mangels Umgebung kann ich hier nicht direkt eine Lösung anbieten.

                          ABER falls ein Entwickler eine Lösung findet und einen PR erstellen kann / will, dann kann ich (nach Rücksprache mit em derzeitigen Maintainer) den Adapter in den Community Bereich transferieren und allfälle Fixes mergen / releasen.

                          Bitte in diesem Fall mich (ggF auch mehrfach) anpingen.

                          mcm1957 1 Reply Last reply Reply Quote 0
                          • mcm1957
                            mcm1957 @mcm1957 last edited by

                            Ich hab mir den Crash lt. Log oen angesehen. Der scheint durch leere Daten ausgelöst zu werden.

                            Wenn jemand mag, dann kann er eine GITHIUB Version von meinem Fork testen. Ich habe mal blind (d.h. ohne irgendwelche Testmöglichkeit) versucht den Crash zu vermeiden.

                            Aber wie immer:
                            Das ist eine ungetestete github version. 'Use at own risk'. One weitere (positive) Rückmeldungen rate ich von einer Installation auf produktiven System eexplizit ab!

                            Technisch ignoriere ich die Antwort ohne Datenteil die anscheinend den Crash auslöst. Ich kann nicht beurteilen, ob damit das Problem gelöst ist oder andere Folgefehler auftreten.

                            Also wer noch immer mutig ist 🙂

                            https://github.com/mcm1957/ioBroker.emby

                            P.S: Versionsnummer ist unverändert da keine Release bisher erstellt.

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              madison @mcm1957 last edited by

                              @mcm57 hab emby auf meinem testserver neu installiert über github.
                              da scheint noch was im argen zu sein ...

                              host.iobroker-test
                              2023-11-15 20:04:40.322	error	instance system.adapter.emby.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                              
                              emby.0
                              2023-11-15 20:04:39.673	error	undefined is not a valid state value
                              
                              emby.0
                              2023-11-15 20:04:39.673	error	Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at AdapterClass._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5448:49) at AdapterClass.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5409:21) at W3CWebSocket.webMessage [as onmessage] (/opt/iobroker/node_modules/iobroker.emby/main.js:357:25) at W3CWebSocket._dispatchEvent [as dispatchEvent] (/opt/iobroker/node_modules/yaeti/lib/EventTarget.js:107:17) at W3CWebSocket.onMessage (/opt/iobroker/node_modules/websocket/lib/W3CWebSocket.js:234:14) at WebSocketConnection.<anonymous> (/opt/iobroker/node_modules/websocket/lib/W3CWebSocket.js:205:19) at WebSocketConnection.emit (node:events:517:28) at WebSocketConnection.processFrame (/opt/iobroker/node_modules/websocket/lib/WebSocketConnection.js:554:26) at /opt/iobroker/node_modules/websocket/lib/WebSocketConnection.js:323:40
                              
                              emby.0
                              2023-11-15 20:04:39.672	error	unhandled promise rejection: undefined is not a valid state value
                              
                              emby.0
                              2023-11-15 20:04:39.671	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                              
                              emby.0
                              2023-11-15 20:04:39.670	error	undefined is not a valid state value
                              
                              emby.0
                              2023-11-15 20:04:39.669	error	Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at AdapterClass._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5448:49) at AdapterClass.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5409:21) at W3CWebSocket.webMessage [as onmessage] (/opt/iobroker/node_modules/iobroker.emby/main.js:357:25) at W3CWebSocket._dispatchEvent [as dispatchEvent] (/opt/iobroker/node_modules/yaeti/lib/EventTarget.js:107:17) at W3CWebSocket.onMessage (/opt/iobroker/node_modules/websocket/lib/W3CWebSocket.js:234:14) at WebSocketConnection.<anonymous> (/opt/iobroker/node_modules/websocket/lib/W3CWebSocket.js:205:19) at WebSocketConnection.emit (node:events:517:28) at WebSocketConnection.processFrame (/opt/iobroker/node_modules/websocket/lib/WebSocketConnection.js:554:26) at /opt/iobroker/node_modules/websocket/lib/WebSocketConnection.js:323:40
                              
                              emby.0
                              2023-11-15 20:04:39.668	error	unhandled promise rejection: undefined is not a valid state value
                              
                              emby.0
                              2023-11-15 20:04:39.668	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                              
                              emby.0
                              2023-11-15 20:04:39.667	error	undefined is not a valid state value
                              
                              emby.0
                              2023-11-15 20:04:39.667	error	Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at AdapterClass._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5448:49) at AdapterClass.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5409:21) at W3CWebSocket.webMessage [as onmessage] (/opt/iobroker/node_modules/iobroker.emby/main.js:357:25) at W3CWebSocket._dispatchEvent [as dispatchEvent] (/opt/iobroker/node_modules/yaeti/lib/EventTarget.js:107:17) at W3CWebSocket.onMessage (/opt/iobroker/node_modules/websocket/lib/W3CWebSocket.js:234:14) at WebSocketConnection.<anonymous> (/opt/iobroker/node_modules/websocket/lib/W3CWebSocket.js:205:19) at WebSocketConnection.emit (node:events:517:28) at WebSocketConnection.processFrame (/opt/iobroker/node_modules/websocket/lib/WebSocketConnection.js:554:26) at /opt/iobroker/node_modules/websocket/lib/WebSocketConnection.js:323:40
                              
                              emby.0
                              2023-11-15 20:04:39.663	error	unhandled promise rejection: undefined is not a valid state value
                              
                              emby.0
                              2023-11-15 20:04:39.663	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                              
                              emby.0
                              2023-11-15 20:04:08.896	error	WebSocket Error. Try Reconnect in 60s
                              
                              emby.0
                              2023-11-15 20:03:05.827	error	WebSocket Error. Try Reconnect in 60s
                              
                              mcm1957 1 Reply Last reply Reply Quote 0
                              • mcm1957
                                mcm1957 @madison last edited by

                                @madison
                                OK, sorry - muss mir das dann noch mal ansehen. Ist eine andere Stelle als in https://forum.iobroker.net/topic/29700/emby-1-0-0-startet-immer-wieder-neu/32

                                Wenn ich dazu gekommen bin, meld ich mich.
                                Ansonsten kann ich nur sorry sagen und Hilfe beim Release Anbieten wenn wer den Code fixen kann / will.

                                P.S: Bitte das Log jedenfalls an Issue beim Adapter anhängen wenn noch nicht geschehen

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  madison @mcm1957 last edited by

                                  @mcm57 kein Problem.
                                  wenn ich was testen soll einfach Bescheid geben.
                                  sonst kann ich leider nicht viel beitragen.

                                  ? 1 Reply Last reply Reply Quote 0
                                  • ?
                                    A Former User @madison last edited by

                                    Der Entwickler hat nachdem ich ein Debug Log geschickt habe, einen ungetesteten Fix bereitgestellt: https://github.com/thewhobox/ioBroker.emby

                                    M 1 Reply Last reply Reply Quote 0
                                    • M
                                      madison @Guest last edited by

                                      @apachelance habs getestet.

                                      host.iobroker-test
                                      2023-11-17 18:20:17.762	error	instance system.adapter.emby.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                      
                                      emby.0
                                      2023-11-17 18:20:17.135	error	undefined is not a valid state value
                                      
                                      emby.0
                                      2023-11-17 18:20:17.134	error	Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at AdapterClass._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5448:49) at AdapterClass.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5409:21) at W3CWebSocket.webMessage [as onmessage] (/opt/iobroker/node_modules/iobroker.emby/main.js:376:25) at W3CWebSocket._dispatchEvent [as dispatchEvent] (/opt/iobroker/node_modules/yaeti/lib/EventTarget.js:107:17) at W3CWebSocket.onMessage (/opt/iobroker/node_modules/websocket/lib/W3CWebSocket.js:234:14) at WebSocketConnection.<anonymous> (/opt/iobroker/node_modules/websocket/lib/W3CWebSocket.js:205:19) at WebSocketConnection.emit (node:events:517:28) at WebSocketConnection.processFrame (/opt/iobroker/node_modules/websocket/lib/WebSocketConnection.js:554:26) at /opt/iobroker/node_modules/websocket/lib/WebSocketConnection.js:323:40
                                      
                                      emby.0
                                      2023-11-17 18:20:17.134	error	unhandled promise rejection: undefined is not a valid state value
                                      
                                      emby.0
                                      2023-11-17 18:20:17.134	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                      
                                      emby.0
                                      2023-11-17 18:20:17.133	error	undefined is not a valid state value
                                      
                                      emby.0
                                      2023-11-17 18:20:17.133	error	Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at AdapterClass._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5448:49) at AdapterClass.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5409:21) at W3CWebSocket.webMessage [as onmessage] (/opt/iobroker/node_modules/iobroker.emby/main.js:375:25) at W3CWebSocket._dispatchEvent [as dispatchEvent] (/opt/iobroker/node_modules/yaeti/lib/EventTarget.js:107:17) at W3CWebSocket.onMessage (/opt/iobroker/node_modules/websocket/lib/W3CWebSocket.js:234:14) at WebSocketConnection.<anonymous> (/opt/iobroker/node_modules/websocket/lib/W3CWebSocket.js:205:19) at WebSocketConnection.emit (node:events:517:28) at WebSocketConnection.processFrame (/opt/iobroker/node_modules/websocket/lib/WebSocketConnection.js:554:26) at /opt/iobroker/node_modules/websocket/lib/WebSocketConnection.js:323:40
                                      
                                      emby.0
                                      2023-11-17 18:20:17.133	error	unhandled promise rejection: undefined is not a valid state value
                                      
                                      emby.0
                                      2023-11-17 18:20:17.132	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                      
                                      emby.0
                                      2023-11-17 18:20:17.131	error	undefined is not a valid state value
                                      
                                      emby.0
                                      2023-11-17 18:20:17.131	error	Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at AdapterClass._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5448:49) at AdapterClass.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5409:21) at W3CWebSocket.webMessage [as onmessage] (/opt/iobroker/node_modules/iobroker.emby/main.js:372:25) at W3CWebSocket._dispatchEvent [as dispatchEvent] (/opt/iobroker/node_modules/yaeti/lib/EventTarget.js:107:17) at W3CWebSocket.onMessage (/opt/iobroker/node_modules/websocket/lib/W3CWebSocket.js:234:14) at WebSocketConnection.<anonymous> (/opt/iobroker/node_modules/websocket/lib/W3CWebSocket.js:205:19) at WebSocketConnection.emit (node:events:517:28) at WebSocketConnection.processFrame (/opt/iobroker/node_modules/websocket/lib/WebSocketConnection.js:554:26) at /opt/iobroker/node_modules/websocket/lib/WebSocketConnection.js:323:40
                                      
                                      emby.0
                                      2023-11-17 18:20:17.128	error	unhandled promise rejection: undefined is not a valid state value
                                      
                                      emby.0
                                      2023-11-17 18:20:17.128	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                      
                                      ? 1 Reply Last reply Reply Quote 0
                                      • ?
                                        A Former User @madison last edited by

                                        @madison Sicher, dass du die aktuelle Version hast. Bei mir gibts die Abstürze nicht mehr. Nur noch:

                                        
                                        emby.0
                                        2023-11-17 18:25:54.975	warn	State "emby.0.b9780d9d3b7bde77c4302e70f3cfe10c.info.userName" has no existing object, this might lead to an error in future versions
                                        
                                        emby.0
                                        2023-11-17 18:25:54.974	warn	State "emby.0.b9780d9d3b7bde77c4302e70f3cfe10c.info.deviceName" has no existing object, this might lead to an error in future versions
                                        
                                        emby.0
                                        2023-11-17 18:25:54.917	warn	This object will not be created in future versions. Please report this to the developer.
                                        
                                        emby.0
                                        2023-11-17 18:25:54.917	warn	Object emby.0.0625f91c9e5aa817d97f3c2df711452c.command.togglemute is invalid: obj.common.type has an invalid value (button) but has to be one of number, string, boolean, array, object, mixed, file, json
                                        
                                        emby.0
                                        2023-11-17 18:25:54.917	warn	This object will not be created in future versions. Please report this to the developer.
                                        
                                        emby.0
                                        2023-11-17 18:25:54.916	warn	Object emby.0.0625f91c9e5aa817d97f3c2df711452c.command.mute is invalid: obj.common.type has an invalid value (button) but has to be one of number, string, boolean, array, object, mixed, file, json
                                        
                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          madison @Guest last edited by

                                          @apachelance hab jetzt den Adapter neu installiert, jetzt hab ich die selben Warnings wie du!

                                          ? 1 Reply Last reply Reply Quote 0
                                          • ?
                                            A Former User @madison last edited by

                                            @madison sagte in Emby 1.0.0, startet immer wieder neu...:

                                            @apachelance hab jetzt den Adapter neu installiert, jetzt hab ich die selben Warnings wie du!

                                            Scheint trotzdem nicht stabil zu sein. Hatte gerade einen Crash:

                                            host.ioBroker
                                            2023-11-17 19:38:50.979	warn	Do not restart adapter system.adapter.emby.0 because restart loop detected
                                            host.ioBroker
                                            2023-11-17 19:38:50.978	info	Restart adapter system.adapter.emby.0 because enabled
                                            host.ioBroker
                                            2023-11-17 19:38:50.978	error	instance system.adapter.emby.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                            
                                            emby.0
                                            2023-11-17 19:38:50.942	warn	get state error: Connection is closed.
                                            
                                            emby.0
                                            2023-11-17 19:38:50.935	info	terminating
                                            
                                            emby.0
                                            2023-11-17 19:38:50.433	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                                            
                                            mcm1957 M 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.1k
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            emby neustart
                                            7
                                            57
                                            3528
                                            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