I'm here to present my small program; a launcher for SC:BW streams. It's a bit like the launcher here (Watch Afreeca SC/BW streams with VLC Media Player), but it's a native program (so no .bat) and it picks the online streamers.
It's a very, very simple program to avoid having to check liquipedia and al.
When you launch the program, you are offered a list of online streamers, pulled from TL (using the XML page):
Once you've picked one of these bad boys, VLC will start:
This program has replaced my use of the livestreamer launcher.
livestreamer is required to be installed. For now, the location is not configurable (it's assumed to be available in the command-line, like the other VLC launcher does). The VLC path is also not configurable for now. If that's an issue it shouldn't be hard to change.
If you're interested in the developer side, it's a very simple Haskell program that parses XML and launches LiveStreamer with VLC. The source code is available here: https://github.com/vendethiel/bwstreams.hs
It is necessary you have installed LiveStreamer as explained in the VLC launcher thread
Download links: - Mac: here - Windows, 64 bits VLC: here (use this one if VLC is in your "C:/Program Files" folder, not in "C:/Program Files (x86)")
Uploaded the VLC64 one. As it seems most people got their VLC in `C:/Program Files (x86)`, I'll probably just make a config file along with the executable so anyone can change their path,
On February 08 2017 18:23 Vendethiel wrote: Uploaded the VLC64 one. As it seems most people got their VLC in `C:/Program Files (x86)`, I'll probably just make a config file along with the executable so anyone can change their path,
Sorry ._. I had no idea it was actually used, so I'm gonna have to rebuild the program, or make it read for a file. I'm a bit too busy for now, but I'll try to get to it next week when I'll have a windows comp' I can use to build.
Works quite well, I only use some basic options: start /B livestreamer --loglevel=error --player="C:\Program Files\MPC-HC\mpc-hc64.exe /new /play /close"
I've got an issue with the program, namely nothing happens after I've chosen the player whose stream I'd like to watch. A short message appears in the cmd-like window and it closes before I'm able to find out what it says.
I watch streams from my little Linux machine, but that doesn't make me smart. Can I just make this or something?
Probably something like
curl -sSL [url=https://get.haskellstack.org/]https://get.haskellstack.org/[/url] | sh && stack build --exec scplayer
But you'll need to update the code to map your platform to some VLC path, at least until I'm done with the "player-path" file.
Reinstalled and put it into Program Files.
Yet it still doesn't work? Aw. Do you have Livestreamer set up correctly like the other tutorial has it? If you want to see the message, you can use cmd.exe and launch the program from there, the message should show up...
Can I change the VLC pathway in the program?
I'll add a configuration file for that "soon", in the meantime you can edit src/LiveStream.hs to set the path (last few lines)
I'm pretty sure I've got everything set up exactly as the other tutorial instructs me to. :/
EDIT: Actually, the original VLC guide doesn't work for me either. Anytime I pick a stream an error pops up, telling me the desired stream cannot be found under that address. I've asked about it in the other thread, haven't received any responses yet, though.
EDIT: Actually, the original VLC guide doesn't work for me either. Anytime I pick a stream an error pops up, telling me the desired stream cannot be found under that address. I've asked about it in the other thread, haven't received any responses yet, though.
Is that stream available on TeamLiquid, though? Might not be online anymore, there's a bit of a delay.
If you're at school/work and have a proxy, that might be a reason.
EDIT: Actually, the original VLC guide doesn't work for me either. Anytime I pick a stream an error pops up, telling me the desired stream cannot be found under that address. I've asked about it in the other thread, haven't received any responses yet, though.
Is that stream available on TeamLiquid, though? Might not be online anymore, there's a bit of a delay.
If you're at school/work and have a proxy, that might be a reason.
Doesn't work with any stream, that error message pops up with any BJ i check.
[1 of 4] Compiling TLParser ( TLParser.hs, TLParser.o )
TLParser.hs:10:1: error: Failed to load interface for ‘Data.ByteString.Lazy.UTF8’ Perhaps you meant Data.ByteString.Lazy.Char8 (from bytestring-0.10.8.1) Data.ByteString.Lazy (from bytestring-0.10.8.1) Use -v to see a list of the files searched for.
TLParser.hs:11:1: error: Failed to load interface for ‘Data.Functor.Monadic’ Perhaps you meant Data.Functor.Const (from base-4.9.1.0) Use -v to see a list of the files searched for.
TLParser.hs:12:1: error: Failed to load interface for ‘Data.Text’ Perhaps you meant Data.Set (from containers-0.5.7.1) Use -v to see a list of the files searched for.
TLParser.hs:13:1: error: Failed to load interface for ‘Text.XML’ Use -v to see a list of the files searched for.
TLParser.hs:15:1: error: Failed to load interface for ‘Text.XML.Cursor’ Use -v to see a list of the files searched for.
C:\Users\Eigenaar\Downloads\bwstreams.hs-master\bwstreams.hs-master\src>ghc --ma ke Main.hs [1 of 4] Compiling TLParser ( TLParser.hs, TLParser.o )
TLParser.hs:10:1: error: Failed to load interface for ‘Data.ByteString.Lazy.UTF8’ Perhaps you meant Data.ByteString.Lazy.Char8 (from bytestring-0.10.8.1) Data.ByteString.Lazy (from bytestring-0.10.8.1) Use -v to see a list of the files searched for.
TLParser.hs:11:1: error: Failed to load interface for ‘Data.Functor.Monadic’ Perhaps you meant Data.Functor.Const (from base-4.9.1.0) Use -v to see a list of the files searched for.
TLParser.hs:12:1: error: Failed to load interface for ‘Data.Text’ Perhaps you meant Data.Set (from containers-0.5.7.1) Use -v to see a list of the files searched for.
TLParser.hs:13:1: error: Failed to load interface for ‘Text.XML’ Use -v to see a list of the files searched for.
TLParser.hs:15:1: error: Failed to load interface for ‘Text.XML.Cursor’ Use -v to see a list of the files searched for.