Here's an example from Samsung TV Plus that works
Note tvg-id="USBA370000104" in the m3u playlist
and channel="USBA370000104" in the XML <programme>
#EXTINF:-1 channel-id="samsung-USBA370000104" tvg-id="USBA370000104" tvg-logo="https://tvpnlogopus.samsungcloud.tv/platform/image/sourcelogo/vc/00/02/34/USBA370000104_20241112T000842SQUARE.png" group-title="News & Opinion" tvg-chno="1110",CBS News 24/7
<channel id="USBA370000104">
<display-name>CBS News 24/7</display-name>
<icon src="https://tvpnlogopus.samsungcloud.tv/platform/image/sourcelogo/vc/00/02/34/USBA370000104_20241112T000842SQUARE.png"/>
</channel>
<programme channel="USBA370000104" start="20250925233000 +0000" stop="20250926010000 +0000">
<title>CBS News 24/7</title>
<sub-title>Primetime</sub-title>
<desc>24/7 Primetime is your essential daily guide to all the stories shaping your world. Anchored by CBS News' Elizabeth Cook, the show delivers the news you need to know.</desc>
<icon src="https://tvpnlogopus.samsungcloud.tv/platform/image/contents/vc/00/LINEAR/US_USQA520417A_1673419034_0_20250713T073111452Z_1_imageprocessorclient-tvplus-linear-d7c8c765b-k8bdp.jpeg"/>
<rating>
<value>NA</value>
</rating>
</programme>
And Frndly TV
Note tvg-id="frndly-38" in the m3u playlist
and channel="frndly-38" in the XML <programme>
#EXTINF:-1 channel-id="frndly-38" tvg-id="frndly-38" tvg-logo="https://d229kpbsb5jevy.cloudfront.net/frndlytv/400/400/content/common/logos/channel/logos/vyoird.png",Dove
<channel id="frndly-38">
<display-name>Dove</display-name>
</channel>
<programme channel="frndly-38" start="20250926010000 +0000" stop="20250926020000 +0000">
<title>McLeod's Daughters</title>
</programme>