plex und fhem

Begonnen von justme1968, 27 Oktober 2015, 01:11:32

Vorheriges Thema - Nächstes Thema

justme1968

das token wird nur geholt wenn du user und password angegeben hast oder dich per pin authentifizierst.
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

thor42

Da username und passwort nicht funktionieren, wie wäre die Authentifizierung per PIN zu machen?

thor42

Etwas umständlich, wenn man nicht weiß, wie der vorgesehene Weg ist.

a) in fhem 'get Plex pin' eingeben.
b) in plex.tv einloggen.
c) plex.tv/pin aufrufen und die aus a) erhaltene 4-stellige Kombination eingeben.

Jetzt lässt sich 'get Plex ls' aufrufen. Später dann e.g. get 'Plex ls 5/all'

Habe stets mit PMSEN versucht etwas zu werden ;-) ...

justme1968

naja... das pairen per pin ist seit einer ganzen weile der standard für jeden neuen player der auf einem plex server zugreifen darf.

das listen der library normalerweise über das plex device für den server. nicht über die player devices.
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

Kurt77

Zitat von: justme1968 am 25 Mai 2016, 23:09:59
anmerkungen:
- es werden nur musik und premium musik sections angezeigt
- es ist (noch) kein transcoding eingebaut. d.h. das sonos system muss mit den verwendeten formaten klar kommen
- die anfragen an den plex server die vom sonos system kommen werden (im gegensatz zu allen anderen) noch synchron und blockierend ausgeführt
- die Info & Optionen seite zeigt zum teil noch falsche dinge an

gruss
  andre
Hallo Andre,
ich würde das gerne mal ausprobieren.
Was verstehst Du unter 'Musik und Premium Musik"?
Was hat "Anfragen ... blockierend" für Auswirkungen für mich?
Danke und Gruß,
Kurt

justme1968

musik im gegensatz zu video.

probier es aus.

gruss
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

l2r

hi Andre,

sry wenn ich dich auch hier nerve ...

seit einiger Zeit bekomme ich  folgende Meldung im Log:

Use of uninitialized value in concatenation (.) or string at ./FHEM/37_plex.pm line 4145.
Use of uninitialized value in string eq at ./FHEM/37_plex.pm line 4075.


Leider bin ich noch nicht zu genauerer Fehleranalyse gekommen.

gruß Michael
Wissen ist Macht.
Ich weiß nix.
Macht nix.

Standarduser

Zitat von: l2r am 06 April 2017, 22:07:46
hi Andre,

sry wenn ich dich auch hier nerve ...

seit einiger Zeit bekomme ich  folgende Meldung im Log:

Use of uninitialized value in concatenation (.) or string at ./FHEM/37_plex.pm line 4145.
Use of uninitialized value in string eq at ./FHEM/37_plex.pm line 4075.


Leider bin ich noch nicht zu genauerer Fehleranalyse gekommen.

gruß Michael

Bei mir das Gleiche. Die Meldung kommt ca. jede Sekunde und haut damit das Logfile voll.
Was kann man da tun?

justme1968

die meldung sollte morgen weg sein.

bitte vor dem update mal das log mit verbose 4 (oder 5) zeigen.

gruss
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

l2r

hi,

hier mal ein Log-Auszug mit Verbose 5:

017.04.10 08:20:23 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:20:23 5: plex: from: 192.168.1.100
2017.04.10 08:20:23 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:20:23 5: plex: from: 192.168.1.96
2017.04.10 08:20:23 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-player
Resource-Identifier: 9d9f5f5479604df6-com-plexapp-android
Product: Plex for Android
Port: 32500
Protocol-Version: 1
Updated-At: 1491805222
Protocol-Capabilities: timeline,playback,navigation,mirror,playqueues
Version: 5.5.0.227
Device-Class: mobile
Protocol: plex
Name: BRAVIA 4K 2015


