fonzie 21 Posted June 10, 2023 Share Posted June 10, 2023 I'm trying to make a custom xml listing for a channel. I'm using the template below: <?xml version="1.0" encoding="utf-8"?> <tv date="1/1/2021 12:00:00 PM" source-info-url="" source-info-name="" generator-info-name="" generator-info-url=""> <channel id="NAME OF YOUR CHANNEL HERE"> <display-name>NAME OF YOUR CHANNEL HERE</display-name> </channel> <programme channel="NAME OF YOUR CHANNEL HERE" start="20210101000000 +0000" stop="20211231235900 +0000"> <title>CHANNEL TITLE HERE</title> <desc>CHANNEL DESCRIPTION HERE</desc> <sub-title>CHANNEL SUB TITLE HERE</sub-title> </programme> </tv> But I'm wondering how I can add a poster to the program. All of the programs on my EPG currently have posters so I'm wondering what code I can add to this xml to have my custom channel display a poster for it as well. 1 Link to comment Share on other sites More sharing options...
Solution fonzie 21 Posted June 10, 2023 Author Solution Share Posted June 10, 2023 I found the answer on this page: https://github.com/XMLTV/xmltv/blob/master/xmltv.dtd for those wondering. I put the code in between the <programe> brackets. The code used is: <icon src="https://example.com/url_to_program_poster.jpg" width="100" height="100" /> 1 Link to comment Share on other sites More sharing options...
Luke 37156 Posted June 13, 2023 Share Posted June 13, 2023 Hi, thanks for following up. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now