mirror of
https://github.com/iptv-org/iptv
synced 2026-09-06 03:50:47 -04:00
Update scripts.md
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user