Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Passing --config to VLC #218
I am trying to pass an argument to VLC to allow it to pull a specific vlcrc file for each instance of VLC that is opened by LiveStreamer. Here's as far as I've currently gotten:
The --config parameter is supposed to allow VLC to run using the designated vlcrc file. But when this is entered in, it opens the stream in VLC, doesnt use the config, and the stream does not play. Am I perhaps doing this wrong?
Technically the only reason we're trying to do this, is so we can pass a custom window title for each instance of VLC we open with livestreamer.
Since there doesnt seem to be a way to pass a filename through livestreamer to VLC, You only ever get fd://0 in the title. We need each VLC window to have its own title.
Got it working with this:
Not sure if this is intended, but I ditched the directory info, because it just created a renamed vlcrc file in the livestreamer directory called UsersMeDesktopvlcrc and VLC used that. Changed it to just name it '1', which allowed me to edit '1'. Then removing the hash and it pulled in my custom title. We can now create multiple vlcrc config files and call them through livestreamer.
Thanks a bunch, this is exactly what we needed.
This is a bug. It's caused by shlex removing bash-slashes that are not escaped. I fixed it for the