How to support Movies and Series in my simple m3u playlist

we have a built-i functionality to auto detect the movies, and is working on 98% of the cases. but for series it need a change in the m3u playlist format to work, then our application can support Movies and series in normal m3u playlist, but the playlist should provide the stream type via the TAG tvg-type, like

tvg-type = "live"; // For Live, this is the default categories for streams if not provided
tvg-type = "movie"; // For Movies
tvg-type = "serie"; // For Series
tvg-type = "radio"; // For radio

For series we have the following data that should be added by provider in the m3u playlist to make series work perfectly :

tvg-type="serie" // Required,
tvg-serie="1" // Required, serie_id to group streams inside series
tvg-season="1" // Optional, if not all episode will be included in season 1
tvg-episode="2" // Optional, for ordering episodes
serie-title="La casa de papel" // Optional, to show it on the series page, if not it will be shown the stream title of the first episode as series title

Please rate this article to help us improve our Knowledge Base.

5 0