Skip to content

Commit c420431

Browse files
djlucas123456Flole998
authored andcommitted
Correct M3U playlist logo tag
1 parent aba5e60 commit c420431

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/webui/webui.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ http_m3u_playlist_add(htsbuf_queue_t *hq, const char *hostpath,
518518
if (!strempty(logo)) {
519519
int id = imagecache_get_id(logo);
520520
if (id) {
521-
htsbuf_qprintf(hq, " logo=\"%s/imagecache/%d", hostpath, id);
521+
htsbuf_qprintf(hq, " tvg-logo=\"%s/imagecache/%d", hostpath, id);
522522
switch (urlauth) {
523523
case URLAUTH_NONE:
524524
break;
@@ -532,7 +532,7 @@ http_m3u_playlist_add(htsbuf_queue_t *hq, const char *hostpath,
532532
}
533533
htsbuf_append_str(hq, "\"");
534534
} else {
535-
htsbuf_qprintf(hq, " logo=\"%s\"", logo);
535+
htsbuf_qprintf(hq, " tvg-logo=\"%s\"", logo);
536536
}
537537
}
538538
if (epgid)

0 commit comments

Comments
 (0)