2017.04.10 08:20:34 4: plex:timelineListener: refreshing timeline subscriptions
2017.04.10 08:20:34 5: plex:timelineListener: sending subscribe message to 192.168.1.96:32500
2017.04.10 08:20:34 4: plex: requesting http://192.168.1.96:32500/player/timeline/subscribe?protocol=http&port=40476&commandID=2522
2017.04.10 08:20:34 5: plex:serverDiscoveryMcast: sending multicast discovery message to 32414
2017.04.10 08:20:34 5: plex:clientDiscoveryMcast: sending multicast discovery message to 32412
2017.04.10 08:20:34 5: plex:serverDiscoveryBcast: sending broadcast discovery message to 32414
2017.04.10 08:20:34 5: plex:clientDiscoveryBcast: sending broadcast discovery message to 32412
2017.04.10 08:20:34 5: plex: from: 192.168.1.100
2017.04.10 08:20:34 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:20:34 5: plex: from: 192.168.1.100
2017.04.10 08:20:34 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:20:34 5: plex: received Failure: 200 OK

2017.04.10 08:20:34 5: plex: http request (http://192.168.1.96:32500/player/timeline/subscribe?protocol=http&port=40476&commandID=2522) received code : Failure: 200 OK

2017.04.10 08:20:34 5: plex: from: 192.168.1.96
2017.04.10 08:20:34 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-player
Resource-Identifier: 9d9f5f5479604df6-com-plexapp-android
Product: Plex for Android
Port: 32500
Protocol-Version: 1
Updated-At: 1491805233
Protocol-Capabilities: timeline,playback,navigation,mirror,playqueues
Version: 5.5.0.227
Device-Class: mobile
Protocol: plex
Name: BRAVIA 4K 2015


2017.04.10 08:20:45 5: plex:serverDiscoveryMcast: sending multicast discovery message to 32414
2017.04.10 08:20:45 5: plex:clientDiscoveryMcast: sending multicast discovery message to 32412
2017.04.10 08:20:45 5: plex:serverDiscoveryBcast: sending broadcast discovery message to 32414
2017.04.10 08:20:45 5: plex:clientDiscoveryBcast: sending broadcast discovery message to 32412
2017.04.10 08:20:46 5: plex: from: 192.168.1.100
2017.04.10 08:20:46 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:20:46 5: plex: from: 192.168.1.96
2017.04.10 08:20:46 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-player
Resource-Identifier: 9d9f5f5479604df6-com-plexapp-android
Product: Plex for Android
Port: 32500
Protocol-Version: 1
Updated-At: 1491805245
Protocol-Capabilities: timeline,playback,navigation,mirror,playqueues
Version: 5.5.0.227
Device-Class: mobile
Protocol: plex
Name: BRAVIA 4K 2015


2017.04.10 08:20:46 5: plex: from: 192.168.1.100
2017.04.10 08:20:46 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:20:55 5: plex:serverDiscoveryMcast: sending multicast discovery message to 32414
2017.04.10 08:20:55 5: plex:clientDiscoveryMcast: sending multicast discovery message to 32412
2017.04.10 08:20:55 5: plex:serverDiscoveryBcast: sending broadcast discovery message to 32414
2017.04.10 08:20:55 5: plex:clientDiscoveryBcast: sending broadcast discovery message to 32412
2017.04.10 08:20:55 5: plex: from: 192.168.1.100
2017.04.10 08:20:55 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:20:55 5: plex: from: 192.168.1.100
2017.04.10 08:20:55 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:20:55 5: plex: from: 192.168.1.96
2017.04.10 08:20:55 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-player
Resource-Identifier: 9d9f5f5479604df6-com-plexapp-android
Product: Plex for Android
Port: 32500
Protocol-Version: 1
Updated-At: 1491805255
Protocol-Capabilities: timeline,playback,navigation,mirror,playqueues
Version: 5.5.0.227
Device-Class: mobile
Protocol: plex
Name: BRAVIA 4K 2015


2017.04.10 08:21:04 4: plex:timelineListener: refreshing timeline subscriptions
2017.04.10 08:21:04 5: plex:timelineListener: sending subscribe message to 192.168.1.96:32500
2017.04.10 08:21:04 4: plex: requesting http://192.168.1.96:32500/player/timeline/subscribe?protocol=http&port=40476&commandID=2523
2017.04.10 08:21:04 5: plex: received Failure: 200 OK

2017.04.10 08:21:04 5: plex: http request (http://192.168.1.96:32500/player/timeline/subscribe?protocol=http&port=40476&commandID=2523) received code : Failure: 200 OK

2017.04.10 08:21:05 5: plex:serverDiscoveryMcast: sending multicast discovery message to 32414
2017.04.10 08:21:05 5: plex:clientDiscoveryMcast: sending multicast discovery message to 32412
2017.04.10 08:21:05 5: plex:serverDiscoveryBcast: sending broadcast discovery message to 32414
2017.04.10 08:21:05 5: plex:clientDiscoveryBcast: sending broadcast discovery message to 32412
2017.04.10 08:21:05 5: plex: from: 192.168.1.100
2017.04.10 08:21:05 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:21:05 5: plex: from: 192.168.1.100
2017.04.10 08:21:05 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:21:05 5: plex: from: 192.168.1.96
2017.04.10 08:21:05 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-player
Resource-Identifier: 9d9f5f5479604df6-com-plexapp-android
Product: Plex for Android
Port: 32500
Protocol-Version: 1
Updated-At: 1491805265
Protocol-Capabilities: timeline,playback,navigation,mirror,playqueues
Version: 5.5.0.227
Device-Class: mobile
Protocol: plex
Name: BRAVIA 4K 2015


2017.04.10 08:21:15 5: plex:serverDiscoveryMcast: sending multicast discovery message to 32414
2017.04.10 08:21:15 5: plex:clientDiscoveryMcast: sending multicast discovery message to 32412
2017.04.10 08:21:15 5: plex:serverDiscoveryBcast: sending broadcast discovery message to 32414
2017.04.10 08:21:15 5: plex:clientDiscoveryBcast: sending broadcast discovery message to 32412
2017.04.10 08:21:15 5: plex: from: 192.168.1.100
2017.04.10 08:21:15 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:21:15 5: plex: from: 192.168.1.100
2017.04.10 08:21:15 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:21:15 5: plex: from: 192.168.1.96
2017.04.10 08:21:15 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-player
Resource-Identifier: 9d9f5f5479604df6-com-plexapp-android
Product: Plex for Android
Port: 32500
Protocol-Version: 1
Updated-At: 1491805275
Protocol-Capabilities: timeline,playback,navigation,mirror,playqueues
Version: 5.5.0.227
Device-Class: mobile
Protocol: plex
Name: BRAVIA 4K 2015


2017.04.10 08:21:25 5: plex:serverDiscoveryMcast: sending multicast discovery message to 32414
2017.04.10 08:21:25 5: plex:clientDiscoveryMcast: sending multicast discovery message to 32412
2017.04.10 08:21:25 5: plex:serverDiscoveryBcast: sending broadcast discovery message to 32414
2017.04.10 08:21:25 5: plex:clientDiscoveryBcast: sending broadcast discovery message to 32412
2017.04.10 08:21:25 5: plex: from: 192.168.1.100
2017.04.10 08:21:25 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:21:25 5: plex: from: 192.168.1.100
2017.04.10 08:21:25 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:21:25 5: plex: from: 192.168.1.96
2017.04.10 08:21:25 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-player
Resource-Identifier: 9d9f5f5479604df6-com-plexapp-android
Product: Plex for Android
Port: 32500
Protocol-Version: 1
Updated-At: 1491805285
Protocol-Capabilities: timeline,playback,navigation,mirror,playqueues
Version: 5.5.0.227
Device-Class: mobile
Protocol: plex
Name: BRAVIA 4K 2015


2017.04.10 08:21:34 4: plex:timelineListener: refreshing timeline subscriptions
2017.04.10 08:21:34 5: plex:timelineListener: sending subscribe message to 192.168.1.96:32500
2017.04.10 08:21:34 4: plex: requesting http://192.168.1.96:32500/player/timeline/subscribe?protocol=http&port=40476&commandID=2524
2017.04.10 08:21:34 5: plex: received Failure: 200 OK

2017.04.10 08:21:34 5: plex: http request (http://192.168.1.96:32500/player/timeline/subscribe?protocol=http&port=40476&commandID=2524) received code : Failure: 200 OK

2017.04.10 08:21:35 5: plex:serverDiscoveryMcast: sending multicast discovery message to 32414
2017.04.10 08:21:35 5: plex:clientDiscoveryMcast: sending multicast discovery message to 32412
2017.04.10 08:21:35 5: plex:serverDiscoveryBcast: sending broadcast discovery message to 32414
2017.04.10 08:21:35 5: plex:clientDiscoveryBcast: sending broadcast discovery message to 32412
2017.04.10 08:21:35 5: plex: from: 192.168.1.100
2017.04.10 08:21:35 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:21:35 5: plex: from: 192.168.1.100
2017.04.10 08:21:35 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:21:35 5: plex: from: 192.168.1.96
2017.04.10 08:21:35 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-player
Resource-Identifier: 9d9f5f5479604df6-com-plexapp-android
Product: Plex for Android
Port: 32500
Protocol-Version: 1
Updated-At: 1491805295
Protocol-Capabilities: timeline,playback,navigation,mirror,playqueues
Version: 5.5.0.227
Device-Class: mobile
Protocol: plex
Name: BRAVIA 4K 2015


2017.04.10 08:21:45 5: plex:serverDiscoveryMcast: sending multicast discovery message to 32414
2017.04.10 08:21:45 5: plex:clientDiscoveryMcast: sending multicast discovery message to 32412
2017.04.10 08:21:45 5: plex:serverDiscoveryBcast: sending broadcast discovery message to 32414
2017.04.10 08:21:45 5: plex: from: 192.168.1.100
2017.04.10 08:21:45 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:21:45 5: plex: from: 192.168.1.100
2017.04.10 08:21:45 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:21:46 5: plex:clientDiscoveryBcast: sending broadcast discovery message to 32412
2017.04.10 08:21:46 5: plex: from: 192.168.1.96
2017.04.10 08:21:46 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-player
Resource-Identifier: 9d9f5f5479604df6-com-plexapp-android
Product: Plex for Android
Port: 32500
Protocol-Version: 1
Updated-At: 1491805305
Protocol-Capabilities: timeline,playback,navigation,mirror,playqueues
Version: 5.5.0.227
Device-Class: mobile
Protocol: plex
Name: BRAVIA 4K 2015


2017.04.10 08:21:55 5: plex:serverDiscoveryMcast: sending multicast discovery message to 32414
2017.04.10 08:21:55 5: plex:clientDiscoveryMcast: sending multicast discovery message to 32412
2017.04.10 08:21:55 5: plex:serverDiscoveryBcast: sending broadcast discovery message to 32414
2017.04.10 08:21:55 5: plex: from: 192.168.1.100
2017.04.10 08:21:55 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:21:55 5: plex: from: 192.168.1.100
2017.04.10 08:21:55 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:21:56 5: plex:clientDiscoveryBcast: sending broadcast discovery message to 32412
2017.04.10 08:21:56 5: plex: from: 192.168.1.96
2017.04.10 08:21:56 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-player
Resource-Identifier: 9d9f5f5479604df6-com-plexapp-android
Product: Plex for Android
Port: 32500
Protocol-Version: 1
Updated-At: 1491805315
Protocol-Capabilities: timeline,playback,navigation,mirror,playqueues
Version: 5.5.0.227
Device-Class: mobile
Protocol: plex
Name: BRAVIA 4K 2015


2017.04.10 08:22:04 4: plex:timelineListener: refreshing timeline subscriptions
2017.04.10 08:22:04 5: plex:timelineListener: sending subscribe message to 192.168.1.96:32500
2017.04.10 08:22:04 4: plex: requesting http://192.168.1.96:32500/player/timeline/subscribe?protocol=http&port=40476&commandID=2525
2017.04.10 08:22:04 5: plex: received Failure: 200 OK

2017.04.10 08:22:04 5: plex: http request (http://192.168.1.96:32500/player/timeline/subscribe?protocol=http&port=40476&commandID=2525) received code : Failure: 200 OK

2017.04.10 08:22:05 5: plex:serverDiscoveryMcast: sending multicast discovery message to 32414
2017.04.10 08:22:05 5: plex:clientDiscoveryMcast: sending multicast discovery message to 32412
2017.04.10 08:22:05 5: plex:serverDiscoveryBcast: sending broadcast discovery message to 32414
2017.04.10 08:22:05 5: plex: from: 192.168.1.100
2017.04.10 08:22:05 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:22:05 5: plex: from: 192.168.1.100
2017.04.10 08:22:05 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:22:06 5: plex:clientDiscoveryBcast: sending broadcast discovery message to 32412
2017.04.10 08:22:06 5: plex: from: 192.168.1.96
2017.04.10 08:22:06 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-player
Resource-Identifier: 9d9f5f5479604df6-com-plexapp-android
Product: Plex for Android
Port: 32500
Protocol-Version: 1
Updated-At: 1491805325
Protocol-Capabilities: timeline,playback,navigation,mirror,playqueues
Version: 5.5.0.227
Device-Class: mobile
Protocol: plex
Name: BRAVIA 4K 2015


2017.04.10 08:22:15 5: plex:serverDiscoveryMcast: sending multicast discovery message to 32414
2017.04.10 08:22:15 5: plex:clientDiscoveryMcast: sending multicast discovery message to 32412
2017.04.10 08:22:15 5: plex:serverDiscoveryBcast: sending broadcast discovery message to 32414
2017.04.10 08:22:15 5: plex: from: 192.168.1.100
2017.04.10 08:22:15 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:22:15 5: plex: from: 192.168.1.100
2017.04.10 08:22:15 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:22:16 5: plex:clientDiscoveryBcast: sending broadcast discovery message to 32412
2017.04.10 08:22:16 5: plex: from: 192.168.1.96
2017.04.10 08:22:16 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-player
Resource-Identifier: 9d9f5f5479604df6-com-plexapp-android
Product: Plex for Android
Port: 32500
Protocol-Version: 1
Updated-At: 1491805335
Protocol-Capabilities: timeline,playback,navigation,mirror,playqueues
Version: 5.5.0.227
Device-Class: mobile
Protocol: plex
Name: BRAVIA 4K 2015


2017.04.10 08:22:26 5: plex:serverDiscoveryMcast: sending multicast discovery message to 32414
2017.04.10 08:22:26 5: plex:clientDiscoveryMcast: sending multicast discovery message to 32412
2017.04.10 08:22:26 5: plex:serverDiscoveryBcast: sending broadcast discovery message to 32414
2017.04.10 08:22:26 5: plex:clientDiscoveryBcast: sending broadcast discovery message to 32412
2017.04.10 08:22:26 5: plex: from: 192.168.1.100
2017.04.10 08:22:26 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:22:26 5: plex: from: 192.168.1.100
2017.04.10 08:22:26 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:22:26 5: plex: from: 192.168.1.96
2017.04.10 08:22:26 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-player
Resource-Identifier: 9d9f5f5479604df6-com-plexapp-android
Product: Plex for Android
Port: 32500
Protocol-Version: 1
Updated-At: 1491805345
Protocol-Capabilities: timeline,playback,navigation,mirror,playqueues
Version: 5.5.0.227
Device-Class: mobile
Protocol: plex
Name: BRAVIA 4K 2015


2017.04.10 08:22:34 4: plex:timelineListener: refreshing timeline subscriptions
2017.04.10 08:22:34 5: plex:timelineListener: sending subscribe message to 192.168.1.96:32500
2017.04.10 08:22:34 4: plex: requesting http://192.168.1.96:32500/player/timeline/subscribe?protocol=http&port=40476&commandID=2526
2017.04.10 08:22:34 5: plex: received Failure: 200 OK

2017.04.10 08:22:34 5: plex: http request (http://192.168.1.96:32500/player/timeline/subscribe?protocol=http&port=40476&commandID=2526) received code : Failure: 200 OK

2017.04.10 08:22:36 5: plex:serverDiscoveryMcast: sending multicast discovery message to 32414
2017.04.10 08:22:36 5: plex:clientDiscoveryMcast: sending multicast discovery message to 32412
2017.04.10 08:22:36 5: plex:serverDiscoveryBcast: sending broadcast discovery message to 32414
2017.04.10 08:22:36 5: plex:clientDiscoveryBcast: sending broadcast discovery message to 32412
2017.04.10 08:22:36 5: plex: from: 192.168.1.100
2017.04.10 08:22:36 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:22:36 5: plex: from: 192.168.1.100
2017.04.10 08:22:36 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:22:36 5: plex: from: 192.168.1.96
2017.04.10 08:22:36 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-player
Resource-Identifier: 9d9f5f5479604df6-com-plexapp-android
Product: Plex for Android
Port: 32500
Protocol-Version: 1
Updated-At: 1491805355
Protocol-Capabilities: timeline,playback,navigation,mirror,playqueues
Version: 5.5.0.227
Device-Class: mobile
Protocol: plex
Name: BRAVIA 4K 2015


2017.04.10 08:22:46 5: plex:serverDiscoveryMcast: sending multicast discovery message to 32414
2017.04.10 08:22:46 5: plex:clientDiscoveryMcast: sending multicast discovery message to 32412
2017.04.10 08:22:46 5: plex:serverDiscoveryBcast: sending broadcast discovery message to 32414
2017.04.10 08:22:46 5: plex:clientDiscoveryBcast: sending broadcast discovery message to 32412
2017.04.10 08:22:46 5: plex: from: 192.168.1.100
2017.04.10 08:22:46 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:22:46 5: plex: from: 192.168.1.100
2017.04.10 08:22:46 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:22:46 5: plex: from: 192.168.1.96
2017.04.10 08:22:46 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-player
Resource-Identifier: 9d9f5f5479604df6-com-plexapp-android
Product: Plex for Android
Port: 32500
Protocol-Version: 1
Updated-At: 1491805366
Protocol-Capabilities: timeline,playback,navigation,mirror,playqueues
Version: 5.5.0.227
Device-Class: mobile
Protocol: plex
Name: BRAVIA 4K 2015


2017.04.10 08:22:56 5: plex:serverDiscoveryMcast: sending multicast discovery message to 32414
2017.04.10 08:22:56 5: plex:clientDiscoveryMcast: sending multicast discovery message to 32412
2017.04.10 08:22:56 5: plex:serverDiscoveryBcast: sending broadcast discovery message to 32414
2017.04.10 08:22:56 5: plex:clientDiscoveryBcast: sending broadcast discovery message to 32412
2017.04.10 08:22:56 5: plex: from: 192.168.1.100
2017.04.10 08:22:56 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:22:56 5: plex: from: 192.168.1.100
2017.04.10 08:22:56 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491789186
Version: 1.4.4.3495-edef59192


2017.04.10 08:22:56 5: plex: from: 192.168.1.96
2017.04.10 08:22:56 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-player
Resource-Identifier: 9d9f5f5479604df6-com-plexapp-android
Product: Plex for Android
Port: 32500
Protocol-Version: 1
Updated-At: 1491805376
Protocol-Capabilities: timeline,playback,navigation,mirror,playqueues
Version: 5.5.0.227
Device-Class: mobile
Protocol: plex
Name: BRAVIA 4K 2015


2017.04.10 08:23:04 4: plex:timelineListener: refreshing timeline subscriptions
2017.04.10 08:23:04 5: plex:timelineListener: sending subscribe message to 192.168.1.96:32500
2017.04.10 08:23:04 4: plex: requesting http://192.168.1.96:32500/player/timeline/subscribe?protocol=http&port=40476&commandID=2527
2017.04.10 08:23:04 5: plex: received Failure: 200 OK

2017.04.10 08:23:04 5: plex: http request (http://192.168.1.96:32500/player/timeline/subscribe?protocol=http&port=40476&commandID=2527) received code : Failure: 200 OK


kruz vorher hatte ich den Fehler aber nicht mehr, bzw er tritt nur sporadisch auf.

Gruß Michael
Wissen ist Macht.
Ich weiß nix.
Macht nix.

justme1968

ich brauche das log kurz vor und nach dem fehler von oben :)
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

l2r

okay, dann warte ich mal bis der Fehler wieder auftritt und dann bekommst du dein log.

Gruß Michael
Wissen ist Macht.
Ich weiß nix.
Macht nix.

l2r

Bitteschön.

ich habe jetzt noch ein paar Zeilen davor und danach mit reingepackt

2017.04.10 08:43:22 5: plex: from: 192.168.1.96
2017.04.10 08:43:22 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-player
Resource-Identifier: 9d9f5f5479604df6-com-plexapp-android
Product: Plex for Android
Port: 32500
Protocol-Version: 1
Updated-At: 1491806601
Protocol-Capabilities: timeline,playback,navigation,mirror,playqueues
Version: 5.5.0.227
Device-Class: mobile
Protocol: plex
Name: BRAVIA 4K 2015


Use of uninitialized value in string eq at ./FHEM/37_plex.pm line 4075.
Use of uninitialized value in concatenation (.) or string at ./FHEM/37_plex.pm line 4145.
2017.04.10 08:43:23 4: plex: unhandled websocket text type: : {"NotificationContainer":{"type":"update.statechange","size":1,"AutoUpdateNotification":[{"key":"https://plex.tv/updater/releases/2044","version":"1.5.3.3580-4b377d295","added":"(Web) Updated Plex Web to 3.2.1.","fixed":"(Photos) Large libraries could be slow to load under certain circumstances (#6615)","downloadURL":"https://plex.tv/downloads/latest/1?channel=16&build=windows-i386&distro=english&X-Plex-Token=2p6ypmZBfc42eUxtyY6h","state":"available"}]}}
Use of uninitialized value in string eq at ./FHEM/37_plex.pm line 4075.
Use of uninitialized value in concatenation (.) or string at ./FHEM/37_plex.pm line 4145.
2017.04.10 08:43:24 4: plex: unhandled websocket text type: : {"NotificationContainer":{"type":"update.statechange","size":1,"AutoUpdateNotification":[{"key":"https://plex.tv/updater/releases/2044","version":"1.5.3.3580-4b377d295","added":"(Web) Updated Plex Web to 3.2.1.","fixed":"(Photos) Large libraries could be slow to load under certain circumstances (#6615)","downloadURL":"https://plex.tv/downloads/latest/1?channel=16&build=windows-i386&distro=english&X-Plex-Token=2p6ypmZBfc42eUxtyY6h","state":"downloading","progress":0}]}}
2017.04.10 08:43:24 5: plex:timelineListener:56435: keepalive
2017.04.10 08:43:24 5: plex: POST /:/timeline HTTP/1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36
Host: 192.168.1.104:44027
Accept: */*
Accept-Encoding: gzip
X-Plex-Platform: Firefox
X-Plex-Platform-Version: 52.0
X-Plex-Product: Plex Web
X-Plex-Device-Name: Plex Web (Firefox)
X-Plex-Version: 3.1.1
X-Plex-Client-Identifier: nh73chld1e
Content-Length: 452
Content-Type: application/x-www-form-urlencoded

<MediaContainer commandID="30" location="navigation">
<Timeline controllable="playPause,stop,skipPrevious,skipNext,seekTo,stepBack,stepForward,subtitleStream,volume" seekRange="0-0" time="0" type="video" />
<Timeline controllable="playPause,stop,skipPrevious,skipNext,seekTo,repeat,volume" seekRange="0-0" time="0" type="music" />
<Timeline controllable="playPause,stop,skipPrevious,skipNext" seekRange="0-0" time="0" type="photo" />
</MediaContainer>

2017.04.10 08:43:24 5: plex:timelineListener:56435: add header: HTTP/1.1 200 OK
Connection: Keep-Alive
Content-Length: 0

2017.04.10 08:43:24 4: plex:timelineListener:56435: disconnected
Use of uninitialized value in string eq at ./FHEM/37_plex.pm line 4075.
Use of uninitialized value in concatenation (.) or string at ./FHEM/37_plex.pm line 4145.
2017.04.10 08:43:25 4: plex: unhandled websocket text type: : {"NotificationContainer":{"type":"reachability","size":1,"ReachabilityNotification":[{"reachability":true}]}}
Use of uninitialized value in string eq at ./FHEM/37_plex.pm line 4075.
Use of uninitialized value in concatenation (.) or string at ./FHEM/37_plex.pm line 4145.
2017.04.10 08:43:25 4: plex: unhandled websocket text type: : {"NotificationContainer":{"type":"update.statechange","size":1,"AutoUpdateNotification":[{"key":"https://plex.tv/updater/releases/2044","version":"1.5.3.3580-4b377d295","added":"(Web) Updated Plex Web to 3.2.1.","fixed":"(Photos) Large libraries could be slow to load under certain circumstances (#6615)","downloadURL":"https://plex.tv/downloads/latest/1?channel=16&build=windows-i386&distro=english&X-Plex-Token=2p6ypmZBfc42eUxtyY6h","state":"downloaded"}]}}
2017.04.10 08:43:31 5: plex:serverDiscoveryMcast: sending multicast discovery message to 32414
2017.04.10 08:43:31 5: plex:clientDiscoveryMcast: sending multicast discovery message to 32412
2017.04.10 08:43:31 5: plex:serverDiscoveryBcast: sending broadcast discovery message to 32414
2017.04.10 08:43:31 5: plex:clientDiscoveryBcast: sending broadcast discovery message to 32412
2017.04.10 08:43:31 5: plex: from: 192.168.1.100
2017.04.10 08:43:31 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-player
Device-Class: pc
Name: Plex Web (Firefox)
Port: 32400
Product: Plex Web
Protocol: plex
Protocol-Capabilities: timeline,playback,navigation,mirror,playqueues
Protocol-Version: 1
Resource-Identifier: nh73chld1e
Version: 3.1.1


2017.04.10 08:43:31 5: plex: from: 192.168.1.100
2017.04.10 08:43:31 5: plex: HTTP/1.0 200 OK
Content-Type: plex/media-server
Host: bfa48aeb4f4b4aea81b2d69b046dadbe.plex.direct
Name: SERVER
Port: 32400
Resource-Identifier: b7f5d1f61bcdffa8179c88c1f0a0cd5de566c38c
Updated-At: 1491806589
Version: 1.4.4.3495-edef59192



Gruß Michael
Wissen ist Macht.
Ich weiß nix.
Macht nix.

justme1968

sehr gut. danke. da wird scheinbar eine update info geschickt.

die meldungen sollten ab morgen weg sein.
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

MPDb

Hallo,
Ich nutze plex mit fhem jetzt ein paar Tage und wollte mir nun im FTUI eine kleine "was wird gerade gezeigt" Page basteln.
Funktioniert auch eigentlich ganz gut, aber ich bekomme das Cover nicht angezeigt.

Ich nutze myPlex mit PIN, sehe alle meine Clients und Server , kann auch über fhem die Clients steuern.
Wenn ich das Reading Cover nutzen will, bekomme ich "Zugriff verweigert" das gleiche bei "get ... details"

Erst wenn ich meinen X-Plex-Token an die URL anhänge funktioniert es.

Bisher habe ich es nicht geschafft, das automatisch zu machen - aber ich bin auch wirklich schlecht im programmieren ;)

Gibt es eine Möglichkeit, das man das X-Plex-Token vielleicht per Attribut automatisch anhängen kann, die ich bisher übersehen habe, oder mache ich etwas komplett anderes falsch?

Danke
Falko