-
Notifications
You must be signed in to change notification settings - Fork 86
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
Get current song details from other app #488
Comments
Hi!, thanks for getting in touch. I think this is a great idea. It would be awesome to have a lyrics option that could work with tizonia. So right now the only RPC option available is MPRIS v2 (https://specifications.freedesktop.org/mpris-spec/latest/), out of which, only the following interfaces are implemented (see #66):
The Player interface contains a method called 'metadata' that would provide the information that you need. However, there is currently a bug that prevents it from being usable (see #433). There is a Bash script called 'tizonia-remote' that allows you some basic control of the program, using the D-BUS. This is not distributed in the Bintray debs, but to try it, just download it from there and make it executable: The D-BUS crash #433 is on my list for v0.15.0, so hopefully, I may have a fix for it soon. But talking about RPC options, just to let you know, that going forward, I have plans to add a JSON-RPC interface to programmatically control Tizonia and give access to all its features from external programs (e.g. a REPL command-line cli, remote UIs, etc). But at the moment I'm busy with Pandora support, which is my main goal for the next release. Having said all of that, I am definitely more than happy to discuss interfacing ideas or contributions of any kind in these areas. |
Hey I just found this project and I wanted to have it integrated with Polybar. RPC would be awesome! |
Versions
tizonia 0.14.
Installation Method Used
Bintray debs
Description
I would love to make a lyrics app for tizonia and need to get the song detail, thus, tizonia need a way to export the current song detail somehow.
What do you think about this?
And thank you for this great great app. 👍
The text was updated successfully, but these errors were encountered: