beets icon indicating copy to clipboard operation
beets copied to clipboard

embyupdate: Allow direct configuration of user ID for private users

Open JoshDi opened this issue 2 years ago • 1 comments

In the embyupdate.py plugin, if the admin user listed in the beets config is hidden from login screens, the embyupdate plugin will fail and not find the username.

I am using an API key, which is server wide so the username does not really matter. Therefore the get_user function should just return the user provided in the beets config

We should also allow for the emby user ID (string/hash) to be supplied directly from the beets config to avoid this situation.

can this change be made please?

JoshDi avatar Jul 06 '22 15:07 JoshDi

Sounds very reasonable! Any chance you could try putting together a PR to show how this would work?

sampsyo avatar Jul 07 '22 17:07 sampsyo

I happened to encounter this recently. I'm happy to submit a PR for this.

shoriminimoe avatar Aug 26 '23 04:08 shoriminimoe