We’ve been working on this for the past couple of weeks, and believe it’s now ready for the public, to be tested more thoroughly.
This build adds support for the archive feature that some IPTV services provide to their users.
The implementation is based around the pvr.iptvsimple
add-on, which is now called pvr.iptvarchive
and is available in the CoreELEC add-on repository.
At this time there are some limitations to the functionality of this feature:
- At this point, only services that provide a m3u8 playlist are supported.
- If the playlist doesn’t contain
catchup-source
information tags, the user must know how the archive URL request is formatted, and set it in the add-on settings. - You should avoid using Fast-Forward or Rewind, it’s preferred to use skips/seeking instead.
- Resuming from
pause
does not restart the stream, so timeouts, buffer under-runs and timing glitches can and will occur.
Setup is simple:
- Go to Settings --> Add-ons --> Install from repository --> CoreELEC Nightly Add-ons --> PVR clients --> PVR IPTV Archive Client --> Install.
- Click on
Configure
and configure it normally. - There is a new tab called
Archive Settings
, go to it. - Turn on
Enable Archive support
. - Enter the URL format for your service. **
- You can select the length of the timeshift buffer (how long you can seek back from current time in Live TV mode)
- If you enable
Play from EPG in Live TV mode (using timeshift)
, selecting a show from the EPG will timeshift to it instead of play it like a video. - Select how much ‘buffer’ you want to have prior to a show’s start and past a show’s end times when you select a show from EPG. This will allow you to seek back or forward past the original EPG times of the show.
URL format:
Note - Some services include the archive URL in the playlist, under the catchup-source
tag in #EXTINF
. If your playlist has this tag, you should keep the URL format field empty.
The services we tested with use the normal URL for the channel with a query string to specify the start time of the program you want to watch.
The Archive URL format
field should only include the query string.
We tested with two formats so far, and thus we have added several placeholders to give users the flexibility to create these and other formats. If something is missing, please let us know and we will update the available placeholders.
- {utc} - The start time of the program in UTC format.
- {lutc} - Current time in UTC format.
- {Y} - The 4-digit year (YYYY) of the start date\time.
- {m} - The month (01-12) of the start date\time.
- {d} - The day (01-31) of the start date\time.
- {H} - The hour (00-23) of the start date\time.
- {M} - The minute (00-59) of the start date\time.
- {S} - The second (00-59) of the start date\time.
So here’s an example of how the tested formats would look like:
?utc={utc}&lutc={lutc}
&t={Y}-{m}-{d}-{H}-{M}-{S}
Download:
Installation:
Update: