Jump to content


Photo

DLNA profile for LG WebOS TV


  • Please log in to reply
154 replies to this topic

#41 paul777 OFFLINE  

paul777

    Advanced Member

  • Members
  • 89 posts
  • Local time: 08:33 AM

Posted 03 March 2015 - 08:11 PM

I have started a new thread for this issue here http://mediabrowser....-working-right/



#42 Serios OFFLINE  

Serios

    Advanced Member

  • Members
  • 76 posts
  • Local time: 08:33 AM

Posted 03 March 2015 - 11:53 PM

I remember reading somewhere, that internal player of the TV have problem with recognizing the anamorphic flag. The bad thing is I don't remember very well, if this was about older TV's or the new ones. Will try to find the info again, and run a couple of tests. Thanks @paul777 for bringing this up.



#43 paul777 OFFLINE  

paul777

    Advanced Member

  • Members
  • 89 posts
  • Local time: 08:33 AM

Posted 04 March 2015 - 06:12 AM

yes it appears to be true for all LG's even the very new ones so we need to force a transcode to a non-anmorphic stream. The other thread details how far this has got but the change to the profile is to add a NotEquals condition for IsAnamorpic true. Unfortunately once the fix in the other thread is done we will still need to force a metadata refresh to extract the anamorphic flag properly. There are a number of pieces to this puzzle put it is completely achievable.

#44 coudy OFFLINE  

coudy

    Advanced Member

  • Members
  • 43 posts
  • Local time: 09:33 AM

Posted 28 April 2015 - 11:52 AM

Hi,

thank you for this profile. I have 47LB700, I can see mediaserver on my TV, and play movies. But I have problem with subtitles. TV show only subtitles in mkv files, external subtitles are not visible.

P.s. My TV has correct profile in emby server.

 

What should I do ? Any help ? Thank You



#45 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142432 posts
  • Local time: 03:33 AM

Posted 28 April 2015 - 11:59 AM

i haven't written anything up yet, but you can look at the device profile it uses and ascertain from that

 

https://github.com/M...aplayer.js#L111



#46 Serios OFFLINE  

Serios

    Advanced Member

  • Members
  • 76 posts
  • Local time: 08:33 AM

Posted 28 April 2015 - 03:13 PM

Hi,

thank you for this profile. I have 47LB700, I can see mediaserver on my TV, and play movies. But I have problem with subtitles. TV show only subtitles in mkv files, external subtitles are not visible.

P.s. My TV has correct profile in emby server.

 

What should I do ? Any help ? Thank You

 

A log file will definitely shed some light on this



#47 coudy OFFLINE  

coudy

    Advanced Member

  • Members
  • 43 posts
  • Local time: 09:33 AM

Posted 29 April 2015 - 03:48 PM

Hi, after latest update to Version 3.0.5597.0 it "magically" works.

But I have problem with disappearing emby from TV. Restart TV does not help. Attaching logs

 

I have run emby as root with command

mono --debug MediaBrowser.Server.Mono.exe -programdata /var/lib/mediabrowser

output is in debug.log file.

 

can't attach files here, so I have uploaded it to Dropbox: https://www.dropbox....hswgMFYAja?dl=0

 



#48 coudy OFFLINE  

coudy

    Advanced Member

  • Members
  • 43 posts
  • Local time: 09:33 AM

Posted 16 May 2015 - 05:02 PM

Hi @Serios,

I use this profile on my LG TV LB700, but I have several problems

  1. when movie is packed with 2 audio tracks, It always play track #1. I have tried to set default track to #2 (and removed default flag from track #1) with mkvpropedit, but doest not helped.
  2. I can't switch audio tracks on TV, button is grayed, and played #1st audio track.
  3. Because English is not my native language, Emby download subtitles in this order Slovak > Czech > English. If I have more than 1 subtitles for movie, TV only show 1st alphabetic subtitles. I can't switch subtitles. TV has ability to switch subtitles (tested on mkv file), but on DLNA streaming are streamed only 1st subtitles.
  4. Subtitles with Closed Captions are not streamed over DLNA, or maybe they are, but are not displayed on TV

 

Attaching logs. If you need something else, just write.

 

Thank You

 

Attached Files


Edited by coudy, 16 May 2015 - 05:38 PM.


#49 Serios OFFLINE  

Serios

    Advanced Member

  • Members
  • 76 posts
  • Local time: 08:33 AM

Posted 17 May 2015 - 09:43 AM

  1. when movie is packed with 2 audio tracks, It always play track #1. I have tried to set default track to #2 (and removed default flag from track #1) with mkvpropedit, but doest not helped.
  2. I can't switch audio tracks on TV, button is grayed, and played #1st audio track.
  3. Because English is not my native language, Emby download subtitles in this order Slovak > Czech > English. If I have more than 1 subtitles for movie, TV only show 1st alphabetic subtitles. I can't switch subtitles. TV has ability to switch subtitles (tested on mkv file), but on DLNA streaming are streamed only 1st subtitles.
  4. Subtitles with Closed Captions are not streamed over DLNA, or maybe they are, but are not displayed on TV

 

Hi there,

 

1, 2. This is known issue with Smart Share on LG TV's, that (if I remember right, the last time when checked) is not resolved yet.

Maybe tweaking user playback settings on Emby will help, try to set a preferred language and remove the check on "Play default language track regardless of language" and see if desired language track will be played, thou selecting language tracks trough the TV menu still will be unavailable at least the preferred audio track will play.

 

3. Not 100% here (@Luke must confirm) but as far as I know Emby only streams 1 external subtitle "feed", again based on settings in User playback settings.

 

4. I don't quite get this one, what do you mean by "Subtitles with Closed Captions"?

 

In most European countries, people doesn't differentiate subtitles and cc, but there is a difference - while subtitles are basically textual translation of the spoken language, cc are usually textual representation of the audio and are intended for hearing impaired audiences, not necessary translation, but could be. 

 

So I think here you have in mind something different by Closed Captions



#50 coudy OFFLINE  

coudy

    Advanced Member

  • Members
  • 43 posts
  • Local time: 09:33 AM

Posted 23 May 2015 - 10:34 AM

Hi,

you are right with 1st and 2nd question.

@Serios, where I can find this ? On TV or on Emby ? I can't see this option on Emby.

Maybe tweaking user playback settings on Emby will help, try to set a preferred language and remove the check on "Play default language track regardless of language

3. @Luke, please, is there any option how to stream multiple subtitles ?

 

4. There was problem with subtitle file. At 1st position was "dot"  left before number (.1) When I deleted that dot, then subtitles was displayed. I don't know if it is purpose to put dot at first position, or it is some conversion problem.



#51 Serios OFFLINE  

Serios

    Advanced Member

  • Members
  • 76 posts
  • Local time: 08:33 AM

Posted 23 May 2015 - 07:10 PM

Hi,

you are right with 1st and 2nd question.

@Serios, where I can find this ? On TV or on Emby ? I can't see this option on Emby.

Maybe tweaking user playback settings on Emby will help, try to set a preferred language and remove the check on "Play default language track regardless of language

3. @Luke, please, is there any option how to stream multiple subtitles ?

 

4. There was problem with subtitle file. At 1st position was "dot"  left before number (.1) When I deleted that dot, then subtitles was displayed. I don't know if it is purpose to put dot at first position, or it is some conversion problem.

 

Hi,

To find Playback settings

 

go to Emby Control panel  in left column click on Users, then click on your user profile. On main screen for user settings there is a link "Edit this user's profile, image and personal preferences." click on it. Then in the tabs click on "PLAYBACK"

 

OR

 

From Home Dashboard click on the "sandwich" menu and then click on your username at the top, this will open user settings too and then go to "PLAYBACK" tab

 

Here you can tweak your playback settings

 

3. Sorry for answering before Luke (apologies @Luke ) but as far as I know - No, there is no functionality for streaming multiply external subtitles streams at the moment.

 

