Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter Plex v0.8.x

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Test Adapter Plex v0.8.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • sigi234
      sigi234 Forum Testing Most Active @DJMarc75 last edited by

      @djmarc75 sagte in Test Adapter Plex v0.8.x:

      @sigi234 sagte in Test Adapter Plex v0.8.x:

      Nein , das funktioniert bei mir nicht

      Woran hängts ?

      Keine Ahnung.
      Habe aber eine JSON in den Objekten gefunden, das genügt mit so. Leider aktualisiert sich die View nicht, da bin ich drann.

      Screenshot (178).png

      DJMarc75 1 Reply Last reply Reply Quote 0
      • DJMarc75
        DJMarc75 @sigi234 last edited by

        @sigi234 sagte in Test Adapter Plex v0.8.x:

        das genügt mit so

        lass es uns gemeinsam angehen 😉

        Hast Du im Adapter einen Port für Webhooks eingetragen ?

        sigi234 T 2 Replies Last reply Reply Quote 1
        • sigi234
          sigi234 Forum Testing Most Active @DJMarc75 last edited by

          @djmarc75 sagte in Test Adapter Plex v0.8.x:

          Hast Du im Adapter einen Port für Webhooks eingetragen ?

          Ja

          41891

          DJMarc75 1 Reply Last reply Reply Quote 0
          • T
            ticaki Developer @DJMarc75 last edited by

            @djmarc75
            Das interessiert mich jetzt auch 🙂

            1 Reply Last reply Reply Quote 0
            • DJMarc75
              DJMarc75 @sigi234 last edited by DJMarc75

              @sigi234 @ticaki

              Dann fangen wir mal an:

              Ich gehe davon aus dass Tautulli irgendwo installiert ist und über den Browser aufgerufen werden kann und auf der Startseite auch ACTIVITY, WATCH STATISTICS, usw zu sehen ist.

              Dann können wir mal auf Settings gehen und den Punkt "Notification Agents" anklicken:

              Screenshot 2023-08-14 130240.png

              Webhook auswählen.

              Hier

              Screenshot 2023-08-14 130624.png

              gibt man bei Webhook URL die IP vom iob ein auf welchem der Adapter läuft und den im Adapter eingetragenen Webhookport gefolgt von /tautulli.

              http://192.168.178.xyz:123456/tautulli
              

              jetzt mal auf SAVE klicken und wir machen mit den Triggern weiter.

              T sigi234 2 Replies Last reply Reply Quote 0
              • T
                ticaki Developer @DJMarc75 last edited by ticaki

                @djmarc75

                Unexpected token u in JSON at position 0
                

                Das werde ich dann abfangen und deine nächsten Schritte in kurzform ins log schreiben 🙂

                denke das stimmt und ist hilfreicher als unexpected

                adapter.log.warn('Tautulli notification ' + e.message + ' - check the webhook data configuration page in Tautulli.');
                			
                
                1 Reply Last reply Reply Quote 2
                • sigi234
                  sigi234 Forum Testing Most Active @DJMarc75 last edited by sigi234

                  @djmarc75 sagte in Test Adapter Plex v0.8.x:

                  jetzt mal auf SAVE klicken und wir machen mit den Triggern weiter.

                  Erledigt

                  Da hatte ich /plex

                  stehen.
                  .

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

                    Hier könnt Ihr Euch austoben aber die sinnvollste Auswahl ist "erstmal" folgende:

                    Screenshot 2023-08-14 131142.png

                    wieder auf SAVE klicken.

                    Wir übergehen jetzt aber mal den nächsten Punkt "Conditions" und wählen den Punkt "Data" aus:

                    Screenshot 2023-08-14 131422.png

                    Hier könnt Ihr nun die im Trigger ausgewählten Attribute bearbeiten.
                    Fangen wir einfach mit "Playback Start" an:

                    Screenshot 2023-08-14 131800.png

                    Ich stelle Euch jetzt eine von mir geschriebene JSON zur Verfügung welche Ihr in "JSON Data" einfügt:

                    {
                       "event":"media.{action}",
                       "user":"undefined",
                       "owner":"undefined",
                       "Account":{
                       	"userId":"{user_id}",
                       	"id":"undefined",
                       	"thumb":"{user_thumb}",
                       	"title":"{username}"
                       },
                       "Server":{
                       	"title":"{server_name}",
                       	"uuid":"{server_machine_id}"
                       },
                       "Player":{
                       	"local":"{stream_local}",
                       	"localAddress":"{ip_address}",
                       	"publicAddress":"undefined",
                       	"title":"{player}",
                       	"uuid":"{machine_id}"
                       },
                       "Metadata":{
                       	"librarySectionType":"{media_type}",
                       	"plexLink":"{rating_key}",
                       	"parentRatingKey":"{parent_rating_key}",
                       	"grandparentRatingKey":"{grandparent_rating_key}",
                       	"key":"/library/metadata/{rating_key}",
                       	"guid":"com.plexapp.agents.imdb://{imdb_id}?lang=en",
                       	"librarySectionTitle":"{library_name}",
                       	"librarySectionID":"{section_id}",
                       	"librarySectionKey":"/library/sections/{section_id}",
                       	"studio":"{studio}",
                       	"type":"{media_type}",
                       	"title":"{title}",
                       	 "Country":"undefined",
                       	  "Producer":"undefined",
                       	"grandparentTitle":"{show_name}",
                       	"parentTitle":"{episode_name}",
                       	"contentRating":"{content_rating}",
                       	"rating":"{rating}",
                                   "userrating":"{rating}",
                       	"tagline":"{tagline}",
                       	"chapterSource":"undefined",
                       	"primaryExtraKey":"undefined",
                       	"ratingImage":"imdb://image.rating",
                                   "TMDBurl":"{themoviedb_url}",
                       	"Genre":"{genres}",
                                   "Event":"{action}",
                               "tautulli":{
                                   "Player":"{player}",
                       	        "LibraryTyp":"{library_name}",
                       	        "Filmstudio":"{studio}",
                       	        "Titel":"{title}",
                                   "Originaltitel":"{original_title}",
                       	        "SerienName":"{show_name}",
                       	        "FolgeName":"{episode_name}",
                       	        "Status":"{action}",
                       	        "Beschreibung":"{summary}",
                                   "Bewertung":"{audience_rating}",
                       	        "Jahr":"{year}",
                                   "Genre":"{genres}",
                                   "Hintergrund":"{art}",
                       	        "SerienBanner":"{banner}",
                                   "Cover":"<movie>{thumb}</movie><show>{grandparent_thumb}</show><season>{grandparent_thumb}</season><episode>{grandparent_thumb}</episode><artist>{grandparent_thumb}</artist><album>{grandparent_thumb}</album><track>{grandparent_thumb}</track>", 
                       	        "DauerMinuten":"{duration}",
                                   "DauerSekunden":"{duration_sec}",
                                   "VerbleibendMinuten": "{remaining_duration}",
                                   "VerbleibendSekunden": "{remaining_duration_sec}",
                       	        "VerbleibendZeit": "{remaining_time}",
                       	        "FortschrittMinuten": "{progress_duration}",
                                   "FortschrittSekunden": "{progress_duration_sec}",
                       	        "FortschrittZeit": "{progress_time}",
                       	        "FortschrittProzent": "{progress_percent}",
                       	        "Veroeffentlichung":"{release_date}",
                       	        "UploadDatum":"{added_date}",
                                   "AbspielDatum":"{last_viewed_date}",
                       	        "Kategorie":"{genres}",
                       	        "Regisseur":"{directors}",
                       	        "Drehbuch":"{writers}",
                       	        "Kollektion":"{collections}",
                       	        "Darsteller":"{actors:[:30]}",
                                   "Folge":"{episode_num}",
                                   "Staffel":"{season_num}"
                                   },
                       	"video": {
                       		"container": "{container}",
                       		"bitrate": "{bitrate}",
                       		"aspect_ratio": "{aspect_ratio}",
                       		"video_codec": "{video_codec}",
                       		"video_codec_level": "{video_codec_level}",
                       		"video_bitrate": "{video_bitrate}",
                       		"video_bit_depth": "{video_bit_depth}",
                       		"video_framerate": "{video_framerate}",
                       		"video_ref_frames": "{video_ref_frames}",
                       		"video_resolution": "{video_resolution}",
                       		"video_height": "{video_height}",
                       		"video_width": "{video_width}",
                       		"video_language": "{video_language}",
                       		"video_language_code": "{video_language_code}"
                       	},
                       	"audio": {
                       		"audio_bitrate": "{audio_bitrate}",
                       		"audio_bitrate_mode": "{audio_bitrate_mode}",
                       		"audio_codec": "{audio_codec}",
                       		"audio_channels": "{audio_channels}",
                       		"audio_channel_layout": "{audio_channel_layout}",
                       		"audio_sample_rate": "{audio_sample_rate}",
                       		"audio_language": "{audio_language}",
                       		"audio_language_code": "{audio_language_code}"
                       	},
                       	"subtitles": {
                       		"subtitle_codec": "{subtitle_codec}",
                       		"subtitle_container": "{subtitle_container}",
                       		"subtitle_format": "{subtitle_format}",
                       		"subtitle_forced": "{subtitle_forced}",
                       		"subtitle_location": "{subtitle_location}",
                       		"subtitle_language": "{subtitle_language}",
                       		"subtitle_language_code": "{subtitle_language_code}"
                       	},
                       	"file": {
                       		"path": "{file}",
                       		"name": "{filename}",
                       		"size": "{file_size}"
                       	},
                       	"transcoding": {
                       		"transcode_decision": "{transcode_decision}",
                       		"video_decision": "{video_decision}",
                       		"audio_decision": "{audio_decision}",
                       		"subtitle_decision": "{subtitle_decision}",
                       		"transcode_container": "{transcode_container}",
                       		"transcode_video_codec": "{transcode_video_codec}",
                       		"transcode_video_width": "{transcode_video_width}",
                       		"transcode_video_height": "{transcode_video_height}",
                       		"transcode_audio_codec": "{transcode_audio_codec}",
                       		"transcode_audio_channels": "{transcode_audio_channels}",
                       		"transcode_hw_requested": "{transcode_hw_requested}",
                       		"transcode_hw_decoding": "{transcode_hw_decoding}",
                       		"transcode_hw_decode": "{transcode_hw_decode}",
                       		"transcode_hw_decode_title": "{transcode_hw_decode_title}",
                       		"transcode_hw_encoding": "{transcode_hw_encoding}",
                       		"transcode_hw_encode": "{transcode_hw_encode}",
                       		"transcode_hw_encode_title": "{transcode_hw_encode_title}"
                       	},
                       	"stream": {
                       		"user": {
                       			"streams": "{streams}",
                       			"user_streams": "{user_streams}",
                       			"name": "{user}",
                       			"user": "{username}",
                       			"email": "{user_email}"
                       		},
                       		"player": {
                       			"device": "{device}",
                       			"platform": "{platform}",
                       			"product": "{product}",
                       			"player": "{player}",
                       			"ip_address": "{ip_address}"
                       		},
                       		"quality_profile": "{quality_profile}",
                       		"optimized_version": "{optimized_version}",
                       		"optimized_version_profile": "{optimized_version_profile}",
                       		"synced_version": "{synced_version}",
                       		"live": "{live}",
                       		"stream_local": "{stream_local}",
                       		"stream_location": "{stream_location}",
                       		"stream_bandwidth": "{stream_bandwidth}",
                       		"stream_container": "{stream_container}",
                       		"stream_bitrate": "{stream_bitrate}",
                       		"stream_aspect_ratio": "{stream_aspect_ratio}",
                       		"stream_duration": "{stream_duration}",
                       		"stream_time": "{stream_time}",
                       		"remaining_duration": "{remaining_duration}",
                                           "remaining_duration_sec": "{remaining_duration_sec}",
                       		"remaining_time": "{remaining_time}",
                       		"progress_duration": "{progress_duration}",
                                           "progress_duration_sec": "{progress_duration_sec}",
                       		"progress_time": "{progress_time}",
                       		"progress_percent": "{progress_percent}",
                       		"stream_video": {
                       			"stream_video_codec": "{stream_video_codec}",
                       			"stream_video_codec_level": "{stream_video_codec_level}",
                       			"stream_video_bitrate": "{stream_video_bitrate}",
                       			"stream_video_bit_depth": "{stream_video_bit_depth}",
                       			"stream_video_framerate": "{stream_video_framerate}",
                       			"stream_video_ref_frames": "{stream_video_ref_frames}",
                       			"stream_video_resolution": "{stream_video_resolution}",
                       			"stream_video_height": "{stream_video_height}",
                       			"stream_video_width": "{stream_video_width}",
                       			"stream_video_language": "{stream_video_language}",
                       			"stream_video_language_code": "{stream_video_language_code}"
                       		},
                       		"stream_audio": {
                       			"stream_audio_bitrate": "{stream_audio_bitrate}",
                       			"stream_audio_bitrate_mode": "{stream_audio_bitrate_mode}",
                       			"stream_audio_codec": "{stream_audio_codec}",
                       			"stream_audio_channels": "{stream_audio_channels}",
                       			"stream_audio_channel_layout": "{stream_audio_channel_layout}",
                       			"stream_audio_sample_rate": "{stream_audio_sample_rate}",
                       			"stream_audio_language": "{stream_audio_language}",
                       			"stream_audio_language_code": "{stream_audio_language_code}"
                       		},
                       		"stream_subtitle": {
                       			"stream_subtitle_codec": "{stream_subtitle_codec}",
                       			"stream_subtitle_container": "{stream_subtitle_container}",
                       			"stream_subtitle_format": "{stream_subtitle_format}",
                       			"stream_subtitle_forced": "{stream_subtitle_forced}",
                       			"stream_subtitle_language": "{stream_subtitle_language}",
                       			"stream_subtitle_language_code": "{stream_subtitle_language_code}",
                       			"stream_subtitle_location": "{stream_subtitle_location}"
                       		}
                       	}
                       }
                    }
                    
                    

                    Diese JSON beinhaltet auch, dass ein Ordner "tautulli" unter den jeweiligen PlayerMetaOrdner angelegt wird und mit von mir definierten Attributen befüllt wird. Also HIER:

                    plex.0._playing.firetvwohnzimmerxxx.Metadata.tautulli
                    

                    Save klicken und das JSON auch in den jeweiligen anderen gewählten Trigger unter JSON Data einfügen.

                    Ist dies getan dann nochmals SAVE und schliessen.

                    Wenn Ihr das befolgt habt sollte beim nächsten Abspielen eines Filmes oder von Musik alles befüllt werden.

                    sigi234 1 Reply Last reply Reply Quote 1
                    • sigi234
                      sigi234 Forum Testing Most Active @DJMarc75 last edited by

                      @djmarc75 sagte in Test Adapter Plex v0.8.x:

                      Wenn Ihr das befolgt habt sollte beim nächsten Abspielen eines Filmes oder von Musik alles befüllt werden.

                      👍

                      Screenshot (183).png

                      DJMarc75 1 Reply Last reply Reply Quote 1
                      • DJMarc75
                        DJMarc75 @sigi234 last edited by DJMarc75

                        @sigi234 Schön dass es funktioniert.
                        Ich verfeinere die JSON die nächsten Tage damit auch unter NAME zum jeweiligen DP was gescheites drin steht 😉

                        edit:

                        der erstellte DP

                        _data
                        

                        kann perfekt zum Auswerten in einer Logikmaschine verwendet werden 🙂

                        sigi234 T 2 Replies Last reply Reply Quote 0
                        • sigi234
                          sigi234 Forum Testing Most Active @DJMarc75 last edited by

                          @djmarc75 sagte in Test Adapter Plex v0.8.x:

                          @sigi234 Schön dass es funktioniert.
                          Ich verfeinere die JSON die nächsten Tage damit auch unter NAME zum jeweiligen DP was gescheites drin steht 😉

                          edit:

                          der erstellte DP

                          _data
                          

                          kann perfekt zum Auswerten in einer Logikmaschine verwendet werden 🙂

                          Super, die Fortschrittanzeigen laufen nicht in Echtzeit mit , denke man muss es in den Adaptereinstellungen einstellen.

                          DJMarc75 2 Replies Last reply Reply Quote 0
                          • DJMarc75
                            DJMarc75 @sigi234 last edited by DJMarc75

                            @sigi234 sagte in Test Adapter Plex v0.8.x:

                            denke man muss es in den Adaptereinstellungen einstellen.

                            nein, die Zeiten werden immer nur aktualisiert wenn einer der gewählten Trigger ausgelöst wird.
                            Ich selbst löse das Thema Fortschrittsanzeige über Blocklys. Dazu kommen wir aber erst in ein paar Tagen 😉

                            könnte ja einen neuen Beitrag unter Showcase aufmachen, aber das braucht ein paar Tage.

                            1 Reply Last reply Reply Quote 0
                            • DJMarc75
                              DJMarc75 @sigi234 last edited by DJMarc75

                              @sigi234 weil Du ja Musik über Plex hörst hier nochmals das JSON angepasst mit Künstler, Lied und Album

                              {
                                 "event":"media.{action}",
                                 "user":"undefined",
                                 "owner":"undefined",
                                 "Account":{
                                 	"userId":"{user_id}",
                                 	"id":"undefined",
                                 	"thumb":"{user_thumb}",
                                 	"title":"{username}"
                                 },
                                 "Server":{
                                 	"title":"{server_name}",
                                 	"uuid":"{server_machine_id}"
                                 },
                                 "Player":{
                                 	"local":"{stream_local}",
                                 	"localAddress":"{ip_address}",
                                 	"publicAddress":"undefined",
                                 	"title":"{player}",
                                 	"uuid":"{machine_id}"
                                 },
                                 "Metadata":{
                                 	"librarySectionType":"{media_type}",
                                 	"plexLink":"{rating_key}",
                                 	"parentRatingKey":"{parent_rating_key}",
                                 	"grandparentRatingKey":"{grandparent_rating_key}",
                                 	"key":"/library/metadata/{rating_key}",
                                 	"guid":"com.plexapp.agents.imdb://{imdb_id}?lang=en",
                                 	"librarySectionTitle":"{library_name}",
                                 	"librarySectionID":"{section_id}",
                                 	"librarySectionKey":"/library/sections/{section_id}",
                                 	"studio":"{studio}",
                                 	"type":"{media_type}",
                                 	"title":"{title}",
                                 	 "Country":"undefined",
                                 	  "Producer":"undefined",
                                 	"grandparentTitle":"{show_name}",
                                 	"parentTitle":"{episode_name}",
                                 	"contentRating":"{content_rating}",
                                 	"rating":"{rating}",
                                             "userrating":"{rating}",
                                 	"tagline":"{tagline}",
                                 	"chapterSource":"undefined",
                                 	"primaryExtraKey":"undefined",
                                 	"ratingImage":"imdb://image.rating",
                                             "TMDBurl":"{themoviedb_url}",
                                 	"Genre":"{genres}",
                                             "Event":"{action}",
                                         "tautulli":{
                                             "Player":"{player}",
                                 	        "LibraryTyp":"{library_name}",
                                 	        "Filmstudio":"{studio}",
                                 	        "Titel":"{title}",
                                             "Originaltitel":"{original_title}",
                                 	        "SerienName":"{show_name}",
                                 	        "FolgeName":"{episode_name}",
                                 	        "Status":"{action}",
                                 	        "Beschreibung":"{summary}",
                                             "Bewertung":"{audience_rating}",
                                 	        "Jahr":"{year}",
                                             "Genre":"{genres}",
                                             "Hintergrund":"{art}",
                                 	        "SerienBanner":"{banner}",
                                             "Cover":"<movie>{thumb}</movie><show>{grandparent_thumb}</show><season>{grandparent_thumb}</season><episode>{grandparent_thumb}</episode><artist>{grandparent_thumb}</artist><album>{grandparent_thumb}</album><track>{grandparent_thumb}</track>", 
                                 	        "DauerMinuten":"{duration}",
                                             "DauerSekunden":"{duration_sec}",
                                             "VerbleibendMinuten": "{remaining_duration}",
                                             "VerbleibendSekunden": "{remaining_duration_sec}",
                                 	        "VerbleibendZeit": "{remaining_time}",
                                 	        "FortschrittMinuten": "{progress_duration}",
                                             "FortschrittSekunden": "{progress_duration_sec}",
                                 	        "FortschrittZeit": "{progress_time}",
                                 	        "FortschrittProzent": "{progress_percent}",
                                 	        "Veroeffentlichung":"{release_date}",
                                 	        "UploadDatum":"{added_date}",
                                             "AbspielDatum":"{last_viewed_date}",
                                 	        "Kategorie":"{genres}",
                                 	        "Regisseur":"{directors}",
                                 	        "Drehbuch":"{writers}",
                                 	        "Kollektion":"{collections}",
                                 	        "Darsteller":"{actors:[:30]}",
                                             "Folge":"{episode_num}",
                                             "Staffel":"{season_num}",
                                 			"Künstler":"{artist_name},
                                 			"Lied":"{track_name}",
                                 			"Album":"{album_name}"
                                             },
                                 	"video": {
                                 		"container": "{container}",
                                 		"bitrate": "{bitrate}",
                                 		"aspect_ratio": "{aspect_ratio}",
                                 		"video_codec": "{video_codec}",
                                 		"video_codec_level": "{video_codec_level}",
                                 		"video_bitrate": "{video_bitrate}",
                                 		"video_bit_depth": "{video_bit_depth}",
                                 		"video_framerate": "{video_framerate}",
                                 		"video_ref_frames": "{video_ref_frames}",
                                 		"video_resolution": "{video_resolution}",
                                 		"video_height": "{video_height}",
                                 		"video_width": "{video_width}",
                                 		"video_language": "{video_language}",
                                 		"video_language_code": "{video_language_code}"
                                 	},
                                 	"audio": {
                                 		"audio_bitrate": "{audio_bitrate}",
                                 		"audio_bitrate_mode": "{audio_bitrate_mode}",
                                 		"audio_codec": "{audio_codec}",
                                 		"audio_channels": "{audio_channels}",
                                 		"audio_channel_layout": "{audio_channel_layout}",
                                 		"audio_sample_rate": "{audio_sample_rate}",
                                 		"audio_language": "{audio_language}",
                                 		"audio_language_code": "{audio_language_code}"
                                 	},
                                 	"subtitles": {
                                 		"subtitle_codec": "{subtitle_codec}",
                                 		"subtitle_container": "{subtitle_container}",
                                 		"subtitle_format": "{subtitle_format}",
                                 		"subtitle_forced": "{subtitle_forced}",
                                 		"subtitle_location": "{subtitle_location}",
                                 		"subtitle_language": "{subtitle_language}",
                                 		"subtitle_language_code": "{subtitle_language_code}"
                                 	},
                                 	"file": {
                                 		"path": "{file}",
                                 		"name": "{filename}",
                                 		"size": "{file_size}"
                                 	},
                                 	"transcoding": {
                                 		"transcode_decision": "{transcode_decision}",
                                 		"video_decision": "{video_decision}",
                                 		"audio_decision": "{audio_decision}",
                                 		"subtitle_decision": "{subtitle_decision}",
                                 		"transcode_container": "{transcode_container}",
                                 		"transcode_video_codec": "{transcode_video_codec}",
                                 		"transcode_video_width": "{transcode_video_width}",
                                 		"transcode_video_height": "{transcode_video_height}",
                                 		"transcode_audio_codec": "{transcode_audio_codec}",
                                 		"transcode_audio_channels": "{transcode_audio_channels}",
                                 		"transcode_hw_requested": "{transcode_hw_requested}",
                                 		"transcode_hw_decoding": "{transcode_hw_decoding}",
                                 		"transcode_hw_decode": "{transcode_hw_decode}",
                                 		"transcode_hw_decode_title": "{transcode_hw_decode_title}",
                                 		"transcode_hw_encoding": "{transcode_hw_encoding}",
                                 		"transcode_hw_encode": "{transcode_hw_encode}",
                                 		"transcode_hw_encode_title": "{transcode_hw_encode_title}"
                                 	},
                                 	"stream": {
                                 		"user": {
                                 			"streams": "{streams}",
                                 			"user_streams": "{user_streams}",
                                 			"name": "{user}",
                                 			"user": "{username}",
                                 			"email": "{user_email}"
                                 		},
                                 		"player": {
                                 			"device": "{device}",
                                 			"platform": "{platform}",
                                 			"product": "{product}",
                                 			"player": "{player}",
                                 			"ip_address": "{ip_address}"
                                 		},
                                 		"quality_profile": "{quality_profile}",
                                 		"optimized_version": "{optimized_version}",
                                 		"optimized_version_profile": "{optimized_version_profile}",
                                 		"synced_version": "{synced_version}",
                                 		"live": "{live}",
                                 		"stream_local": "{stream_local}",
                                 		"stream_location": "{stream_location}",
                                 		"stream_bandwidth": "{stream_bandwidth}",
                                 		"stream_container": "{stream_container}",
                                 		"stream_bitrate": "{stream_bitrate}",
                                 		"stream_aspect_ratio": "{stream_aspect_ratio}",
                                 		"stream_duration": "{stream_duration}",
                                 		"stream_time": "{stream_time}",
                                 		"remaining_duration": "{remaining_duration}",
                                                     "remaining_duration_sec": "{remaining_duration_sec}",
                                 		"remaining_time": "{remaining_time}",
                                 		"progress_duration": "{progress_duration}",
                                                     "progress_duration_sec": "{progress_duration_sec}",
                                 		"progress_time": "{progress_time}",
                                 		"progress_percent": "{progress_percent}",
                                 		"stream_video": {
                                 			"stream_video_codec": "{stream_video_codec}",
                                 			"stream_video_codec_level": "{stream_video_codec_level}",
                                 			"stream_video_bitrate": "{stream_video_bitrate}",
                                 			"stream_video_bit_depth": "{stream_video_bit_depth}",
                                 			"stream_video_framerate": "{stream_video_framerate}",
                                 			"stream_video_ref_frames": "{stream_video_ref_frames}",
                                 			"stream_video_resolution": "{stream_video_resolution}",
                                 			"stream_video_height": "{stream_video_height}",
                                 			"stream_video_width": "{stream_video_width}",
                                 			"stream_video_language": "{stream_video_language}",
                                 			"stream_video_language_code": "{stream_video_language_code}"
                                 		},
                                 		"stream_audio": {
                                 			"stream_audio_bitrate": "{stream_audio_bitrate}",
                                 			"stream_audio_bitrate_mode": "{stream_audio_bitrate_mode}",
                                 			"stream_audio_codec": "{stream_audio_codec}",
                                 			"stream_audio_channels": "{stream_audio_channels}",
                                 			"stream_audio_channel_layout": "{stream_audio_channel_layout}",
                                 			"stream_audio_sample_rate": "{stream_audio_sample_rate}",
                                 			"stream_audio_language": "{stream_audio_language}",
                                 			"stream_audio_language_code": "{stream_audio_language_code}"
                                 		},
                                 		"stream_subtitle": {
                                 			"stream_subtitle_codec": "{stream_subtitle_codec}",
                                 			"stream_subtitle_container": "{stream_subtitle_container}",
                                 			"stream_subtitle_format": "{stream_subtitle_format}",
                                 			"stream_subtitle_forced": "{stream_subtitle_forced}",
                                 			"stream_subtitle_language": "{stream_subtitle_language}",
                                 			"stream_subtitle_language_code": "{stream_subtitle_language_code}",
                                 			"stream_subtitle_location": "{stream_subtitle_location}"
                                 		}
                                 	}
                                 }
                              }
                              
                              

                              sigi234 1 Reply Last reply Reply Quote 0
                              • T
                                ticaki Developer @DJMarc75 last edited by

                                @djmarc75 sagte in Test Adapter Plex v0.8.x:

                                @sigi234 Schön dass es funktioniert.
                                Ich verfeinere die JSON die nächsten Tage damit auch unter NAME zum jeweiligen DP was gescheites drin steht 😉

                                Kannst du mir dafür ein ganz kurzes Muster Json geben, damit ich den Code dazu schneller verstehe?

                                DJMarc75 1 Reply Last reply Reply Quote 0
                                • sigi234
                                  sigi234 Forum Testing Most Active @DJMarc75 last edited by sigi234

                                  @djmarc75 sagte in Test Adapter Plex v0.8.x:

                                  weil Du ja Musik über Plex hörst hier nochmals das JSON angepasst mit Künstler, Lied und Album

                                  plex.0
                                  2023-08-14 14:25:03.705 warn Empty payload received from tautulli! Please go to tautulli and configure payload!

                                  Das ?

                                  {1}
                                  {1}

                                  DJMarc75 T 2 Replies Last reply Reply Quote 0
                                  • DJMarc75
                                    DJMarc75 @sigi234 last edited by

                                    @sigi234 sorry, hat ein " gefehlt:

                                    {
                                       "event":"media.{action}",
                                       "user":"undefined",
                                       "owner":"undefined",
                                       "Account":{
                                       	"userId":"{user_id}",
                                       	"id":"undefined",
                                       	"thumb":"{user_thumb}",
                                       	"title":"{username}"
                                       },
                                       "Server":{
                                       	"title":"{server_name}",
                                       	"uuid":"{server_machine_id}"
                                       },
                                       "Player":{
                                       	"local":"{stream_local}",
                                       	"localAddress":"{ip_address}",
                                       	"publicAddress":"undefined",
                                       	"title":"{player}",
                                       	"uuid":"{machine_id}"
                                       },
                                       "Metadata":{
                                       	"librarySectionType":"{media_type}",
                                       	"plexLink":"{rating_key}",
                                       	"parentRatingKey":"{parent_rating_key}",
                                       	"grandparentRatingKey":"{grandparent_rating_key}",
                                       	"key":"/library/metadata/{rating_key}",
                                       	"guid":"com.plexapp.agents.imdb://{imdb_id}?lang=en",
                                       	"librarySectionTitle":"{library_name}",
                                       	"librarySectionID":"{section_id}",
                                       	"librarySectionKey":"/library/sections/{section_id}",
                                       	"studio":"{studio}",
                                       	"type":"{media_type}",
                                       	"title":"{title}",
                                       	 "Country":"undefined",
                                       	  "Producer":"undefined",
                                       	"grandparentTitle":"{show_name}",
                                       	"parentTitle":"{episode_name}",
                                       	"contentRating":"{content_rating}",
                                       	"rating":"{rating}",
                                                   "userrating":"{rating}",
                                       	"tagline":"{tagline}",
                                       	"chapterSource":"undefined",
                                       	"primaryExtraKey":"undefined",
                                       	"ratingImage":"imdb://image.rating",
                                                   "TMDBurl":"{themoviedb_url}",
                                       	"Genre":"{genres}",
                                                   "Event":"{action}",
                                               "tautulli":{
                                                   "Player":"{player}",
                                       	        "LibraryTyp":"{library_name}",
                                       	        "Filmstudio":"{studio}",
                                       	        "Titel":"{title}",
                                                   "Originaltitel":"{original_title}",
                                       	        "SerienName":"{show_name}",
                                       	        "FolgeName":"{episode_name}",
                                       	        "Status":"{action}",
                                       	        "Beschreibung":"{summary}",
                                                   "Bewertung":"{audience_rating}",
                                       	        "Jahr":"{year}",
                                                   "Genre":"{genres}",
                                                   "Hintergrund":"{art}",
                                       	        "SerienBanner":"{banner}",
                                                   "Cover":"<movie>{thumb}</movie><show>{grandparent_thumb}</show><season>{grandparent_thumb}</season><episode>{grandparent_thumb}</episode><artist>{grandparent_thumb}</artist><album>{grandparent_thumb}</album><track>{grandparent_thumb}</track>", 
                                       	        "DauerMinuten":"{duration}",
                                                   "DauerSekunden":"{duration_sec}",
                                                   "VerbleibendMinuten": "{remaining_duration}",
                                                   "VerbleibendSekunden": "{remaining_duration_sec}",
                                       	        "VerbleibendZeit": "{remaining_time}",
                                       	        "FortschrittMinuten": "{progress_duration}",
                                                   "FortschrittSekunden": "{progress_duration_sec}",
                                       	        "FortschrittZeit": "{progress_time}",
                                       	        "FortschrittProzent": "{progress_percent}",
                                       	        "Veroeffentlichung":"{release_date}",
                                       	        "UploadDatum":"{added_date}",
                                                   "AbspielDatum":"{last_viewed_date}",
                                       	        "Kategorie":"{genres}",
                                       	        "Regisseur":"{directors}",
                                       	        "Drehbuch":"{writers}",
                                       	        "Kollektion":"{collections}",
                                       	        "Darsteller":"{actors:[:30]}",
                                                   "Folge":"{episode_num}",
                                                   "Staffel":"{season_num}",
                                       			"Kuenstler":"{artist_name}",
                                       			"Lied":"{track_name}",
                                       			"Album":"{album_name}",
                                       			"TrackKuenstler":"{track_artist}",
                                       			"Disknummer":"{disc_num00}",
                                       			"Liednummer":"{track_num00}"
                                                   },
                                       	"video": {
                                       		"container": "{container}",
                                       		"bitrate": "{bitrate}",
                                       		"aspect_ratio": "{aspect_ratio}",
                                       		"video_codec": "{video_codec}",
                                       		"video_codec_level": "{video_codec_level}",
                                       		"video_bitrate": "{video_bitrate}",
                                       		"video_bit_depth": "{video_bit_depth}",
                                       		"video_framerate": "{video_framerate}",
                                       		"video_ref_frames": "{video_ref_frames}",
                                       		"video_resolution": "{video_resolution}",
                                       		"video_height": "{video_height}",
                                       		"video_width": "{video_width}",
                                       		"video_language": "{video_language}",
                                       		"video_language_code": "{video_language_code}"
                                       	},
                                       	"audio": {
                                       		"audio_bitrate": "{audio_bitrate}",
                                       		"audio_bitrate_mode": "{audio_bitrate_mode}",
                                       		"audio_codec": "{audio_codec}",
                                       		"audio_channels": "{audio_channels}",
                                       		"audio_channel_layout": "{audio_channel_layout}",
                                       		"audio_sample_rate": "{audio_sample_rate}",
                                       		"audio_language": "{audio_language}",
                                       		"audio_language_code": "{audio_language_code}"
                                       	},
                                       	"subtitles": {
                                       		"subtitle_codec": "{subtitle_codec}",
                                       		"subtitle_container": "{subtitle_container}",
                                       		"subtitle_format": "{subtitle_format}",
                                       		"subtitle_forced": "{subtitle_forced}",
                                       		"subtitle_location": "{subtitle_location}",
                                       		"subtitle_language": "{subtitle_language}",
                                       		"subtitle_language_code": "{subtitle_language_code}"
                                       	},
                                       	"file": {
                                       		"path": "{file}",
                                       		"name": "{filename}",
                                       		"size": "{file_size}"
                                       	},
                                       	"transcoding": {
                                       		"transcode_decision": "{transcode_decision}",
                                       		"video_decision": "{video_decision}",
                                       		"audio_decision": "{audio_decision}",
                                       		"subtitle_decision": "{subtitle_decision}",
                                       		"transcode_container": "{transcode_container}",
                                       		"transcode_video_codec": "{transcode_video_codec}",
                                       		"transcode_video_width": "{transcode_video_width}",
                                       		"transcode_video_height": "{transcode_video_height}",
                                       		"transcode_audio_codec": "{transcode_audio_codec}",
                                       		"transcode_audio_channels": "{transcode_audio_channels}",
                                       		"transcode_hw_requested": "{transcode_hw_requested}",
                                       		"transcode_hw_decoding": "{transcode_hw_decoding}",
                                       		"transcode_hw_decode": "{transcode_hw_decode}",
                                       		"transcode_hw_decode_title": "{transcode_hw_decode_title}",
                                       		"transcode_hw_encoding": "{transcode_hw_encoding}",
                                       		"transcode_hw_encode": "{transcode_hw_encode}",
                                       		"transcode_hw_encode_title": "{transcode_hw_encode_title}"
                                       	},
                                       	"stream": {
                                       		"user": {
                                       			"streams": "{streams}",
                                       			"user_streams": "{user_streams}",
                                       			"name": "{user}",
                                       			"user": "{username}",
                                       			"email": "{user_email}"
                                       		},
                                       		"player": {
                                       			"device": "{device}",
                                       			"platform": "{platform}",
                                       			"product": "{product}",
                                       			"player": "{player}",
                                       			"ip_address": "{ip_address}"
                                       		},
                                       		"quality_profile": "{quality_profile}",
                                       		"optimized_version": "{optimized_version}",
                                       		"optimized_version_profile": "{optimized_version_profile}",
                                       		"synced_version": "{synced_version}",
                                       		"live": "{live}",
                                       		"stream_local": "{stream_local}",
                                       		"stream_location": "{stream_location}",
                                       		"stream_bandwidth": "{stream_bandwidth}",
                                       		"stream_container": "{stream_container}",
                                       		"stream_bitrate": "{stream_bitrate}",
                                       		"stream_aspect_ratio": "{stream_aspect_ratio}",
                                       		"stream_duration": "{stream_duration}",
                                       		"stream_time": "{stream_time}",
                                       		"remaining_duration": "{remaining_duration}",
                                                           "remaining_duration_sec": "{remaining_duration_sec}",
                                       		"remaining_time": "{remaining_time}",
                                       		"progress_duration": "{progress_duration}",
                                                           "progress_duration_sec": "{progress_duration_sec}",
                                       		"progress_time": "{progress_time}",
                                       		"progress_percent": "{progress_percent}",
                                       		"stream_video": {
                                       			"stream_video_codec": "{stream_video_codec}",
                                       			"stream_video_codec_level": "{stream_video_codec_level}",
                                       			"stream_video_bitrate": "{stream_video_bitrate}",
                                       			"stream_video_bit_depth": "{stream_video_bit_depth}",
                                       			"stream_video_framerate": "{stream_video_framerate}",
                                       			"stream_video_ref_frames": "{stream_video_ref_frames}",
                                       			"stream_video_resolution": "{stream_video_resolution}",
                                       			"stream_video_height": "{stream_video_height}",
                                       			"stream_video_width": "{stream_video_width}",
                                       			"stream_video_language": "{stream_video_language}",
                                       			"stream_video_language_code": "{stream_video_language_code}"
                                       		},
                                       		"stream_audio": {
                                       			"stream_audio_bitrate": "{stream_audio_bitrate}",
                                       			"stream_audio_bitrate_mode": "{stream_audio_bitrate_mode}",
                                       			"stream_audio_codec": "{stream_audio_codec}",
                                       			"stream_audio_channels": "{stream_audio_channels}",
                                       			"stream_audio_channel_layout": "{stream_audio_channel_layout}",
                                       			"stream_audio_sample_rate": "{stream_audio_sample_rate}",
                                       			"stream_audio_language": "{stream_audio_language}",
                                       			"stream_audio_language_code": "{stream_audio_language_code}"
                                       		},
                                       		"stream_subtitle": {
                                       			"stream_subtitle_codec": "{stream_subtitle_codec}",
                                       			"stream_subtitle_container": "{stream_subtitle_container}",
                                       			"stream_subtitle_format": "{stream_subtitle_format}",
                                       			"stream_subtitle_forced": "{stream_subtitle_forced}",
                                       			"stream_subtitle_language": "{stream_subtitle_language}",
                                       			"stream_subtitle_language_code": "{stream_subtitle_language_code}",
                                       			"stream_subtitle_location": "{stream_subtitle_location}"
                                       		}
                                       	}
                                       }
                                    }
                                    
                                    

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      ticaki Developer @sigi234 last edited by

                                      leider wieder einen neuen Link, die testing branch kann ich nicht mehr aktualisieren... ein git fehler keine Ahnung

                                      https://github.com/ticaki/ioBroker.plex/

                                      T 1 Reply Last reply Reply Quote 0
                                      • DJMarc75
                                        DJMarc75 @ticaki last edited by

                                        @ticaki Schau mal hier, hat @Zefau ja schon gepostet.
                                        Daher hab ich das einfach für meine Zwecke angepasst:

                                        https://github.com/iobroker-community-adapters/ioBroker.plex/blob/master/README-tautulli.md#notification-configuration

                                        sigi234 T 2 Replies Last reply Reply Quote 0
                                        • sigi234
                                          sigi234 Forum Testing Most Active @DJMarc75 last edited by

                                          @djmarc75

                                          Wie kann man das Cover anzeigen lassen? Welches Widget? Pfad Richtig?

                                          DJMarc75 3 Replies Last reply Reply Quote 0
                                          • DJMarc75
                                            DJMarc75 @sigi234 last edited by

                                            @sigi234 sagte in Test Adapter Plex v0.8.x:

                                            Wie kann man das Cover anzeigen lassen? Welches Widget? Pfad Richtig?

                                            Dazu benötigen wir Level 2 😉

                                            Moment, ich schreib Dir ein HowTo

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            768
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            plex
                                            14
                                            312
                                            33447
                                            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