Merge branch 'master' into patch-2026.03.2

This commit is contained in:
freearhey
2026-03-25 21:40:23 +03:00
80 changed files with 7053 additions and 4982 deletions

View File

@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<channels>
<channel site="rtp.pt" site_id="lis#1" lang="pt" xmltv_id="RTP1.pt@SD">RTP1</channel>
<channel site="rtp.pt" site_id="lis#3" lang="pt" xmltv_id="RTPAcores.pt@SD">RTP Açores</channel>
<channel site="rtp.pt" site_id="lis#4" lang="pt" xmltv_id="RTPMadeira.pt@SD">RTP Madeira</channel>
<channel site="rtp.pt" site_id="lis#5" lang="pt" xmltv_id="RTPInternacional.pt@SD">RTP Internacional</channel>
<channel site="rtp.pt" site_id="lis#6" lang="pt" xmltv_id="RTPAfrica.pt@SD">RTP África</channel>
<channel site="rtp.pt" site_id="lis#7" lang="pt" xmltv_id="RTPNoticias.pt@HD">RTP Noticias</channel>
<channel site="rtp.pt" site_id="lis#8" lang="pt" xmltv_id="RTP2.pt@SD">RTP2</channel>
<channel site="rtp.pt" site_id="lis#9" lang="pt" xmltv_id="RTPMemoria.pt@SD">RTP Memória</channel>
<channel site="rtp.pt" site_id="per#5" lang="pt" xmltv_id="RTPiAsia.pt@SD">RTP Internacional Ásia</channel>
<channel site="rtp.pt" site_id="lis#3" lang="pt" xmltv_id="RTPAcores.pt@SD">RTP Açores</channel>
<channel site="rtp.pt" site_id="lis#6" lang="pt" xmltv_id="RTPAfrica.pt@SD">RTP África</channel>
<channel site="rtp.pt" site_id="rja#5" lang="pt" xmltv_id="RTPiAmerica.pt@SD">RTP Internacional América</channel>
<channel site="rtp.pt" site_id="per#5" lang="pt" xmltv_id="RTPiAsia.pt@SD">RTP Internacional Ásia</channel>
<channel site="rtp.pt" site_id="lis#5" lang="pt" xmltv_id="RTPInternacional.pt@SD">RTP Internacional</channel>
<channel site="rtp.pt" site_id="lis#4" lang="pt" xmltv_id="RTPMadeira.pt@SD">RTP Madeira</channel>
<channel site="rtp.pt" site_id="lis#9" lang="pt" xmltv_id="RTPMemoria.pt@SD">RTP Memória</channel>
<channel site="rtp.pt" site_id="lis#7" lang="pt" xmltv_id="RTPNoticias.pt@HD">RTP Noticias</channel>
</channels>

View File

@@ -16,6 +16,7 @@ const tz = {
module.exports = {
site: 'rtp.pt',
days: 2,
url({ channel, date }) {
let [region, channelCode] = channel.site_id.split('#')
return `https://www.rtp.pt/EPG/json/rtp-channels-page/list-grid/tv/${channelCode}/${date.format(