4. Really don't know - Maybe is true that is some conversion problem...


Edited by Serios, 23 May 2015 - 07:11 PM.


#52 coudy OFFLINE  

coudy

    Advanced Member

  • Members
  • 43 posts
  • Local time: 09:33 AM

Posted 24 May 2015 - 02:33 AM

This is DLNA profile for LG WebOS TV's
 
It should work on devices from the following series:
 

LB7xx - Series
LB731
LB730
LB700
 
LB6xx - Series
LB679
LB671
LB670
LB652
LB651
LB650
LB630
 
LB5xx - Series
LB582
LB580
LB570
LB561
LB550
 
It may work with other WebOS devices, not listed here, but at the moment can't be confirmed, so you need to test if it will work with your particular device.
 
To use this profile:
1. Download the file attached bellow.
2. Place it in your "MediaBrowser-Server\config\dlna\user" directory
3. Restart MediaBrowser
3. Go to MediaBrowser configuration - > DLNA
4. Click on "Profiles" tab.
5. You will see LG Smart+ TV under custom profiles section
6. Have fun.

 
If you find something is not working quite well, please post in this thread so the profile can be tweaked. Also if you find problem and modify the file by yourself, please post the code changes in this thread using {code} {/code} tag, so that I can modify and re-upload the file. That way, we will keep the thread clean of multiply files and easy for users to download an up to date file from the first post.

 

Changelog:

22.04.2015 - Renaming Media Browser to Emby and removing unsupported subtitles format.

06.02.2015 - Little tweak to support mkv containers with  Digital Theater Systems (DTS) audio - thanks to @yudicuba for noticing that. 

 

According to LG DEV page (http://developer.lge...d-media-formats) , WebOS TVs support AVC media codec in mp4 container.  I can confirm that on LB700 model. You can update this profile.



#53 Serios OFFLINE  

Serios

    Advanced Member

  • Members
  • 76 posts
  • Local time: 08:33 AM

Posted 24 May 2015 - 07:36 AM

According to LG DEV page (http://developer.lge...d-media-formats) , WebOS TVs support AVC media codec in mp4 container.  I can confirm that on LB700 model. You can update this profile.

 

Thanks @coudy, file in the first post is updated



#54 paul777 OFFLINE  

paul777

    Advanced Member

  • Members
  • 89 posts
  • Local time: 08:33 AM

Posted 24 May 2015 - 01:15 PM

The following condition is also required for each of the Video CodecProfiles for correct transcoding of anamorphic videos. Server support for this will hopefully be in the next release, I know @Luke is in the process of integrating and testing the changes.

 

<ProfileCondition condition="NotEquals" property="IsAnamorphic" value="true" isRequired="true" />

 

I believe you will also need a CodecProfile block for avc



#55 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142432 posts
  • Local time: 03:33 AM

Posted 24 May 2015 - 01:16 PM

that will already work to force transcoding



#56 rafivanatv OFFLINE  

rafivanatv

    Member

  • Members
  • 12 posts
  • Local time: 08:33 AM

Posted 24 July 2015 - 07:28 PM

Anyone else experiencing problems with external subtitles since with Emby 3.0.5675.1 version?
This DLNA profile worked fine before, but now my LG 730v TV does not load the external subtitles.
As far I can see, the profile is loaded as it should, however I can't find any problems in the debug log (i'm not that experienced):

-07-25 00:37:52.7215 Debug - HttpServer: HTTP POST http://192.168.100.3:8096/dlna/764f4849abe8fbfae214278be2a38094/contentdirectory/control
    Ip: 192.168.100.2:54216. Headers: SOAPAction="urn:schemas-upnp-org:service:ContentDirectory:1#Search",DLNADeviceName.lge.com=%5bLG%5d%20webOS%20TV,User-Agent=Linux/3.10.19-32.afro.5 UPnP/1.0 LGE WebOS TV LGE_DLNA_SDK/1.6.0/04.45.25 DLNADOC/1.50,Host=192.168.100.3:8096,Content-Length=739,Content-Type=text/xml; charset="utf-8"
2015-07-25 00:37:52.7371 Debug - Dlna: Found matching device profile: LG Smart+ TV
2015-07-25 00:37:52.7371 Debug - UpnpContentDirectory: Received control request Search
2015-07-25 00:37:52.7371 Debug - HttpServer: HTTP Response 200 to 192.168.100.2. Response time: 15.6 ms.


#57 psxlover OFFLINE  

psxlover

    Advanced Member

  • Members
  • 108 posts
  • Local time: 10:33 AM
  • LocationIoannina, Greece

Posted 25 July 2015 - 04:32 PM

I'm also having problem with external subtitles on a custom dlna profile for my Netcast LG TV. I don't know if it worked before, embeded subtitles work just fine.



#58 coudy OFFLINE  

coudy

    Advanced Member

  • Members
  • 43 posts
  • Local time: 09:33 AM

Posted 27 July 2015 - 03:52 PM

 

Anyone else experiencing problems with external subtitles since with Emby 3.0.5675.1 version?
This DLNA profile worked fine before, but now my LG 730v TV does not load the external subtitles.
As far I can see, the profile is loaded as it should, however I can't find any problems in the debug log (i'm not that experienced):

