Get filename from vlcj
Posted: 17 Jun 2016 08:55
Hi!
I'm new to vlcj development so please bear with me!
I have started the player in a JFrame and hardcoded a video file into it for now.
The file plays but the problem for me is that I would like a way to get the name of the file from vlcj.
I have looked alot in the EmbeddedMediaPlayerComponent (which is the one I use) but so far with no luck.
I'm not interested in the title since the meta data title could be practicly anything.
So a recap. I want a way to retrieve the loaded filename (thisFile.avi) thrugh the vlcj API.
/Thanks
I'm new to vlcj development so please bear with me!
I have started the player in a JFrame and hardcoded a video file into it for now.
The file plays but the problem for me is that I would like a way to get the name of the file from vlcj.
I have looked alot in the EmbeddedMediaPlayerComponent (which is the one I use) but so far with no luck.
I'm not interested in the title since the meta data title could be practicly anything.
So a recap. I want a way to retrieve the loaded filename (thisFile.avi) thrugh the vlcj API.
/Thanks