> For the complete documentation index, see [llms.txt](https://docs.tvheadend.org/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tvheadend.org/documentation/development/xmltv/input/recognised-tags-attributes.md).

# Recognised Tags/Attributes

TVHeadEnd only recognises a subset of the total XMLTV schema.

```xml
<programme start="YYYYMMDDhhmmss +0000" stop="YYYYMMDDhhmmss +0000" channel="3">
	<title lang="en">Event title to display</title>
	<sub-title lang="en">Event sub-title to display</sub-title>
	<desc lang="en">Extended event description</desc>
	<summary lang="en">Event summary</summary>
	<category lang="en">Category name</category>
	<keyword lang="en">Keyword name</keyword>
	<credits>
		<actor>Actor's name</actor>
		<director>Director's name</director>
		<guest>Guest's name</guest>
		<presenter>Presenter's name</presenter>
		<writer>Writer's name</writer>
	</credits>
	<video>
		<colour>NO</colour>
		<aspect>Width:Height</aspect>
		<quality>HD|FHD|UHD|488|576|720|1080|1716|2160</quality>
	</video>
	<subtitles type="teletext|deaf-signed"/>
	<audio-described />
	<previously-shown start="2008-10-11"/>
	<premiere />
	<new />
	<episode-num system="onscreen|xmltv_ns|dd_progid">Episode number text</episode-num>
	<star-rating>
		<value>X/Y</value>
	</star-rating>
	<date>YYYY</date>
	<rating system="Name">
		<value>Rating displey text</value>
	</rating>
	<icon src="Icon URL" />
</programme>
```

Multiple instances of some tags like 'actor' or 'category' or 'rating' may be present.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.tvheadend.org/documentation/development/xmltv/input/recognised-tags-attributes.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
