#----------------------------------------------------------------------------
# Profile for Panasonic HZX1509 (specific model, because only a model specific
# string found by "X-PANASONIC-Registration")
# ------------------------------------------
# Version = 1.2
# ---------------
# created: 2021-07-07 - newbietux@UMS Forum
# modified: 2021-07-10 - newbietux@UMS Forum
# (based of original file "Panasonic-HZ1500.conf", because that not working
# for the model Panasonic OLED TV HZX1509 (on my Linux System!?))
# ... only changed "header" datas to get positiv identity and added
# a little bit of comments
# ------------------------------------------
# changed to this version:
# - delete Audio DTS by the supported video formats
# - options added:
#   SupportedVideoBitDepths= 8,10
# - added options from UMS.conf: - is this possible in the renderer file?
#     ffmpeg_mux_tsmuxer_compatible = true
#     audio_use_pcm = true
#     encoded_audio_passthrough = true
# ------------------------------------------
#
# See DefaultRenderer.conf for descriptions of all the available options.
#

RendererName = Panasonic HZX1509
### RendererIcon = Panasonic-ET60.png
RendererIcon = Panasonic-HZX1509.png

# ============================================================================
# This renderer has sent the following string/s:
#
# User-Agent: Panasonic MIL DLNA CP UPnP/1.0 DLNADOC/1.50
# X-PANASONIC-DMP-Profile: MPEG_PS_PAL JPEG_SM PV_DIVX_DIV3 PV_DIVX_DIV4 PV_DIVX_DIVX PV_DIVX_DX50 PV_DRM_DIVX_DIV3 PV_DRM_DIVX_DIV4 PV_DRM_DIVX_DIVX PV_DRM_DIVX_DX50
# X-PANASONIC-Registration: UGFuYTU1SFpYMTUwOQAAAAA=
#   ------------------
#   you can/may look in your logfile for a specific registration string if
#   you have a other Panasonic model ... and create your own renderer file
# ============================================================================
# the following collection are from "Panasonic-Viera.conf" renderer file
# - added with my experience (newbietux@UMS Forum):
# ----------------------------------------------------------------------------------------
# Panasonic TVs have reported the following:
# Maybe if we collect enough of these they'll start to make sense, or maybe they
# mean nothing ;)
#
# TV:            X-PANASONIC-Registration:
# ----------------------------------------
# TC- 50AS650UE   REFOVFYAAAAAAAAAAAAAAAA
# TX-P42GT20 E    UEFOQVNPTklDICBQNDJHVDIwRQAAAAAAAAA
# TH-P42UT30 Z    VklFUkEgVVQzMCBTZXJpZXMAAAAAAAAAAAA
# TX-L42E 30 E    VklFUkEgRTMwIFNlcmllcwAAAAAAAAAAAAA
# TX-P42G 30      VklFUkEgRzMwIFNlcmllcwAAAAAAAAAAAAA
# TX-P50G 20 BA   VklFUkEAAAAAAAAAAAAAAAAAAAAAAAAAAAA
#    P42V 20 B    VklFUkEAAAAAAAAAAAAAAAAAAAAAAAAAAAA
#       GT30 B    VklFUkEgIFRWAAAAAAAAAAAAAAAAAAAAAAA
# TH-P46GT31 C    VklFUkEgR1QzMAAAAAAAAAAAAAAAAAAAAAA
# TH-P42U 30 Z    null
# TH-P65VT60 Z    VklFUkEgVlQ2MCBTZXJpZXMAAAAAAAAAAAA
#        S60      VklFUkEgUzYwAAAAAAAAAAAAAAAAAAAAAAA
# TX- 32AS600E    UEFOQVNPTklDX1RWAAAAAAA
# TX- 40GX800B    RXh0ZW5zaW9uX1RWAAAAAAA
# TX-55HZX1509    UGFuYTU1SFpYMTUwOQAAAAA=
# ============================================================================

### UpnpDetailsSearch = HZ1500  *** => string "HZ1500" not found at logfile (newbietux@UMS Forum)
UserAgentAdditionalHeader = X-PANASONIC-Registration
UserAgentAdditionalHeaderSearch = UGFuYTU1SFpYMTUwOQAAAAA=

LoadingPriority = 2

SeekByTime = exclusive
MediaInfo = true
TranscodeVideo = MPEGTS-H264-AC3
MuxNonMod4Resolution = true
TranscodeFastStart = true
SupportedVideoBitDepths= 8,10
ffmpeg_mux_tsmuxer_compatible = true
audio_use_pcm = true
encoded_audio_passthrough = true
KeepAspectRatioTranscoding = true
# specific for Panasonic - needed to be aware of scaling videos with lower height (808 not scaling to 1080 or so)
# (newbietux@UMS Forum)
RescaleByRenderer = false
# specific for Panasonic - needed if the option "KeepAspectRatioTranscoding" is set
#                          for videos with lower number of pixel (in height an wide) as the tv screen to scale up
# (newbietux@UMS Forum)
SendDateMetadata = true
MaxVideoWidth = 3840
MaxVideoHeight = 2160

# Supported video formats:
Supported = f:3gp|3g2   v:h264|mp4                        a:aac-lc|he-aac                                   m:video/3gpp
Supported = f:avi       v:h264|mpeg1|mpeg2|mp4|vc1|wmv9   a:aac-lc|he-aac|adpcm|ac3|eac3|lpcm|mp3|wma       m:video/avi
Supported = f:flv       v:h264                            a:aac-lc|mp3                                      m:video/x-flv
Supported = f:mkv       v:h264|h265|mpeg1|mpeg2|mp4       a:aac-lc|he-aac|ac3|eac3|mp3|vorbis               m:video/x-matroska  se:MICRODVD|SUBRIP|TEXT
Supported = f:mp4       v:h264|h265|mpeg1|mpeg2|mp4       a:aac-lc|he-aac|ac3|eac3|mp3|atmos                m:video/mp4
Supported = f:mpegps    v:mpeg1|mpeg2                     a:ac3|lpcm                                        m:video/mpeg
Supported = f:mpegts    v:h264|h265|mpeg1|mpeg2           a:aac-lc|he-aac|ac3|eac3                          m:video/mpeg
Supported = f:webm      v:vp9                             a:vorbis                                          m:video/webm
Supported = f:wmv       v:mp4|vc1|wmv                     a:aac-lc|he-aac|ac3|eac3|lpcm|mp3|wma             m:video/x-ms-wmv

# Supported audio formats:
Supported = f:m4a    m:audio/x-m4a
Supported = f:flac   m:audio/flac
Supported = f:mp3    m:audio/mpeg
Supported = f:wav    m:audio/wav
Supported = f:wma    m:audio/x-ms-wma

SupportedInternalSubtitlesFormats = MICRODVD,SUBRIP,TEXT
