Selecting multiple backends in subdomains
Describe the bug I can browse videos via inv.nadeko.net -- sometimes, backend 1 works, sometimes backend 2 works, and so on. Via a browser, I can switch these backends, and view videos. In the Clipious app, though, I cannot select those individual backends (inv1.nadeko.net, inv2.nadeko.net). Clipious seems to be ignoring the inv1/inv2/... subdomains.
To Reproduce Steps to reproduce the behavior:
- Add inv1.nadeko.net as source
- Try to update to inv2.nadeko.net as source
- Doesn't work - just seems to be using the same inv1.nadeko.net backend all the time.
Expected behavior Proper usage of subdomains. Also, plus points for separating out backends based on subdomains, so I can select inv1.nadeko.net; inv2.nadeko.net; etc. directly from clipious after adding all those once
Using clipious 1.22.7 via fdroid
There is no logic in the code to do subdomain checks and ignore those. Did you add those 2 servers as different servers ?
Yes, I tried it.
I already have 'inv.nadeko.net' in my list of servers. I try adding a new one: 'inv1.nadeko.net'. I have to uncheck the test, otherwise it pops up an error. The addition apparently succeeds, but the new server doesn't show up in the list of servers -- which led me to believe there was deduplication going on based on subdomains.
I'll have to double check the code but that doesn't sound like something I'd purposely do.