chrippa / livestreamer

Command-line utility that extracts streams from various services and pipes them into a video player of choice. No longer maintained, use streamlink or youtube-dl instead.
http://livestreamer.io/
BSD 2-Clause "Simplified" License
3.88k stars 580 forks source link

Can't pass custom window title via -a and VLCRC file #1003

Closed MacND closed 9 years ago

MacND commented 9 years ago

I've had a look at Issue 218 and unfortunately I've not gotten any further. I'm unsure of the relationship between "input-title-format=" in the VLCRC file I have, and how to actually use this to rename the window. I've tried different arguments such as meta arguments e.g. $u, $p but to no avail, and also I've tried just having a string like "Test" (with and without quotes" after the = sign. I'm also unsure of {filename} and if/what that should be changed to? I tried putting VLCRC in there and it wouldn't work.

vlcrc file:

Change title according to current media (string)

input-title-format=Option

Plays but title stays as "fd://0"- livestreamer twitch.tv/channelname best -a "--config vlcrc {filename}"

Throws a KeyError - livestreamer twitch.tv/channelname best -a "--config vlcrc {vlcrc}"

The VLCRC file is located in the root of the Livestreamer folder, and is called "vlcrc". Any guidance would be very much appreciated.

ghost commented 9 years ago

Example command line:

livestreamer "http://www.twitch.tv/[...]" best --player-args "--config C:\Users\[...]\AppData\Roaming\vlc\vlcrc {filename}"

VLCRC file:

# Change title according to current media
input-title-format=TITLE
MacND commented 9 years ago

Thank you SO much! I've been pulling my hair out about this.