Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kodiupdate: support updating multiple Kodi instances #4101

Closed
ITguy3118 opened this issue Oct 14, 2021 · 3 comments · Fixed by #4197
Closed

kodiupdate: support updating multiple Kodi instances #4101

ITguy3118 opened this issue Oct 14, 2021 · 3 comments · Fixed by #4197
Labels
feature features we would like to implement

Comments

@ITguy3118
Copy link

Pretty straitforward ask, it would be nice if when running beets using the Kodi update client that you could enter multiple clients

syntax would be something to the tune of ...

kodi:
host: x.x.x.x
port: 8080
user: user
pwd: password
kodi:
host: x.x.x.x
port: 8080
user: user
pwd: password
kodi:
host: x.x.x.x
port: 8080
user: user
pwd: password
can this please be implemented

@jackwilsdon jackwilsdon added the feature features we would like to implement label Oct 14, 2021
@jackwilsdon jackwilsdon changed the title Please allow of the Kodiupdate plugin to support multiple clients kodiupdate: support updating multiple Kodi instances Oct 14, 2021
@jackwilsdon
Copy link
Member

jackwilsdon commented Oct 14, 2021

Thanks for opening a feature request.

I don't think we can read duplicate keys from our configuration, but I think something like this should work:

kodi:
  - host: localhost
    port: 8080
    user: kodi
    pwd: kodi
  - host: localhost
    port: 8081
    user: kodi
    pwd: kodi

We'd also still need to support the non-list format for backwards compatibility:

kodi:
  host: localhost
  port: 8080
  user: kodi
  pwd: kodi

@ITguy3118
Copy link
Author

works for me!, thank you for making this change

@sampsyo
Copy link
Member

sampsyo commented Oct 14, 2021

Very good point, @jackwilsdon!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature features we would like to implement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants