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
How do I get the currently-playing file? #32
Comments
Hi @dmerrick. Thank you for your interest in the library. I need to implement a couple more bindings in order to be able to obtain metadata for |
Thank you, @adrg! I truly appreciate it, and let me know when/if you want someone to test |
Hi @dmerrick. I added the bindings for media metadata management. I also added an example for them: https://github.com/adrg/libvlc-go/blob/master/v3/examples/media_information.go. I reorganized the repository in order to be able to develop each version of libVLC separately. The example I linked above uses the v3 version of the package (which implements bindings for libVLC v3.X or later). If you have libVLC 2.X installed, please use the v2 version of the package. Let me know if you encounter any issues. |
Thank you, @adrg, that does exactly what I wanted it to do! I did start getting the following warnings, but they didn't affect the functionality of my app:
|
Glad it worked for you. Those are just some deprecation notices for those bindings. libVLC v3 still has them though so I included them as well. I will suppress the warnings in a future release of the module and when libVLC removes those bindings, I will also remove them. That will probably happen in libVLC v4. In the meantime, you can suppress the warnings when you build your project: # suppress only deprecation notices.
CGO_CFLAGS="-Wno-deprecated-declarations" go build
# or suppress all warnings.
CGO_CFLAGS="-w" go build |
Perfect. As far as I’m concerned, this issue is closed. Thank you for being an exemplary maintainer |
Glad to help. Thank you for the kind words. |
I have my
ListPlayer
all set up and running, but I can't for the life of me figure out how to get info on the currently-playingMedia
.What I really want is the path to the current
Media
, but other metadata (such as the media's title) would also work.Thanks!
The text was updated successfully, but these errors were encountered: