How my new SONY Bravia KD-65XE9005 (Android TV) works with UMS !

Discuss media renderers like Xbox 360, TVs, smartphones, etc.
SkyOne
Posts: 4
Joined: Thu May 25, 2017 2:01 am

How my new SONY Bravia KD-65XE9005 (Android TV) works with UMS !

Post by SkyOne »

Installing UMS, configuring it, working ... it displays the video list but when starting a video i get the spinning circle forever...
Seems that the TV is not properly recognized.
I tried changing numerous settings from transcoding through to default render player ... nothing works.
An issue was the tv detects multiple renderers (about 4) one of which is google chromecast - i do not have it.

Then I started to search this forum and find some threads:
viewtopic.php?f=5&t=9035
viewtopic.php?f=9&t=7619&p=29854&hilit= ... ony#p29854
viewtopic.php?f=5&t=8617&p=29040&hilit= ... ing#p29040
The first was the best one, I read through it all, and download the last .conf file, but my TV wont play.
The message changed and was "cannot play this file" (i translated this from my language, but the meaning is this) that is different from the spinning circle.

Started to work on Sony-BraviaXD.conf file.
The first element was : add chromecast_extension=false into UMS.conf file - placed in your UMS profile folder - not into the UMS.conf found in your Universal "Media Server" program folder.
Than I changed all the reference from the original TV to my TV.
The keys that made the config file working were:
# udn=uuid:48454d48-01af-4343-ad82-70e21eb9dee1 *
# udn=uuid:c2b26bb0-36cb-44de-a38a-b993b2d214a4 **
# udn=uuid:23456789-1234-1010-8000-104fa8c05b3b ***

As the two TV has the same OS (Android 6.1004 - sony_dtvota_2016_1601004100_eua_auth.zip) I thought that all the other configurations should be OK (i.e.: # Supported video formats, # Supported audio formats ... etc.).

AND FINALLY, after 3 hours, IT WORKS !

I attach my new config file [Sony-BraviaXE.conf] for who owns this TV set and want to try it.
SkyOne
Posts: 4
Joined: Thu May 25, 2017 2:01 am

Re: How my new SONY Bravia KD-65XE9005 (Android TV) works with UMS !

Post by SkyOne »

Hi i have this error posting the attachment:
"Error
Sorry, the board attachment quota has been reached."

I copy here the content of the file [filename: Sony-BraviaXE.conf ]:

#---------------------------------------------------------------------------------------------------
# Profile for Sony Bravia XE 90 series, 4K HDR avec Android TV.
# See DefaultRenderer.conf for descriptions of all the available options.

RendererName = Sony Bravia XE
RendererIcon = [email protected]

# =================================================================================
# This renderer has sent the following string/s:
#
# User-Agent=Dalvik/2.1.0 (Linux; U; Android 6.0.1; BRAVIA 4K GB Build/MMB29V.S50) #with Chromecast it use a different IP#
# User-Agent: UPnP/1.0, X-AV-Physical-Unit-Info: pa="BRAVIA KD-65XE9005";
# X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KD-65XE9005"; mv="3.0";
# friendlyName=KD-65XE9005
# udn=uuid:4ce0f8f9-2bce-4670-acfc-710aeeb706c6 *
# udn=uuid:279c35fc-1248-4e01-83f9-038286b6d63a *
# udn=uuid:23456789-1234-1010-8000-045d4b4ae826 ***
# manufacturer=Sony Corporation
# modelName=KD-65XE9005
# modelName=MediaRenderer ***
# modelNumber=100 ***
# modelDescription=BRAVIA *
# modelDescription=Sony 2017 4K TV ***
# manufacturerURL=http://www.sony.net/
# modelURL= ***
# =================================================================================
# https://www.sony.fr/electronics/televis ... ifications
# If a connection issue is encountered, add chromecast_extension=false into your UMS.conf file.

UserAgentAdditionalHeader = X-AV-Client-Info
UserAgentAdditionalHeaderSearch = KD-\d{2}XE[7-9][0345]
UpnpDetailsSearch = KD-\d{2}XE[7-9][0345]
LoadingPriority = 2

SeekByTime = true
DLNALocalizationRequired = true
TranscodeAudio = WAV
MuxNonMod4Resolution = true
H264Level41Limited = false
SupportedVideoBitDepths = 8,10
ForceJPGThumbnails = true
ThumbnailAsResource = true
CreateDLNATreeFaster = true
AccurateDLNAOrgPN = true
MaxVideoBitrateMbps = 90
HalveBitrate = true
MediaInfo = true

# Supported video formats:
Supported = f:3gp|3g2 v:h264|mp4 a:aac|aac-he|ac3|eac3|mpa m:video/3gpp
Supported = f:avi v:h264|h265|mjpeg|mp4|xvid a:aac|aac-he|ac3|dts|eac3|mp3|mpa m:video/avi
Supported = f:mkv v:h264|mp4|vp8|xvid a:aac|aac-he|ac3|dts|eac3|mpa|vorbis m:video/x-matroska
Supported = f:mkv v:h265 a:aac|aac-he|ac3|dts|eac3 m:video/x-matroska
Supported = f:mov v:h264|mjpeg|mp4 a:aac|aac-he|ac3|dts|eac3|lpcm|mpa m:video/quicktime
Supported = f:mp4 v:h264|mp4 a:aac|aac-he|ac3|dts|eac3|mpa m:video/mp4
Supported = f:mp4 v:h265 a:aac|aac-he|ac3|dts|eac3 m:video/mp4
Supported = f:mpegps v:mpeg1|mpeg2 a:ac3|lpcm|mpa m:video/mpeg
Supported = f:mpegts v:h264|h265|mpeg2 a:aac|aac-he|ac3|eac3|mpa m:video/mpeg
Supported = f:webm v:vp8 a:vorbis m:video/webm
Supported = f:wmv|asf v:vc1 a:wma m:video/x-ms-wmv

# Supported audio formats:
Supported = f:3g2 m:audio/3gpp2
Supported = f:3gp m:audio/3gpp
Supported = f:aac|m4a|mp4 a:aac|aac-he m:audio/x-m4a
Supported = f:flac m:audio/flac
Supported = f:mp3 m:audio/mpeg
Supported = f:wav a:dts|lpcm m:audio/wav
Supported = f:wma m:audio/x-ms-wma

# Supported image formats:
Supported = f:jpg m:image/jpeg

# Supported subtitles formats:
SupportedExternalSubtitlesFormats = ASS,SAMI,SUBRIP,MICRODVD,TEXT
User avatar
Sami32
Posts: 851
Joined: Mon Apr 11, 2016 5:09 am

Re: How my new SONY Bravia KD-65XE9005 (Android TV) works with UMS !

Post by Sami32 »

Hi SkyOne,

Congratulations for your job 8-)

BTW, i saw that i have forgotten a \ in a string. Java Regex rules that i forgot :oops:

Code: Select all

UserAgentAdditionalHeaderSearch = (FW|KD)-\\d{2}XE[7-9][0345]\\d{2}
UpnpDetailsSearch = (FW|KD)-\\d{2}XE[7-9][0345]\\d{2}
I'll check what need to be changed for the formats and push it for the next version, not into the 6.7.0 already on the way.
SkyOne
Posts: 4
Joined: Thu May 25, 2017 2:01 am

Re: How my new SONY Bravia KD-65XE9005 (Android TV) works with UMS !

Post by SkyOne »

Hi Sami32,
thanks to you, i'm not a programmer nor an expert on Java, so i cannot correct the code,
I just made some logical reasoning around it ... and try to adapt the code,
if you post the full corrected .conf file, i'll check it before you put in the next version.
User avatar
Sami32
Posts: 851
Joined: Mon Apr 11, 2016 5:09 am

Re: How my new SONY Bravia KD-65XE9005 (Android TV) works with UMS !

Post by Sami32 »

Hi SkyOne,

Here it is ;)
https://github.com/UniversalMediaServer ... /pull/1286

Please, feel free to report any fine tuning, correction about your renderer's codecs support, when you'll test with real media files. Thanks.

EDIT: Did you really saw any visual improvement while you use [email protected] icon, used for Retina screen display, instead of the Sony-BraviaXD.png used by default ?
SkyOne
Posts: 4
Joined: Thu May 25, 2017 2:01 am

Re: How my new SONY Bravia KD-65XE9005 (Android TV) works with UMS !

Post by SkyOne »

Hi Sami32,
i substituted the two codelines you wrote before in my conf file (hereafter written for best comprehension):

Code: Select all

UserAgentAdditionalHeaderSearch = (FW|KD)-\\d{2}XE[7-9][0345]\\d{2}
UpnpDetailsSearch = (FW|KD)-\\d{2}XE[7-9][0345]\\d{2}
Generally speaking the conf file modified works, but ... i have one AVI file that wont play.
If i revert back it plays.

I'm not a programmer, but also the conf file plays my AVI file with those lines:

Code: Select all

UserAgentAdditionalHeaderSearch = KD-\\d{2}XE[7-9][0345]
UpnpDetailsSearch = KD-\\d{2}XE[7-9][0345]
don't know if the codes are correctly typed ...

If I understand well, looking at the new conf file, you are working in way to have only one conf for both XD and XE Sony series TV ... right ?

Finally, I adopted the [email protected] icon because i have a 1600x900 screen on my PC, the Sony-BraviaXD.png for my use is too little (for other screen resolution should be right).

Feel free to use me as tester .... :geek:
User avatar
Sami32
Posts: 851
Joined: Mon Apr 11, 2016 5:09 am

Re: How my new SONY Bravia KD-65XE9005 (Android TV) works with UMS !

Post by Sami32 »

Hi SkyOne,

yes, you understood correctly, one renderer for the two, as they are too similar, and it's more easy to maintain.
As you already saw, its the lines that i've write in the PR, by safety as i don't have your log, so i'm glad to know that it worked as expected 8-)
These lines just take care of the renderer recognition.

So, i guess that for most users the standard icon should fine.

Feel free to test all the medias that you can, and report supported or unsupported codecs ;)
stormy
Posts: 17
Joined: Wed Nov 26, 2014 6:36 am

Re: How my new SONY Bravia KD-65XE9005 (Android TV) works with UMS !

Post by stormy »

Interesting thread guys, Just what I am looking for. Thanks.

I have just ordered a 49XE9005 and will hopefully try UMS on it at the weekend, which UMS version and conf file do I need? Copy the one from SkyOne or the one linked in your post on Github Sami?

I'll post up a log if I get chance.

Thanks
User avatar
Sami32
Posts: 851
Joined: Mon Apr 11, 2016 5:09 am

Re: How my new SONY Bravia KD-65XE9005 (Android TV) works with UMS !

Post by Sami32 »

If you can wait some few days it will be include in the 6.7.0 coming version ;)

In the waiting time, i'll say that you can choose any of the configuration files.
stormy
Posts: 17
Joined: Wed Nov 26, 2014 6:36 am

Re: How my new SONY Bravia KD-65XE9005 (Android TV) works with UMS !

Post by stormy »

Ahh nice :)

I can probably wait, i'll have lots of setting up to do!

Look forward to it.

Cheers,
Post Reply