Menu

#176 webOS TV 3.5 flac support

Unstable (example)
open
nobody
None
5
2023-10-09
2018-09-02
Shrimpkin
No

webOS TV 3.5 (User-Agent: Linux/4.4.3-119.drd4tv.5 UPnP/1.0 LGE WebOS TV LGE_DLNA_SDK/1.6.0/04.70.50 DLNADOC/1.50) needs flac mime type.

diff --git a/clients.c b/clients.c
index 42f0d1c..d324eab 100644
--- a/clients.c
+++ b/clients.c
@@ -155,7 +155,7 @@ struct client_type_s client_types[] =

        /* USER-AGENT: Linux/2.6.35 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.6.0 */
        { ELGNetCastDevice,
-         FLAG_DLNA | FLAG_CAPTION_RES,
+         FLAG_DLNA | FLAG_CAPTION_RES | FLAG_MIME_FLAC_FLAC,
          "LG",
          "LGE_DLNA_SDK/1.6.0",
          EUserAgent

Discussion

  • lighterowl

    lighterowl - 2018-09-03

    Funny thing, I was just working on the same issue. Your approach is much better, though. Can confirm as working on my LG 49SJ800V.

     
  • Sérgio M. Basto

    this patch was merged
    256d271201e714a80ee91e3a92705678b12148cb
    Date: Wed Nov 11 17:57:22 2020 -0800

     

Log in to post a comment.