-07-25 00:37:52.7215 Debug - HttpServer: HTTP POST http://192.168.100.3:8096/dlna/764f4849abe8fbfae214278be2a38094/contentdirectory/control
    Ip: 192.168.100.2:54216. Headers: SOAPAction="urn:schemas-upnp-org:service:ContentDirectory:1#Search",DLNADeviceName.lge.com=%5bLG%5d%20webOS%20TV,User-Agent=Linux/3.10.19-32.afro.5 UPnP/1.0 LGE WebOS TV LGE_DLNA_SDK/1.6.0/04.45.25 DLNADOC/1.50,Host=192.168.100.3:8096,Content-Length=739,Content-Type=text/xml; charset="utf-8"
2015-07-25 00:37:52.7371 Debug - Dlna: Found matching device profile: LG Smart+ TV
2015-07-25 00:37:52.7371 Debug - UpnpContentDirectory: Received control request Search
2015-07-25 00:37:52.7371 Debug - HttpServer: HTTP Response 200 to 192.168.100.2. Response time: 15.6 ms.

Yes, I have problem with ext. subtitles too. They are not streamed to TV


Edited by coudy, 27 July 2015 - 03:53 PM.


#59 rafivanatv OFFLINE  

rafivanatv

    Member

  • Members
  • 12 posts
  • Local time: 08:33 AM

Posted 30 July 2015 - 04:19 PM

I just wanted to add that it's Direct Play (with transcoding it embeds the subtitle ok).

Also tried setting the user library to the DLNA profile in hope that it gets the settings of the user.

Subtitle language preferences are set to English

And I tried changing all the options for Subtitle Mode without any luck.

Didn't have any problems with this profile with previous version of Emby Server.

 

I can't debug the code, however I see some changes were done to the Model/DLNA/StreamBuilder and StreamInfo. A condition in StreamBuilder.GetSubtitleProfile was added if the playback method is not transcode
 

if (playMethod != PlayMethod.Transcode)
            {
                // Look for supported embedded subs
                foreach (SubtitleProfile profile in subtitleProfiles)
                {
                    if (!profile.SupportsLanguage(subtitleStream.Language))
                    {
                        continue;
                    }

                    if (profile.Method == SubtitleDeliveryMethod.Embed && subtitleStream.IsTextSubtitleStream == MediaStream.IsTextFormat(profile.Format))
                    {
                        return profile;
                    }
                }
            }

Don't know if these addition to the code are the reason that the external subtitles are not loading now, as i'm not a C# programmer and my mashine is not setup for .NET enviroment. :)


Edited by rafivanatv, 30 July 2015 - 04:19 PM.


#60 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142432 posts
  • Local time: 03:33 AM

Posted 30 July 2015 - 04:27 PM

why don't you post the profile you're using.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users