Commit graph

25 commits

Author SHA1 Message Date
freearhey
f7c09afb84 Remove wrong xmltv_ids 2025-01-13 17:50:28 +03:00
Toha
916b5f5234 Use simultaneous fetch helper.
- Introduce fetch helper for site to fetch guide simultaneously.
- Clean-up unused requires.
- Updated tv.yandex.ru cookies.

Signed-off-by: Toha <tohenk@yahoo.com>
2024-12-20 19:54:59 +07:00
freearhey
8110659652 Add missing space 2024-12-17 20:14:19 +03:00
freearhey
28c8e3d74f Replace -- with --- in npm commands
Resolves https://github.com/iptv-org/epg/issues/2354

Details: https://github.com/npm/cli/issues/3136
2024-12-15 17:32:49 +03:00
Toha
af72a08e5f
Update firstmedia.com guide.
Signed-off-by: Toha <tohenk@yahoo.com>
2024-11-24 21:07:18 +07:00
xemles
4b8f3fad10 Reverted, fixed encoding issues and added a bigger dataset 2023-12-28 21:12:23 +00:00
freearhey
8e7675933f Update firstmedia.com 2023-12-03 15:36:35 +03:00
freearhey
69dff7eec1 Fixes xmltv_id 2023-11-22 11:28:37 +03:00
freearhey
3e3687035c Update firstmedia.com 2023-11-19 13:30:08 +03:00
freearhey
e9fdc45f91 Fixes xmltv_id 2023-11-15 10:03:21 +03:00
Toha
ccd1d3a863
Fix firstmedia.com schedule api start time.
The correct start time for schedule is 1. Settings start time to 0
will mix the schedules from next day.
2023-11-10 20:00:19 +07:00
freearhey
a419eaeda1 Merge branch 'master' into pr/2217 2023-11-08 06:59:21 +03:00
freearhey
31b8509301 Merge branch 'fix-firstmedia.com-mislead' of https://github.com/tohenk/iptv-org-epg into pr/2217 2023-11-08 06:41:07 +03:00
Toha
4540181187
Fix firstmedia.com schedule mislead.
The retrieved schedules from firstmedia.com api indeed confusing. Taken for example
the following snippet:

```
{
  channelNo: '245',
  title: 'News Bulletin',
  date: '2023-11-07 17:00:00',
  startTime: '2023-11-07 17:00:00',
  endTime: '2023-11-07 17:30:00',
  description: 'News Bulletin',
  long_description: 'Hourly update of international news with an emphasis on the Arab world.'
}
```

Neither `startTime` nor `endTime` is an actual time but an offset from `date`.
If its an actual time then it would overlap with each others.

The workaround is to calculate the start and stop time offset, sort the schedules
based on those offset, and last skip overlapped schedules.

Signed-off-by: Toha <tohenk@yahoo.com>
2023-11-08 09:03:41 +07:00
freearhey
ff09c75006 Update firstmedia.com.channels.xml 2023-11-08 00:42:37 +03:00
Toha
113db7261a
Update firstmedia.com channels.
Signed-off-by: Toha <tohenk@yahoo.com>
2023-11-07 14:52:59 +07:00
Toha
6096bee441
Fix firstmedia.com schedule mislead.
The retrieved schedules from firstmedia.com api indeed confusing. Taken for example
the following snippet:

```json
{
  channelNo: '245',
  title: 'News Bulletin',
  date: '2023-11-07 17:00:00',
  startTime: '2023-11-07 17:00:00',
  endTime: '2023-11-07 17:30:00',
  description: 'News Bulletin',
  long_description: 'Hourly update of international news with an emphasis on the Arab world.'
}
```

Neither `startTime` nor `endTime` is an actual time but an offset from `date`.
If its an actual time then it would overlap with each others.

The workaround is to calculate the start and stop time offset, sort the schedules
based on those offset, and last skip overlapped schedules.

Signed-off-by: Toha <tohenk@yahoo.com>
2023-11-07 14:42:22 +07:00
Toha
cb7aa76810
Update firstmedia.com channels.
Signed-off-by: Toha <tohenk@yahoo.com>
2023-11-05 21:14:34 +07:00
Toha
d31d4a5736
Update firstmedia.com TV guide api.
Signed-off-by: Toha <tohenk@yahoo.com>
2023-11-04 00:47:03 +07:00
freearhey
63c86a2b30 Fixes linter errors 2023-10-15 14:08:23 +03:00
freearhey
c0cfcf7a47 Update /sites 2023-10-02 06:35:33 +03:00
liimee
ee035fc676 increase timeout for firstmedia.com 2023-06-21 17:04:12 +07:00
liimee
51c5bc6af8 use english for channels on firstmedia.com 2023-06-21 14:10:30 +07:00
ta
751fb1e7a5 improve firstmedia 2023-06-15 17:05:09 +07:00
liimee
66360221ff init firstmedia 2023-06-15 16:45:08 +07:00