Merge pull request #34345 from iptv-org/patch-2026.03.4

Patch 2026.03.4
This commit is contained in:
archrootsda
2026-03-13 17:32:43 +01:00
committed by GitHub
4 changed files with 14 additions and 12 deletions

17
package-lock.json generated
View File

@@ -14,7 +14,7 @@
"@freearhey/core": "^0.14.3",
"@freearhey/storage-js": "^0.1.0",
"@inquirer/prompts": "^7.8.0",
"@iptv-org/sdk": "^1.1.3",
"@iptv-org/sdk": "^1.1.4",
"@octokit/core": "^7.0.3",
"@octokit/plugin-paginate-rest": "^13.1.1",
"@octokit/plugin-rest-endpoint-methods": "^16.0.0",
@@ -1101,9 +1101,9 @@
}
},
"node_modules/@freearhey/search-js": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/@freearhey/search-js/-/search-js-0.2.0.tgz",
"integrity": "sha512-1sxfCRbxM12Js3nM/S51cVKLYEjoksERidz539bleMAXes44eTC2m0TEQTJzJyE7l1pw2qUwsIhjd2l2l88fSw==",
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/@freearhey/search-js/-/search-js-0.2.1.tgz",
"integrity": "sha512-RXVJ2AaXjnrLPpLHCOWrdgtYc4SZplYl905INFmhL6V8jcyIrX+qrjkAjwAHqWDTnJSYfSG9D9Xr+EyKx/eXng==",
"license": "MIT",
"dependencies": {
"lodash": "^4.17.21"
@@ -1501,12 +1501,13 @@
}
},
"node_modules/@iptv-org/sdk": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/@iptv-org/sdk/-/sdk-1.1.3.tgz",
"integrity": "sha512-e2IQWPVpNdMJnCkJulnBpiU2Hn5hpaSKNTxo4bvOI4uMRRXR7R8hWbm9jtJnf5LYQ6xdN0xT52EjI0zi9dh5yg==",
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/@iptv-org/sdk/-/sdk-1.1.4.tgz",
"integrity": "sha512-NFviCin8V9rKPP+GG7xZ0mVi+WCwxqTFzjRH8or9KVLemFXrGI+ibGQ1PgiGUadRFSxTejXo2Dvwjwdwr2NTiQ==",
"license": "UNLICENSED",
"dependencies": {
"@freearhey/core": "^0.15.1",
"@freearhey/search-js": "^0.2.0",
"@freearhey/search-js": "^0.2.1",
"@ntlab/sfetch": "^1.2.0",
"axios": "^1.11.0",
"dayjs": "^1.11.18"

View File

@@ -38,7 +38,7 @@
"@freearhey/core": "^0.14.3",
"@freearhey/storage-js": "^0.1.0",
"@inquirer/prompts": "^7.8.0",
"@iptv-org/sdk": "^1.1.3",
"@iptv-org/sdk": "^1.1.4",
"@octokit/core": "^7.0.3",
"@octokit/plugin-paginate-rest": "^13.1.1",
"@octokit/plugin-rest-endpoint-methods": "^16.0.0",

View File

@@ -40,7 +40,8 @@ async function loadData() {
blocklist
} = dataManager.getProcessedData()
searchIndex = sdk.SearchEngine.createIndex<sdk.Models.Channel>(channels)
const searchableData = channels.map((channel: sdk.Models.Channel) => channel.getSearchable())
searchIndex = sdk.SearchEngine.createIndex<sdk.Types.ChannelSearchableData>(searchableData.all())
data.categoriesKeyById = categories.keyBy((category: sdk.Models.Category) => category.id)
data.countriesKeyByCode = countries.keyBy((country: sdk.Models.Country) => country.code)

View File

@@ -69,8 +69,8 @@ export default async function main(filepath: string) {
}
streamsWithoutId.forEach((stream: Stream) => {
if (stream.channel === '-') {
stream.channel = ''
if (stream.tvgId === '-') {
stream.tvgId = ''
}
})
}