Przeglądaj źródła

Added timeout for WebDAV fs mount

Toby Chui 1 rok temu
rodzic
commit
f4bb33fff5

+ 1 - 0
mod/filesystem/abstractions/webdavfs/webdavfs.go

@@ -35,6 +35,7 @@ type WebDAVFileSystem struct {
 func NewWebDAVMount(UUID string, Hierarchy string, root string, user string, password string) (*WebDAVFileSystem, error) {
 	//Connect to webdav server
 	c := gowebdav.NewClient(root, user, password)
+	c.SetTimeout(5 * time.Second)
 	err := c.Connect()
 	if err != nil {
 		log.Println("[WebDAV FS] Unable to connect to remote: ", err.Error())

Plik diff jest za duży
+ 267 - 0
web/FFmpeg Factory/index.html


+ 30 - 0
web/FFmpeg Factory/init.agi

@@ -0,0 +1,30 @@
+/*
+	FFmpeg Factory
+	CopyRight tobychui 2020 - 2021
+
+	This is a port of the ArOZ Online Beta FFmpeg Factory to the ArOZ Online 1.0
+	If you are running on Windows, ffmpeg must be installed in your %PATH% environment 
+	variable before you can actually use this module.
+*/
+
+//Define the launchInfo for the module
+var moduleLaunchInfo = {
+    Name: "FFmpeg Factory",
+	Group: "Media",
+	IconPath: "FFmpeg Factory/img/small_icon.png",
+	Version: "2.0",
+	StartDir: "FFmpeg Factory/index.html",
+	SupportFW: true,
+	LaunchFWDir: "FFmpeg Factory/index.html",
+	InitFWSize: [1150, 640],
+	SupportedExt: [".avi",".mp4",".mp3",".aac",".flac"]
+}
+
+//Request ffmpeg for this module
+if (requirepkg("ffmpeg",true)){
+	//Register the module
+	registerModule(JSON.stringify(moduleLaunchInfo));
+}else{
+	console.log("FFMPEG not found! Not enabling FFmpeg Factory");
+}
+

Plik diff jest za duży
+ 0 - 0
web/FFmpeg Factory/tocas.css


Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików