Everything is in memory now without libs
This commit is contained in:
@@ -5,7 +5,6 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/debridmediamanager.com/zurg/internal/torrent"
|
||||
"github.com/debridmediamanager.com/zurg/pkg/realdebrid"
|
||||
)
|
||||
|
||||
// convertDate converts a date from RFC3339 to RFC1123
|
||||
@@ -19,8 +18,8 @@ func convertDate(input string) string {
|
||||
}
|
||||
|
||||
// findAllTorrentsWithName finds all torrents with a given name
|
||||
func findAllTorrentsWithName(t *torrent.TorrentManager, filename string) []realdebrid.Torrent {
|
||||
var matchingTorrents []realdebrid.Torrent
|
||||
func findAllTorrentsWithName(t *torrent.TorrentManager, filename string) []torrent.Torrent {
|
||||
var matchingTorrents []torrent.Torrent
|
||||
|
||||
torrents := t.GetAll()
|
||||
for _, torrent := range torrents {
|
||||
|
||||
Reference in New Issue
Block a user