Skip to content

Commit

Permalink
Correct M3U playlist logo tag
Browse files Browse the repository at this point in the history
  • Loading branch information
djlucas123456 authored and Flole998 committed Apr 26, 2024
1 parent aba5e60 commit c420431
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/webui/webui.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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)
Expand Down

0 comments on commit c420431

Please sign in to comment.