Merge branch 'master' into Central302-patch-1

This commit is contained in:
Aleksandr Statciuk 2022-02-16 23:00:53 +03:00
commit 4140f88912
3 changed files with 11 additions and 5 deletions

View file

@ -2228,7 +2228,6 @@ BeInSportsPremium3.qa,BeIn Sports Premium 3,,QA,,,c/QA,ara,,FALSE,https://assets
BeInSportsUSA.qa,BeIn Sports USA,,QA,,,c/QA,ara,,FALSE,https://cdn.tvpassport.com/image/station/100x100/bein_sports.png
BeInSportsXtra1.qa,BeIn Sports Xtra 1,,QA,,,c/QA,ara,,FALSE,https://assets.bein.com/mena/sites/3/2015/06/beIN_SPORTS_XTRA1_Digital_Mono.png
BeInSportsXtra2.qa,BeIn Sports Xtra 2,,QA,,,c/QA,ara,,FALSE,https://assets.bein.com/mena/sites/3/2015/06/beIN_SPORTS_XTRA2_Digital_Mono.png
BeinSportsXtraUS.us,beIN Sports Xtra (USA),,US,,,c/US,eng,sports,FALSE,
BeInTurkiye.qa,BeIn Türkiye,,QA,,,c/QA,ara,,FALSE,http://contentlibrary.digiturk.com.tr/Channel/483/Image/72x44_beinhd.png
BeitolAbbasTV.ir,BeitolAbbas TV,,IR,,,c/IR,fas,religious,FALSE,
BeitolAbbasTVChannel.iq,BeitolAbbas TV Channel,,IQ,,,c/IQ,ara,,FALSE,https://www.lyngsat.com/logo/tv/bb/beitolabbas-tv-channel-iq.png
@ -9874,7 +9873,7 @@ KDGULD2.us,KDGU-LD2,Buzzr TV,US,US-KS,Ulysses,s/US-KS,eng,,FALSE,https://cdn.tvp
KDGULD5.us,KDGU-LD5,The Walk,US,US-KS,Ulysses,s/US-KS,eng,,FALSE,https://cdn.tvpassport.com/image/station/100x100/thewalktv.png
KDGULD6.us,KDGU-LD6,AMG-TV,US,US-KS,Ulysses,s/US-KS,eng,,FALSE,https://cdn.tvpassport.com/image/station/100x100/amgtv.png
KDHULD1.us,KDHU-LD1,Daystar,US,US-TX,Houston,s/US-TX,eng,,FALSE,https://cdn.tvpassport.com/image/station/100x100/daystar_tv.png
KDHWCD1.us,KDHW-CD1,TBN,US,US-WA,CBYtv' Yakima,s/US-WA,eng,,FALSE,https://cdn.tvpassport.com/image/station/100x100/tbn.png
KDHWCD1.us,KDHW-CD1,TBN,US,US-WA,'CBYtv' Yakima,s/US-WA,eng,,FALSE,https://cdn.tvpassport.com/image/station/100x100/tbn.png
KDINDT1.us,KDIN-DT1,PBS,US,US-IA,Des Moines,s/US-IA,eng,,FALSE,https://cdn.tvpassport.com/image/station/100x100/iowa-pbs.png
KDINDT2.us,KDIN-DT2,PBS Kids,US,US-IA,Des Moines,s/US-IA,eng,,FALSE,https://cdn.tvpassport.com/image/station/100x100/iowa-pbs-kids.png
KDINDT3.us,KDIN-DT3,PBS World,US,US-IA,Des Moines,s/US-IA,eng,,FALSE,https://cdn.tvpassport.com/image/station/100x100/iowa-pbs-world.png
@ -24678,7 +24677,7 @@ W45DFD1.us,W45DF-D1,HSN,US,US-TN,Knoxville,s/US-TN,eng,,FALSE,https://cdn.tvpass
W45DXD1.us,W45DX-D1,HSN,US,US-GA,Atlanta,s/US-GA,eng,,FALSE,https://cdn.tvpassport.com/image/station/100x100/homeshop.png
W46EDD1.us,W46ED-D1,PBS,US,US-NY,Plattsburgh,s/US-NY,eng,,FALSE,https://cdn.tvpassport.com/image/station/100x100/pbs.png
W46EUD1.us,W46EU-D1,HSN,US,US-NC,Raleigh,s/US-NC,eng,,FALSE,https://cdn.tvpassport.com/image/station/100x100/homeshop.png
W47CKD1.us,W47CK-D1,MyNetworkTV,US,US-NC,WMYW' Shallotte,s/US-NC,eng,,FALSE,https://cdn.tvpassport.com/image/station/100x100/mnt.png
W47CKD1.us,W47CK-D1,MyNetworkTV,US,US-NC,'WMYW' Shallotte,s/US-NC,eng,,FALSE,https://cdn.tvpassport.com/image/station/100x100/mnt.png
W47COD1.us,W47CO-D1,PBS,US,US-WI,River Falls,s/US-WI,eng,,FALSE,https://cdn.tvpassport.com/image/station/100x100/pbs.png
W47DHD1.us,W47DH-D1,PBS,US,US-PA,Clarks Summit,s/US-PA,eng,,FALSE,https://cdn.tvpassport.com/image/station/100x100/pbs.png
W48CLD1.us,W48CL-D1,Three Angels,US,US-MI,Grand Rapids,s/US-MI,eng,,FALSE,https://cdn.tvpassport.com/image/station/100x100/3abn.png

Can't render this file because it is too large.

View file

@ -64,7 +64,14 @@ function listParser(value) {
}
function boolParser(value) {
return value === 'true'
switch (value) {
case 'TRUE':
return true
case 'FALSE':
return false
default:
return value
}
}
function nullable(value) {

View file

@ -22,6 +22,6 @@ module.exports = {
.items(Joi.string().regex(/^[a-z]{3}$/))
.allow(''),
categories: Joi.array().items(Joi.string().regex(/^[a-z]+$/)),
is_nsfw: Joi.boolean().required(),
is_nsfw: Joi.boolean().strict().required(),
logo: Joi.string().uri().allow(null)
}