-
Notifications
You must be signed in to change notification settings - Fork 230
/
constvalue.go
55 lines (44 loc) · 1.5 KB
/
constvalue.go
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
package common
import (
"time"
)
const HTMLTimeOut = 1 * 60 * time.Second // HttpClient 超时时间
const BrowserTimeOut = 6 * 60 * time.Second // Browser 超时时间
const OneMovieProcessTimeOut = 5 * 60 * time.Second // 一部电影,最多的处理时间
const OneSeriesProcessTimeOut = 30 * 60 // 一部连续剧,最多的处理时间
const ScanPlayedSubTimeOut = 60 * 60 // 扫描已经播放的字幕进行缓存的时间
const DownloadSubsPerSite = 1 // 默认,每个网站下载一个字幕,允许额外传参调整
const EmbyApiGetItemsLimitMin = 50
const EmbyApiGetItemsLimitMax = 1000000
const (
SubSiteChineseSubFinder = "csf"
SubSiteZiMuKu = "zimuku"
SubSiteSubHd = "subhd"
SubSiteShooter = "shooter"
SubSiteXunLei = "xunlei"
SubSiteAssrt = "assrt"
SubSiteA4K = "a4k"
SubSiteSubtitleBest = "subtitle_best"
)
const (
VideoExtMp4 = ".mp4"
VideoExtMkv = ".mkv"
VideoExtRmvb = ".rmvb"
VideoExtIso = ".iso"
VideoExtM2ts = ".m2ts"
)
const (
FileBDMV = "id.bdmv" // 蓝光文件,CERTIFICATE 这个中的
)
const (
TimeFormatPoint2 = "15:04:05.00"
TimeFormatPoint3 = "15:04:05,000"
TimeFormatPoint4 = "15:04:05,0000"
)
const Ignore = ".ignore"
const (
NotifyStringTellUserWait = "If you have a lot of videos, it may take a lot of time, just wait..."
)
const QueueName = "Queue"
const StaticFileName00 = "c31ViaG5Q.txt"
const OnceLogPrefix = "Once-"