Open realdevnullius opened 10 months ago
Update: after Stremio forgot ALL my Add Ons, I'm reconfiguring everything first and I thought to start with Deflix. The local webserver wouldn't start and I had errors. Solution was to first remove the two folders in %LOCALAPPDATA%\deflix-stremio, and only THEN run deflix-stremio.exe .
And lastly... ;-)
Apparently deflix-stremio.exe needs to be running in the background for this Add-on to work? So it needs to always start? If so, one needs to add that to the installation README too I feel :)
Update: after Stremio forgot ALL my Add Ons, I'm reconfiguring everything first and I thought to start with Deflix. The local webserver wouldn't start and I had errors. Solution was to first remove the two folders in %LOCALAPPDATA%\deflix-stremio, and only THEN run deflix-stremio.exe .
What two folders? Im trying to install in Linux. I create this /home/panchines/.cache/deflix-stremio/
That i suppose is like in your windows. But im still having problems:
./deflix-stremio 2 ✘ panchines@manjaro
2024-01-28T20:11:22-03:00 INFO Parsing config...
2024-01-28T20:11:22-03:00 INFO Parsed config {"config": "{\"bindAddr\":\"localhost\",\"port\":8080,\"baseURL\":\"http://localhost:8080\",\"storagePath\":\"\",\"maxAgeTorrents\":604800000000000,\"cachePath\":\"\",\"cacheAgeXD\":86400000000000,\"redisAddr\":\"\",\"redisCreds\":\"\",\"baseURLyts\":\"https://yts.mx\",\"baseURLtpb\":\"https://apibay.org\",\"baseURL1337x\":\"https://1337x.to\",\"baseURLibit\":\"https://ibit.am\",\"baseURLrarbg\":\"https://torrentapi.org\",\"baseURLrd\":\"https://api.real-debrid.com\",\"baseURLad\":\"https://api.alldebrid.com\",\"baseURLpm\":\"https://www.premiumize.me/api\",\"logLevel\":\"debug\",\"logEncoding\":\"console\",\"logFoundTorrents\":false,\"rootURL\":\"https://www.deflix.tv\",\"extraHeadersXD\":null,\"socksProxyAddrTPB\":\"\",\"webConfigurePath\":\"\",\"imdb2metaAddr\":\"\",\"useOAUTH2\":false,\"oauth2authURLrd\":\"https://api.real-debrid.com/oauth/v2/auth\",\"oauth2authURLpm\":\"https://www.premiumize.me/authorize\",\"oauth2tokenURLrd\":\"https://api.real-debrid.com/oauth/v2/token\",\"oauth2tokenURLpm\":\"https://www.premiumize.me/token\",\"oauth2clientIDrd\":\"\",\"oauth2clientIDpm\":\"\",\"oauth2clientSecretRD\":\"\",\"oauth2clientSecretPM\":\"\",\"oauth2encryptionKey\":\"\",\"forwardOriginIP\":false,\"envPrefix\":\"\"}"}
2024-01-28T20:11:22-03:00 INFO Validated config
2024-01-28T20:11:22-03:00 INFO Initializing caches...
2024-01-28T20:11:22-03:00 ERROR Couldn't load RD availability cache from file - continuing with an empty cache {"error": "Couldn't open go-cache file: open /home/panchines/.cache/deflix-stremio/cache/availability-rd.gob: no such file or directory"}
main.initCaches
/go/src/deflix-stremio/cmd/deflix-stremio/main.go:420
main.main
/go/src/deflix-stremio/cmd/deflix-stremio/main.go:163
runtime.main
/usr/local/go/src/runtime/proc.go:204
2024-01-28T20:11:22-03:00 ERROR Couldn't load AD availability cache from file - continuing with an empty cache {"error": "Couldn't open go-cache file: open /home/panchines/.cache/deflix-stremio/cache/availability-ad.gob: no such file or directory"}
main.initCaches
/go/src/deflix-stremio/cmd/deflix-stremio/main.go:429
main.main
/go/src/deflix-stremio/cmd/deflix-stremio/main.go:163
runtime.main
/usr/local/go/src/runtime/proc.go:204
2024-01-28T20:11:22-03:00 ERROR Couldn't load Premiumize availability cache from file - continuing with an empty cache {"error": "Couldn't open go-cache file: open /home/panchines/.cache/deflix-stremio/cache/availability-pm.gob: no such file or directory"}
main.initCaches
/go/src/deflix-stremio/cmd/deflix-stremio/main.go:438
main.main
/go/src/deflix-stremio/cmd/deflix-stremio/main.go:163
runtime.main
/usr/local/go/src/runtime/proc.go:204
2024-01-28T20:11:22-03:00 ERROR Couldn't load redirect cache from file - continuing with an empty cache {"error": "Couldn't open go-cache file: open /home/panchines/.cache/deflix-stremio/cache/redirect.gob: no such file or directory"}
main.initCaches
/go/src/deflix-stremio/cmd/deflix-stremio/main.go:470
main.main
/go/src/deflix-stremio/cmd/deflix-stremio/main.go:163
runtime.main
/usr/local/go/src/runtime/proc.go:204
2024-01-28T20:11:22-03:00 ERROR Couldn't load stream cache from file - continuing with an empty cache {"error": "Couldn't open go-cache file: open /home/panchines/.cache/deflix-stremio/cache/stream.gob: no such file or directory"}
main.initCaches
/go/src/deflix-stremio/cmd/deflix-stremio/main.go:490
main.main
/go/src/deflix-stremio/cmd/deflix-stremio/main.go:163
runtime.main
/usr/local/go/src/runtime/proc.go:204
2024-01-28T20:11:22-03:00 ERROR Couldn't load token cache from file - continuing with an empty cache {"error": "Couldn't open go-cache file: open /home/panchines/.cache/deflix-stremio/cache/token.gob: no such file or directory"}
main.initCaches
/go/src/deflix-stremio/cmd/deflix-stremio/main.go:510
main.main
/go/src/deflix-stremio/cmd/deflix-stremio/main.go:163
runtime.main
/usr/local/go/src/runtime/proc.go:204
2024-01-28T20:11:22-03:00 INFO Initialized caches {"duration": "0ms"}
2024-01-28T20:11:22-03:00 INFO Initializing stores...
2024-01-28T20:11:22-03:00 INFO Initialized stores {"duration": "62ms"}
2024-01-28T20:11:22-03:00 INFO Initializing clients...
2024-01-28T20:11:22-03:00 INFO Initialized clients {"duration": "0ms"}
2024-01-28T20:11:22-03:00 INFO Setting up server...
2024-01-28T20:11:22-03:00 INFO Finished setting up server
2024-01-28T20:11:22-03:00 INFO Starting server {"address": "localhost:8080"}
2024-01-28T20:11:22-03:00 FATAL Couldn't start server {"error": "listen tcp4 127.0.0.1:8080: bind: address already in use"}
github.com/deflix-tv/go-stremio.(*Addon).Run.func5
/go/pkg/mod/github.com/deflix-tv/go-stremio@v0.9.1/addon.go:346
I dont have nothing running in 8080.......... so........
Simply run the executable binary (deflix-stremio.exe for Windows, deflix-stremio for macOS and Linux)
There needs to be a %LOCALAPPDATA%\deflix-stremio folder first (Windows).
Thanks :)