-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Hello,
Posting this here because I’m not sure if you published CastSponsorSkip to Unraid’s apps or not, and if not I hope this is helpful for someone else, because I’ve been scratching my head.
The Unraid template for this docker container configures the CSS_DEVICES environment variable and passes it to the container, even if you leave it blank. This results in CastSponsorSkip raising the error ERR: failed to parse IP. It wasn’t clear where this was coming from.
If you’re an Unraid user, edit the container from the Docker tab, switch to advanced edit mode and delete the CSS_DEVICES environment variable and the container starts auto discovery. If you find you need that environment variable, you can always re-add it.
The issue seems to stem from the test of c.DeviceAddrStrs on line 123 of internal/config/load.go - if it’s set by Unraid (even if blank!), it seemingly has a length greater than zero and CastSponsorSkip tries to parse the IPs 🤷
Hope this helps someone.