maweki / twitchlive-extension

TwitchLive-Panel Gnome Shell Extension displaying your favorite streamers
GNU General Public License v3.0
39 stars 8 forks source link

Replace all occurances of '%streamer%' in open cmd #33

Closed shemanaev closed 8 years ago

shemanaev commented 8 years ago

I'm using mpv and it's very useful for modifying player title with such command: livestreamer http://twitch.tv/%streamer% best -a "{filename} --title='twitch.tv/%streamer%'"

Nice clear titles and ability to find stream window with "Window search provider" extension :wink:

RaphaelRochet commented 8 years ago

The short format doesn't work ?

let cmd = OPENCMD.replace( /%streamer%/g, streamer);
maweki commented 8 years ago

I'd prefer the short one as well, if it works.

RaphaelRochet commented 8 years ago

Ok, merged by 9eea550 This works with vlc too (using --meta-title instead of --title). Thanks @DeniSix for the tip !

maweki commented 8 years ago

:+1:

I'll do a release this weekend

shemanaev commented 8 years ago

@RaphaelRochet forgot about that syntax :confused: @maweki glad to hear that!