Remote access to playlist
Posted: 11 Jan 2014 13:30
Not sure if this is the right place to ask, but none of the other subforums seemed quite right either.
I'm currently using VLC on Windows (just the standard download, not building it myself).
I want to write an application external to VLC itself that can access its playlist (previous, current, next, and entire ordered list of items) -- just in a read-only fashion, and obtaining the filename alone is sufficient information.
Is there an existing method to do this using built-in functionality, or am I going to have to write some kind of plugin to export this information to my application? (The external app will most likely be written in either C++ or C#, but I haven't started on it yet so it's still flexible.)
For context, the basic idea is that I want to use a database outside of VLC and the media files themselves to track some additional metadata about each video in the playlist (and it has to be able to cope properly with the playlist being rearranged). Viewing/editing the metadata could potentially either be done directly in the external app or via some sort of playlist plugin in VLC, whichever seems easier. But either way I'll also probably want to be able to fetch the metadata for current/previous items from a third application via Python. (This is an optional extension though.)
If you can point to some kind of similar example code as well, that would be appreciated.
I'm currently using VLC on Windows (just the standard download, not building it myself).
I want to write an application external to VLC itself that can access its playlist (previous, current, next, and entire ordered list of items) -- just in a read-only fashion, and obtaining the filename alone is sufficient information.
Is there an existing method to do this using built-in functionality, or am I going to have to write some kind of plugin to export this information to my application? (The external app will most likely be written in either C++ or C#, but I haven't started on it yet so it's still flexible.)
For context, the basic idea is that I want to use a database outside of VLC and the media files themselves to track some additional metadata about each video in the playlist (and it has to be able to cope properly with the playlist being rearranged). Viewing/editing the metadata could potentially either be done directly in the external app or via some sort of playlist plugin in VLC, whichever seems easier. But either way I'll also probably want to be able to fetch the metadata for current/previous items from a third application via Python. (This is an optional extension though.)
If you can point to some kind of similar example code as well, that would be appreciated.