]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Correct M3U playlist logo tag
authordjlucas123456 <57057551+djlucas123456@users.noreply.github.com>
Fri, 26 Apr 2024 03:54:17 +0000 (03:54 +0000)
committerFlole <Flole998@users.noreply.github.com>
Fri, 26 Apr 2024 08:43:40 +0000 (10:43 +0200)
src/webui/webui.c

index 8d48f3a0ca8eeb22af90e5ff8ee22a8ff371adfe..2b2ac80bbcd83c0db2bd29a7c1c46cff7caf76ff 100644 (file)
@@ -518,7 +518,7 @@ http_m3u_playlist_add(htsbuf_queue_t *hq, const char *hostpath,
   if (!strempty(logo)) {
     int id = imagecache_get_id(logo);
     if (id) {
-      htsbuf_qprintf(hq, " logo=\"%s/imagecache/%d", hostpath, id);
+      htsbuf_qprintf(hq, " tvg-logo=\"%s/imagecache/%d", hostpath, id);
       switch (urlauth) {
       case URLAUTH_NONE:
         break;
@@ -532,7 +532,7 @@ http_m3u_playlist_add(htsbuf_queue_t *hq, const char *hostpath,
       }
       htsbuf_append_str(hq, "\"");
     } else {
-      htsbuf_qprintf(hq, " logo=\"%s\"", logo);
+      htsbuf_qprintf(hq, " tvg-logo=\"%s\"", logo);
     }
   }
   if (epgid)