clipious icon indicating copy to clipboard operation
clipious copied to clipboard

Selecting multiple backends in subdomains

Open amit3s opened this issue 10 months ago • 3 comments

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:

  1. Add inv1.nadeko.net as source
  2. Try to update to inv2.nadeko.net as source
  3. 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

amit3s avatar Feb 17 '25 12:02 amit3s

There is no logic in the code to do subdomain checks and ignore those. Did you add those 2 servers as different servers ?

lamarios avatar Feb 17 '25 12:02 lamarios

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.

amit3s avatar Feb 17 '25 12:02 amit3s

I'll have to double check the code but that doesn't sound like something I'd purposely do.

lamarios avatar Feb 17 '25 13:02 lamarios