Syncious off by default
This commit is contained in:
@@ -172,6 +172,8 @@ export async function patchYoutubeJs(videoId: string): Promise<VideoPlay> {
|
||||
});
|
||||
}
|
||||
|
||||
console.log(video);
|
||||
|
||||
return {
|
||||
type: 'video',
|
||||
title: video.primary_info.title?.toString() || '',
|
||||
@@ -201,7 +203,8 @@ export async function patchYoutubeJs(videoId: string): Promise<VideoPlay> {
|
||||
premiereTimestamp: 0,
|
||||
hlsUrl: video.streaming_data?.hls_manifest_url || undefined,
|
||||
liveNow: video.basic_info.is_live || false,
|
||||
premium: video?.playability_status?.status === 'UNPLAYABLE',
|
||||
// @ts-expect-error Type does have offer_id
|
||||
premium: video?.playability_status?.error_screen?.offer_id === 'sponsors_only_video',
|
||||
storyboards: storyboard,
|
||||
isUpcoming: video?.playability_status?.status !== 'OK',
|
||||
videoId: videoId,
|
||||
|
||||
@@ -67,7 +67,7 @@ export const returnYTDislikesInstanceStore: Writable<string | null | undefined>
|
||||
)
|
||||
);
|
||||
|
||||
export const synciousStore = persisted('syncious', true);
|
||||
export const synciousStore = persisted('syncious', false);
|
||||
export const synciousInstanceStore: Writable<string | null | undefined> = persisted(
|
||||
'synciousInstance',
|
||||
platformDependentDefault(
|
||||
@@ -92,7 +92,7 @@ export const interfaceDisplayThumbnailAvatars = persisted('disableThumbnailAvata
|
||||
export const interfaceDefaultPage = persisted('defaultPage', '/');
|
||||
export const interfaceSearchHistoryEnabled = persisted('searchHistoryEnabled', false);
|
||||
export const interfaceAllowInsecureRequests = persisted('allowInsecureRequests', false);
|
||||
export const interfaceDisableAutoUpdate = persisted('disableAutoUpdate', false)
|
||||
export const interfaceDisableAutoUpdate = persisted('disableAutoUpdate', false);
|
||||
|
||||
export const sponsorBlockStore = persisted('sponsorBlock', true);
|
||||
export const sponsorBlockUrlStore: Writable<string | null | undefined> = persisted(
|
||||
|
||||
Reference in New Issue
Block a user