Enabled febbox subtitles
This commit is contained in:
parent
528e2774b5
commit
327ba025c2
|
@ -1,9 +1,10 @@
|
|||
import { describe, expect, it } from "vitest";
|
||||
import { testSource } from "./providerUtils";
|
||||
import { lookmovieScraper } from "@/providers/sources/lookmovie";
|
||||
import { testMedia } from "./testMedia";
|
||||
import { showboxScraper } from "@/providers/sources/showbox";
|
||||
|
||||
// TODO add embed testing
|
||||
|
||||
testSource({
|
||||
source: lookmovieScraper,
|
||||
testSuite: [testMedia.arcane, testMedia.hamilton],
|
||||
|
|
|
@ -2,6 +2,7 @@ import { flags } from '@/entrypoint/utils/targets';
|
|||
import { makeEmbed } from '@/providers/base';
|
||||
import { parseInputUrl } from '@/providers/embeds/febbox/common';
|
||||
import { getStreamQualities } from '@/providers/embeds/febbox/qualities';
|
||||
import { getSubtitles } from '@/providers/embeds/febbox/subtitles';
|
||||
|
||||
export const febboxMp4Scraper = makeEmbed({
|
||||
id: 'febbox-mp4',
|
||||
|
@ -41,7 +42,7 @@ export const febboxMp4Scraper = makeEmbed({
|
|||
stream: [
|
||||
{
|
||||
id: 'primary',
|
||||
captions: [], // subtitles temporarily disabled, the endpoints are broken
|
||||
captions: await getSubtitles(ctx, id, fid, type, episode, season),
|
||||
qualities,
|
||||
type: 'file',
|
||||
flags: [flags.CORS_ALLOWED],
|
||||
|
|
Loading…
Reference in New Issue