diff --git a/src/source/FourKHDHub.ts b/src/source/FourKHDHub.ts index ee710f2..593e434 100644 --- a/src/source/FourKHDHub.ts +++ b/src/source/FourKHDHub.ts @@ -17,7 +17,7 @@ export class FourKHDHub extends Source { public readonly contentTypes: ContentType[] = ['movie', 'series']; - public readonly countryCodes: CountryCode[] = [CountryCode.multi, CountryCode.hi]; + public readonly countryCodes: CountryCode[] = [CountryCode.multi, CountryCode.hi, CountryCode.ta, CountryCode.te]; public readonly baseUrl = 'https://4khdhub.dad'; diff --git a/src/source/__snapshots__/FourKHDHub.test.ts.snap b/src/source/__snapshots__/FourKHDHub.test.ts.snap index 36eec84..05710e2 100644 --- a/src/source/__snapshots__/FourKHDHub.test.ts.snap +++ b/src/source/__snapshots__/FourKHDHub.test.ts.snap @@ -208,6 +208,8 @@ exports[`FourKHDHub handle f1 1`] = ` "countryCodes": [ "en", "hi", + "ta", + "te", ], "height": 2160, "title": "F1 - The Movie (2025) 2160p UHD BluRay REMUX DV HDR 10bit HEVC [Hindi-Tamil-Telugu DDP 5.1 + English TrueHD Atmos 7.1] x265 (CiNPEHiLES-LUMiX).mkv", @@ -220,6 +222,8 @@ exports[`FourKHDHub handle f1 1`] = ` "countryCodes": [ "en", "hi", + "ta", + "te", ], "height": 2160, "title": "F1 - The Movie (2025) 2160p UHD BluRay DV HDR 10bit HEVC [Hindi-Tamil-Telugu DDP 5.1 + English TrueHD Atmos 7.1] x265 (WiKi-LUMiX).mkv", @@ -232,6 +236,8 @@ exports[`FourKHDHub handle f1 1`] = ` "countryCodes": [ "en", "hi", + "ta", + "te", ], "height": 2160, "title": "F1 - The Movie (2025) 2160p iT WEB-DL 10bit HEVC [Hindi-Tamil-Telugu DDP 5.1 + English TrueHD Atmos 7.1] x265 (WADU-LUMiX).mkv", @@ -244,6 +250,8 @@ exports[`FourKHDHub handle f1 1`] = ` "countryCodes": [ "en", "hi", + "ta", + "te", ], "height": 1080, "title": "F1 - The Movie (2025) 1080p BluRay REMUX AVC [Hindi-Tamil-Telugu DDP 5.1 + English TrueHD Atmos 7.1] x264 (HDT-LUMiX).mkv", @@ -256,6 +264,8 @@ exports[`FourKHDHub handle f1 1`] = ` "countryCodes": [ "en", "hi", + "ta", + "te", ], "height": 1080, "title": "F1 - The Movie (2025) 1080p UHD BluRay DV HDR 10bit HEVC [Hindi-Tamil-Telugu DDP 5.1 + English DDP 7.1] x265 (HiDt-LUMiX).mkv", @@ -268,6 +278,8 @@ exports[`FourKHDHub handle f1 1`] = ` "countryCodes": [ "en", "hi", + "ta", + "te", ], "height": 1080, "title": "F1 - The Movie (2025) 1080p BluRay [Hindi-Tamil-Telugu DDP 5.1 + English DDP 7.1] x264 (SPHD-LUMiX).mkv", @@ -280,6 +292,8 @@ exports[`FourKHDHub handle f1 1`] = ` "countryCodes": [ "en", "hi", + "ta", + "te", ], "height": 1080, "title": "F1 - The Movie (2025) 1080p BluRay 10bit HEVC [Hindi-Tamil-Telugu DDP 5.1 + English DDP 5.1] x265 (StOiC-LUMiX).mkv", @@ -329,6 +343,8 @@ exports[`FourKHDHub handle stranger things s05e08 1`] = ` "multi", "en", "hi", + "ta", + "te", ], "height": 1080, "title": "Stranger.Things.S05E08.Chapter.Eight.The.Rightside.Up.1080p.NF.WEB-DL.Multi.DDP5.1.H.264-4kHdHub.Com.mkv", @@ -342,6 +358,8 @@ exports[`FourKHDHub handle stranger things s05e08 1`] = ` "multi", "en", "hi", + "ta", + "te", ], "height": 1080, "title": "Stranger.Things.S05E08.Chapter.Eight.The.Rightside.Up.1080p.NF.WEB-DL.Multi.DDP5.1.H.265-4kHdHub.Com.mkv", @@ -355,6 +373,8 @@ exports[`FourKHDHub handle stranger things s05e08 1`] = ` "multi", "en", "hi", + "ta", + "te", ], "height": 1080, "title": "Stranger.Things.S05E08.Chapter.Eight.The.Rightside.Up.1080p.NF.WEB-DL.Multi.DDP5.1.HDR-DV.H.265-4kHdHub.Com.mkv", @@ -368,6 +388,8 @@ exports[`FourKHDHub handle stranger things s05e08 1`] = ` "multi", "en", "hi", + "ta", + "te", ], "height": 1080, "title": "Stranger.Things.S05E08.Chapter.Eight.The.Rightside.Up.1080p.NF.WEB-DL.Multi.AAC5.1.AV1-4kHdHub.Com.mkv", @@ -381,6 +403,8 @@ exports[`FourKHDHub handle stranger things s05e08 1`] = ` "multi", "en", "hi", + "ta", + "te", ], "height": 2160, "title": "Stranger.Things.S05E08.Chapter.Eight.The.Rightside.Up.2160p.REPACK.NF.SDR.WEB-DL.Multi.DDP5.1.Atmos.H.265-4kHDHub.com.mkv", @@ -394,6 +418,8 @@ exports[`FourKHDHub handle stranger things s05e08 1`] = ` "multi", "en", "hi", + "ta", + "te", ], "height": 2160, "title": "Stranger.Things.S05E08.Chapter.Eight.The.Rightside.Up.2160p.REPACK.NF.WEB-DL.Multi.DDP5.1.Atmos.DV.HDR.H.265-4kHDHub.com.mkv", @@ -411,6 +437,8 @@ exports[`FourKHDHub handle superman 2025 1`] = ` "countryCodes": [ "en", "hi", + "ta", + "te", ], "height": 2160, "title": "Superman (2025) 2160p UHD BluRay REMUX DoVi HDR HEVC [Hin-Tam-Tel DDP 5.1 + English TrueHD.Atmos 7.1] (CiNEPHiLES-Ionicboy).mkv", @@ -423,6 +451,8 @@ exports[`FourKHDHub handle superman 2025 1`] = ` "countryCodes": [ "en", "hi", + "ta", + "te", ], "height": 2160, "title": "Superman (2025) 2160p 10bit BluRay DoVi HDR HEVC [Hin-Tam-Tel DDP 5.1 + English DDP.Atmos 7.1] x265 (WiKi-Ionicboy).mkv", @@ -435,6 +465,8 @@ exports[`FourKHDHub handle superman 2025 1`] = ` "countryCodes": [ "en", "hi", + "ta", + "te", ], "height": 1080, "title": "Superman (2025) 1080p BluRay REMUX AVC [Hin-Tam-Tel DDP 5.1 + English TrueHD.Atmos 7.1] (FraMeSToR-Ionicboy).mkv", @@ -447,6 +479,8 @@ exports[`FourKHDHub handle superman 2025 1`] = ` "countryCodes": [ "en", "hi", + "ta", + "te", ], "height": 2160, "title": "Superman (2025) IMAX 2160p MA WEB-DL DV HDR10+ 10bit HEVC [Hindi-Tamil-Telugu DDP 5.1 + English DDP Atmos 5.1] x265 (126811-LUMiX).mkv", @@ -459,6 +493,8 @@ exports[`FourKHDHub handle superman 2025 1`] = ` "countryCodes": [ "en", "hi", + "ta", + "te", ], "height": 2160, "title": "Superman (2025) IMAX 2160p MA WEB-DL SDR 10bit HEVC [Hindi-Tamil-Telugu DDP 5.1 + English DDP Atmos 5.1] x265 (HONE-LUMiX).mkv", @@ -471,6 +507,8 @@ exports[`FourKHDHub handle superman 2025 1`] = ` "countryCodes": [ "en", "hi", + "ta", + "te", ], "height": 1080, "title": "Superman (2025) IMAX 1080p MA WEBRip [Hindi-Tamil-Telugu DDP 5.1 + English DDP Atmos 5.1] x264 (HiDt-LUMiX).mkv", @@ -483,6 +521,8 @@ exports[`FourKHDHub handle superman 2025 1`] = ` "countryCodes": [ "en", "hi", + "ta", + "te", ], "height": 1080, "title": "Superman (2025) 1080p 10bit UHD BluRay DoVi HDR HEVC [Hin-Tam-Tel DDP 5.1 + English DDP 7.1] H.265 (ATELiER-Ionicboy).mkv", @@ -495,6 +535,8 @@ exports[`FourKHDHub handle superman 2025 1`] = ` "countryCodes": [ "en", "hi", + "ta", + "te", ], "height": 2160, "title": "Superman (2025) 2160p 10bit UHD BluRay DoVi HDR HEVC [Hin-Tam-Tel DDP 5.1 + English DDP.Atmos 7.1] x265 (hallowed-Ionicboy).mkv", @@ -507,6 +549,8 @@ exports[`FourKHDHub handle superman 2025 1`] = ` "countryCodes": [ "en", "hi", + "ta", + "te", ], "height": 1080, "title": "Superman (2025) 1080p BluRay [Hin-Tam-Tel DDP 5.1 + English DDP.Atmos 7.1] x264 (WiKi-Ionicboy).mkv", @@ -519,6 +563,8 @@ exports[`FourKHDHub handle superman 2025 1`] = ` "countryCodes": [ "en", "hi", + "ta", + "te", ], "height": 1080, "title": "Superman (2025) IMAX 1080p MA WEB-DL [Hindi-Tamil-Telugu DDP 5.1 + English DDP Atmos 5.1] x264 (BYNDR-LUMiX).mkv", @@ -531,6 +577,8 @@ exports[`FourKHDHub handle superman 2025 1`] = ` "countryCodes": [ "en", "hi", + "ta", + "te", ], "height": 1080, "title": "Superman (2025) 1080p 10bit BluRay HEVC [Hin-Tam-Tel DDP 5.1 + English DDP.Atmos 7.1] x265 (HONE-Ionicboy).mkv", @@ -543,6 +591,8 @@ exports[`FourKHDHub handle superman 2025 1`] = ` "countryCodes": [ "en", "hi", + "ta", + "te", ], "height": 1080, "title": "Superman (2025) IMAX 1080p DS4K MA WEBRip 10bit HEVC [Hindi-Tamil-Telugu DDP 5.1 + English DDP Atmos 5.1] x265 (StOiC-LUMiX).mkv", diff --git a/src/types.ts b/src/types.ts index dd61ba7..ca73182 100644 --- a/src/types.ts +++ b/src/types.ts @@ -24,6 +24,7 @@ export enum CountryCode { al = 'al', ar = 'ar', bg = 'bg', + bl = 'bl', cs = 'cs', de = 'de', el = 'el', @@ -32,6 +33,7 @@ export enum CountryCode { et = 'et', fa = 'fa', fr = 'fr', + gu = 'gu', he = 'he', hi = 'hi', hr = 'hr', @@ -39,12 +41,16 @@ export enum CountryCode { id = 'id', it = 'it', ja = 'ja', + kn = 'kn', ko = 'ko', lt = 'lt', lv = 'lv', + ml = 'ml', + mr = 'mr', mx = 'mx', nl = 'nl', no = 'no', + pa = 'pa', pl = 'pl', pt = 'pt', ro = 'ro', @@ -52,6 +58,8 @@ export enum CountryCode { sk = 'sk', sl = 'sl', sr = 'sr', + ta = 'ta', + te = 'te', th = 'th', tr = 'tr', uk = 'uk', diff --git a/src/utils/__snapshots__/manifest.test.ts.snap b/src/utils/__snapshots__/manifest.test.ts.snap index 481a977..19ed3ee 100644 --- a/src/utils/__snapshots__/manifest.test.ts.snap +++ b/src/utils/__snapshots__/manifest.test.ts.snap @@ -49,6 +49,16 @@ exports[`buildManifest default manifest 1`] = ` "title": "Latin American Spanish 🇲🇽 (CineHDPlus, Cuevana, HomeCine, VerHdLink)", "type": "checkbox", }, + { + "key": "ta", + "title": "Tamil 🇮🇳 (4KHDHub)", + "type": "checkbox", + }, + { + "key": "te", + "title": "Telugu 🇮🇳 (4KHDHub)", + "type": "checkbox", + }, { "key": "showErrors", "title": "Show errors", @@ -74,7 +84,7 @@ exports[`buildManifest default manifest 1`] = ` ], "description": "Provides HTTP URLs from streaming websites. Configure add-on for additional languages. Add MediaFlow proxy for more URLs. -Supported languages: Albanian, German, Castilian Spanish, French, Hindi, Italian, Latin American Spanish +Supported languages: Albanian, German, Castilian Spanish, French, Hindi, Italian, Latin American Spanish, Tamil, Telugu Supported sources: 4KHDHub, RgShows, VixSrc, Kokoshka, CineHDPlus, Cuevana, HomeCine, VerHdLink, Einschalten, KinoGer, MegaKino, MeineCloud, StreamKiste, Frembed, FrenchCloud, Movix, Eurostreaming, MostraGuarda diff --git a/src/utils/language.ts b/src/utils/language.ts index d621d8a..bb4294f 100644 --- a/src/utils/language.ts +++ b/src/utils/language.ts @@ -5,6 +5,7 @@ const countryCodeMap: Record