Update scripts.md

This commit is contained in:
freearhey
2026-09-05 07:29:45 +03:00
parent d8fcc186b1
commit b8dbc61463
+9
View File
@@ -10,6 +10,7 @@ For the scripts to work, you must have [Node.js](https://nodejs.org/en) installe
- [act:validate_issue](#actvalidate_issue)
- [act:validate_label](#actvalidate_label)
- [api:load](#apiload)
- [issue:validate](#issuevalidate)
- [playlist:format](#playlistformat)
- [playlist:update](#playlistupdate)
- [playlist:generate](#playlistgenerate)
@@ -71,6 +72,14 @@ Downloads the latest channel and stream data from the [iptv-org/api](https://git
npm run api:load
```
## issue:validate
Checks the request for errors and, if any are found, saves a list of them to the file `temp/logs/errors.txt`
```sh
npm run issue:validate --body="### Stream URL..." --labels="streams:add"
```
## playlist:format
Formats internal playlists. The process includes [URL normalization](https://en.wikipedia.org/wiki/URI_normalization), duplicate removal, removing invalid IDs, and sorting links by channel name, quality, and label.