#----------------------------------------------------------------------------
# Profile for Sony SMP-N100.
# See PS3.conf for a description of all possible configuration options.
#

RendererName=Sony SMP-N100
RendererIcon=smp-n100.png

# ============================================================================
# Sony Blu-ray uses the following headers:
#
# User-Agent: UPnP/1.0
# X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Media Player"; mv="2.0";
# X-AV-Physical-Unit-Info: pa="Media Player";
# ---
# User-Agent: UPnP/1.0 DLNADOC/1.50
# X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Media Player"; mv="2.0";
# X-AV-Physical-Unit-Info: pa="Media Player";
# ============================================================================
# The User-Agent strings are too generic to match
# UserAgentSearch=
UserAgentAdditionalHeader=X-AV-Client-Info
UserAgentAdditionalHeaderSearch=(cn="Sony Corporation"; mn="Media Player")
Video=true
Audio=true
Image=true
SeekByTime=exclusive
TranscodeVideo=MPEGTSAC3
TranscodeAudio=LPCM
DefaultVBVBufSize=true
MuxH264ToMpegTS=false
MuxDTSToMpeg=false
WrapDTSIntoPCM=false
MuxLPCMToMpeg=false
MaxVideoBitrateMbps=0
MaxVideoWidth=0
MaxVideoHeight=0
H264Level41Limited=true
# MimeTypesChanges=
DLNALocalizationRequired=true
TranscodeExtensions=mkv,flv
# StreamExtensions=
MediaParserV2_ThumbnailGeneration=false

# For Sony Blu-ray players and Bravia TVs
ForceJPGThumbnails=true
# For Sony Blu-ray players
ChunkedTransfer=true

# Specs below taken from http://www.sony.co.uk/product/blu-ray-disc-player/bdp-s370#pageType=TechnicalSpecs
# then fine-tuned by lengthy trial and error since so much of that advertised spec is inaccurate.
# US models don't support video/divx mime type but European and Canadian models do.
# Subtitles in MKV files are only displayed if the mime type is video/divx.
# VOB subtitles are not supported.
# See also http://forum.serviio.org/viewtopic.php?f=11&t=2004 for more DLNA-related info on these players.

MediaInfo=true
# --- video ---
Supported = f:mpegps|mpegts   v:mpeg1|mpeg2   a:ac3|dts|lpcm|mpa|mp3   m:video/mpeg
Supported = f:mpegts   v:h264|vc1   a:ac3|dts|dtshd|truehd|aac|lpcm|mpa|mp3   m:video/vnd.dlna.mpeg-tts
Supported = f:mp4|m4v   v:mp4|h264   a:ac3|dts|dtshd|truehd|aac|lpcm|mpa|mp3   m:video/mpeg
######### NON-US MODELS: CHANGE THE FOLLOWING 2 MIME-TYPES TO m:video/divx
Supported = f:avi|divx   v:divx|mp4   a:ac3|lpcm|mpa|mp3   m:video/mpeg
Supported = f:mkv   v:mp4|divx|h264   a:ac3|dts|dtshd|truehd|aac|lpcm|mpa|mp3   m:video/vnd.dlna.mpeg-tts
# --- audio ---
Supported = f:wma   n:2   m:audio/mpeg
Supported = f:mp3   n:2   m:audio/mpeg
Supported = f:lpcm n:2 s:48000 m:audio/L16
# --- image ---
Supported = f:jpg   m:image/jpeg