pluto-iptv
Advanced tools
Comparing version 1.2.0 to 1.3.0
22
index.js
@@ -41,3 +41,3 @@ #!/usr/bin/env node | ||
let stopTime = encodeURIComponent( | ||
moment().add(8, 'hours').format('YYYY-MM-DD HH:00:00.000ZZ') | ||
moment().add(48, 'hours').format('YYYY-MM-DD HH:00:00.000ZZ') | ||
); | ||
@@ -112,3 +112,3 @@ | ||
let slug = channel.slug; | ||
let logo = channel.solidLogoPNG.path; | ||
let logo = channel.colorLogoPNG.path; | ||
let group = channel.category; | ||
@@ -119,3 +119,3 @@ let name = channel.name; | ||
m3u8 + | ||
`#EXTINF:0 channel-id="${slug}" tvg-logo="${logo}" group-title="${group}", ${name} | ||
`#EXTINF:0 tvg-id="${slug}" tvg-logo="${logo}" group-title="${group}", ${name} | ||
${m3uUrl} | ||
@@ -148,3 +148,3 @@ | ||
{ name: 'desc', text: channel.summary }, | ||
{ name: 'icon', attrs: { src: channel.solidLogoPNG.path } }, | ||
{ name: 'icon', attrs: { src: channel.colorLogoPNG.path } }, | ||
], | ||
@@ -203,2 +203,12 @@ }); | ||
{ | ||
name: 'category', | ||
attrs: { lang: 'en' }, | ||
text: programme.episode.series.type, | ||
}, | ||
{ | ||
name: 'category', | ||
attrs: { lang: 'en' }, | ||
text: channel.category, | ||
}, | ||
{ | ||
name: 'episode-num', | ||
@@ -208,2 +218,6 @@ attrs: { system: 'onscreen' }, | ||
}, | ||
{ | ||
name: 'icon', | ||
attrs: { src: programme.episode.poster.path}, | ||
}, | ||
], | ||
@@ -210,0 +224,0 @@ }); |
{ | ||
"name": "pluto-iptv", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "pluto.tv to XMLTV & M3U converter", | ||
"main": "index.js", | ||
"engines": { | ||
"node": ">=10" | ||
}, | ||
"dependencies": { | ||
@@ -7,0 +10,0 @@ "fs-extra": "^9.0.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10785
252