-
-
Notifications
You must be signed in to change notification settings - Fork 41
/
defaults.ts
69 lines (66 loc) · 1.69 KB
/
defaults.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
import { Resolutions, Channels, Settings, Args } from "./types.js";
export const defaultResolutions: Resolutions = ["360", "720", "1080", "2160"];
export const defaultSubChannels: Record<string, Channels> = {
"59f94c0bdd241b70349eb72b": [
{
title: "TalkLinked",
skip: false,
isChannel: "(post) => post.title?.toLowerCase().includes('talklinked')",
},
{
title: "TechLinked Shorts",
skip: false,
isChannel: "(post) => post.title?.toLowerCase().includes('tl short: ')",
},
{
title: "The WAN Show",
skip: false,
isChannel: "(post) => post.title?.toLowerCase().includes('wan show')",
},
{
title: "LMG Livestream VODs",
skip: false,
isChannel: "(post) => post.title?.toLowerCase().includes('livestream vod – ')",
},
],
};
export const defaultArgs: Args = {
username: "",
password: "",
token: "",
headless: false,
plexUsername: "",
plexPassword: "",
sanityCheck: false,
};
export const defaultSettings: Settings = {
__SettingsWiki: "https://github.com/Inrixia/Floatplane-Downloader/blob/master/wiki/settings.md",
runQuickstartPrompts: true,
floatplane: {
videosToSearch: 5,
videoResolution: "1080",
waitForNewVideos: true,
seekAndDestroy: [],
},
maxDownloadSpeed: -1,
plex: {
sectionsToUpdate: [],
enabled: false,
token: "",
},
filePathFormatting: "./videos/%channelTitle%/%channelTitle% - S%year%E%month%%day%%hour%%minute%%second% - %videoTitle%",
extras: {
stripSubchannelPrefix: true,
downloadArtwork: true,
saveNfo: true,
promptVideos: false,
considerAllNonPartialDownloaded: false,
},
artworkSuffix: "",
postProcessingCommand: "",
subscriptions: {},
metrics: {
prometheusExporterPort: null,
contributeMetrics: true,
},
};