Commit Graph
61 Commits
Author SHA1 Message Date
Sanaei afdb2b594c fix: make report:create test independent of log output and line endings
The assertion compared stdout against a template literal that could never
match:

- The file was converted from LF to CRLF in 25fa704e14, so the literal
  carries \r\n while the command's stdout uses \n.
- The literal starts with a newline, which only exists when consola prints
  its [info] lines to stdout ahead of the table. Those are suppressed unless
  DEBUG is set, so stdout begins directly at the table border.

Normalize line endings on both sides and trim the leading newline, so the
test asserts what it means to assert: that stdout contains the report table.
It now passes with and without DEBUG=true.
2026-09-04 18:39:37 +02:00
Sanaei 994b12fb25 fix: correct Live 24/7 handling and label regressions
- stream.updateWithIssue: 'Live 24/7: Yes' meant the stream IS 24/7, but it
  was assigned straight to isNot247, inverting the label. A 'No' answer was
  also ignored because the guard skipped falsy values.
- dataSet.getBoolean: an unanswered dropdown is stored as '' by
  parseIssueBody, which getBoolean read as false. Treat it as undefined so
  'no answer' means 'leave unchanged' instead of 'Not 24/7'.
- update.addStream: has() is true for an unanswered field, so it produced
  isNot247 = true for issues that left the dropdown blank.
- generate: sortBy got five orders for four iteratees.
- 2_streams_edit.yml: restore the '~' reset option dropped from the quality
  dropdown when the Label field was removed.
- stream.getLabels: use const to satisfy prefer-const.
2026-09-04 18:02:35 +02:00
Sanaei 3448e44b7e Merge branch 'master' into patch-2026.09.1
Resolved conflict in scripts/models/stream.ts: kept the branch's
labels/isNot247/isGeoBlocked handling in fromPlaylistItem while adopting
master's optional-chaining guards for data.tvg / data.http.
2026-09-04 18:01:12 +02:00
Sanaei f527cfd03a fix: harden getStoragePath and keep CRLF endings
- Normalize the returned path to forward slashes so it matches what
  Storage.list() (glob) returns, instead of leaking `\` on Windows.
- Treat the storage root itself as "not inside", so passing a directory
  no longer yields an empty path that Storage.load() would open as a dir.
- Extract the containment check into isInsideDirectory() and drop the
  redundant isAbsolute(filepath) branch (path.resolve already handles it).
- Restore the repository's CRLF line endings in the nested fixture.
2026-09-04 17:47:43 +02:00
Sanaei 2336dbc41f Merge remote-tracking branch 'origin/master' into pr/49871
# Conflicts:
#	tests/commands/playlist/format.test.ts
2026-09-04 17:30:25 +02:00
mhsanaei 117bbd2d70 Not 24/7 2026-03-24 19:00:03 +01:00
mhsanaei 00d9c5f660 DMCA 2026-03-24 18:55:31 +01:00
mhsanaei 90c15abec3 not working 2026-03-24 18:54:33 +01:00
mhsanaei 5386381532 New channels 2026-03-23 23:42:31 +01:00
SanaeiandGitHub c7178423de Merge pull request #34696 from MHSanaei/master
update persian channels
2026-03-23 20:47:52 +03:00
mhsanaei f9d68763f6 undo change but its [Not 24/7] 2025-12-10 10:03:55 +01:00
mhsanaei edac61a8a4 Geo-blocked
Blocked in France, DE, UK and US.
2025-12-10 01:28:01 +01:00
mhsanaei 6c6b156ffd Update fr_persiana.m3u 2025-12-08 15:42:25 +01:00
mhsanaei d063dbafc3 update 2025-12-06 23:12:41 +01:00
mhsanaei 368e289e63 Update fr_persiana.m3u 2025-12-04 14:14:32 +01:00
mhsanaei 14cee92df4 Persiana Sports 2-3-4 2025-12-04 13:58:35 +01:00
mhsanaei 76f919777c update channels 2025-09-30 10:12:21 +02:00
mhsanaei bb773a5fae new tvg id + PersianaFight 2025-09-29 09:43:15 +02:00
mhsanaei 603eece681 fix workflow: check 2025-09-04 23:57:29 +02:00
mhsanaei 54fc099885 new workers - with limitation
only works for specific website
2025-09-04 23:26:03 +02:00
MHSanaei 844efeff07 undo changes 2025-09-04 13:58:34 +02:00
MHSanaei cfc500cfaa iTV pack 2025-09-04 13:53:44 +02:00
MHSanaei ccebc00a2f new tvg-id set 2025-09-04 13:36:13 +02:00
MHSanaei 45d9be2c27 bozztv dead 2025-09-04 13:25:08 +02:00
MHSanaei 4edd913a87 Lenz Film 2025-09-04 11:40:16 +02:00
MHSanaei 1056feb071 dead link 2025-09-04 11:27:43 +02:00
mhsanaei 0118584bfe new tag 2025-09-04 08:17:44 +02:00
mhsanaei 03b5115d42 dead link 2025-09-04 08:17:27 +02:00
mhsanaei 1591a255ff EPlanet TV & PRO Sport International 2025-09-01 12:32:23 +02:00
mhsanaei 48845b8607 Telewebion Sport 2025-09-01 10:35:55 +02:00
mhsanaei 0b5fcfe44b T2 Movies
no tag id
2025-09-01 01:43:07 +02:00
mhsanaei f511bb64f0 Gem TV 2025-09-01 01:34:04 +02:00
mhsanaei 03a3a0498c fix manoto 2025-08-31 15:48:42 +02:00
SanaeiandGitHub 39fb599513 Merge branch 'master' into master 2025-08-27 11:15:41 +02:00
mhsanaei e727a4c5e0 dead 2025-08-25 13:23:08 +02:00
mhsanaei e5916ff0ef Manoto TV 2025-08-25 13:20:04 +02:00
mhsanaei d8b4d8596e new Persiana channels 2025-07-27 18:57:43 +02:00
SanaeiandGitHub 7457f2c556 Merge branch 'iptv-org:master' into master 2025-07-27 18:53:49 +02:00
mhsanaei fb5a7433f2 Update ir_wnslive.m3u 2025-07-25 11:02:50 +02:00
mhsanaei 628f351365 dead 2025-07-12 18:42:07 +02:00
mhsanaei 41b83bb6ae valid URL but need cachup feauture 2025-07-12 18:31:39 +02:00
mhsanaei b3d9e2fe9a fix 2025-07-08 16:23:45 +02:00
mhsanaei 17f30e03ca BBC Persian 2025-07-06 12:28:43 +02:00
mhsanaei 30f016200f manoto 2025-07-01 15:25:21 +02:00
mhsanaei 69f257f576 new Persian channels 2025-07-01 14:35:51 +02:00
mhsanaei ce5ce99f71 Update tr_onetv.m3u 2025-06-09 15:38:40 +03:30
mhsanaei 7ddc69e1cc remove missing + new gem tv 2025-06-07 03:22:55 +03:30
SanaeiandGitHub f103e04095 Merge branch 'master' into master 2025-06-06 19:19:42 +03:30
mhsanaei 83aaf0cf3b fix missing 2025-06-06 01:38:21 +03:30
mhsanaei 529d863e7f update 2025-06-05 12:25:39 +03:30
SanaeiandGitHub 1d9329dfa9 Merge branch 'master' into master 2025-06-05 10:20:45 +02:00
mhsanaei ace3c985c2 mbc persia
720p - original link
2025-06-02 14:37:21 +03:30
SanaeiandGitHub fd86bcad45 Merge branch 'master' into master 2025-06-02 12:13:07 +02:00
mhsanaei 469894d260 update 2025-06-02 12:04:39 +02:00
SanaeiandGitHub d43fdc2007 Merge branch 'iptv-org:master' into master 2025-05-31 21:52:49 +02:00
SanaeiandGitHub 87dfe64bec Merge branch 'master' into master 2025-05-27 09:31:43 +02:00
SanaeiandGitHub 0bce19365b Merge branch 'iptv-org:master' into master 2025-05-26 23:35:40 +02:00
mhsanaei d6a5931f1b Persian Channels 2025-05-26 14:29:13 +02:00
mhsanaei 7470cf5efc Update ir_telewebion.m3u 2025-05-17 09:04:04 +02:00
mhsanaei 386fb56211 Update ir_telewebion.m3u 2025-05-16 23:35:06 +02:00
mhsanaei 03a5b151a9 Update us.m3u 2025-05-15 17:07:39 +02:00