Skip to content

Commit 7088fa1

Browse files
authored
chore(strm): remove redundant param (OpenListTeam#1929)
1 parent 642acf8 commit 7088fa1

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

drivers/strm/meta.go

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,18 @@ const (
1212
)
1313

1414
type Addition struct {
15-
Paths string `json:"paths" required:"true" type:"text"`
16-
SiteUrl string `json:"siteUrl" type:"text" required:"false" help:"The prefix URL of the strm file"`
17-
PathPrefix string `json:"PathPrefix" type:"text" required:"false" default:"/d" help:"Path prefix"`
18-
DownloadFileTypes string `json:"downloadFileTypes" type:"text" default:"ass,srt,vtt,sub,strm" required:"false" help:"Files need to download with strm (usally subtitles)"`
19-
FilterFileTypes string `json:"filterFileTypes" type:"text" default:"mp4,mkv,flv,avi,wmv,ts,rmvb,webm,mp3,flac,aac,wav,ogg,m4a,wma,alac" required:"false" help:"Supports suffix name of strm file"`
20-
EncodePath bool `json:"encodePath" default:"true" required:"true" help:"encode the path in the strm file"`
21-
WithoutUrl bool `json:"withoutUrl" default:"false" help:"strm file content without URL prefix"`
22-
WithSign bool `json:"withSign" default:"false"`
23-
SaveStrmToLocal bool `json:"SaveStrmToLocal" default:"false" help:"save strm file locally"`
24-
SaveStrmLocalPath string `json:"SaveStrmLocalPath" type:"text" help:"save strm file local path"`
25-
KeepLocalDownloadFile bool `json:"KeepLocalDownloadFile" default:"false" help:"keep local download files"`
26-
SaveLocalMode string `json:"SaveLocalMode" type:"select" help:"save strm file locally mode" options:"insert,update,sync" default:"insert"`
27-
Version int
15+
Paths string `json:"paths" required:"true" type:"text"`
16+
SiteUrl string `json:"siteUrl" type:"text" required:"false" help:"The prefix URL of the strm file"`
17+
PathPrefix string `json:"PathPrefix" type:"text" required:"false" default:"/d" help:"Path prefix"`
18+
DownloadFileTypes string `json:"downloadFileTypes" type:"text" default:"ass,srt,vtt,sub,strm" required:"false" help:"Files need to download with strm (usally subtitles)"`
19+
FilterFileTypes string `json:"filterFileTypes" type:"text" default:"mp4,mkv,flv,avi,wmv,ts,rmvb,webm,mp3,flac,aac,wav,ogg,m4a,wma,alac" required:"false" help:"Supports suffix name of strm file"`
20+
EncodePath bool `json:"encodePath" default:"true" required:"true" help:"encode the path in the strm file"`
21+
WithoutUrl bool `json:"withoutUrl" default:"false" help:"strm file content without URL prefix"`
22+
WithSign bool `json:"withSign" default:"false"`
23+
SaveStrmToLocal bool `json:"SaveStrmToLocal" default:"false" help:"save strm file locally"`
24+
SaveStrmLocalPath string `json:"SaveStrmLocalPath" type:"text" help:"save strm file local path"`
25+
SaveLocalMode string `json:"SaveLocalMode" type:"select" help:"save strm file locally mode" options:"insert,update,sync" default:"insert"`
26+
Version int
2827
}
2928

3029
var config = driver.Config{

0 commit comments

Comments
 (0)