mirror of
https://github.com/yattee/yattee.git
synced 2026-10-23 21:22:53 +00:00
Checking that some credential exists was the wrong question. Everything on screen was read with one particular login, and a replacement is a different person's account on the same server — its playlist IDs mean something else entirely, so importing "the same" playlist under it fetches whatever that ID happens to name there. The credential the list was loaded with is now recorded, and every import is checked against it rather than against whatever is current. The two checks around creating the local playlist are a suspension apart, so the login can still go between them. Nothing has been read at that point, and an empty playlist named after somebody else's is not worth keeping.