wrap up url escape bug; fix pausedUP bug

This commit is contained in:
Mukhtar Akere
2025-04-17 19:12:28 +01:00
parent 8c78da3f69
commit f34a371274
5 changed files with 12 additions and 8 deletions

View File

@@ -8,7 +8,6 @@ import (
"github.com/sirrobot01/decypharr/pkg/debrid/types"
"io"
"net/http"
"net/url"
"os"
"sort"
"strings"
@@ -25,7 +24,6 @@ type fileInfo struct {
}
func (fi *fileInfo) Name() string { return utils.EscapePath(fi.name) }
func (fi *fileInfo) RawName() string { return url.PathEscape(fi.name) }
func (fi *fileInfo) Size() int64 { return fi.size }
func (fi *fileInfo) Mode() os.FileMode { return fi.mode }
func (fi *fileInfo) ModTime() time.Time { return fi.modTime }