Commit Graph
142 Commits
Author SHA1 Message Date
Blocket Flex 6dc7c275cc Merge pull request #55677 from Dev-next-gen/fix/edit-keep-titles
fix: keep stream titles when playlist:edit saves the file
2026-10-21 07:58:52 -07:00
leoca c96d3eea10 fix: keep stream titles when playlist:edit saves the file
playlist:edit saved the playlist without the raw option, so every title
was rebuilt from the API channel name and country instead of being
written back as read. For a stream whose channel is not in the database,
that becomes "undefined (undefined)". playlist:format, playlist:update
and playlist:test already save with { public: false, raw: true }.
2026-10-17 13:40:28 +00:00
leoca 867591f3e2 fix: normalize playlist:validate file arguments
playlist:validate decides which streams belong to the selected files by
comparing the raw command-line arguments with the paths returned by
Storage.list(). A path such as ./streams/us.m3u never matches
streams/us.m3u, so the file's own streams are put in the duplicate buffer
and every link is reported as already being in that same file.

Resolve the arguments with getStoragePath(), as playlist:format does.
2026-10-14 11:05:51 +00:00
freearhey 9902121ac0 Update tests 2026-09-18 11:30:45 +03:00
Pecaquito 403d972279 Merge pull request #50558 from iptv-org/patch-2026.09.1
Patch 2026.09.1
2026-09-04 16:52:14 -04:00
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 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
chen zhihao c5e24196b1 fix: keep malformed URLs during normalization (#49870) 2026-09-04 17:13:08 +02:00
chen zhihao 9652409093 fix: tolerate missing playlist metadata (#49868) 2026-09-04 17:12:25 +02:00
LuckWzx 2f83f28352 Fix issue:validate tests on Windows (#49523) 2026-09-04 17:11:01 +02:00
chen zhihao f3ef256bdf Restrict parsed stream quality suffixes (#49869)
* fix: restrict parsed stream quality suffixes

* test: reuse playlist export fixture for quality suffix
2026-09-04 09:28:26 +02:00
chen zhihao 2c21f19496 Return failure status when playlist checks are offline (#49872)
* fix: fail playlist tests when offline

* test: move offline playlist check into test suite
2026-09-03 22:42:56 +02:00
chen zhihao de096ff4a8 fix: address nested playlist review feedback 2026-09-01 10:53:47 +08:00
chen zhihao 1b6b7db25a fix: preserve nested playlist paths when formatting 2026-08-31 20:52:37 +08:00
freearhey 82a6cf2451 Update validate.test.ts 2026-08-17 01:12:41 +03:00
freearhey 63ab90ee50 Update validate.test.ts 2026-08-17 01:00:01 +03:00
freearhey 0177d18464 Update create.test.ts 2026-08-16 22:54:11 +03:00
freearhey 35fa55e15c Create validate.test.ts 2026-08-15 03:01:07 +03:00
freearhey 834abac5e4 wip 2026-05-02 12:08:00 +03:00
freearhey 39ca336efd Update update.test.ts 2026-03-23 17:12:28 +03:00
freearhey 850a6beeb8 Update create.test.ts 2026-03-11 07:08:13 +03:00
freearhey 3d9641d9a6 Update validate.test.ts 2026-03-11 07:08:11 +03:00
freearhey a24ae8f8b7 Update test.test.ts 2025-12-09 04:19:09 +03:00
freearhey a27ba0c7d0 Update tests 2025-12-04 18:32:06 +03:00
freearhey 60fde4cc8c Replace LF with CRLF 2025-10-09 03:20:46 +03:00
freearhey 45bfeb431d Update create.test.ts 2025-10-08 23:07:30 +03:00
freearhey 25fa704e14 Update create.test.ts 2025-10-08 21:24:48 +03:00
freearhey eac29a0f1a Replace LF with CRLF 2025-10-08 20:40:22 +03:00
Ismaël Moret 1ca59cba57 update tests & replace ffprobe -> mediainfo.js 2025-09-02 17:00:50 +00:00
freearhey 832acb11c2 Update update.test.ts 2025-08-24 22:42:59 +03:00
freearhey f665512bfc Update generate.test.ts 2025-08-23 17:46:51 +03:00
theofficialomega 8b3c9c9fa6 Merge branch 'master' of https://github.com/iptv-org/iptv into be-maintenance 2025-08-02 00:26:29 +02:00
theofficialomega 59a23b743c use cross-env to send parameters in an easier manner 2025-07-30 22:48:52 +02:00
freearhey edc1df700e Update update.test.ts 2025-07-30 19:56:50 +03:00
freearhey 60bbf10910 Update create.test.ts 2025-07-20 01:05:16 +03:00
freearhey 9de968a18d Update tests 2025-07-10 21:12:54 +03:00
freearhey 8e90d0eca8 Update tests 2025-05-24 19:20:09 +03:00
freearhey c6a6ce2ef0 Update validate.test.ts 2025-05-19 19:12:06 +03:00
freearhey 7ec5668a5d Update validate.test.ts 2025-05-12 12:24:34 +03:00
freearhey 4d8eb9199c Update tests 2025-05-01 00:50:53 +03:00
freearhey a8d68acd7b Update test.test.ts 2025-04-23 21:25:18 +03:00
freearhey 7f78b5770e Update tests 2025-04-23 20:56:11 +03:00
freearhey 844771bfb1 Update tests 2025-04-23 05:42:52 +03:00
freearhey c38ab0f070 Update update.test.ts 2025-04-23 05:21:23 +03:00
freearhey 5e8dee13a9 Update tests 2025-04-22 23:17:48 +03:00
freearhey 88e62715e8 Update tests 2025-04-22 03:47:28 +03:00
freearhey 2d44218887 Update tests 2025-04-16 20:19:31 +03:00
freearhey 6d9ee99848 Update tests 2025-03-29 11:39:30 +03:00
freearhey c4efdcfe2c Create test.test.ts 2025-03-15 07:29:59 +03:00
freearhey 6f33171764 Update update.test.ts 2025-03-09 00:48:37 +03:00