Mayk IP TV

Technical Specification & Standards

M3U Playlist & #EXTINF Tag Specification

Learn how Mayk IP TV parses M3U and M3U Plus playlists, maps channel metadata, and automatically classifies live streams, movies, and series.

File Header and Text Encoding

An M3U playlist file must begin with the #EXTM3U directive on the very first line. Files must be encoded in UTF-8 with either LF or CRLF line endings. All stream targets must be absolute HTTP or HTTPS URLs.

Tier 1 Standard #EXTINF Attributes

Stream metadata is defined on the #EXTINF line using double-quoted key-value pairs. tvg-id provides EPG matching, tvg-name provides fallback channel naming, tvg-logo supplies the icon URL, and group-title categorizes the item.

Automatic Media Classification

Mayk IP TV classifies URLs containing /movie/ as on-demand movies, and URLs containing /series/ with S01E01 or S01.E01 patterns as series episodes. All other playable streams default to Live TV.

Tier 2 Extended Attributes

Custom playlist generators can provide media-type="live|movie|series", series-name, season, and episode attributes to override URL-based detection without depending on specific path conventions.

Catalog Size and Performance Tips

Large uncompressed playlists exceeding 40 MB strain Smart TV memory. Server operators should enable HTTP gzip compression or offer Xtream API access for fast category-by-category loading.

Tier 1: Standard #EXTINF Tags

Field / TagTierTypeExample ValueDescription
#EXTM3UStandard (Tier 1) · RequiredDirective (Header)#EXTM3UPlaylist file header; must be the very first line of any valid M3U file.
#EXTINFStandard (Tier 1) · RequiredDirective (Metadata)#EXTINF:-1 tvg-id="trt1" tvg-name="TRT 1",TRT 1 HDTrack info directive specifying stream duration and metadata attributes.
tvg-idStandard (Tier 1) · OptionalStringtrt1.trEPG channel identifier used to match program schedule listings.
tvg-nameStandard (Tier 1) · OptionalStringTRT 1 HDChannel display name used as a fallback for electronic guide matching.
tvg-logoStandard (Tier 1) · OptionalURL (http/https)https://stream.example.com:8080/images/trt1.pngDirect HTTP or HTTPS URL to the channel icon or media cover image.
group-titleStandard (Tier 1) · OptionalStringNationalCategory or genre name used for organizing channels into groups.
#EXTGRP:Standard (Tier 1) · OptionalDirective#EXTGRP:NationalAlternative group directive placed immediately following the EXTINF line.

Tier 2: Mayk IP TV Extended Tags

Field / TagTierTypeExample ValueDescription
media-typeExtended (Tier 2) · OptionalEnum ("live" | "movie" | "series")media-type="series"Explicit media type override: 'live', 'movie', or 'series'.
series-idExtended (Tier 2) · OptionalString / Integerseries-id="show-42"Unique series identifier grouping multiple episode streams together.
series-nameExtended (Tier 2) · OptionalStringseries-name="Example Series"Canonical TV show name for aggregating seasons and episode tracks.
seasonExtended (Tier 2) · OptionalIntegerseason="1"Season number for television series episodes (integer).
episodeExtended (Tier 2) · OptionalIntegerepisode="4"Episode number within the specified season (integer).
is_adultExtended (Tier 2) · OptionalInteger ("0" | "1")is_adult="1"Parental lock indicator flag: '1' marks adult or restricted content.
age_ratingExtended (Tier 2) · OptionalStringage_rating="18+"Minimum age rating badge (e.g. '18+') for parental control filters.

Content Classification Rules

Type#Example Value
Live TV#3http(s)://... | media-type="live"
Movie (VOD)#2/movie/... | media-type="movie"
Series Episode#1/series/... + S01E01 / S01.E01 | media-type="series"

Sample Templates

Live TV (M3U / #EXTINF)
#EXTM3U
#EXTINF:-1 tvg-id="trt1.tr" tvg-name="TRT 1 HD" tvg-logo="https://stream.example.com:8080/images/trt1.png" group-title="Ulusal",TRT 1 HD
https://stream.example.com:8080/live/demo_user/demo_pass/101.m3u8
#EXTINF:-1 tvg-id="atv.tr" tvg-name="ATV HD" tvg-logo="https://stream.example.com:8080/images/atv.png" group-title="Ulusal",ATV HD
https://stream.example.com:8080/live/demo_user/demo_pass/102.m3u8
Movie (VOD) & Series Episode (M3U / #EXTINF)
#EXTM3U
#EXTINF:-1 tvg-logo="https://stream.example.com:8080/images/movie202.png" group-title="Sinema",Example Movie (2026)
https://stream.example.com:8080/movie/demo_user/demo_pass/202.mp4
#EXTINF:-1 group-title="Dizi",Example Series - S01E01 - Pilot
https://stream.example.com:8080/series/demo_user/demo_pass/30301.mp4
#EXTINF:-1 media-type="series" series-name="Custom Show" season="1" episode="2" group-title="Dizi",Custom Show - S01E02
https://stream.example.com:8080/series/demo_user/demo_pass/30302.mp4

Interactive Format Checker

Paste your M3U snippet or Xtream JSON payload below to verify compatibility with Mayk IP TV parsing rules.

M3U Format Compatibility Checklist

  • Ensure #EXTM3U is the first line of the file and encoding is UTF-8.
  • Enclose all attribute values in double quotes and position the comma correctly.
  • Structure movie URLs with /movie/ and series with /series/ and SxxEyy.
  • Use valid, absolute HTTP or HTTPS URLs for all channel logos.
  • Avoid decorative separator lines and rely on group-title attributes instead.