added: added chinese dub/sub selection

This commit is contained in:
stratuma 2024-06-22 22:01:33 +02:00
parent 7309457103
commit 0f086f3be0
4 changed files with 29 additions and 27 deletions

View File

@ -26,13 +26,13 @@
<option :value="4">XBOX One (DRM PROTECTED)</option>
<option :value="5">Firefox (DRM PROTECTED)</option>
<option :value="6">Edge (DRM PROTECTED)</option>
<option :value="7">Safari (DRM PROTECTED)</option>
<option :value="8">Chrome (DRM PROTECTED)</option>
<option :value="9">Web Fallback (DRM PROTECTED)</option>
<option :value="10">Iphone (DRM PROTECTED)</option>
<option :value="11">Ipad (DRM PROTECTED)</option>
<option :value="12">Android (DRM PROTECTED)</option>
<option :value="13">Samsung TV (DRM PROTECTED)</option>
<!-- <option :value="7">Safari (DRM PROTECTED)</option> -->
<option :value="7">Chrome (DRM PROTECTED)</option>
<option :value="8">Web Fallback (DRM PROTECTED)</option>
<!-- <option :value="10">Iphone (DRM PROTECTED)</option>
<option :value="11">Ipad (DRM PROTECTED)</option> -->
<option :value="9">Android (DRM PROTECTED)</option>
<option :value="10">Samsung TV (DRM PROTECTED)</option>
</select>
<div class="text-xs mt-2"> Fallback to non-drm stream if no widevine key provided </div>
</div>

View File

@ -113,7 +113,8 @@ const locales = ref<Array<{ locale: string; name: string }>>([
{ locale: 'th-TH', name: 'TH' },
{ locale: 'vi-VN', name: 'VI' },
{ locale: 'id-ID', name: 'ID' },
{ locale: 'ko-KR', name: 'KO' }
{ locale: 'ko-KR', name: 'KO' },
{ locale: 'zh-CN', name: 'CN' },
])
const selectedVideoQuality = ref<number>()

View File

@ -387,7 +387,8 @@ const locales = ref<Array<{ locale: string; name: string }>>([
{ locale: 'th-TH', name: 'TH' },
{ locale: 'vi-VN', name: 'VI' },
{ locale: 'id-ID', name: 'ID' },
{ locale: 'ko-KR', name: 'KO' }
{ locale: 'ko-KR', name: 'KO' },
{ locale: 'zh-CN', name: 'CN' },
])
const isProduction = process.env.NODE_ENV !== 'development'

View File

@ -372,38 +372,38 @@ export async function crunchyGetPlaylist(q: string, geo: string | undefined) {
name: 'Edge',
url: `/web/edge/play`
},
// {
// id: 7,
// name: 'Safari',
// url: `/web/safari/play`
// },
{
id: 7,
name: 'Safari',
url: `/web/safari/play`
},
{
id: 8,
name: 'Chrome',
url: `/web/chrome/play`
},
{
id: 9,
id: 8,
name: 'Web Fallback',
url: `/web/fallback/play`
},
// {
// id: 10,
// name: 'Iphone',
// url: `/ios/iphone/play`
// },
// {
// id: 11,
// name: 'Ipad',
// url: `/ios/ipad/play`
// },
{
id: 10,
name: 'Iphone',
url: `/ios/iphone/play`
},
{
id: 11,
name: 'Ipad',
url: `/ios/ipad/play`
},
{
id: 12,
id: 9,
name: 'Android',
url: `/android/phone/play`
},
{
id: 13,
id: 10,
name: 'Samsung TV',
url: `/tv/samsung/play`
}