Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readme missing a step #23

Open
realdevnullius opened this issue Jan 5, 2024 · 3 comments
Open

Readme missing a step #23

realdevnullius opened this issue Jan 5, 2024 · 3 comments

Comments

@realdevnullius
Copy link

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 :)

@realdevnullius
Copy link
Author

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 .

@realdevnullius
Copy link
Author

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 :)

@9acca9
Copy link

9acca9 commented Jan 28, 2024

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........

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@9acca9 @realdevnullius and others