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

Introduce use_mpris configuration setting #740

Merged
merged 5 commits into from
Jan 13, 2021

Conversation

valir
Copy link
Contributor

@valir valir commented Dec 21, 2020

#730

This defines the use_mpris configuration setting in the main
configuration file. Set this to false in case you have a headless
spotifyd instance, running in session lacking a dbus session.

@valir
Copy link
Contributor Author

valir commented Dec 21, 2020

Looks like the linter error is not in the code I've touched. Running the same clippy command on the master branch gives the same error.

@valir
Copy link
Contributor Author

valir commented Dec 21, 2020

Well, I've tried to come-up with this new feature and now I'm dragged down by errors with the linter on the code I don't touched and that are not reproducible on my laptop. Looks like the master code-base is not clean from the linter PoV. Please help me finish-up this pull request!

@robinvd
Copy link
Contributor

robinvd commented Dec 23, 2020

Hey @valir thanks so much for the PR on the issue i made! ill quickly check out the code and test it.

as for the CI other PRs also have this issue and i dont think it should be adressed here, when we fix it you can rebase/merge dev into this branch and the lint errors should go away. Sorry for the inconvience

Copy link
Contributor

@robinvd robinvd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code looks good, and quickly testing it seems to work great!

README.md Outdated Show resolved Hide resolved
@robinvd robinvd linked an issue Jan 6, 2021 that may be closed by this pull request
6 tasks
Copy link
Contributor

@robinvd robinvd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Valentin Rusu added 3 commits January 12, 2021 21:43
BUG:730

This defines the `use_mpris` configuration setting in the main
configuration file. Set this to `false` in case you have a headless
spotifyd instance, running in session lacking a dbus session.
@valir
Copy link
Contributor Author

valir commented Jan 12, 2021

After fetching upstream and rebasing on that master, I'm still getting lint errors in code I did not touched.

@robinvd
Copy link
Contributor

robinvd commented Jan 12, 2021

Yea that is unfortunately currently an issue. But we can just merge it even if there are lint errors

@valir
Copy link
Contributor Author

valir commented Jan 12, 2021

Looking forward for the merge as I'd like to see it landing on Archlinux Arm repos 😉

@robinvd
Copy link
Contributor

robinvd commented Jan 12, 2021

@valir maybe i missed it but did you adress this comment already? #740 (review)

@valir
Copy link
Contributor Author

valir commented Jan 13, 2021

@valir maybe i missed it but did you adress this comment already? #740 (review)

The link in there shows an overview of the diffs my branch brings-in. Looks like I don't get what should be done there.

@robinvd
Copy link
Contributor

robinvd commented Jan 13, 2021

oh yeah sorry about that it should have gone to a specific line, the function config.rs:SharedConfigValues:merge_with merges the config from disc and from the command line. If you could add the new field so that it is also merged

@JojiiOfficial JojiiOfficial merged commit 7a9e22d into Spotifyd:master Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gracefully handling dbus init errors
3 participants