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

Getting track info out of gmrender #50

Open
sm7xvd opened this issue Dec 25, 2013 · 2 comments
Open

Getting track info out of gmrender #50

sm7xvd opened this issue Dec 25, 2013 · 2 comments

Comments

@sm7xvd
Copy link

sm7xvd commented Dec 25, 2013

I suppose i can tail the log file and extract the info i need, but maybe there's a neater way to get artist, title, duration, position and other track info?
I'm using gmrender as part of a car audio player which interfaces to the CD changer port of the car stereo. I'd like to present this info on the lcd display i have connected to it regardless of audio source.

@vetinari
Copy link

vetinari commented Jan 2, 2014

You can run https://github.com/vetinari/upnp-track-info and then wget -qO- http://$your_ip:9999/ to get a JSON of what's running - when state is PLAYING. Current track position is not provided :(

@hzeller
Copy link
Owner

hzeller commented Feb 24, 2014

What I would do is to connect to it just as a UPnP client and then query for the current track or wait for the update callbacks. I do something like that in my UPnP-Display project (same github).
(That doesn't properly display the time, as that would need active polling).

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

No branches or pull requests

3 participants