Compare commits
10 Commits
8cf3d4dda8
...
bugfixes
Author | SHA1 | Date | |
---|---|---|---|
6e016b802b
|
|||
72b85ec281
|
|||
b2e3268ad1
|
|||
1af43b111c
|
|||
03312a0079
|
|||
a91163f845
|
|||
7d28d1cea8 | |||
3fda737af2 | |||
ca176e1a76 | |||
54656f2630 |
@@ -47,6 +47,7 @@ You can override the configuration options using environment variables. The foll
|
|||||||
- `BASE_DIR`: Overrides `General.BaseDir`
|
- `BASE_DIR`: Overrides `General.BaseDir`
|
||||||
- `FORMAT`: Overrides `General.Format`
|
- `FORMAT`: Overrides `General.Format`
|
||||||
- `TEMP_BASE_DIR`: Overrides `General.TempBaseDir`
|
- `TEMP_BASE_DIR`: Overrides `General.TempBaseDir`
|
||||||
|
- `ENABLE_CONSOLE`: Overrides `General.EnableConsole` (set to `true` or `false`)
|
||||||
- `WATCHED_FOLDER`: Overrides `WatchFolder.Path`
|
- `WATCHED_FOLDER`: Overrides `WatchFolder.Path`
|
||||||
- `USE_POLLING`: Overrides `WatchFolder.UsePolling` (set to `true` or `false`)
|
- `USE_POLLING`: Overrides `WatchFolder.UsePolling` (set to `true` or `false`)
|
||||||
- `USE_INOTIFY`: Overrides `WatchFolder.UseInotify` (set to `true` or `false`)
|
- `USE_INOTIFY`: Overrides `WatchFolder.UseInotify` (set to `true` or `false`)
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
[General]
|
[General]
|
||||||
BaseDir = "/mnt/Media"
|
BaseDir = "/mnt/media"
|
||||||
Format = "mkv"
|
Format = "mkv"
|
||||||
TempBaseDir = "/tmp/nre"
|
TempBaseDir = "/tmp/nre"
|
||||||
EnableConsole = true
|
EnableConsole = true
|
||||||
|
|
||||||
[WatchFolder]
|
[WatchFolder]
|
||||||
Path = "/mnt/Watched"
|
Path = "/mnt/watched"
|
||||||
PollingInterval = 10
|
PollingInterval = 10
|
||||||
UsePolling = false
|
UsePolling = false
|
||||||
UseInotify = false
|
UseInotify = false
|
@@ -168,7 +168,7 @@ func getDownloadCommand(item Item, mpdPath string, tempDir string) string {
|
|||||||
metadata := parseMetadata(item.Metadata)
|
metadata := parseMetadata(item.Metadata)
|
||||||
keys := getKeys(item.Keys)
|
keys := getKeys(item.Keys)
|
||||||
|
|
||||||
command := fmt.Sprintf("%s %s", config.N_m3u8DLRE.Path, mpdPath)
|
command := fmt.Sprintf("%s '%s'", config.N_m3u8DLRE.Path, mpdPath)
|
||||||
|
|
||||||
for _, key := range keys {
|
for _, key := range keys {
|
||||||
if key != "" {
|
if key != "" {
|
||||||
|
@@ -72,8 +72,6 @@ func main() {
|
|||||||
}
|
}
|
||||||
processItems(*inputFile, items)
|
processItems(*inputFile, items)
|
||||||
}
|
}
|
||||||
|
|
||||||
http.HandleFunc("/set-speed-limit", handleSetSpeedLimit)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func startWebServer() {
|
func startWebServer() {
|
||||||
|
Reference in New Issue
Block a user