• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 11:37
CEST 17:37
KST 00:37
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Season 1 - Final Week6[ASL19] Finals Recap: Standing Tall12HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0
Community News
Firefly given lifetime ban by ESIC following match-fixing investigation17$25,000 Streamerzone StarCraft Pro Series announced7Weekly Cups (June 30 - July 6): Classic Doubles7[BSL20] Non-Korean Championship 4x BSL + 4x China10Flash Announces Hiatus From ASL82
StarCraft 2
General
The GOAT ranking of GOAT rankings RSL Revival patreon money discussion thread Weekly Cups (June 30 - July 6): Classic Doubles Server Blocker RSL Season 1 - Final Week
Tourneys
RSL: Revival, a new crowdfunded tournament series Sparkling Tuna Cup - Weekly Open Tournament FEL Cracov 2025 (July 27) - $8000 live event $5,100+ SEL Season 2 Championship (SC: Evo) $25,000 Streamerzone StarCraft Pro Series announced
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
External Content
Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma
Brood War
General
Flash Announces Hiatus From ASL [ASL19] Finals Recap: Standing Tall BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion A cwal.gg Extension - Easily keep track of anyone
Tourneys
[Megathread] Daily Proleagues 2025 ACS Season 2 Qualifier Small VOD Thread 2.0 Last Minute Live-Report Thread Resource!
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile CCLP - Command & Conquer League Project The PlayStation 5 Nintendo Switch Thread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine The Accidental Video Game Porn Archive Stop Killing Games - European Citizens Initiative
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Men Take Risks, Women Win Ga…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 742 users

[Guide] Watch Afreeca SC/BW streams with VLC

Forum Index > BW General
Post a Reply
Normal
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
Last Edited: 2017-10-27 13:59:11
August 16 2016 15:12 GMT
#1
Starcraft Stream Viewer for Streamlink + VLC Media Player
Latest update to this guide: September 10, 2017: Added the new Afreeca ASL streams to the .bat file (preparing for ASL Season 4).
+ Show Spoiler [Changelog] +
August 16, 2016: First version of document
August 23, 2016: Wording and clarifications, no new or updated downloads
September 6, 2016: Wording and clarifications, no new or updated downloads
October 4, 2016: Added Rain to the .bat file
October 29, 2016: Added Soulkey to the .bat file
April 1, 2017: Added Jaedong, Stork, and BackHo to the .bat file
April 3, 2017: Added ggaemo and HyuN to the .bat file
April 5, 2017: Added Shine to the .bat file
April 24, 2017: Added Horang2 to the .bat file
April 29, 2017: v2.0: Streamlink & .bat launcher update
August 18, 2017: v3.0: New launcher and support for Twitch. Added lots of players to the launcher
August 19, 2017: Added MaNa, LancerX, Bonyth, and Schamtoo to the .bat launcher.
September 5, 2017: Minor tweaks to the .bat launcher, added a few players.
September 10, 2017: Added the new Afreeca ASL streams to the .bat file (preparing for ASL Season 4).


[image loading]


Welcome back to Brood War.

With the release of Starcraft: Remastered, more people are streaming Starcraft than ever before. In South Korea, most top SC/BW players have a channel from which they stream their practice games every day. The platform of choice for many of these players is the streaming service Afreeca, South Korea's answer to Twitch.tv

Unfortunately, Afreeca occasionally lags for foreigners (depending on the Afreeca server currently assigned to serve users), and the interface is confusing if you can't read Korean. Players frequently use random IDs on Afreeca: (Wiki)Bisu is "rlaxordyd", (Wiki)Last is "rlatjdgus228", (Wiki)Shuttle is "jk890202". These are their stream names even when watching an embedded stream from TeamLiquid, so it quickly becomes confusing.

The most lag-free method of watching streams is using Streamlink. It is a command line utility that connects live streams to a media player (usually VLC). This process is automated using a simple launcher (a Windows .bat file). This launcher features CDN server and stream quality options, and you can view multiple streams at once.

You can watch Afreeca.com and Twitch.tv streams using this method, with more to come.

Files and instructions below are always up to date. Any new .bat files, fixes or updates posted in the comment section are automatically added to this guide. If you are currently performing a first-time install, you do not need to look for file updates in the comment section. Updates posted in the comment section after your first time install may be of use to you, especially if the .bat file was updated to include additional players.

Below guide confirmed working perfectly as of October, 2017.


NOTE: As of writing, Amazon AWS is out of commission. Please use GSCDN for the time being.


Requirements

      Streamlink requires Windows Vista SP2 or above


Installation

Fast portable install (recommended)
      • Install VLC Media Player (install to default directory)
      • Download Starcraft Stream Viewer (Streamlink 0.7.0 Portable).exe
      • Launch the .exe and extract to any location
      • Launch the .bat file in the Stream Viewer folder

Fast manual install
      • Install VLC Media Player (install to default directory)
      • Install Streamlink
      • Download afreeca.py.
      • Go to Streamlink's plugins folder (C:\Program Files (x86)\Streamlink\pkgs\streamlink\plugins), overwrite afreeca.py
      • Download Starcraft Stream Viewer.bat and run it. Done!

Detailed manual installation below

+ Show Spoiler [Click for Linux instructions] +

NOTE BY AYLEAR:
This Linux install is maintained by TeamLiquid user letian. Contact him if you have any problems with the Linux setup.

On July 09 2017 18:22 letian wrote:
To all Linux users.

I have dropped my livestreamer fork and switched to streamlink backend.
Now, to watch the bw streams via vlc you'll only need a bash script which you can take from here.

As usual, you'll need to replace the afreeca.py (if you still haven't) which is installed with streamlink with the one here.

The script can check who's online, set "aws_original", "aws_hd" or "aws_sd" quality of streams. Run multiple vlc stream instances (unless you explicitly forbid it in vlc config) with different players.

Here is a github repo with the instructions and the required files.

+ Show Spoiler [Old version] +
On August 23 2016 23:12 letian wrote:
Ok, I figured it out for Linux.
1. First uninstall with your package manager any previous versions of livestreamer.
For archlinux/manjaro: sudo pacman -Rcn livestreamer

2. Do not add to /etc/hosts "121.156.109.165 chromecast.afreeca.gscdn.com"
3. Download my livestreamer fork with all afreeca modifications included.
git clone https://github.com/tastyminerals/livestreamer.git livestreamer-tasty
4. cd livestreamer-tasty
5. sudo python3 setup.py install

Now you can use afreeca.sh to play streams!
Use !online command to get currently available streamers, use exit to quit afreeca.sh.




    1) Install VLC Media Player

    • Install VLC Media Player (install to default directory or be prepared to edit the .bat file later)


    2) Install Streamlink

    • Install Streamlink (use the stable build, direct link here if you need it)


    3) Update Streamlink scripts

    Download afreeca.py (right-click and save link as...) to a folder (don't overwrite from the browser directly)
    Navigate to your Streamlink plugins folder, usually:

    C:\Program Files (x86)\Streamlink\pkgs\streamlink\plugins

    Replace the afreeca.py file in this folder with the one you just downloaded (copy and overwrite).

    NOTE: Browser do not have permission to directly overwrite files in C:\Program Files or other system folders. You need to download the file to a location on your computer and then manually copy/paste and overwrite.


    4) Download Windows .bat launcher file

    Windows (Vista SP2, Win 7, Win 8, Win 10) (32 and 64-bit):
    Starcraft Stream Viewer.bat (right-click and save link as)

    If you installed VLC to a custom location you will need to edit the .bat file now. Click the spoiler below.
    + Show Spoiler [If VLC installed to custom folder] +
    If you installed VLC to a custom folder, you will have to edit the .bat file and add the path to the set vlcpath= line. Open the .bat file with a text editor (Notepad++ is recommended, although Notepad will do fine) and follow the instructions near the top of the file.

    Example: If you installed VLC to D:\VLC, you would need to set the line to

    set vlcpath=D:\VLC\vlc.exe


Using the launcher

Once you have installed everything, check the TeamLiquid sidebar to see who is currently streaming. (You can also check https://bwstreams.appspot.com/ which does the same thing and shows more streams.) Run the launcher.

[image loading]

You will be given the choice between Afreeca CDN servers. Amazon AWS may be better if you are in the US, while GSCDN may be better for European viewers. If streams still lag for you, switch CDN servers first before you mess with quality options. The CDN option only affects Afreeca connections.

NOTE: As of writing, Amazon AWS is out of commission. Please use GSCDN for the time being.

When prompted, type in the name (or ID) of a player you want to watch, then select the desired stream quality. After a few moments, VLC should start up. You can keep typing in more names as well -- VLC will open new instances so that you can easily multistream.

If you enter a name or channel ID that has not been added to the launcher, the script will ask you if you want to attempt to connect to that name on Twitch.tv or Afreeca.com. This way you can use the launcher to watch any stream on either platform so long as you know the channel ID.

Lastly, most players have a lot of smurfs. Liquipedia has a list of SCR ladder aliases making it easier to look up who is playing who. If they are playing on the Fish server, the Fish Server entry on Liquipedia has a list as well.


Troubleshooting & FAQ
    Q: Can I use another media player instead of VLC?
    + Show Spoiler +
    A:
    On September 05 2017 17:07 Arvendilin wrote:
    Is there a way to use this with MPC instead of VLC? since VLC fucks with colour saturation

    Streamlink does technically work with MPC, but you'll need to mess with the .bat file a bit. More on that in a bit.

    I haven't added native support for MPC because 1) extra work for me, and 2) some command lines are missing. Most notably --file-caching and --network-caching don't work, but you also can't add a meta title to an MPC window. When VLC pops up, it properly titles the window with the name you input, i.e. Bisu, Stork, Flash. MPC can't do that, so the window title remains something generic like "stdin".

    Anyway, to use this setup in MPC you need the following:
    - At least version 1.7 of MPC (1.6 or below will give file not found errors)
    - Edit the bat file with the following values:

    Open the .bat file in notepad++ or notepad. Near the top of the file you'll see this line:
    set vlcpath=

    ...which by default is blank. Type in the path to your MPC player, i.e.
    set vlcpath=C:\Program Files\MPC-HC\mpc-hc64.exe

    Next, scroll down to the bottom of the .bat file and find the following line:
    start /B streamlink --loglevel=error --player="%vlcpath% --file-caching=5000 --network-caching=5000 --meta-title=%name%" %url%/%id% %output%

    Change this line to:
    start /B streamlink --loglevel=error --player="%vlcpath%" %url%/%id% %output%

    ...which removes the "--file-caching=5000 --network-caching=5000 --meta-title=%name%" bit since MPC can't use those.

    This worked on my system just fine.

    Edit: If there is sufficient interest, I can make it so the .bat file accepts MPC by default as an option when you launch it. Let me know if this is something anyone else wants, otherwise I'm sticking with the basic VLC setup.

    On September 06 2017 10:50 Arvendilin wrote:
    2 small little infos for everyone who wants to use MPC aswell:

    Some streams might only get audio not video, to fix that, go to options > Internal filters > Splitters and then increase stream analysis duration, this will give it time to detect every stream it gets send!

    The second thing is that ofcourse have to go into multi window mode if you want to watch multiple streams, I know this is easy but I was confused for about 10 secs so I thought I'd let everyone know that that option exists!


    Q: It takes a long time between entering a name into the command line and VLC opening.
    + Show Spoiler +
    A: That's normal. It usually takes 5 - 30 seconds for me to connect.


    Q: Can I watch Afreeca VODs using this setup?
    + Show Spoiler +
    A: No, Streamlink cannot be used to watch VODs on Afreeca.


    Q: The downloads are broken, I can't grab the .py and .bat files!
    + Show Spoiler +
    A: They're also on Pastebin. Grab them from here (go to the link and click "download" on Pastebin):

    https://pastebin.com/ZYFXe76a - afreeca.py
    https://pastebin.com/Z6T9YpB2 - starcraft_stream_viewer.bat

    TL user prech also uploaded afreeca.py to TeamLiquid (right-click and save link as)


    Q: I think the .bat file is broken, the colors are all messed up.
    + Show Spoiler +
    A: If for some reason the .bat file appears messed up on your system (looking something like this as opposed to this), you may be on an outdated operating system. Streamlink requires Windows Vista SP2 or above (the guide has been tested and confirmed working on Windows 7, 8, and 10).


    Q: I have messed with CDN and quality options, but the stream is still lagging. Can I fix it?
    + Show Spoiler +
    A: Possibly. I haven't needed to do this myself, but according to the guide on defiler.ru you can try the following:

      Start -> Run "cmd.exe"
      In the command line interface, type the following:

      nslookup chromecast.afreeca.gscdn.com

      Copy the IP address response, and add it to your hosts file. (See below for instructions.)

      This IP address randomizes every once in a while as Afreeca hosts from different servers. If you experience stream lag, you may want to do a quick nslookup and add the new IP address to the hosts file.

      How to add something to your hosts file

      Google the path to your hosts file if you need to. On Windows 7/8/10 it is:
      C:\Windows\System32\drivers\etc\

      Right-click your hosts file, and uncheck read-only / write-protect.

      Edit the hosts file using notepad or notepad++.

      Add the IP address you received from the nslookup command, followed by "chromecast.afreeca.gscdn.com", to the bottom of the hosts file. Example:

      121.156.109.165 chromecast.afreeca.gscdn.com

      Save the hosts file, and re-enable write-protect / read-only mode. It should look like this:

      [image loading]


    Q: I can't connect to some streams. When I try, I get this error message.
    + Show Spoiler +
    A: Remove any Afreeca IPs from the hosts file (see above).


    Q: I connected to a streamer, but it just showed a countdown timer that did nothing when it got to 0.
    + Show Spoiler +
    A: Close the VLC window and type in the name again. This happens some times in embedded streams when watching Afreeca, possibly due to CDN or ad-service problems.


    Q: I'm getting a generic cannot find streamlink error.
    + Show Spoiler +
    A: You haven't installed Streamlink properly. The .bat file requires you to install it using the Windows installer, which (among other things) adds Streamlink as a PATH variable so the .bat file can launch it properly.


    Q: Error message:
    error: Failed to start player: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe --file-caching=5000 --network-caching=5000 --meta-title=psn1555 ([Error 2] The system cannot find the file specified)
    + Show Spoiler +
    A: VLC is not installed, or VLC is not installed to the default directory, or you forgot to edit the .bat file to point Streamlink to the proper VLC directory. See the installation instructions again for details.


    Q: Error message:
    error: The available stream(s) 'aws_hd' could not be found. Available streams: live_hls, live (worst, best)
    + Show Spoiler +
    A: You didn't properly copy and replace the afreeca.py file linked in the OP, meaning you either skipped this step or it failed to overwrite properly. Browsers do not have permission to overwrite files in C:\Program Files, so you have to do it manually.


    Q: Error message:
    error: Unable to open URL: [url=http://sessionmanager01.afreeca.tv:6060/broad_stream_assign.html]http://sessionmanager01.afreeca.tv:6060/broad_stream_assign.html[/url] (HTTPConnectionPool(host='sessionmanager01.afreeca.tv', port=6060): Max retries exceeded with url: /broad_stream_assign.html?use_cors=true&broad_key=195313113-flash-hd-rtmp&return_type=gs_cdn&cors_origin_url=m.afreeca.com&broad_no=195313113-mobile-hd-rtmp (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x0423A5D0>, 'Connection to sessionmanager01.afreeca.tv timed out. (connect timeout=20.0)')))
    + Show Spoiler +
    A: You probably didn't properly copy and replace the afreeca.py file linked in the OP, meaning you either skipped this step or it failed to overwrite properly. Browsers do not have permission to overwrite files in C:\Program Files, so you have to do it manually.


    Q: Error message:
    error: No plugin can handle URL: (stream URL)
    + Show Spoiler +
    A: Turn off your antivirus; it may be aggressively throttling your Streamlink connection.


    Q: Error message:
    error: No playable streams found on this URL
    + Show Spoiler +
    A: TeamLiquid only refreshes the sidebar periodically. The player may have just gone offline. Check https://bwstreams.appspot.com/ to see who is currently live and try another player.


    Q: No seriously, I know Horang2 is streaming, but I'm still getting
    error: No playable streams found on this URL
    + Show Spoiler +
    A: Some streamers (Horang2 does this some times) will occasionally set their streams to adults-only (19+) mode. When a stream is in adults-only mode, you have to use the Korean AfreecaTV Player (proprietary software) to view it, or Afreeca will refuse your connection. Either petition Horang2 to stop doing that, or find someone else to watch.


    Q: What happened to Livestreamer and the old guide on defiler.ru?
    + Show Spoiler +
    A: Livestreamer is no longer being actively worked on, so any time the API changes or a plugin somehow breaks, there is no immediate fix. Afreeca keeps changing their API every few months to the frustration of everyone, and I finally got tired of updating the hls.py and afreecatv.py files.

    Streamlink is the current replacement for Livestreamer. It has additional quality options which are easy to find, options for CDN servers, and is generally updated very frequently. I have created a new .bat file to make use of these options.

    RoX.Malki still deserves credit for his original Livestreamer guide which formed the basis for this entire guide. His effort has given us months of watching Afreeca without lag. In that spirit, I'll try to keep things updated as best I can.

TL+ Member
juvenal
Profile Joined July 2013
2448 Posts
Last Edited: 2016-08-16 15:56:21
August 16 2016 15:26 GMT
#2
I'm getting "Connection to chromecast.afreeca.gscdn.com timed out".

upd: "It's not just you! http://chromecast.afreeca.gscdn.com looks down from here."
Michael Probu
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
August 16 2016 16:36 GMT
#3
What are you trying to do? Open cmd.exe and copy-paste:

nslookup chromecast.afreeca.gscdn.com

It's up as of writing, and it should give you an IP address.
TL+ Member
juvenal
Profile Joined July 2013
2448 Posts
August 16 2016 18:38 GMT
#4
It gives me 101.79.243.167, I kinda expected 121.156.109.165
Michael Probu
moonlawn
Profile Joined May 2010
Latvia6 Posts
Last Edited: 2016-08-22 19:21:53
August 22 2016 19:18 GMT
#5
I get this kind of error now, tried from the defiler.ru worked fine few days and then i got some error in hls.pu file (14 string cant open playlist or something)/ Now i get this:

[image loading]
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
August 22 2016 19:30 GMT
#6
moonlawn:

After reading your message I tried connecting to Mong's stream using my setup and it worked just fine. I have seen this timeout error a couple of times, but it always cleared up within minutes. I imagine it's Afreeca messing up. The quality of Afreeca's servers to the outside world seem to depend on your location and luck. Keep "refreshing" as it were.

If you added any Afreeca IPs to your hosts file, try removing them.
TL+ Member
CfgosCuba
Profile Joined February 2010
Cuba94 Posts
August 23 2016 02:35 GMT
#7
i went online and saw the afreeca streamers and got icarus that was online and tried and it gave me this error.
i also checked couple of them and it gave me the same error

Nickname/Afreeca ID:
psn1555
Nickname/Afreeca ID:
error: Failed to start player: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe --file-caching=5000 --network-caching=5000 --meta-title=psn1555 ([Error 2] The system cannot find the file specified)
http://www.twitch.tv/cfgoscuba c terran hwaiting.. sc2 too ez, 4 days playing and Im already platinun..wtf.. fuck sc2. I uninstalled it.. www.youtube.com/user/cfgoscuba2
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
August 23 2016 03:49 GMT
#8
CfgosCuba: Are you on a 32-bit Windows system? You're using the afreeca_x64.bat file which is for 64-bit systems, and by default the .bat files expect VLC to be installed to default locations. The error message you are getting means Livestreamer can't find your VLC media player.

Make sure you have VLC installed. If it is installed, edit the .bat file to point to the installation directory, or download the other .bat file and try that one.
TL+ Member
CfgosCuba
Profile Joined February 2010
Cuba94 Posts
August 23 2016 04:03 GMT
#9
fixed..
I forgot to install VLC
i installed and it worked perfect
thanks
http://www.twitch.tv/cfgoscuba c terran hwaiting.. sc2 too ez, 4 days playing and Im already platinun..wtf.. fuck sc2. I uninstalled it.. www.youtube.com/user/cfgoscuba2
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
August 23 2016 04:35 GMT
#10
You're welcome. =) Good to know it's working.
TL+ Member
letian
Profile Blog Joined May 2010
Germany4221 Posts
Last Edited: 2016-08-23 10:37:41
August 23 2016 07:59 GMT
#11
I am getting "No streams found on this URL." even though the player is shown online on "https://afreecabw.appspot.com/"

livestreamer --player="/usr/bin/vlc --file-caching=5000 --network-caching=5000 --meta-title=Sea" afreeca.com/yuambo
[cli][info] Found matching plugin afreeca for URL afreeca.com/yuambo
error: No streams found on this URL: afreeca.com/yuambo
Bonyth
Profile Joined August 2010
Poland555 Posts
August 23 2016 08:54 GMT
#12
I got the same problem as moonlawn: http://screenshot.sh/oAFEvUnXyw8uH

I've used this program for a long time now, but since like a week ago, i've started getting this message and I'm unable to watch anything. Also it's stopped working without any interference from me to the program (why would i do anything when it was working)

Also, when I try to watch stream on-line, I'm getting this: http://screenshot.sh/mMEr5cvy6BAfZ

Any clues? For the past few days, I must watch korhal.info.pl It's not bad, but I'd rather have it live :D
letian
Profile Blog Joined May 2010
Germany4221 Posts
Last Edited: 2016-08-23 11:54:15
August 23 2016 11:38 GMT
#13
Can somebody try the same setup on linux?
I have converted afreeca_x64.bat to afreeca.sh.

It does not work on my machine for some reason, take a look at the [image loading].
Grettin
Profile Joined April 2010
42381 Posts
Last Edited: 2016-08-23 13:23:06
August 23 2016 13:21 GMT
#14
Couple months ago Afreeca changed their domain URL to afreecatv.com instead of afreeca.com, so "No streams found on this URL" was the result when you tried to watch streams with livestreamer.

Changing the CHANNEL_INFO_URL to "afreecatv.com" fixed the issue. This can be found in the Afreecatv.py -file.

Those "connection timed out" -errors occur to me from time to time, but usually fixes itself.
"If I had force-fields in Brood War, I'd never lose." -Bisu
letian
Profile Blog Joined May 2010
Germany4221 Posts
Last Edited: 2016-08-23 14:14:29
August 23 2016 14:12 GMT
#15
Ok, I figured it out for Linux.
1. First uninstall with your package manager any previous versions of livestreamer.
For archlinux/manjaro: sudo pacman -Rcn livestreamer

2. Do not add to /etc/hosts "121.156.109.165 chromecast.afreeca.gscdn.com"
3. Download my livestreamer fork with all afreeca modifications included.
git clone https://github.com/tastyminerals/livestreamer.git livestreamer-tasty
4. cd livestreamer-tasty
5. sudo python3 setup.py install

Now you can use afreeca.sh to play streams!
Use !online command to get currently available streamers, use exit to quit afreeca.sh.
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
Last Edited: 2016-08-23 18:00:07
August 23 2016 17:57 GMT
#16
On August 23 2016 16:59 letian wrote:
I am getting "No streams found on this URL." even though the player is shown online on "https://afreecabw.appspot.com/"

livestreamer --player="/usr/bin/vlc --file-caching=5000 --network-caching=5000 --meta-title=Sea" afreeca.com/yuambo
[cli][info] Found matching plugin afreeca for URL afreeca.com/yuambo
error: No streams found on this URL: afreeca.com/yuambo

At first I thought you used the outdated defiler.ru tutorial instead of mine. As I said in the OP, Afreeca changed their domain names around so the old scripts are broken. My updated afreecatv.py file fixes this problem. Download that and replace the afreecatv.py file you nabbed from defiler.ru, or edit it yourself.

But apparently you're on Linux, so anything goes.


On August 23 2016 17:54 Bonyth wrote:
I got the same problem as moonlawn: http://screenshot.sh/oAFEvUnXyw8uH

I've used this program for a long time now, but since like a week ago, i've started getting this message and I'm unable to watch anything. Also it's stopped working without any interference from me to the program (why would i do anything when it was working)

Also, when I try to watch stream on-line, I'm getting this: http://screenshot.sh/mMEr5cvy6BAfZ

Any clues? For the past few days, I must watch korhal.info.pl It's not bad, but I'd rather have it live :D

To everyone: Please read the Troubleshooting & FAQ section in the OP if you have any problems!

This problem is mentioned in the FAQ. Did you remove any and all Afreeca IPs from your hosts file? I was getting this very issue when watching streams, and it turns out an old entry in my hosts file was the culprit. Remove that -- if the problem persists we can try something else.


On August 23 2016 23:12 letian wrote:
Ok, I figured it out for Linux.
1. First uninstall with your package manager any previous versions of livestreamer.
For archlinux/manjaro: sudo pacman -Rcn livestreamer

2. Do not add to /etc/hosts "121.156.109.165 chromecast.afreeca.gscdn.com"
3. Download my livestreamer fork with all afreeca modifications included.
git clone https://github.com/tastyminerals/livestreamer.git livestreamer-tasty
4. cd livestreamer-tasty
5. sudo python3 setup.py install

Now you can use afreeca.sh to play streams!
Use !online command to get currently available streamers, use exit to quit afreeca.sh.


Oh this is lovely. I'll add this to the OP if you don't mind. =)
TL+ Member
letian
Profile Blog Joined May 2010
Germany4221 Posts
Last Edited: 2016-08-23 20:13:16
August 23 2016 20:09 GMT
#17
On August 24 2016 02:57 Aylear wrote:
Show nested quote +
On August 23 2016 16:59 letian wrote:
I am getting "No streams found on this URL." even though the player is shown online on "https://afreecabw.appspot.com/"

livestreamer --player="/usr/bin/vlc --file-caching=5000 --network-caching=5000 --meta-title=Sea" afreeca.com/yuambo
[cli][info] Found matching plugin afreeca for URL afreeca.com/yuambo
error: No streams found on this URL: afreeca.com/yuambo

At first I thought you used the outdated defiler.ru tutorial instead of mine. As I said in the OP, Afreeca changed their domain names around so the old scripts are broken. My updated afreecatv.py file fixes this problem. Download that and replace the afreecatv.py file you nabbed from defiler.ru, or edit it yourself.

But apparently you're on Linux, so anything goes.


Show nested quote +
On August 23 2016 17:54 Bonyth wrote:
I got the same problem as moonlawn: http://screenshot.sh/oAFEvUnXyw8uH

I've used this program for a long time now, but since like a week ago, i've started getting this message and I'm unable to watch anything. Also it's stopped working without any interference from me to the program (why would i do anything when it was working)

Also, when I try to watch stream on-line, I'm getting this: http://screenshot.sh/mMEr5cvy6BAfZ

Any clues? For the past few days, I must watch korhal.info.pl It's not bad, but I'd rather have it live :D

To everyone: Please read the Troubleshooting & FAQ section in the OP if you have any problems!

This problem is mentioned in the FAQ. Did you remove any and all Afreeca IPs from your hosts file? I was getting this very issue when watching streams, and it turns out an old entry in my hosts file was the culprit. Remove that -- if the problem persists we can try something else.


Show nested quote +
On August 23 2016 23:12 letian wrote:
Ok, I figured it out for Linux.
1. First uninstall with your package manager any previous versions of livestreamer.
For archlinux/manjaro: sudo pacman -Rcn livestreamer

2. Do not add to /etc/hosts "121.156.109.165 chromecast.afreeca.gscdn.com"
3. Download my livestreamer fork with all afreeca modifications included.
git clone https://github.com/tastyminerals/livestreamer.git livestreamer-tasty
4. cd livestreamer-tasty
5. sudo python3 setup.py install

Now you can use afreeca.sh to play streams!
Use !online command to get currently available streamers, use exit to quit afreeca.sh.


Oh this is lovely. I'll add this to the OP if you don't mind. =)

Yes, please.
Basically all I added is afreeca.sh with ability to scan for online streamers and a livestreamer fork with your modifications included.
Run afreeca.sh as "./afreeca.sh". You will be prompted to set the player's name. You can type "!online" to retrieve a list of online users. Type "exit" to quit the program.
letian
Profile Blog Joined May 2010
Germany4221 Posts
August 23 2016 20:15 GMT
#18
This is a really nice guide for ppl who have constant lag problems with afreeca. Now, vlc works flawlessly and Flash stream does not lag anymore. It was literally unwatchable previously. Big thanks!
Atlare
Profile Blog Joined April 2010
Australia893 Posts
August 24 2016 13:35 GMT
#19
I get a generic windows "cannot find livestreamer" error. Everything was installed in Default locations too so I'm not sure what the issue is.
Considering learning BW
Grettin
Profile Joined April 2010
42381 Posts
Last Edited: 2016-08-24 14:14:58
August 24 2016 14:09 GMT
#20
On August 24 2016 22:35 Atlare wrote:
I get a generic windows "cannot find livestreamer" error. Everything was installed in Default locations too so I'm not sure what the issue is.


Can you elaborate more what you've done and how you are trying to use the program? Should be easy issue to solve. Also, i presume you installed it from here?
"If I had force-fields in Brood War, I'd never lose." -Bisu
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
August 24 2016 17:52 GMT
#21
Sounds like you didn't use the installer when you installed Livestreamer. The .bat files requires the Livestreamer directory to be added to the PATH system variable. The installer does this automatically, the archive version doesn't.
TL+ Member
Heyoka
Profile Blog Joined March 2008
Katowice25012 Posts
August 25 2016 07:42 GMT
#22
man you are going to kill what little productivity I had left
@RealHeyoka | ESL / DreamHack StarCraft Lead
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
Last Edited: 2016-08-25 08:02:57
August 25 2016 07:44 GMT
#23
I just spent ~6 hours researching and editing a Liquipedia article. Don't talk to me about life.

Edit: In entirely unrelated news, Bisu and Flash and Shuttle and Larva a 4th wheel are currently playing together. I'm sure that has no bearing on the conversation, however.
TL+ Member
Heyoka
Profile Blog Joined March 2008
Katowice25012 Posts
August 25 2016 08:36 GMT
#24
BeSt was playing with them earlier I think it's hero now, only sorta paying attention. I wish I understood Korean because it seems like they get together and just trash talk each other and laugh while observing one another's games. PartinG called Bisu at one point and they were chatting while he was watching and laughing at it.
@RealHeyoka | ESL / DreamHack StarCraft Lead
AssyrianKing
Profile Blog Joined August 2011
Australia2111 Posts
August 25 2016 12:05 GMT
#25
Using windows 10 64bit
I type a name and nothing happens haha
John 15:13
letian
Profile Blog Joined May 2010
Germany4221 Posts
August 25 2016 12:11 GMT
#26
On August 25 2016 21:05 AssyrianKing wrote:
Using windows 10 64bit
I type a name and nothing happens haha

Use Linux x64 and everything will happen.
AssyrianKing
Profile Blog Joined August 2011
Australia2111 Posts
August 25 2016 12:13 GMT
#27
On August 25 2016 21:11 letian wrote:
Show nested quote +
On August 25 2016 21:05 AssyrianKing wrote:
Using windows 10 64bit
I type a name and nothing happens haha

Use Linux x64 and everything will happen.

Oh wait, my VLC was installed in an abnormal spot LOL, fixed, cheers ><

I tried Linux once... I think i'd prefer windows xp tbh LOL
John 15:13
Myggvalp
Profile Joined July 2010
Sweden31 Posts
August 25 2016 14:01 GMT
#28
I have problems getting it to work, have the latest version of VLC, installed livestreamer and deleted/placed the linked files correct. (Tripplechecked)
I get the "No streams found on this URL" error message. (tried every streamer on https://afreecabw.appspot.com/ and they were live if i tried to watch through browser )

Anything i might have done wrong?
I have VLC in a diffrent folder but changed that in the .bat.
Grettin
Profile Joined April 2010
42381 Posts
August 25 2016 15:02 GMT
#29
On August 25 2016 23:01 Myggvalp wrote:
I have problems getting it to work, have the latest version of VLC, installed livestreamer and deleted/placed the linked files correct. (Tripplechecked)
I get the "No streams found on this URL" error message. (tried every streamer on https://afreecabw.appspot.com/ and they were live if i tried to watch through browser )

Anything i might have done wrong?
I have VLC in a diffrent folder but changed that in the .bat.


Posted this couple days ago. Most likely the issue.

I don't think the installer has the correct afreecatv files that has the new domain URL added.

On August 23 2016 22:21 Grettin wrote:
Couple months ago Afreeca changed their domain URL to afreecatv.com instead of afreeca.com, so "No streams found on this URL" was the result when you tried to watch streams with livestreamer.

Changing the CHANNEL_INFO_URL to "afreecatv.com" fixed the issue. This can be found in the Afreecatv.py -file.

Those "connection timed out" -errors occur to me from time to time, but usually fixes itself.

"If I had force-fields in Brood War, I'd never lose." -Bisu
Grettin
Profile Joined April 2010
42381 Posts
Last Edited: 2016-08-25 15:08:28
August 25 2016 15:05 GMT
#30
There's also the chance that the channel is in "+19 age" mode, which means you need a verified Afreeca account or you opened the stream with livestreamer before the channel changed modes.
"If I had force-fields in Brood War, I'd never lose." -Bisu
Atom[Bomb]
Profile Joined July 2015
Sweden108 Posts
August 25 2016 15:55 GMT
#31
Wonderful, works great!
BLinD-RawR
Profile Blog Joined April 2010
ALLEYCAT BLUES50118 Posts
Last Edited: 2016-08-25 16:21:39
August 25 2016 16:18 GMT
#32
This is way better than doing it the normal way, thanks a lot.
Brood War EICWoo Jung Ho, never forget.| Twitter: @BLinDRawR
TL+ Member
Raelcun
Profile Blog Joined March 2008
United States3747 Posts
September 09 2016 03:16 GMT
#33
If you want to watch Brood War on Afreeca get used to seeing stuff like this and having to switch between streams a lot to find the players who are actually playing the game.

[image loading]
moonlawn
Profile Joined May 2010
Latvia6 Posts
September 10 2016 17:49 GMT
#34
On August 23 2016 17:54 Bonyth wrote:
I got the same problem as moonlawn: http://screenshot.sh/oAFEvUnXyw8uH

I've used this program for a long time now, but since like a week ago, i've started getting this message and I'm unable to watch anything. Also it's stopped working without any interference from me to the program (why would i do anything when it was working)

Also, when I try to watch stream on-line, I'm getting this: http://screenshot.sh/mMEr5cvy6BAfZ

Any clues? For the past few days, I must watch korhal.info.pl It's not bad, but I'd rather have it live :D


fixed this :

Start -> Run "cmd.exe"
In the command line interface, type the following:

nslookup chromecast.afreeca.gscdn.com

Copy the IP address response, and add it to your hosts file. (See below for instructions.)

This IP address randomizes every once in a while as Afreeca hosts from different servers. If you experience stream lag, you may want to do a quick nslookup and add the new IP address to the hosts file.

How to add something to your hosts file

Google the path to your hosts file if you need to. On Windows 7/8/10 it is:
C:\Windows\System32\drivers\etc\
Scaramanga
Profile Blog Joined March 2008
Australia8090 Posts
September 13 2016 01:52 GMT
#35
Thank you for this
Loda talked about the fun counter, it's AdmiralBulldog on his natures prophet
Scaramanga
Profile Blog Joined March 2008
Australia8090 Posts
Last Edited: 2016-10-02 09:54:45
October 02 2016 09:54 GMT
#36
I can't watch Rain's stream for some reason, even though https://afreecabw.appspot.com/ says he's online. Anyone know how to fix this?
Loda talked about the fun counter, it's AdmiralBulldog on his natures prophet
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
October 02 2016 10:56 GMT
#37
I went to check, but he's offline now. It is possible that he had just stopped streaming, but his stream still showed up on the site and in the TL sidebar. It takes a little while for both to refresh properly. Maybe you were trying to connect and he had already left.

Try again later and let me know if the problem persists.
TL+ Member
Scaramanga
Profile Blog Joined March 2008
Australia8090 Posts
October 04 2016 04:55 GMT
#38
On October 02 2016 19:56 Aylear wrote:
I went to check, but he's offline now. It is possible that he had just stopped streaming, but his stream still showed up on the site and in the TL sidebar. It takes a little while for both to refresh properly. Maybe you were trying to connect and he had already left.

Try again later and let me know if the problem persists.

I've tried 3 times when he's been online and no luck. I've checked each time 10-30 minutes later and the site said he was online. Its only his stream though, haven't had this problem with any other stream.
Loda talked about the fun counter, it's AdmiralBulldog on his natures prophet
juvenal
Profile Joined July 2013
2448 Posts
October 04 2016 11:03 GMT
#39
You simply need to add the following lines in the afreeca_x64.bat:
:CASE_rain
set id=ioioiobb
GOTO PLAYER_START
Michael Probu
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
October 04 2016 14:28 GMT
#40
On October 04 2016 20:03 juvenal wrote:
You simply need to add the following lines in the afreeca_x64.bat:
:CASE_rain
set id=ioioiobb
GOTO PLAYER_START


Damn it, I'm bad; I should have checked that. Thank you. Fixed. If you don't want to edit the .bat file yourself you can download the new versions here (also added to the OP):

Windows 64-bit: afreeca_x64.bat
Windows 32-bit: afreeca_x86.bat
TL+ Member
Scaramanga
Profile Blog Joined March 2008
Australia8090 Posts
October 05 2016 07:29 GMT
#41
On October 04 2016 20:03 juvenal wrote:
You simply need to add the following lines in the afreeca_x64.bat:
:CASE_rain
set id=ioioiobb
GOTO PLAYER_START

This worked, thanks a bunch
Loda talked about the fun counter, it's AdmiralBulldog on his natures prophet
Pnissen
Profile Joined September 2011
Denmark110 Posts
October 22 2016 13:11 GMT
#42
Does this work for mac as well?
Mvp - INnoVation - Maru
Peising
Profile Joined October 2016
United States12 Posts
Last Edited: 2016-10-26 01:34:40
October 26 2016 01:30 GMT
#43
On October 22 2016 22:11 Pnissen wrote:
Does this work for mac as well?

Macs do not support .bat files so I doubt it. Idk if there's a bat file equivalent type program on macs, but you'd have to rewrite the code in the file anyways for the mac to understand it.
New to Brood War; Old to Starcraft II
phodacbiet
Profile Joined August 2010
United States1740 Posts
October 27 2016 04:49 GMT
#44
Can I use this for vods? Or just live games? I am trying to watch SoO games but it lags too much on their website.
FortyOne
Profile Joined October 2016
Thailand26 Posts
Last Edited: 2016-10-27 08:19:27
October 27 2016 08:06 GMT
#45
can i get some help? i followed the directions exactly and all directories are default. but it says no livestreamer found for everyone.

nvm it works but it's so slow still. and takes awhile to load. kinda scared me cuz i typed Sea like 10 times and all of a sudden 10 vlcs popped up
It gets easier. Every day it gets a little easier. But you got to do it every day. That's the hard part. But it does get easier.
Malkiyah
Profile Joined April 2012
Russian Federation92 Posts
October 27 2016 22:37 GMT
#46
sup yo
good job, Aylear. i was too lazy to make such a detailed guide
nice to see this here

Aylear
Profile Blog Joined May 2009
Norway3988 Posts
October 27 2016 23:05 GMT
#47
On October 28 2016 07:37 Malkiyah wrote:
sup yo
good job, Aylear. i was too lazy to make such a detailed guide
nice to see this here


Ladies and gentlemen, allow me to present the reason this guide even exists. =) Hi Malki, thanks for making the original. You are the man.

What happened to defiler.ru though? The link to the original guide is broken and I can't find it again.
TL+ Member
Sheridan
Profile Joined October 2016
60 Posts
October 28 2016 15:22 GMT
#48
it says flash is on teamliquid but it says cannot find byflash stream when i use the bat file. other streams work but not flash...
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
October 29 2016 03:00 GMT
#49
On October 29 2016 00:22 Sheridan wrote:
it says flash is on teamliquid but it says cannot find byflash stream when i use the bat file. other streams work but not flash...

Most likely Flash had recently gone offline and the TeamLiquid sidebar hadn't refreshed yet. I've watched his stream many times so I don't think it's a problem with your setup.

Next time you can't connect to someone, click on their stream in the TL sidebar to see if you can view them in your browser.
TL+ Member
Malkiyah
Profile Joined April 2012
Russian Federation92 Posts
October 29 2016 08:47 GMT
#50
On October 28 2016 08:05 Aylear wrote:
Show nested quote +
On October 28 2016 07:37 Malkiyah wrote:
sup yo
good job, Aylear. i was too lazy to make such a detailed guide
nice to see this here


Ladies and gentlemen, allow me to present the reason this guide even exists. =) Hi Malki, thanks for making the original. You are the man.

What happened to defiler.ru though? The link to the original guide is broken and I can't find it again.

You are welcome!

Yoda reconstructing Defiler.ru so forum section disabled atm
toriak
Profile Joined December 2008
Slovakia477 Posts
October 29 2016 16:05 GMT
#51
Really no lag, which is great, but soulkey stream doesnt work for some reason. No stream found on this URL And he is online. How to fix it ?
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
Last Edited: 2016-10-29 16:18:17
October 29 2016 16:09 GMT
#52
On October 30 2016 01:05 toriak wrote:
Really no lag, which is great, but soulkey stream doesnt work for some reason. No stream found on this URL And he is online. How to fix it ?

Hi, I just checked and you are correct! Soulkey hasn't been added to the .bat file. I'll fix that and upload a new one in a little while. In the meantime you can connect to his stream by typing "MinChul" instead of Soulkey.

Edit: If you want to do it yourself just add the following lines to the .bat file:

:CASE_soulkey
set id=minchul
GOTO PLAYER_START


Uploading new ones in a minute.

Edit 2: Fixed. Download the latest .bat file if you need to. =)
TL+ Member
toriak
Profile Joined December 2008
Slovakia477 Posts
October 29 2016 16:32 GMT
#53
On October 30 2016 01:09 Aylear wrote:
Show nested quote +
On October 30 2016 01:05 toriak wrote:
Really no lag, which is great, but soulkey stream doesnt work for some reason. No stream found on this URL And he is online. How to fix it ?

Hi, I just checked and you are correct! Soulkey hasn't been added to the .bat file. I'll fix that and upload a new one in a little while. In the meantime you can connect to his stream by typing "MinChul" instead of Soulkey.

Edit: If you want to do it yourself just add the following lines to the .bat file:

:CASE_soulkey
set id=minchul
GOTO PLAYER_START


Uploading new ones in a minute.

Edit 2: Fixed. Download the latest .bat file if you need to. =)


Thank you. One more thing tho.
There is no Shine at https://afreecabw.appspot.com/
Not even among offline streams.
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
October 29 2016 16:44 GMT
#54
The new version is at https://bwstreams.appspot.com/ which does have Shine on it. Whoever maintains these hasn't updated the old one in a while.
TL+ Member
toriak
Profile Joined December 2008
Slovakia477 Posts
Last Edited: 2016-10-29 17:00:25
October 29 2016 16:52 GMT
#55
On October 30 2016 01:44 Aylear wrote:
The new version is at https://bwstreams.appspot.com/ which does have Shine on it. Whoever maintains these hasn't updated the old one in a while.


Thanks a lot. On guemchi ive got.
[cli][error] Could not open stream:Unable to open URL:http://chromecast.afreeca....................Read time out
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
October 29 2016 17:11 GMT
#56
On October 30 2016 01:52 toriak wrote:
Show nested quote +
On October 30 2016 01:44 Aylear wrote:
The new version is at https://bwstreams.appspot.com/ which does have Shine on it. Whoever maintains these hasn't updated the old one in a while.


Thanks a lot. On guemchi ive got.
[cli][error] Could not open stream:Unable to open URL:http://chromecast.afreeca....................Read time out

Huh, same here. I can't even watch his stream on Afreeca right now even though it says he's online.

The timeout error message indicates a connection issue with Afreeca. Maybe the server that's hosting GuemChi right now is particularly bad for foreigners. In that case there's nothing we can do about it but wait.
TL+ Member
aedeph
Profile Joined May 2015
104 Posts
Last Edited: 2016-10-29 18:58:51
October 29 2016 18:49 GMT
#57
Livestreamer is abandoned, no commit and no requests pulled for 9 months, even with small bug fixes. Probably, everyone should start using one of its forks, like streamlink. afreecatv.com url bug is fixed there (although only in master branch, no fix in pip for now), https://github.com/streamlink/streamlink/pull/90/commits/6c893aa13129fe7199c6ef9c7750f64dd03a14d4

btw, quick howto for linuxoids:


python -m venv afreeca_bw
source afreeca_bw/bin/activate
pip install streamlink
sed -i afreeca_bw/lib/python3.4/site-packages/streamlink/plugins/afreeca.py -e 's/\/\\d+/(\/\d+)?/'
# of wget raw commit from github
streamlink [url=http://play.afreecatv.com/byflash]http://play.afreecatv.com/byflash[/url] worst --player "mplayer -vf scale=1280:1024"


EDIT: although code tags, forum engine messed link, so, you should manually delete url tags around link to stream
letian
Profile Blog Joined May 2010
Germany4221 Posts
Last Edited: 2016-10-29 21:09:41
October 29 2016 21:06 GMT
#58
On October 30 2016 03:49 aedeph wrote:
Livestreamer is abandoned, no commit and no requests pulled for 9 months, even with small bug fixes. Probably, everyone should start using one of its forks, like streamlink. afreecatv.com url bug is fixed there (although only in master branch, no fix in pip for now), https://github.com/streamlink/streamlink/pull/90/commits/6c893aa13129fe7199c6ef9c7750f64dd03a14d4

btw, quick howto for linuxoids:


python -m venv afreeca_bw
source afreeca_bw/bin/activate
pip install streamlink
sed -i afreeca_bw/lib/python3.4/site-packages/streamlink/plugins/afreeca.py -e 's/\/\\d+/(\/\d+)?/'
# of wget raw commit from github
streamlink [url=http://play.afreecatv.com/byflash]http://play.afreecatv.com/byflash[/url] worst --player "mplayer -vf scale=1280:1024"


EDIT: although code tags, forum engine messed link, so, you should manually delete url tags around link to stream

I have a working fork in my repo with afreeca fixes included. I also created a similar to windows startup script for linux: afreeca.sh. It is even better because it allows you to see who's currently online and run the stream.

[image loading]
ZertoN
Profile Joined February 2014
Germany214 Posts
October 30 2016 01:26 GMT
#59
does this work with VODs? cause it sure seems it doesnt
"I don't like games that i need to think a lot, i am not interested in those games." - TaeJa, 2016
letian
Profile Blog Joined May 2010
Germany4221 Posts
October 30 2016 11:37 GMT
#60
On October 30 2016 10:26 ZertoN wrote:
does this work with VODs? cause it sure seems it doesnt

What do you mean?
Malkiyah
Profile Joined April 2012
Russian Federation92 Posts
October 30 2016 14:41 GMT
#61
btw i suspect 121.156.109.165 no working anymore.
it was changed to 121.156.109.166.
ZertoN
Profile Joined February 2014
Germany214 Posts
October 30 2016 16:12 GMT
#62
ive tried to use a VOD link instead of a live stream link and i couldnt get it to work.

now my question is whether its not supposed to work in the first place or what the hell i need to do to make it work? cause live streams are working perfectly fine for me
"I don't like games that i need to think a lot, i am not interested in those games." - TaeJa, 2016
toriak
Profile Joined December 2008
Slovakia477 Posts
November 01 2016 08:32 GMT
#63
Is there a way how to watch past afreeca broadcasts without lag.
Because this guide is for live streamings only.
Hotshot
Profile Joined November 2004
Canada184 Posts
November 02 2016 15:12 GMT
#64
Thanks for the guide. I had tried this before without any luck, but today it worked right away.

Python plugins in third party apps, gotta love it.
Zera
Profile Joined April 2010
Lithuania716 Posts
Last Edited: 2016-11-04 13:39:18
November 04 2016 13:39 GMT
#65
Windows can not find livestreamer

That's the error I get when I enter the player name.

Did everything according to guide twice now..
JD fanboy. #FPPS
sparklyresidue
Profile Joined August 2011
United States5523 Posts
November 06 2016 13:15 GMT
#66
no luck :/
maybe i'll start over. getting the "no streams found on this URL error"
Like Tinkerbelle, I leave behind a sparkly residue.
Sheridan
Profile Joined October 2016
60 Posts
November 07 2016 08:18 GMT
#67
+ Show Spoiler +
[stream.hls][error] Failed to open segment 1: Unable to open URL: http://chromecast.afreeca.gscdn.com/livestream-20/800x600/184439671-mobileweb-hd-hls_0.TS (HTTPConnectionPool(host='chromecast.afreeca.gscdn.com', port=80): Max retries exceeded with url: /livestream-20/800x600/184439671-mobileweb-hd-hls_0.TS?aid=.A32.7bbT56vyHM9fKZk.zBKDFrIL6OudFjT2EhUr0fSpPiQn7AQjBOjIaNC2phH4EpbScO1ApaY4lBVrKaO70loyTqjbSy_utaYz41VDyehS6QR9iYDwsBNIeBNX2Y2nSo2B8XrttQpCVQ3vAEdl (Caused by <class 'socket.error'>: [Errno 10054] An existing connection was forcibly closed by the remote host))
[stream.hls][error] Failed to open segment 4: Unable to open URL: http://chromecast.afreeca.gscdn.com/livestream-20/800x600/184439671-mobileweb-hd-hls_3.TS (HTTPConnectionPool(host='chromecast.afreeca.gscdn.com', port=80): Max retries exceeded with url: /livestream-20/800x600/184439671-mobileweb-hd-hls_3.TS?aid=.A32.7bbT56vyHM9fKZk.zBKDFrIL6OudFjT2EhUr0fSpPiQn7AQjBOjIaNC2phH4EpbScO1ApaY4lBVrKaO70loyTqjbSy_utaYz41VDyehS6QR9iYDwsBNIeBNX2Y2nSo2B8XrttQpCVQ3vAEdl (Caused by <class 'socket.error'>: [Errno 10054] An existing connection was forcibly closed by the remote host))


error i get. the stream opens and plays but this keep showing up on the CMD and the stream lags. I tried adding the IP address to hosts file but still lag.
letian
Profile Blog Joined May 2010
Germany4221 Posts
November 07 2016 09:28 GMT
#68
I can't comment for windows, but livestreamer works perfectly on my linux machine and I can watch Flash stream without any lags while watching almost any afreeca stream via browser on tl is next to impossible.
Kosh_Vorlon
Profile Joined June 2016
1 Post
November 07 2016 16:49 GMT
#69
I followed every step of the instruction except editing the configuration file because the lines at the bottom where already there. When I run the program, I always get this result.
[image loading]
Does anybody know what's my mistake?
halomonian
Profile Joined January 2012
Brazil255 Posts
November 08 2016 12:44 GMT
#70
Can I lower the stream quality? I am in a pretty piss poor connection right now and i dont wanna miss any of them brood wars, i wish i could lower the streaming quality
thoughts in chaos | enjOy[dream]
Peeano
Profile Blog Joined March 2009
Netherlands4986 Posts
November 10 2016 12:13 GMT
#71
Much <3
Now I can watch Nal_rA Starleague without lag!
FBH #1!
PharaphobiaSC
Profile Joined April 2016
Czech Republic457 Posts
November 13 2016 02:07 GMT
#72
On November 08 2016 01:49 Kosh_Vorlon wrote:
I followed every step of the instruction except editing the configuration file because the lines at the bottom where already there. When I run the program, I always get this result.
[image loading]
Does anybody know what's my mistake?


i have the same issue, but sometimes the vlc actually opens and sometimes not..
twitch.tv/pharaphobia
PharaphobiaSC
Profile Joined April 2016
Czech Republic457 Posts
November 13 2016 11:54 GMT
#73
I seem to find an workaround i just modified my afreeca64 bat file
And when i write it like this

[image loading]

it works!

twitch.tv/pharaphobia
alone
Profile Joined September 2010
Poland410 Posts
Last Edited: 2016-11-19 06:37:18
November 19 2016 06:36 GMT
#74
[image loading]

Can anyone help with this error msg?
neptunusfisk
Profile Blog Joined July 2012
2286 Posts
December 04 2016 08:54 GMT
#75
It doesn't work anymore... is it the new play.afreecatv.com format that is messing it up?
maru G5L pls
toriak
Profile Joined December 2008
Slovakia477 Posts
December 04 2016 09:17 GMT
#76
On December 04 2016 17:54 neptunusfisk wrote:
It doesn't work anymore... is it the new play.afreecatv.com format that is messing it up?

still works for me...unless i use vpn
Tripcho
Profile Joined December 2010
Bulgaria31 Posts
December 09 2016 09:52 GMT
#77
And what about MAC installation?
Ziggy
Profile Blog Joined June 2013
South Korea2105 Posts
Last Edited: 2017-02-10 14:11:48
February 10 2017 14:00 GMT
#78
Guys, I keep getting this error:
No streams found on his URL: afreeca.com/

It's been mentioned a couple of times throughout this thread that the problem lies in the afreecatv.py file, where he domain needs to be changed. The thing is I've got all the files from the OP which supposedly has been updated to the newest version. Any ideas what I might be doing wrong?

EDIT:
CHANNEL_INFO_URL = "http://live.afreecatv.com:8057/api/get_broad_state_list.php"
That's what I've got inside the afreecatv.py file. Should it be like that?
WriterDefeating a sandwich only makes it tastier. @imjustziggy
necrosexy
Profile Joined March 2011
451 Posts
February 13 2017 06:24 GMT
#79
On February 10 2017 23:00 ZiggyPG wrote:
Guys, I keep getting this error:
No streams found on his URL: afreeca.com/<player name>

It's been mentioned a couple of times throughout this thread that the problem lies in the afreecatv.py file, where he domain needs to be changed. The thing is I've got all the files from the OP which supposedly has been updated to the newest version. Any ideas what I might be doing wrong?

EDIT:
CHANNEL_INFO_URL = "http://live.afreecatv.com:8057/api/get_broad_state_list.php"
That's what I've got inside the afreecatv.py file. Should it be like that?

it should be play.afreeca.com/< channel name >

QuickStriker
Profile Blog Joined January 2009
United States3694 Posts
February 13 2017 07:30 GMT
#80
Not sure if this was answered already but can you watch Afreeca BW VODs that was already streamed a while back to VLC? From what I figured, the instructions are for live-streams but what about VODs if I decided I want to do English commentaries on some VODs? (If anyone is actually interested in that)
www.twitch.tv/KoreanUsher
Ziggy
Profile Blog Joined June 2013
South Korea2105 Posts
February 13 2017 08:30 GMT
#81
On February 13 2017 15:24 necrosexy wrote:
Show nested quote +
On February 10 2017 23:00 ZiggyPG wrote:
Guys, I keep getting this error:
No streams found on his URL: afreeca.com/

It's been mentioned a couple of times throughout this thread that the problem lies in the afreecatv.py file, where he domain needs to be changed. The thing is I've got all the files from the OP which supposedly has been updated to the newest version. Any ideas what I might be doing wrong?

EDIT:
CHANNEL_INFO_URL = "http://live.afreecatv.com:8057/api/get_broad_state_list.php"
That's what I've got inside the afreecatv.py file. Should it be like that?

it should be play.afreeca.com/< channel name >



I've changed it to what you said, didn't solve the issue. I keep getting the same error.
WriterDefeating a sandwich only makes it tastier. @imjustziggy
necrosexy
Profile Joined March 2011
451 Posts
Last Edited: 2017-02-14 03:48:18
February 14 2017 03:45 GMT
#82
On February 13 2017 17:30 ZiggyPG wrote:
Show nested quote +
On February 13 2017 15:24 necrosexy wrote:
On February 10 2017 23:00 ZiggyPG wrote:
Guys, I keep getting this error:
No streams found on his URL: afreeca.com/<player name>

It's been mentioned a couple of times throughout this thread that the problem lies in the afreecatv.py file, where he domain needs to be changed. The thing is I've got all the files from the OP which supposedly has been updated to the newest version. Any ideas what I might be doing wrong?

EDIT:
CHANNEL_INFO_URL = "http://live.afreecatv.com:8057/api/get_broad_state_list.php"
That's what I've got inside the afreecatv.py file. Should it be like that?

it should be play.afreeca.com/< channel name >



I've changed it to what you said, didn't solve the issue. I keep getting the same error.

which version of livestreamer are you using?
what's your livestreamer config file look like (hide any credentials, of course)
Ziggy
Profile Blog Joined June 2013
South Korea2105 Posts
February 14 2017 07:51 GMT
#83
On February 14 2017 12:45 necrosexy wrote:
Show nested quote +
On February 13 2017 17:30 ZiggyPG wrote:
On February 13 2017 15:24 necrosexy wrote:
On February 10 2017 23:00 ZiggyPG wrote:
Guys, I keep getting this error:
No streams found on his URL: afreeca.com/

It's been mentioned a couple of times throughout this thread that the problem lies in the afreecatv.py file, where he domain needs to be changed. The thing is I've got all the files from the OP which supposedly has been updated to the newest version. Any ideas what I might be doing wrong?

EDIT:
CHANNEL_INFO_URL = "http://live.afreecatv.com:8057/api/get_broad_state_list.php"
That's what I've got inside the afreecatv.py file. Should it be like that?

it should be play.afreeca.com/< channel name >



I've changed it to what you said, didn't solve the issue. I keep getting the same error.

which version of livestreamer are you using?
what's your livestreamer config file look like (hide any credentials, of course)


Umm... where exactly do i find that?
WriterDefeating a sandwich only makes it tastier. @imjustziggy
necrosexy
Profile Joined March 2011
451 Posts
Last Edited: 2017-02-14 08:01:25
February 14 2017 07:58 GMT
#84
On February 14 2017 16:51 ZiggyPG wrote:
Show nested quote +
On February 14 2017 12:45 necrosexy wrote:
On February 13 2017 17:30 ZiggyPG wrote:
On February 13 2017 15:24 necrosexy wrote:
On February 10 2017 23:00 ZiggyPG wrote:
Guys, I keep getting this error:
No streams found on his URL: afreeca.com/<player name>

It's been mentioned a couple of times throughout this thread that the problem lies in the afreecatv.py file, where he domain needs to be changed. The thing is I've got all the files from the OP which supposedly has been updated to the newest version. Any ideas what I might be doing wrong?

EDIT:
CHANNEL_INFO_URL = "http://live.afreecatv.com:8057/api/get_broad_state_list.php"
That's what I've got inside the afreecatv.py file. Should it be like that?

it should be play.afreeca.com/< channel name >



I've changed it to what you said, didn't solve the issue. I keep getting the same error.

which version of livestreamer are you using?
what's your livestreamer config file look like (hide any credentials, of course)


Umm... where exactly do i find that?

type in command prompt livestreamer --version (2 dashes )
if in Windows, your config file should be here: %APPDATA%\livestreamer\livestreamerrc (probably empty for now)

list all the steps you did, from installation onward
Ziggy
Profile Blog Joined June 2013
South Korea2105 Posts
February 14 2017 10:06 GMT
#85
On February 14 2017 16:58 necrosexy wrote:
Show nested quote +
On February 14 2017 16:51 ZiggyPG wrote:
On February 14 2017 12:45 necrosexy wrote:
On February 13 2017 17:30 ZiggyPG wrote:
On February 13 2017 15:24 necrosexy wrote:
On February 10 2017 23:00 ZiggyPG wrote:
Guys, I keep getting this error:
No streams found on his URL: afreeca.com/

It's been mentioned a couple of times throughout this thread that the problem lies in the afreecatv.py file, where he domain needs to be changed. The thing is I've got all the files from the OP which supposedly has been updated to the newest version. Any ideas what I might be doing wrong?

EDIT:
CHANNEL_INFO_URL = "http://live.afreecatv.com:8057/api/get_broad_state_list.php"
That's what I've got inside the afreecatv.py file. Should it be like that?

it should be play.afreeca.com/< channel name >



I've changed it to what you said, didn't solve the issue. I keep getting the same error.

which version of livestreamer are you using?
what's your livestreamer config file look like (hide any credentials, of course)


Umm... where exactly do i find that?

type in command prompt livestreamer --version (2 dashes )
if in Windows, your config file should be here: %APPDATA%\livestreamer\livestreamerrc (probably empty for now)

list all the steps you did, from installation onward


livestreamer version 1.12.2

this is what i found when i opened livestreamerrc with editpad:
+ Show Spoiler +
# Format is option=value. Lines starting with a # is considered comments
# and are ignored.

# By default livestreamer will attempt to locate VLC on your system
# and use that, but you can also specify the location of a player
# yourself.

# Important: You must use a quoted path if there are spaces in the path. This
# is because the player command is parsed like a shell command to allow
# parameters to be passed to the player.

# Here is a few examples of players:

# VLC
#player="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"
#player="C:\Program Files\VideoLAN\VLC\vlc.exe"
# Using --file-caching is recommended, but is only supported in VLC 2.0+
#player="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --file-caching=5000
#player="C:\Program Files\VideoLAN\VLC\vlc.exe" --file-caching=5000

# MPC-HC, must be at least version 1.7 to be used
#player="C:\Program Files (x86)\MPC-HC\mpc-hc.exe"

# MPlayer2
#player=C:\mplayer2\mplayer2.exe -cache 4096


# Use this if you want to transport the stream to the player via a named pipe.
#player-fifo

# Use this if you want to transport the stream to the player via HTTP.
#player-http

# Use this if you want Livestreamer to only pass a URL to your player and
# let it handle the transport of the stream itself.
#player-passthrough=http,hls,rtmp

# By default Livestreamer will close the player when stream is over.
# Use this option to let the player stay or close itself instead.
#player-no-close

# Use this option if you want Livestreamer to keep trying to access
# the stream even if it goes offline or disconnects. Your player must
# support HTTP and its playlist should be set to repeat mode.
#player-continuous-http

# Show console output from the video player
#verbose-player

# RTMP streams are downloaded using rtmpdump. Full path to the rtmpdump exe
# should be specified here.
rtmpdump=C:\Program Files (x86)\Livestreamer\rtmpdump\rtmpdump.exe

# Log level, default is info
#loglevel=debug

# Number of threads to use when streaming HLS streams
#hls-segment-threads=1

# Number of threads to use when streaming HDS streams
#hds-segment-threads=1

stream-types=hls
hls-segment-threads=4
default-stream=best


Well, I followed every step of the installation process in the other guide. I then reinstalled VLC in program files. And then I also changed the channel_info thingy, like you said.
WriterDefeating a sandwich only makes it tastier. @imjustziggy
necrosexy
Profile Joined March 2011
451 Posts
Last Edited: 2017-02-14 16:58:17
February 14 2017 16:57 GMT
#86
On February 14 2017 19:06 ZiggyPG wrote:
Show nested quote +
On February 14 2017 16:58 necrosexy wrote:
On February 14 2017 16:51 ZiggyPG wrote:
On February 14 2017 12:45 necrosexy wrote:
On February 13 2017 17:30 ZiggyPG wrote:
On February 13 2017 15:24 necrosexy wrote:
On February 10 2017 23:00 ZiggyPG wrote:
Guys, I keep getting this error:
No streams found on his URL: afreeca.com/<player name>

It's been mentioned a couple of times throughout this thread that the problem lies in the afreecatv.py file, where he domain needs to be changed. The thing is I've got all the files from the OP which supposedly has been updated to the newest version. Any ideas what I might be doing wrong?

EDIT:
CHANNEL_INFO_URL = "http://live.afreecatv.com:8057/api/get_broad_state_list.php"
That's what I've got inside the afreecatv.py file. Should it be like that?

it should be play.afreeca.com/< channel name >



I've changed it to what you said, didn't solve the issue. I keep getting the same error.

which version of livestreamer are you using?
what's your livestreamer config file look like (hide any credentials, of course)


Umm... where exactly do i find that?

type in command prompt livestreamer --version (2 dashes )
if in Windows, your config file should be here: %APPDATA%\livestreamer\livestreamerrc (probably empty for now)

list all the steps you did, from installation onward


livestreamer version 1.12.2

this is what i found when i opened livestreamerrc with editpad:
+ Show Spoiler +
# Format is option=value. Lines starting with a # is considered comments
# and are ignored.

# By default livestreamer will attempt to locate VLC on your system
# and use that, but you can also specify the location of a player
# yourself.

# Important: You must use a quoted path if there are spaces in the path. This
# is because the player command is parsed like a shell command to allow
# parameters to be passed to the player.

# Here is a few examples of players:

# VLC
#player="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"
#player="C:\Program Files\VideoLAN\VLC\vlc.exe"
# Using --file-caching is recommended, but is only supported in VLC 2.0+
#player="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --file-caching=5000
#player="C:\Program Files\VideoLAN\VLC\vlc.exe" --file-caching=5000

# MPC-HC, must be at least version 1.7 to be used
#player="C:\Program Files (x86)\MPC-HC\mpc-hc.exe"

# MPlayer2
#player=C:\mplayer2\mplayer2.exe -cache 4096


# Use this if you want to transport the stream to the player via a named pipe.
#player-fifo

# Use this if you want to transport the stream to the player via HTTP.
#player-http

# Use this if you want Livestreamer to only pass a URL to your player and
# let it handle the transport of the stream itself.
#player-passthrough=http,hls,rtmp

# By default Livestreamer will close the player when stream is over.
# Use this option to let the player stay or close itself instead.
#player-no-close

# Use this option if you want Livestreamer to keep trying to access
# the stream even if it goes offline or disconnects. Your player must
# support HTTP and its playlist should be set to repeat mode.
#player-continuous-http

# Show console output from the video player
#verbose-player

# RTMP streams are downloaded using rtmpdump. Full path to the rtmpdump exe
# should be specified here.
rtmpdump=C:\Program Files (x86)\Livestreamer\rtmpdump\rtmpdump.exe

# Log level, default is info
#loglevel=debug

# Number of threads to use when streaming HLS streams
#hls-segment-threads=1

# Number of threads to use when streaming HDS streams
#hds-segment-threads=1

stream-types=hls
hls-segment-threads=4
default-stream=best


Well, I followed every step of the installation process in the other guide. I then reinstalled VLC in program files. And then I also changed the channel_info thingy, like you said.

delete afreecatv.pyc, paste afreecatv.py
delete hls.pyc, paste hls.py ( in their correct locations )

show the whole error log
Ziggy
Profile Blog Joined June 2013
South Korea2105 Posts
Last Edited: 2017-02-14 17:09:43
February 14 2017 17:07 GMT
#87
On February 15 2017 01:57 necrosexy wrote:
Show nested quote +
On February 14 2017 19:06 ZiggyPG wrote:
On February 14 2017 16:58 necrosexy wrote:
On February 14 2017 16:51 ZiggyPG wrote:
On February 14 2017 12:45 necrosexy wrote:
On February 13 2017 17:30 ZiggyPG wrote:
On February 13 2017 15:24 necrosexy wrote:
On February 10 2017 23:00 ZiggyPG wrote:
Guys, I keep getting this error:
No streams found on his URL: afreeca.com/

It's been mentioned a couple of times throughout this thread that the problem lies in the afreecatv.py file, where he domain needs to be changed. The thing is I've got all the files from the OP which supposedly has been updated to the newest version. Any ideas what I might be doing wrong?

EDIT:
CHANNEL_INFO_URL = "http://live.afreecatv.com:8057/api/get_broad_state_list.php"
That's what I've got inside the afreecatv.py file. Should it be like that?

it should be play.afreeca.com/< channel name >



I've changed it to what you said, didn't solve the issue. I keep getting the same error.

which version of livestreamer are you using?
what's your livestreamer config file look like (hide any credentials, of course)


Umm... where exactly do i find that?

type in command prompt livestreamer --version (2 dashes )
if in Windows, your config file should be here: %APPDATA%\livestreamer\livestreamerrc (probably empty for now)

list all the steps you did, from installation onward


livestreamer version 1.12.2

this is what i found when i opened livestreamerrc with editpad:
+ Show Spoiler +
# Format is option=value. Lines starting with a # is considered comments
# and are ignored.

# By default livestreamer will attempt to locate VLC on your system
# and use that, but you can also specify the location of a player
# yourself.

# Important: You must use a quoted path if there are spaces in the path. This
# is because the player command is parsed like a shell command to allow
# parameters to be passed to the player.

# Here is a few examples of players:

# VLC
#player="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"
#player="C:\Program Files\VideoLAN\VLC\vlc.exe"
# Using --file-caching is recommended, but is only supported in VLC 2.0+
#player="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --file-caching=5000
#player="C:\Program Files\VideoLAN\VLC\vlc.exe" --file-caching=5000

# MPC-HC, must be at least version 1.7 to be used
#player="C:\Program Files (x86)\MPC-HC\mpc-hc.exe"

# MPlayer2
#player=C:\mplayer2\mplayer2.exe -cache 4096


# Use this if you want to transport the stream to the player via a named pipe.
#player-fifo

# Use this if you want to transport the stream to the player via HTTP.
#player-http

# Use this if you want Livestreamer to only pass a URL to your player and
# let it handle the transport of the stream itself.
#player-passthrough=http,hls,rtmp

# By default Livestreamer will close the player when stream is over.
# Use this option to let the player stay or close itself instead.
#player-no-close

# Use this option if you want Livestreamer to keep trying to access
# the stream even if it goes offline or disconnects. Your player must
# support HTTP and its playlist should be set to repeat mode.
#player-continuous-http

# Show console output from the video player
#verbose-player

# RTMP streams are downloaded using rtmpdump. Full path to the rtmpdump exe
# should be specified here.
rtmpdump=C:\Program Files (x86)\Livestreamer\rtmpdump\rtmpdump.exe

# Log level, default is info
#loglevel=debug

# Number of threads to use when streaming HLS streams
#hls-segment-threads=1

# Number of threads to use when streaming HDS streams
#hds-segment-threads=1

stream-types=hls
hls-segment-threads=4
default-stream=best


Well, I followed every step of the installation process in the other guide. I then reinstalled VLC in program files. And then I also changed the channel_info thingy, like you said.

delete afreecatv.pyc, paste afreecatv.py
delete hls.pyc, paste hls.py ( in their correct locations )

show the whole error log


Where am I supposed to delete those? And where do I get the files i need to paste? + how to get the error log? Sorry, all I can do is play games on the computer.

EDIT: Are you talking about the 1 plugin that needed to be replaced and 1 stream file that also needed to be changed?
WriterDefeating a sandwich only makes it tastier. @imjustziggy
necrosexy
Profile Joined March 2011
451 Posts
February 14 2017 22:24 GMT
#88
On February 15 2017 02:07 ZiggyPG wrote:
Show nested quote +
On February 15 2017 01:57 necrosexy wrote:
On February 14 2017 19:06 ZiggyPG wrote:
On February 14 2017 16:58 necrosexy wrote:
On February 14 2017 16:51 ZiggyPG wrote:
On February 14 2017 12:45 necrosexy wrote:
On February 13 2017 17:30 ZiggyPG wrote:
On February 13 2017 15:24 necrosexy wrote:
On February 10 2017 23:00 ZiggyPG wrote:
Guys, I keep getting this error:
No streams found on his URL: afreeca.com/<player name>

It's been mentioned a couple of times throughout this thread that the problem lies in the afreecatv.py file, where he domain needs to be changed. The thing is I've got all the files from the OP which supposedly has been updated to the newest version. Any ideas what I might be doing wrong?

EDIT:
CHANNEL_INFO_URL = "http://live.afreecatv.com:8057/api/get_broad_state_list.php"
That's what I've got inside the afreecatv.py file. Should it be like that?

it should be play.afreeca.com/< channel name >



I've changed it to what you said, didn't solve the issue. I keep getting the same error.

which version of livestreamer are you using?
what's your livestreamer config file look like (hide any credentials, of course)


Umm... where exactly do i find that?

type in command prompt livestreamer --version (2 dashes )
if in Windows, your config file should be here: %APPDATA%\livestreamer\livestreamerrc (probably empty for now)

list all the steps you did, from installation onward


livestreamer version 1.12.2

this is what i found when i opened livestreamerrc with editpad:
+ Show Spoiler +
# Format is option=value. Lines starting with a # is considered comments
# and are ignored.

# By default livestreamer will attempt to locate VLC on your system
# and use that, but you can also specify the location of a player
# yourself.

# Important: You must use a quoted path if there are spaces in the path. This
# is because the player command is parsed like a shell command to allow
# parameters to be passed to the player.

# Here is a few examples of players:

# VLC
#player="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"
#player="C:\Program Files\VideoLAN\VLC\vlc.exe"
# Using --file-caching is recommended, but is only supported in VLC 2.0+
#player="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --file-caching=5000
#player="C:\Program Files\VideoLAN\VLC\vlc.exe" --file-caching=5000

# MPC-HC, must be at least version 1.7 to be used
#player="C:\Program Files (x86)\MPC-HC\mpc-hc.exe"

# MPlayer2
#player=C:\mplayer2\mplayer2.exe -cache 4096


# Use this if you want to transport the stream to the player via a named pipe.
#player-fifo

# Use this if you want to transport the stream to the player via HTTP.
#player-http

# Use this if you want Livestreamer to only pass a URL to your player and
# let it handle the transport of the stream itself.
#player-passthrough=http,hls,rtmp

# By default Livestreamer will close the player when stream is over.
# Use this option to let the player stay or close itself instead.
#player-no-close

# Use this option if you want Livestreamer to keep trying to access
# the stream even if it goes offline or disconnects. Your player must
# support HTTP and its playlist should be set to repeat mode.
#player-continuous-http

# Show console output from the video player
#verbose-player

# RTMP streams are downloaded using rtmpdump. Full path to the rtmpdump exe
# should be specified here.
rtmpdump=C:\Program Files (x86)\Livestreamer\rtmpdump\rtmpdump.exe

# Log level, default is info
#loglevel=debug

# Number of threads to use when streaming HLS streams
#hls-segment-threads=1

# Number of threads to use when streaming HDS streams
#hds-segment-threads=1

stream-types=hls
hls-segment-threads=4
default-stream=best


Well, I followed every step of the installation process in the other guide. I then reinstalled VLC in program files. And then I also changed the channel_info thingy, like you said.

delete afreecatv.pyc, paste afreecatv.py
delete hls.pyc, paste hls.py ( in their correct locations )

show the whole error log


Where am I supposed to delete those? And where do I get the files i need to paste? + how to get the error log? Sorry, all I can do is play games on the computer.

EDIT: Are you talking about the 1 plugin that needed to be replaced and 1 stream file that also needed to be changed?

the folder location and files are in the OP, please review it again

Netto.
Profile Blog Joined August 2010
Poland523 Posts
March 04 2017 13:23 GMT
#89
Hello, I've got a problem trying to watch streams on linux (ubuntu). I followed the instructions and when I type which player I want to watch nothing happens. Just output Playing jaedong23... but no player shows up. Help
Be the change you want to see in the world.
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
March 18 2017 17:56 GMT
#90
Buggering hell.

Dropbox decided that "for your convenience[1] we are graciously allowing you not to use direct links to files any more", so you can no longer right click + save as when downloading the .py and .bat files in the tutorial.

[1] go fuck yourself

Does anyone know of a cloud storage alternative that still permits direct links to files like Dropbox used to?

In the meantime, here are pastebin links to the various files you need. Click on the download button on-site.

http://pastebin.com/upgnsq8g - afreecatv.py
http://pastebin.com/6L1zBnJA - hls.py
http://pastebin.com/AyKrHMPF - afreeca_x64.bat
http://pastebin.com/bF7gEyaC - afreeca_x86.bat
TL+ Member
Heyoka
Profile Blog Joined March 2008
Katowice25012 Posts
March 21 2017 22:30 GMT
#91
I'm using this to turn my TV into a non-stop BW broadcast channel which is my favorite thing ever, except I have to manually change streams when one ends. Is there any way to automate that? The ideal would be to play the current most viewed stream but if I could supply a list for it to try until it returns a live channel that would work well too.
@RealHeyoka | ESL / DreamHack StarCraft Lead
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
April 01 2017 14:48 GMT
#92
Added Jaedong and Stork to the .bat files. OP updated accordingly. Let me know if you're having problems.
TL+ Member
RedW4rr10r
Profile Joined January 2010
Germany745 Posts
Last Edited: 2017-04-01 14:56:24
April 01 2017 14:54 GMT
#93
On April 01 2017 23:48 Aylear wrote:
Added Jaedong and Stork to the .bat files. OP updated accordingly. Let me know if you're having problems.

Hm? Wasn't JD and Stork supposed to work via VLC before? I never had problems with them :D

edit: Thanks a lot for your efforts! It is so easy to watch them ever since I've used VLC
Rip & Tear until it is done!
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
Last Edited: 2017-04-01 15:26:39
April 01 2017 14:58 GMT
#94
On April 01 2017 23:54 RedW4rr10r wrote:
Show nested quote +
On April 01 2017 23:48 Aylear wrote:
Added Jaedong and Stork to the .bat files. OP updated accordingly. Let me know if you're having problems.

Hm? Wasn't JD and Stork supposed to work via VLC before? I never had problems with them :D

edit: Thanks a lot for your efforts! It is so easy to watch them ever since I've used VLC

I thought so too, but maybe they changed their Afreeca names? My .bat files didn't have either of them as entries, so I added them when I fixed the download links.

Glad you like the guide and got some use out of it. =)

Edit: Also added BackHo to the .bat files, forgot about him.
TL+ Member
RedW4rr10r
Profile Joined January 2010
Germany745 Posts
April 01 2017 15:44 GMT
#95
On April 01 2017 23:58 Aylear wrote:
Show nested quote +
On April 01 2017 23:54 RedW4rr10r wrote:
On April 01 2017 23:48 Aylear wrote:
Added Jaedong and Stork to the .bat files. OP updated accordingly. Let me know if you're having problems.

Hm? Wasn't JD and Stork supposed to work via VLC before? I never had problems with them :D

edit: Thanks a lot for your efforts! It is so easy to watch them ever since I've used VLC

I thought so too, but maybe they changed their Afreeca names? My .bat files didn't have either of them as entries, so I added them when I fixed the download links.

Glad you like the guide and got some use out of it. =)

Edit: Also added BackHo to the .bat files, forgot about him.

"Some use" is not even an expression
Rip & Tear until it is done!
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
Last Edited: 2017-04-03 18:15:34
April 03 2017 18:12 GMT
#96
Added ggaemo to the .bat files. OP updated accordingly. Let me know if you're having any problems. =)

Edit: Forgot I also added HyuN!
TL+ Member
mOnion
Profile Blog Joined August 2009
United States5657 Posts
April 04 2017 03:16 GMT
#97
Getting this error, I've seen two other people in the thread say they had it and I didn't see a solution. I've followed OP twice

[image loading]

Used the livestreamer installer (twice) so that it creates the PATH or whatever was previously mentioned. And added the 4 lines to the end of the config, can't find it to screenshot

[image loading]

both of the PY files added and the respective PYC files deleted

[image loading]
[image loading]

any ideas? please help I hate afreeca so much
☆★☆ 7486!!! Join the Ban mOnion Anti-Trolling Initiative! - Caller | "on a scale of machine to 10, how bad is that Zerg?" - LZgamer | you are the new tl.net bonjwa monion, congrats - Rekrul | "Cheeseburgers dynamite lilacs" - Chill
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
April 04 2017 04:42 GMT
#98
On April 04 2017 12:16 mOnion wrote:
Getting this error, I've seen two other people in the thread say they had it and I didn't see a solution. I've followed OP twice

[image loading]

Used the livestreamer installer (twice) so that it creates the PATH or whatever was previously mentioned. And added the 4 lines to the end of the config, can't find it to screenshot

[image loading]

both of the PY files added and the respective PYC files deleted

[image loading]
[image loading]

any ideas? please help I hate afreeca so much

I don't know how you even did this, but your hls and afreecatv files should be named hls.py and afreecatv.py. Rename them and try again and get back to me if it still doesn't work.
TL+ Member
toriak
Profile Joined December 2008
Slovakia477 Posts
April 04 2017 06:07 GMT
#99
cant "hide extensions for known file types" be causing the problem ?
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
Last Edited: 2017-04-04 06:31:35
April 04 2017 06:31 GMT
#100
Ugh, I forgot that was a thing. My brain said it was a binary on/off thing, but those files have notepad icons which means they're probably .py files with the extensions hidden.

Make sure they have the proper file extensions anyway. Apart from that I don't know. What OS are you using? Are you using the right afreeca.bat file for your system? Is VLC installed to the default directory or do you need to edit the .bat file? Etcetcetc.
TL+ Member
floi
Profile Joined July 2010
203 Posts
April 04 2017 07:06 GMT
#101
Just in case you hadn't noticed, livestreamer was forked: github
For Ubuntu users, there's a PPA on www.webupd8.org
At least for watching a single stream of which you know the URL it worked out of the box for me. Haven't tried any of your fancy searching/selecting on top of that.
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
April 04 2017 07:15 GMT
#102
Sigh, yeah, I should eventually set up a guide for Streamlink, but the old Livestreamer still works fine so I'm lazy. =)
TL+ Member
HalcyonRain
Profile Joined March 2017
United States124 Posts
April 04 2017 10:40 GMT
#103
Just got this working, dropping by to say thanks for your work <3
letian
Profile Blog Joined May 2010
Germany4221 Posts
Last Edited: 2017-04-04 12:28:35
April 04 2017 12:25 GMT
#104
On April 04 2017 16:06 floi wrote:
Just in case you hadn't noticed, livestreamer was forked: github
For Ubuntu users, there's a PPA on www.webupd8.org
At least for watching a single stream of which you know the URL it worked out of the box for me. Haven't tried any of your fancy searching/selecting on top of that.

But you need to know the url of the player you want to watch and also you need to know if this guy is online so this is already worse than other ppl (including me) suggested using. Besides, I even provided a fixed livestreamer fork for afreeca and a bash script which allows to view currently online streams and pick the player to watch. So, all you need to do is run afreeca.sh, type "!online" and choose any online player.
mOnion
Profile Blog Joined August 2009
United States5657 Posts
April 04 2017 14:25 GMT
#105
On April 04 2017 13:42 Aylear wrote:
Show nested quote +
On April 04 2017 12:16 mOnion wrote:
Getting this error, I've seen two other people in the thread say they had it and I didn't see a solution. I've followed OP twice

[image loading]

Used the livestreamer installer (twice) so that it creates the PATH or whatever was previously mentioned. And added the 4 lines to the end of the config, can't find it to screenshot

[image loading]

both of the PY files added and the respective PYC files deleted

[image loading]
[image loading]

any ideas? please help I hate afreeca so much

I don't know how you even did this, but your hls and afreecatv files should be named hls.py and afreecatv.py. Rename them and try again and get back to me if it still doesn't work.


yeah I tried to edit the afreecatv.py file which was suggested earlier in the thread, so I had the file open with notepad and thats why the icon changed and the extension was hidden

I changed the names to include the extension and that didn't do anything. but I restarted my computer and it actually worked lmao so I've got it running now! thanks for the guide!
☆★☆ 7486!!! Join the Ban mOnion Anti-Trolling Initiative! - Caller | "on a scale of machine to 10, how bad is that Zerg?" - LZgamer | you are the new tl.net bonjwa monion, congrats - Rekrul | "Cheeseburgers dynamite lilacs" - Chill
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
April 04 2017 20:10 GMT
#106
On April 04 2017 23:25 mOnion wrote:
Show nested quote +
On April 04 2017 13:42 Aylear wrote:
On April 04 2017 12:16 mOnion wrote:
Getting this error, I've seen two other people in the thread say they had it and I didn't see a solution. I've followed OP twice

[image loading]

Used the livestreamer installer (twice) so that it creates the PATH or whatever was previously mentioned. And added the 4 lines to the end of the config, can't find it to screenshot

[image loading]

both of the PY files added and the respective PYC files deleted

[image loading]
[image loading]

any ideas? please help I hate afreeca so much

I don't know how you even did this, but your hls and afreecatv files should be named hls.py and afreecatv.py. Rename them and try again and get back to me if it still doesn't work.


yeah I tried to edit the afreecatv.py file which was suggested earlier in the thread, so I had the file open with notepad and thats why the icon changed and the extension was hidden

I changed the names to include the extension and that didn't do anything. but I restarted my computer and it actually worked lmao so I've got it running now! thanks for the guide!

Hahaha wtf, well glad it's working, I'll take full credit for somehow fixing the problem you were having.
TL+ Member
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
April 05 2017 22:07 GMT
#107
Added Shine to the .bat file. I thought he was already in there, but it was Shinee.

Download:

Windows 64-bit: afreeca_x64.bat (right-click and save as)
Windows 32-bit: afreeca_x86.bat (right-click and save as)

Or from Pastebin:

Widnows 64-bit: afreeca_x64.bat (go to link and click the download button on Pastebin)
Widnows 86-bit: afreeca_x86.bat (go to link and click the download button on Pastebin)
TL+ Member
RedW4rr10r
Profile Joined January 2010
Germany745 Posts
April 05 2017 22:08 GMT
#108
On April 06 2017 07:07 Aylear wrote:
Added Shine to the .bat file. I thought he was already in there, but it was Shinee.

Download:

Windows 64-bit: afreeca_x64.bat (right-click and save as)
Windows 32-bit: afreeca_x86.bat (right-click and save as)

Or from Pastebin:

Widnows 64-bit: afreeca_x64.bat (go to link and click the download button on Pastebin)
Widnows 86-bit: afreeca_x86.bat (go to link and click the download button on Pastebin)

Why that new links to download? Do we have to update that (new?) file manually? Sorry, I'm an absolut computer noob
Rip & Tear until it is done!
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
April 05 2017 22:22 GMT
#109
The new site/link is so that it's easier to download the files (simply right-clicking and hitting "save as" is quicker than going to the Pastebin link, opening a new window, and pressing the "download" button). You can alternatively still use the Pastebin links if you want, since the files are there as well. They're the same file, just from a different host.

The reason I update the .bat file some times is because I add more streamers to it. For instance, if you don't update the .bat file with the latest version, you won't be able to watch Shine (the Zerg player), because the .bat file doesn't know his stream ID. That's all I added to the file.
TL+ Member
RedW4rr10r
Profile Joined January 2010
Germany745 Posts
April 05 2017 23:01 GMT
#110
On April 06 2017 07:22 Aylear wrote:
The new site/link is so that it's easier to download the files (simply right-clicking and hitting "save as" is quicker than going to the Pastebin link, opening a new window, and pressing the "download" button). You can alternatively still use the Pastebin links if you want, since the files are there as well. They're the same file, just from a different host.

The reason I update the .bat file some times is because I add more streamers to it. For instance, if you don't update the .bat file with the latest version, you won't be able to watch Shine (the Zerg player), because the .bat file doesn't know his stream ID. That's all I added to the file.

Ah, I see. Thanks for answer!
What I don't really get, I'm on a 64bit machine but I have to use the .bat for 32bit. Why is that? I mean, I don't really care that much since it's working this way without any issues at all :D
Rip & Tear until it is done!
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
April 05 2017 23:17 GMT
#111
On April 06 2017 08:01 RedW4rr10r wrote:
Show nested quote +
On April 06 2017 07:22 Aylear wrote:
The new site/link is so that it's easier to download the files (simply right-clicking and hitting "save as" is quicker than going to the Pastebin link, opening a new window, and pressing the "download" button). You can alternatively still use the Pastebin links if you want, since the files are there as well. They're the same file, just from a different host.

The reason I update the .bat file some times is because I add more streamers to it. For instance, if you don't update the .bat file with the latest version, you won't be able to watch Shine (the Zerg player), because the .bat file doesn't know his stream ID. That's all I added to the file.

Ah, I see. Thanks for answer!
What I don't really get, I'm on a 64bit machine but I have to use the .bat for 32bit. Why is that? I mean, I don't really care that much since it's working this way without any issues at all :D

The only difference between the .bat files is that they look for the default installation location for VLC Media Player. You probably just have the 32-bit version of VLC installed, so the 32-bit file is the one that loads it properly. =)
TL+ Member
Freakling
Profile Joined October 2012
Germany1529 Posts
April 06 2017 11:18 GMT
#112
Can I also use this to watch old VODs from Afreeca?
floi
Profile Joined July 2010
203 Posts
Last Edited: 2017-04-06 12:24:26
April 06 2017 12:23 GMT
#113
On April 04 2017 21:25 letian wrote:
Show nested quote +
On April 04 2017 16:06 floi wrote:
Just in case you hadn't noticed, livestreamer was forked: github
For Ubuntu users, there's a PPA on www.webupd8.org
At least for watching a single stream of which you know the URL it worked out of the box for me. Haven't tried any of your fancy searching/selecting on top of that.

But you need to know the url of the player you want to watch and also you need to know if this guy is online so this is already worse than other ppl (including me) suggested using. Besides, I even provided a fixed livestreamer fork for afreeca and a bash script which allows to view currently online streams and pick the player to watch. So, all you need to do is run afreeca.sh, type "!online" and choose any online player.


Well, looking at your bash script I could probably get the best of both worlds by just replacing your call to livestreamer with one to streamlink. Or maybe it'll break, who knows... :D
I use this stuff for more than afreeca, so having one that works for all the streams I want to watch helps.
lamarine
Profile Joined January 2003
586 Posts
April 06 2017 15:38 GMT
#114
just small note on linux install: somehow some of the streams are not working. Installing rtmpdump fixes this.
So... BW is back
mdb
Profile Blog Joined February 2003
Bulgaria4059 Posts
April 06 2017 16:19 GMT
#115
thanks for this, no lag at all
juvenal
Profile Joined July 2013
2448 Posts
April 10 2017 13:50 GMT
#116
Why is it that the quality here: http://play.afreecatv.com/byflash is different from the quality I get from the livestreamer? Can that be changed?
Michael Probu
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
April 10 2017 14:17 GMT
#117
Really? The quality is the exact same for me. Check the quality settings on the Afreeca player. Is it set to Source or something else?

Is the VLC better or worse for you? Your wording is ambiguous.
TL+ Member
Suikakuju
Profile Joined July 2010
Germany238 Posts
April 10 2017 15:01 GMT
#118
Works like a charm dude!

Thx
Laugh and the world laughs with you. Weep and you weep alone.
Vendethiel
Profile Joined February 2017
213 Posts
April 11 2017 12:44 GMT
#119
If anyone has a nice way to do it without LiveStreamer/Streamlink, I'm interested, however manual work it includes. It's just too bothersome to install.
Maru <3
Petrucci86
Profile Joined April 2017
Spain3 Posts
April 11 2017 13:29 GMT
#120
The latest version of Streamlink does not seem to require all the configurations mentioned in the first page of this topic. I just installed it and Afreeca streams are running without any additional requirements.

On the other hand, I am using a small java app that I did for my personal use in order to launch the streams without having to type the Streamlink/Livestreamer commands manually. Just in case anyone is interested in trying it, I will share the link below. Just note that I made it for my personal use and it has not really been tested on different environments, only on my Windows machine.

It loads the streams from http://bwstreams.appspot.com/ by default when you refresh the list, but you can add any stream you want (using the stream ID) by editing the configuration (Edit -> Afreeca Streams). It works for Twitch and Youtube as well (Youtube IDs are channel IDs).

In order to use it, you only need to have either Livestreamer or Streamlink (I'd use Streamlink as Livestreamer development was abandoned) and the VLC media player installed. If you don't install them to the default folders you need the specify the paths on Edit -> Configuration.

You can download it from the below link:
Stream Player

This is how it looks:
[image loading]
Vendethiel
Profile Joined February 2017
213 Posts
April 11 2017 21:33 GMT
#121
That's really cool! Do you have a github with that?

I wrote something similar (a CLI tool in Haskell), but I'd like to remove the necessity to install anything except a media player...
Maru <3
juvenal
Profile Joined July 2013
2448 Posts
Last Edited: 2017-04-12 06:40:14
April 12 2017 06:31 GMT
#122
On April 10 2017 23:17 Aylear wrote:
Really? The quality is the exact same for me. Check the quality settings on the Afreeca player. Is it set to Source or something else?

Is the VLC better or worse for you? Your wording is ambiguous.

it's noticeably worse, I'm using MPC instead of VLC, could that be the problem?
edit: nope, just checked it with VLC, here's how it compares to the stream in Chrome:
[image loading]
Michael Probu
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
April 12 2017 08:14 GMT
#123
On April 12 2017 15:31 juvenal wrote:
Show nested quote +
On April 10 2017 23:17 Aylear wrote:
Really? The quality is the exact same for me. Check the quality settings on the Afreeca player. Is it set to Source or something else?

Is the VLC better or worse for you? Your wording is ambiguous.

it's noticeably worse, I'm using MPC instead of VLC, could that be the problem?
edit: nope, just checked it with VLC, here's how it compares to the stream in Chrome:
[image loading]

Then I have no idea. Did you remember to set %AppData%\Roaming\livestreamer\livestreamerrc as specified in the setup guide?

stream-types=hls
hls-segment-threads=4
default-stream=best
TL+ Member
Petrucci86
Profile Joined April 2017
Spain3 Posts
April 12 2017 09:45 GMT
#124
On April 12 2017 06:33 Vendethiel wrote:
That's really cool! Do you have a github with that?

I wrote something similar (a CLI tool in Haskell), but I'd like to remove the necessity to install anything except a media player...

I don't have it, although I might consider setting one up.

Obviously removing the Livestreamer/Streamlink dependency would be great, but that would also mean that any changes made in the endpoints would need to be addressed by you, making the app harder to maintain. Leaving that responsibility to Streamlink and building a GUI on top of it is just a easier choice.
juvenal
Profile Joined July 2013
2448 Posts
April 12 2017 09:59 GMT
#125
On April 12 2017 17:14 Aylear wrote:
Show nested quote +
On April 12 2017 15:31 juvenal wrote:
On April 10 2017 23:17 Aylear wrote:
Really? The quality is the exact same for me. Check the quality settings on the Afreeca player. Is it set to Source or something else?

Is the VLC better or worse for you? Your wording is ambiguous.

it's noticeably worse, I'm using MPC instead of VLC, could that be the problem?
edit: nope, just checked it with VLC, here's how it compares to the stream in Chrome:
[image loading]

Then I have no idea. Did you remember to set %AppData%\Roaming\livestreamer\livestreamerrc as specified in the setup guide?

stream-types=hls
hls-segment-threads=4
default-stream=best

yes Somehow livestreamer chooses the 'worst' quality option instead, it would appear. I manually chose it from cmd and the quality stayed the same.
Michael Probu
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
April 12 2017 10:10 GMT
#126
On April 12 2017 18:59 juvenal wrote:
Show nested quote +
On April 12 2017 17:14 Aylear wrote:
On April 12 2017 15:31 juvenal wrote:
On April 10 2017 23:17 Aylear wrote:
Really? The quality is the exact same for me. Check the quality settings on the Afreeca player. Is it set to Source or something else?

Is the VLC better or worse for you? Your wording is ambiguous.

it's noticeably worse, I'm using MPC instead of VLC, could that be the problem?
edit: nope, just checked it with VLC, here's how it compares to the stream in Chrome:
[image loading]

Then I have no idea. Did you remember to set %AppData%\Roaming\livestreamer\livestreamerrc as specified in the setup guide?

stream-types=hls
hls-segment-threads=4
default-stream=best

yes Somehow livestreamer chooses the 'worst' quality option instead, it would appear. I manually chose it from cmd and the quality stayed the same.

Well, crap. I don't know what the problem would be. =( I only barely know how to use Livestreamer. I just updated an existing guide that worked well for me. If there's a configuration option somewhere that could fix this for you, I don't know of it.
TL+ Member
juvenal
Profile Joined July 2013
2448 Posts
Last Edited: 2017-04-12 10:47:11
April 12 2017 10:37 GMT
#127
Reinstalled the livestreamer just in case and naturally now it's giving me "No plugin can handle URL: afreecatv.com/horang2" lol rip
edit: got it to work but the quality stays shit. Are you sure you have the same quality in the browser, Aylear?
Michael Probu
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
April 12 2017 11:10 GMT
#128
When I made the guide it looked the same, but I can't confirm it still does because I can't actually watch Afreeca on my browser at all. It buffers endlessly. Every 20 seconds it comes back for 0.2 seconds and then buffers again. I have to set the quality down from Source to High in the stream player, at which point 1) it looks significantly worse than it does on my VLC/Livestreamer setup, and 2) it still buffers occasionally.

It is possible that Livestreamer doesn't stream in Source from Afreeca, but I can at least confirm it looks better than High.
TL+ Member
juvenal
Profile Joined July 2013
2448 Posts
April 12 2017 11:17 GMT
#129
Curious. Could you please make a screenshot of a stream on your VLC in default resolution?
Michael Probu
BonitiilloO
Profile Joined June 2013
Dominican Republic614 Posts
April 14 2017 14:00 GMT
#130
why stream is so laggy now... ia have switch from flash to html 5 and still lags
How may help u?
fabiano
Profile Blog Joined August 2009
Brazil4644 Posts
Last Edited: 2017-04-14 16:13:26
April 14 2017 16:13 GMT
#131
On August 17 2016 00:12 Aylear wrote:+ Show Spoiler +

Watch Afreeca SC/BW streams with VLC Media Player
Latest update to this guide: April 5, 2017: Added Shine to the .bat file
+ Show Spoiler [Changelog] +
August 16, 2016: First version of document
August 23, 2016: Wording and clarifications, no new or updated downloads
September 6, 2016: Wording and clarifications, no new or updated downloads
October 4, 2016: Added Rain to the .bat file
October 29, 2016: Added Soulkey to the .bat file
April 1, 2017: Added Jaedong, Stork, and BackHo to the .bat file
April 3, 2017: Added ggaemo and HyuN to the .bat file
April 5, 2017: Added Shine to the .bat file


[image loading]

Welcome back to Brood War.

Afreeca is the most popular streaming service in South Korea. Most top SC/BW players have a channel from which they stream their practice games every day.

Unfortunately, Afreeca occasionally lags for foreigners (depending on the Afreeca server currently assigned to serve users), and the interface is confusing if you can't read Korean. Players frequently use random IDs on Afreeca: (Wiki)Bisu is "rlaxordyd", (Wiki)Last is "rlatjdgus228", (Wiki)Shuttle is "jk890202". These are their stream names even when watching an embedded stream from TeamLiquid, so it quickly becomes confusing.

The easiest and most convenient way to watch Afreeca is using Livestreamer. This is a command line utility that connects live streams to a media player (usually VLC). For convenience, RoX.Malki created a .bat file which simplifies the process. The installation is a bit annoying, but after that it's easy to connect.


Installation
(Most of this information taken from defiler.ru. I have updated the information and fixed some broken scripts.)

+ Show Spoiler [Click for Linux instructions] +
On August 23 2016 23:12 letian wrote:
Ok, I figured it out for Linux.
1. First uninstall with your package manager any previous versions of livestreamer.
For archlinux/manjaro: sudo pacman -Rcn livestreamer

2. Do not add to /etc/hosts "121.156.109.165 chromecast.afreeca.gscdn.com"
3. Download my livestreamer fork with all afreeca modifications included.
git clone https://github.com/tastyminerals/livestreamer.git livestreamer-tasty
4. cd livestreamer-tasty
5. sudo python3 setup.py install

Now you can use afreeca.sh to play streams!
Use !online command to get currently available streamers, use exit to quit afreeca.sh.


    1)

    • Install VLC Media Player (install to default directory or be prepared to edit the .bat file later)
    • Install Livestreamer (grab the installer package)

    When Livestreamer finishes installing, tick the "Edit configuration file" option:

    [image loading]

    Now add the following lines to the bottom of the configuration file:

    stream-types=hls
    hls-segment-threads=4
    default-stream=best

    Save and exit.

    Note: You can find this config file again by going to %appdata%/livestreamer/livestreamerrc


    2)

    Go to your Livestreamer plugins folder. From wherever you installed it [default is C:\Program Files (x86)]:
    ...\Livestreamer\livestreamer-1.12.2-py2.7.egg\livestreamer\plugins

    Delete the file afreecatv.pyc (note: NOT afreeca.pyc, but afreecatv.pyc)
    Download afreecatv.py (right-click and save as) and place it in the stream folder.

    The plugins folder should now look like this:

    [image loading]


    3)

    Go to your Livestreamer stream folder. From wherever you installed it [default is C:\Program Files (x86)]:
    ...\Livestreamer\livestreamer-1.12.2-py2.7.egg\livestreamer\stream

    Delete the file hls.pyc
    Download hls.py (right-click and save as) and place it in the stream folder.

    The stream folder should now look like this:

    [image loading]


    4)

    Download the .bat file appropriate for your system:

    Download hls.py (right-click and save as) and place it in the stream folder.

    Windows 64-bit: afreeca_x64.bat (right-click and save as)
    Windows 32-bit: afreeca_x86.bat (go to link, click download)

    Note: The only difference between the two .bat files is the specified path of VLC media player. If you installed VLC to a custom location you will need to edit the .bat file now. Click the spoiler below.

    + Show Spoiler [If VLC installed to custom folder] +
    If you installed VLC to a custom folder, you will have to edit the .bat file to point to the proper location. Example: If you installed VLC to the D:\ drive, you would need to change

      start /B livestreamer --loglevel=error --player="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe --file-caching=5000 --network-caching=5000 --meta-title=%name%" afreeca.com/%id%

    to

      start /B livestreamer --loglevel=error --player="D:\VideoLAN\VLC\vlc.exe --file-caching=5000 --network-caching=5000 --meta-title=%name%" afreeca.com/%id%


    Once you have installed everything, check the TeamLiquid sidebar to see who is currently streaming. (You can also check https://bwstreams.appspot.com/ which does the same thing.) Run the afreeca_x??.bat file, and when prompted type in the name (or Afreeca ID) of a player you want to watch. After a few moments, VLC should start up. You can keep typing in more names as well -- VLC will open new instances for each player so that you can easily multistream.

    Lastly, most players have a lot of smurfs. The Fish Server entry on Liquipedia has a list of known smurfs and aliases, so it's easy to look up who people are playing against.


Troubleshooting & FAQ
    Q: The downloads are broken, I can't grab the .py and .bat files!

    A: They're also on Pastebin. Grab them from here (go to the link and click "download" on Pastebin):

    http://pastebin.com/upgnsq8g - afreecatv.py
    http://pastebin.com/6L1zBnJA - hls.py
    http://pastebin.com/AyKrHMPF - afreeca_x64.bat
    http://pastebin.com/bF7gEyaC - afreeca_x86.bat


    Q: The stream is still lagging. Can I fix it?

    A: Possibly. I haven't needed to do this myself, but according to the guide on defiler.ru you can try the following:

      Start -> Run "cmd.exe"
      In the command line interface, type the following:

      nslookup chromecast.afreeca.gscdn.com

      Copy the IP address response, and add it to your hosts file. (See below for instructions.)

      This IP address randomizes every once in a while as Afreeca hosts from different servers. If you experience stream lag, you may want to do a quick nslookup and add the new IP address to the hosts file.

      How to add something to your hosts file

      Google the path to your hosts file if you need to. On Windows 7/8/10 it is:
      C:\Windows\System32\drivers\etc\

      Right-click your hosts file, and uncheck read-only / write-protect.

      Edit the hosts file using notepad or notepad++.

      Add the IP address you received from the nslookup command, followed by "chromecast.afreeca.gscdn.com", to the bottom of the hosts file. Example:

      121.156.109.165 chromecast.afreeca.gscdn.com

      Save the hosts file, and re-enable write-protect / read-only mode. It should look like this:

      + Show Spoiler +
      [image loading]



    Q: I can't connect to some streams. When I try, I get this error message.

    A: Remove any Afreeca IPs from the hosts file (see above).


    Q: When I try to connect to a streamer I get this error message: error: Failed to start player: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe --file-caching=5000 --network-caching=5000 --meta-title=psn1555 ([Error 2] The system cannot find the file specified)

    A: VLC is not installed, or VLC is not installed to the default directory, or you are using the wrong .bat file for your system, or you forgot to edit the .bat file to point Livestreamer to the proper VLC directory. See the installation instructions again for details.


    Q: I tried to connect to [player] but it says No streams found on this URL.

    A: TeamLiquid only refreshes the sidebar periodically. The player may have just gone offline. Check https://bwstreams.appspot.com/ to see who is currently live.


    Q: It takes a long time between entering a name into the command line and VLC opening.

    A: That's normal. It usually takes 10 - 45 seconds for me to connect.


    Q: What is the difference between this guide and the one on defiler.ru?

    A: Nothing, it's a blatant copy-paste so that I get credit instead of RoX.Malki. Actually, since Afreeca changed its domains around some of the old scripts were broken. For instance, I edited afreecatv.py to properly point to the new domain so you didn't have to edit it yourself. I also added direct links to the .py and .bat files to speed up the installation process. Besides that, I just made clarifications and added pictures to make things less ambiguous.


Give this man a medal! And another one, in case he loses it!

Thank you very much, streams are working smooth as silk for me now.
"When the geyser died, a probe came out" - SirJolt
toriak
Profile Joined December 2008
Slovakia477 Posts
April 15 2017 09:36 GMT
#132
On April 12 2017 19:37 juvenal wrote:
got it to work but the quality stays shit. Are you sure you have the same quality in the browser?


i think you are right. It seems the quality in browser is better. I didnt noticed it before because have a small monitor...
outscar
Profile Joined September 2014
2832 Posts
April 19 2017 01:53 GMT
#133
[clic][error] Could not open stream: Missing #EXTM3U header

Anyway to fix this? So annoying to watch from here because Afreeca snucks in 5 min. commercials. Now it's not working T_T
sunbeams are never made like me...
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
April 19 2017 02:12 GMT
#134
On April 19 2017 10:53 outscar wrote:
[clic][error] Could not open stream: Missing #EXTM3U header

Anyway to fix this? So annoying to watch from here because Afreeca snucks in 5 min. commercials. Now it's not working T_T

That's odd. I've never seen that error before. It seems to be a connectivity problem on your end from what I can deduce. Are you sure you downloaded the hls.py and afreecatv.py files and put them in the proper folders? Seems like it's an error that can come up where hls.py is used, and it's all I can think of to try.
TL+ Member
outscar
Profile Joined September 2014
2832 Posts
April 19 2017 03:25 GMT
#135
On April 19 2017 11:12 Aylear wrote:
Show nested quote +
On April 19 2017 10:53 outscar wrote:
[clic][error] Could not open stream: Missing #EXTM3U header

Anyway to fix this? So annoying to watch from here because Afreeca snucks in 5 min. commercials. Now it's not working T_T

That's odd. I've never seen that error before. It seems to be a connectivity problem on your end from what I can deduce. Are you sure you downloaded the hls.py and afreecatv.py files and put them in the proper folders? Seems like it's an error that can come up where hls.py is used, and it's all I can think of to try.


Added those files again, strangely I didn't had hls.py (instead I had hls.pyc which I deleted). But now I get "error: No plugin can handle URL: (stream URL)". Any idea?
sunbeams are never made like me...
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
April 19 2017 03:39 GMT
#136
On April 19 2017 12:25 outscar wrote:
Show nested quote +
On April 19 2017 11:12 Aylear wrote:
On April 19 2017 10:53 outscar wrote:
[clic][error] Could not open stream: Missing #EXTM3U header

Anyway to fix this? So annoying to watch from here because Afreeca snucks in 5 min. commercials. Now it's not working T_T

That's odd. I've never seen that error before. It seems to be a connectivity problem on your end from what I can deduce. Are you sure you downloaded the hls.py and afreecatv.py files and put them in the proper folders? Seems like it's an error that can come up where hls.py is used, and it's all I can think of to try.


Added those files again, strangely I didn't had hls.py (instead I had hls.pyc which I deleted). But now I get "error: No plugin can handle URL: (stream URL)". Any idea?

No idea. And not to be too rude about it, but you just told me you didn't follow the installation instructions properly. I don't know enough about Livestreamer and how it fully works to spend time troubleshooting an issue unique to you that could just end up being "lol i forgot to edit a thing you clearly specified in the OP, whoopsie!"

If you still can't get it to work, maybe try some other solutions on this forum. I haven't tried these programs myself so I can't verify that they work, but:

http://www.teamliquid.net/forum/brood-war/519028-scbw-afreeca-picker-vlc-livestreamer
Vendethiel made a frontend program instead of a .bat file that has some additional features. It supposedly doesn't require a lot of messing with Livestreamer either.

http://www.teamliquid.net/forum/brood-war/512913-guide-watch-afreeca-sc-bw-streams-with-vlc?page=6#120
Petrucci86 posted his own frontend program on the previous page of this thread. Might be another option for you.

Good luck.
TL+ Member
outscar
Profile Joined September 2014
2832 Posts
Last Edited: 2017-04-19 04:03:24
April 19 2017 03:48 GMT
#137
On April 19 2017 12:39 Aylear wrote:
Show nested quote +
On April 19 2017 12:25 outscar wrote:
On April 19 2017 11:12 Aylear wrote:
On April 19 2017 10:53 outscar wrote:
[clic][error] Could not open stream: Missing #EXTM3U header

Anyway to fix this? So annoying to watch from here because Afreeca snucks in 5 min. commercials. Now it's not working T_T

That's odd. I've never seen that error before. It seems to be a connectivity problem on your end from what I can deduce. Are you sure you downloaded the hls.py and afreecatv.py files and put them in the proper folders? Seems like it's an error that can come up where hls.py is used, and it's all I can think of to try.


Added those files again, strangely I didn't had hls.py (instead I had hls.pyc which I deleted). But now I get "error: No plugin can handle URL: (stream URL)". Any idea?

No idea. And not to be too rude about it, but you just told me you didn't follow the installation instructions properly. I don't know enough about Livestreamer and how it fully works to spend time troubleshooting an issue unique to you that could just end up being "lol i forgot to edit a thing you clearly specified in the OP, whoopsie!"

If you still can't get it to work, maybe try some other solutions on this forum. I haven't tried these programs myself so I can't verify that they work, but:

http://www.teamliquid.net/forum/brood-war/519028-scbw-afreeca-picker-vlc-livestreamer
Vendethiel made a frontend program instead of a .bat file that has some additional features. It supposedly doesn't require a lot of messing with Livestreamer either.

http://www.teamliquid.net/forum/brood-war/512913-guide-watch-afreeca-sc-bw-streams-with-vlc?page=6#120
Petrucci86 posted his own frontend program on the previous page of this thread. Might be another option for you.

Good luck.


Well the reason I didn't followed your installation because it was already installed on my PC (defiler.ru one) and it was working perfecut until now and I saw that your installation is same but only plugin files changed. I tried to replace those files and still getting errors. Might try clean install then. Also lately I installed some antivirus thingy might be it blocking. Thanks for tips!

EDIT: Yeah, this fucking shit was because of antivirus, fuck them Now I can run.
sunbeams are never made like me...
Vendethiel
Profile Joined February 2017
213 Posts
April 19 2017 08:54 GMT
#138
Leaving that responsibility to Streamlink and building a GUI on top of it is just a easier choice.
Of course you're right, but it means a one-click installer for the program would be feasible. Non-technical people will not go through with "install steamlink in this and that directory". Maybe the solution is to instead package streamlink...
Maru <3
Craton
Profile Blog Joined December 2009
United States17248 Posts
April 21 2017 05:47 GMT
#139
Curiously I'm seeing a similar issue with the lower quality tonight. Last night watching Bisu in VLC it was the same stream quality (very crisp), whereas with Snow today there's a marked difference. I wonder if it has anything to do with the number of viewers on the stream. Bisu had more transcoding options I believe.

I'll have to experiment some more and see if I can figure anything out.

My versions:
VLC 2.2.1
Livestreamer 1.11.1
Latest version of the plugins from OP


Also, does anyone happen to know of the API Afeeca exposes to get stream status, thumnails, etc? I have a Windows app I wrote that leverages the Twitch API (a glorified Livestreamer GUI with a similar UI to the Twitch website) and I'd like to expand it to incorporate Afreeca as well. I think it might end up being something this community would find useful.
twitch.tv/cratonz
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
April 24 2017 04:40 GMT
#140
Added Horang2 to the .bat files.

Windows 64-bit: afreeca_x64.bat (right-click and save as)
Windows 32-bit: afreeca_x86.bat (right-click and save as)

or

http://pastebin.com/AyKrHMPF - afreeca_x64.bat (go to the link and click "download" on Pastebin)
http://pastebin.com/bF7gEyaC - afreeca_x86.bat (go to the link and click "download" on Pastebin)
TL+ Member
caokancc
Profile Joined November 2016
15 Posts
April 25 2017 15:41 GMT
#141
today i do not watch afreeca on livestreamer.....
And you?
+ Show Spoiler +
[cli][error] Could not open stream: Unable to open URL: http://chromecast.afreec
a.gscdn.com/livestream-14/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.9TJt-melnX
cNv5wBxT53H3SPqd5KYezh2Kmn74y1_qcbwTB-fhtH-IBf4CG1n-91MoqAlxrAW5tAG1lyygeTFp2L_C
KreeyqBOuqKas4_cZzBPl4zcuJHHLwn1EMreN4 (HTTPConnectionPool(host='chromecast.afre
eca.gscdn.com', port=80): Read timed out. (read timeout=20.0))
gagazh
Profile Joined April 2012
China10 Posts
April 25 2017 16:10 GMT
#142
Me either,maybe its the problem of GFW
Beyond The Game
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
April 25 2017 16:20 GMT
#143
Yep, this started earlier tonight. Since I have no idea what's wrong I'm going to advise everyone to just wait it out until someone smarter than me drops by.

I'll poke at some configs tomorrow if it hasn't been fixed by then, but no promises of a fix.
TL+ Member
bovienchien
Profile Joined March 2014
Vietnam1152 Posts
April 25 2017 16:41 GMT
#144
On April 26 2017 00:41 caokancc wrote:
today i do not watch afreeca on livestreamer.....
And you?
+ Show Spoiler +
[cli][error] Could not open stream: Unable to open URL: http://chromecast.afreec
a.gscdn.com/livestream-14/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.9TJt-melnX
cNv5wBxT53H3SPqd5KYezh2Kmn74y1_qcbwTB-fhtH-IBf4CG1n-91MoqAlxrAW5tAG1lyygeTFp2L_C
KreeyqBOuqKas4_cZzBPl4zcuJHHLwn1EMreN4 (HTTPConnectionPool(host='chromecast.afre
eca.gscdn.com', port=80): Read timed out. (read timeout=20.0))

me too, I also have the same error.

Yesterday, I still watched very good from vlc.
https://www.facebook.com/StarcraftRemasteredVN/
Gaitsaa
Profile Joined April 2017
United States15 Posts
April 26 2017 06:14 GMT
#145
Registered too report same problem, followed the guide yesterday, had flawless Bisu/Sea/Jaedong streams, since today having authentication playlist error with port 80... Followed FAQ with host file, no fix, that IP is always changing as well, and no luck allowing VLC and Livestreamer through windows firewall.
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
Last Edited: 2017-04-26 07:16:49
April 26 2017 06:18 GMT
#146
Started troubleshooting today. Streamlink doesn't work any more either. Seems like Afreeca changed their API again because they didn't do that enough times this year, and not doing it would be too convenient.

Currently poking at configs. No promises for a fix.

Edit: Got it working on Streamlink. May have to finally update the guide and .bat files to just use that.

Edit 2: Only SOME streams work on Streamlink at the moment. For instance, I can connect to Bisu, GuemChi, and Zeus, but not Horang2 or EffOrt.

Edit 3: https://github.com/streamlink/streamlink/issues/837

Confirmed for being an issue outside of Livestreamer. I think Afreeca did a thing, now we have to wait for a fix.
TL+ Member
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
April 26 2017 07:17 GMT
#147
If you want to watch some streams instead of none, install Streamlink:
https://streamlink.github.io/install.html#windows-binaries
Grab the "nightly Windows installer" from that page.

Then edit your afreeca_x64.bat file, replacing the bottom section with this:

:PLAYER_START
start /B streamlink afreeca.com/%id% best

REM start /B livestreamer --loglevel=error --player="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe --file-caching=5000 --network-caching=5000 --meta-title=%name%" afreeca.com/%id%

goto loop


This comments out the Livestreamer syntax temporarily (you can uncomment it again later by removing "REM") and replaces it with a Streamlink launcher.

Like I said, it seems random which streams this will work with (watching Bisu right now), but until the API gets fixed or the plugin gets updated it's the best I can do considering the massive headache I've been nursing all day. I'll take a deeper look tomorrow, and I might update the guide to use Streamlink instead if the plugin gets fixed soon.
TL+ Member
toriak
Profile Joined December 2008
Slovakia477 Posts
Last Edited: 2017-04-26 08:22:11
April 26 2017 07:25 GMT
#148
aylear thank you
hope it gets fixed soon
gagazh
Profile Joined April 2012
China10 Posts
April 26 2017 08:36 GMT
#149
Thanks a lot for your fix effort.
Beyond The Game
gagazh
Profile Joined April 2012
China10 Posts
April 26 2017 13:43 GMT
#150
I found that stream(rtmp) can be loaded,but stream(hls) can not.
Beyond The Game
Grettin
Profile Joined April 2010
42381 Posts
Last Edited: 2017-04-26 13:47:25
April 26 2017 13:47 GMT
#151
I'd appreciate if anyone would be kind enough to let everyone know if they figured a way to run Afreeca streams with livestreamer again. Last time we had to change CHANNEL_INFO_URL and STREAM_INFO_URLS parameters due to API changes.
"If I had force-fields in Brood War, I'd never lose." -Bisu
Gaitsaa
Profile Joined April 2017
United States15 Posts
April 26 2017 14:17 GMT
#152
Thank you for the updates Aylear. I'm able to watch streams again without problems following your instructions and replacing the plugin with that posted in the github link. Don't know which streams work, but I'm satisfied being able to watch at all!
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
April 26 2017 14:23 GMT
#153
On April 26 2017 23:17 Gaitsaa wrote:
Thank you for the updates Aylear. I'm able to watch streams again without problems following your instructions and replacing the plugin with that posted in the github link. Don't know which streams work, but I'm satisfied being able to watch at all!

I'm glad you found the guide useful! I'll try to get it fully fixed ASAP.

Welcome to TeamLiquid. =)
TL+ Member
Scaramanga
Profile Blog Joined March 2008
Australia8090 Posts
Last Edited: 2017-04-26 15:30:41
April 26 2017 14:52 GMT
#154
Aylear I love you so much <3
With the change I get an error saying I can't find VLC, even though the pathway is correct; any fix?
Alright if anyone has the same problem I had, use this
:PLAYER_START
start /B streamlink --loglevel=error --player="D:\Program Files (x86)\VideoLAN\VLC\vlc.exe --file-caching=5000 --network-caching=5000 --meta-title=%name%" afreeca.com/%id% best

goto loop
Loda talked about the fun counter, it's AdmiralBulldog on his natures prophet
caokancc
Profile Joined November 2016
15 Posts
April 26 2017 16:02 GMT
#155
By the way,
Referring to the idea of Aylear , only need to modify the configuration files of the livestreamer.
Files in the directory"C:\Users\Administrator\AppData\Roaming\livestreamer", name is livestreamerrc.
The character "stream-types=hls" is modified to stream-types=rtmp,and delete "hls-segment-threads=4".
enjoy.
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
April 26 2017 16:08 GMT
#156
On April 27 2017 01:02 caokancc wrote:
By the way,
Referring to the idea of Aylear , only need to modify the configuration files of the livestreamer.
Files in the directory"C:\Users\Administrator\AppData\Roaming\livestreamer", name is livestreamerrc.
The character "stream-types=hls" is modified to stream-types=rtmp,and delete "hls-segment-threads=4".
enjoy.

Well, we're getting closer to the problem at least. Doing this has the same success rate that using Streamlink does. I can watch Flash, but not EffOrt, which is the same problem as with using my Streamlink workaround above.

So hls isn't working properly with Afreeca. That makes more sense as to why some streams work and others do not.
TL+ Member
caokancc
Profile Joined November 2016
15 Posts
April 26 2017 16:28 GMT
#157
On April 27 2017 01:08 Aylear wrote:
Show nested quote +
On April 27 2017 01:02 caokancc wrote:
By the way,
Referring to the idea of Aylear , only need to modify the configuration files of the livestreamer.
Files in the directory"C:\Users\Administrator\AppData\Roaming\livestreamer", name is livestreamerrc.
The character "stream-types=hls" is modified to stream-types=rtmp,and delete "hls-segment-threads=4".
enjoy.

Well, we're getting closer to the problem at least. Doing this has the same success rate that using Streamlink does. I can watch Flash, but not EffOrt, which is the same problem as with using my Streamlink workaround above.

So hls isn't working properly with Afreeca. That makes more sense as to why some streams work and others do not.



Yes,else EffOrt,
The root of the problem or in HLS and afreeca connection.
Korean players can choose different stream when live.
Chris_Havoc
Profile Joined August 2016
United States600 Posts
April 26 2017 16:32 GMT
#158
Can confirm. Just checked EffOrt's stream myself with Streamlink/MPC-HC using the cli and got squat. Jaedong's stream however used rtmp and worked fine.

Dontcha love it when sites make API changes without telling you?
Owner of the SC2 Esports Anthology channel on YouTube: https://www.youtube.com/c/SC2EsportsAnthology
gagazh
Profile Joined April 2012
China10 Posts
April 27 2017 04:55 GMT
#159
why should i input two enter with the new afreeca_x64.bat file before i can watch the stream
Beyond The Game
Petrucci86
Profile Joined April 2017
Spain3 Posts
April 27 2017 07:55 GMT
#160
Guys, for all of you who are still using Livestreamer, I recommend that you switch to Streamlink, as Livestreamer is not being developed anymore and won't fix any new issues that arise from changes in the endpoints. On the other hand, Streamlink does not require any additional configurations to watch Afreeca streams; once installed, it just works.

I posted a link to the latest version of Streamlink on this thread, along with a frontend program to manage the streams without having to use the console or any .bat files, which doesn't require any additional configurations to make it work as long as you install Streamlink and VLC in the default folders. You can find the post here: http://www.teamliquid.net/forum/brood-war/512913-guide-watch-afreeca-sc-bw-streams-with-vlc?page=6#120

On April 19 2017 17:54 Vendethiel wrote:
Show nested quote +
Leaving that responsibility to Streamlink and building a GUI on top of it is just a easier choice.
Of course you're right, but it means a one-click installer for the program would be feasible. Non-technical people will not go through with "install steamlink in this and that directory". Maybe the solution is to instead package streamlink...

I understand what you say, but the problem with integrating Streamlink in the program I made is that whenever a new version of Streamlink that fixes new issues came out, I would need to update my program.

Having Streamlink as an external dependency allows me to just update Streamlink and then reference the new installation from the preferences menu whenever a new version comes out. Besides, I don't think it is that difficult to install something and then reference the installation folder from another program, especially if this step can be easily avoided by just using the default folders during installation.

On April 21 2017 14:47 Craton wrote:
Also, does anyone happen to know of the API Afeeca exposes to get stream status, thumnails, etc? I have a Windows app I wrote that leverages the Twitch API (a glorified Livestreamer GUI with a similar UI to the Twitch website) and I'd like to expand it to incorporate Afreeca as well. I think it might end up being something this community would find useful.

I know of some Afreeca API endpoints which I use on the app referenced above. That said, compared to Twitch or Youtube APIs, Afreeca API just sucks (or maybe I just wasn't able to find a proper documentation for it due to not being able to understand korean).
Grettin
Profile Joined April 2010
42381 Posts
Last Edited: 2017-04-27 14:19:15
April 27 2017 14:18 GMT
#161
Overnight my Afreeca streams (hls at least) started to work again with livestreamer. Didn't mess with the files.
"If I had force-fields in Brood War, I'd never lose." -Bisu
caokancc
Profile Joined November 2016
15 Posts
April 27 2017 16:19 GMT
#162
I use livestreamer to watch afreeca because i have APP
ex
[image loading]

prech
Profile Joined March 2014
United States2948 Posts
April 27 2017 18:47 GMT
#163
Have been encountering this issue myself with Livestreamer/Streamlink the past two days, but it looks like @trocknet at Github revised the afreeca.py code a bit yesterday and most BJs work now. Hopefully someone will come up with a more comprehensive fix, but a few HLS streams don't work consistently for me, like Flash.

The updated afreeca.py code can be found here, or as a file here
Liquipedia
[tyu38]
Profile Joined September 2015
Poland121 Posts
April 27 2017 19:04 GMT
#164
Hmm, on Korhal, i have problems with Effort and Soulkey, but Flash streams work great, strange ...
prech
Profile Joined March 2014
United States2948 Posts
April 27 2017 21:03 GMT
#165
On April 28 2017 04:04 [tyu38] wrote:
Hmm, on Korhal, i have problems with Effort and Soulkey, but Flash streams work great, strange ...

Pretty odd. Maybe just an Afreeca server/DNS issue.

Before I used the new afreeca.py plugin, none of the BJs were working from me. Now, only about 10% of streamers don't work for me. Fortunately, both EffOrt and Soulkey are fine for me
Liquipedia
iFU.pauline
Profile Joined September 2009
France1548 Posts
April 28 2017 18:19 GMT
#166
They started streaming HD and that might be the problem.
No coward soul is mine, No trembler in the world's storm-troubled sphere, I see Heaven's glories shine, And Faith shines equal arming me from Fear
prech
Profile Joined March 2014
United States2948 Posts
April 28 2017 18:29 GMT
#167
Our man @trocknet at Git updated the afreeca.py plugin and all seems to be well now, for all the streams I've tested.

Can find it here, or download here
Liquipedia
toriak
Profile Joined December 2008
Slovakia477 Posts
April 28 2017 18:34 GMT
#168
where should i put this file ? (livestreamer)
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
April 28 2017 18:39 GMT
#169
It's for Streamlink, not Livestreamer. The Livestreamer plugins are unlikely to ever be fixed since support for it has ended.

I'm currently updating the guide to use Streamlink instead of Livestreamer. It's an easier install, which is a positive.
TL+ Member
Grettin
Profile Joined April 2010
42381 Posts
Last Edited: 2017-04-28 21:50:20
April 28 2017 21:46 GMT
#170
On April 29 2017 03:39 Aylear wrote:
It's for Streamlink, not Livestreamer. The Livestreamer plugins are unlikely to ever be fixed since support for it has ended.

I'm currently updating the guide to use Streamlink instead of Livestreamer. It's an easier install, which is a positive.


What are the things you are fixing? They can be applied to livestreamer for the most part..

These API change fixes have been pretty straight forward in the past.
"If I had force-fields in Brood War, I'd never lose." -Bisu
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
April 28 2017 22:17 GMT
#171
On April 29 2017 06:46 Grettin wrote:
Show nested quote +
On April 29 2017 03:39 Aylear wrote:
It's for Streamlink, not Livestreamer. The Livestreamer plugins are unlikely to ever be fixed since support for it has ended.

I'm currently updating the guide to use Streamlink instead of Livestreamer. It's an easier install, which is a positive.


What are the things you are fixing? They can be applied to livestreamer for the most part..

These API change fixes have been pretty straight forward in the past.

Probably, but we would have to do it going forward. If Streamlink remains updated (especially with the nightly build) we won't need to provide manual downloads to three different files plus editing the config.

Streamlink also allows for better quality options, so I'm updating the .bat file right now. Will update the guide some time tonight. If things go poorly we can go back to Livestreamer.
TL+ Member
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
Last Edited: 2017-04-29 00:03:41
April 29 2017 00:00 GMT
#172
I updated the guide in the OP. Need people to test the new setup for me, and give feedback on the .bat file I've created.

If you don't want to re-read the OP, here's a basic rundown:

      1) Download and install Streamlink (link is to the nightly build)
      2) Download afreeca.py (right-click and save link as)
      3) Replace afreeca.py file in Streamlink folder with the one you downloaded - folder is usually:
            C:\Program Files (x86)\Streamlink\pkgs\streamlink\plugins
      4) Download afreeca_x64.bat or afreeca_x86.bat (right-click and save link as)

Run afreeca_x64.bat. You should be presented with options for CDN servers and stream quality. Try them out and make sure they work, and let me know if there are any problems. .bat file is in beta until I'm sure there are no bugs left.

The new .bat file uses color codes to make things more readable. If the text looks messed up for you, let me know. I would have to create an optional color-less .bat file.

Cheers!
TL+ Member
iFU.pauline
Profile Joined September 2009
France1548 Posts
April 29 2017 06:04 GMT
#173
It is sad I was using livestreamer for linux which worked well.
No coward soul is mine, No trembler in the world's storm-troubled sphere, I see Heaven's glories shine, And Faith shines equal arming me from Fear
2Pacalypse-
Profile Joined October 2006
Croatia9498 Posts
April 29 2017 07:55 GMT
#174
Server/stream setting should be modified so it only allows you available options ^^

[image loading]
Moderator"We're a community of geniuses because we've found how to extract 95% of the feeling of doing something amazing without actually doing anything." - Chill
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
April 29 2017 11:09 GMT
#175
On April 29 2017 16:55 2Pacalypse- wrote:
Server/stream setting should be modified so it only allows you available options ^^

[image loading]

You didn't copy-and-replace Streamlink's afreeca.py with the one I linked to, did you? Those quality options (live_hls, live) are wrong. aws_hd is part of the updated file that @trocknet created and prech uploaded.
TL+ Member
2Pacalypse-
Profile Joined October 2006
Croatia9498 Posts
April 29 2017 11:16 GMT
#176
On April 29 2017 20:09 Aylear wrote:
Show nested quote +
On April 29 2017 16:55 2Pacalypse- wrote:
Server/stream setting should be modified so it only allows you available options ^^

[image loading]

You didn't copy-and-replace Streamlink's afreeca.py with the one I linked to, did you? Those quality options (live_hls, live) are wrong. aws_hd is part of the updated file that @trocknet created and prech uploaded.

Oops, my bad. Chrome failed to replace the file due to insufficient privileges, so I had to do it manually. It works now, thanks!
Moderator"We're a community of geniuses because we've found how to extract 95% of the feeling of doing something amazing without actually doing anything." - Chill
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
Last Edited: 2017-04-29 11:45:44
April 29 2017 11:21 GMT
#177
On April 29 2017 15:04 iFU.pauline wrote:
It is sad I was using livestreamer for linux which worked well.

If letian keeps updating his fork for Linux it'll work for a while longer. I don't know what his plans are though.

On April 29 2017 20:16 2Pacalypse- wrote:
Show nested quote +
On April 29 2017 20:09 Aylear wrote:
On April 29 2017 16:55 2Pacalypse- wrote:
Server/stream setting should be modified so it only allows you available options ^^

[image loading]

You didn't copy-and-replace Streamlink's afreeca.py with the one I linked to, did you? Those quality options (live_hls, live) are wrong. aws_hd is part of the updated file that @trocknet created and prech uploaded.

Oops, my bad. Chrome failed to replace the file due to insufficient privileges, so I had to do it manually. It works now, thanks!

Good! Glad it's working. Report any issues with the .bat file. =)

Edit: And I added your problem to the Troubleshooting/FAQ. Thanks for testing and breaking stuff for me!
TL+ Member
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
April 29 2017 12:02 GMT
#178
I updated the .bat file again, and the updated files have been added to the OP. This time I added some 15+ player streams from https://bwstreams.appspot.com/ including Really, SkyHigh, Noble, 910, Spire, and Hint.

I also added known aliases to existing entries, i.e. Eyewater/Shuttle, Rock/TheRock/Nal_Rock, Rain/Sun/By.Rain/By.Sun, Piano/Organ, etc.

Windows 64-bit: afreeca_x64.bat (right-click and save link as)
Windows 32-bit: afreeca_x86.bat (right-click and save link as)
TL+ Member
toriak
Profile Joined December 2008
Slovakia477 Posts
April 29 2017 12:39 GMT
#179
great !
480 afreeca streams play well on source with better quality than before.
I have frequent freezing with 720 streams on both source and high quality tho.
bovienchien
Profile Joined March 2014
Vietnam1152 Posts
Last Edited: 2017-04-29 13:14:00
April 29 2017 13:12 GMT
#180
I fixed success, thank for update latest!

You can do it:

step 1: download and install
Install Streamlink
step 2: download and copy to replace
afreeca.py
step 3:
down 3: download and copy to replace
Windows .bat

The links are in the #1 of page 1
https://www.facebook.com/StarcraftRemasteredVN/
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
April 29 2017 13:15 GMT
#181
You are welcome! Happy viewing. <3
TL+ Member
ppp87
Profile Joined May 2016
Laos250 Posts
April 29 2017 13:17 GMT
#182
works great, thank you Aylear.
k0walle
Profile Joined April 2017
3 Posts
Last Edited: 2017-04-29 14:36:32
April 29 2017 14:26 GMT
#183
Firstly i got an error message that "Windows cant find streamlink" though i've installed it properly and by moving the .bat file to the "Program Files\Streamlink\bin" forler it was solved...

After installing steamlink and doing all the stuff it still doesnt work for me(((
after entering the name of a streamer (Bisu/rlaxordyd for example. Bisu was surely streaming at that moment) VLC player doesnt show up, i just get this (the path to the player was edited)
[image loading]
can u tell me what can be wrong?


Aylear
Profile Blog Joined May 2009
Norway3988 Posts
Last Edited: 2017-04-29 15:06:02
April 29 2017 14:53 GMT
#184
On April 29 2017 23:26 k0walle wrote:
Firstly i got an error message that "Windows cant find streamlink" though i've installed it properly and by moving the .bat file to the "Program Files\Streamlink\bin" forler it was solved...

After installing steamlink and doing all the stuff it still doesnt work for me(((
after entering the name of a streamer (Bisu/rlaxordyd for example. Bisu was surely streaming at that moment) VLC player doesnt show up, i just get this (the path to the player was edited)
[image loading]
can u tell me what can be wrong?



Well, first of all thank you for posting a screenshot. I can see that the text on the .bat file is messed up on your system. What operating system are you using?

For those wondering, the .bat file should look like this:

[image loading]

Since it's confirmed messed up on some systems, I will probably need to create an optional .bat file without the color codes. I'll get started on that right away.

Anyway, on to your problem.

1) If you get a "Windows cannot find Streamlink" error, that almost certainly means that you haven't installed Streamlink properly. The fact that you had to move the .bat file to the Streamlink directory also indicates this, as you should not need to move the .bat file if Streamlink was properly installed.

Did you use the Streamlink nightly installer I linked to? If you just download the mobile .zip version and extract it, Streamlink doesn't get added to your Windows system PATH variable, which means that my .bat file will not work.

2) What operating system are you on? The fact that your .bat file looks wrong (color codes screwed with the text) makes me wonder what's going.

3) Temporarily deactivate your antivirus and try again. Some third party antivirus software will aggressively throttle certain connections, especially from C:\Program Files.

Anyway, your problem is so far unique to you, so it will be hard to troubleshoot.





Edit: With your .bat file being messed up, it is possible that the operating system you're running doesn't know how to handle certain modern .bat file functions. Maybe it doesn't add the quality options.

Try the following:
- Open the command prompt (start menu, type cmd.exe and open it)
- Type streamlink

Does it say "not recognized as a program", or does it say "usage: streamlink-script.py" etc? If it shows "not recognized as a program" then Streamlink was definitely not installed properly.

Use the command prompt to navigate to your Streamlink folder. Copy-paste this into your command prompt window:
cd \Program Files (x86)\Streamlink\bin


Now type the following:
streamlink afreeca.com/rlaxordyd aws_hd


Does the stream load in VLC now?

Edit 2: I see your Windows is installed to D:\, so my commands above probably won't work. Sorry dude, you're on your own.
TL+ Member
k0walle
Profile Joined April 2017
3 Posts
April 29 2017 15:26 GMT
#185
I use Win XP sp3 ))) maybe thats the problem...
I've downloaded the Streamlink nightly installer U linked to and installed it as usual
colours are the same as in your screenshots, maybe thats just the "Paint" compression artefacts
command prompt says "not recognized as a program"
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
April 29 2017 15:31 GMT
#186
Aww, yes, that is the problem I'm afraid. Probably also why your .bat file looks messed up, all extra periods and symbols all over the place. As it says on the Streamlink page:

Windows XP is not supported. Windows Vista requires at least SP2 to be installed.
TL+ Member
k0walle
Profile Joined April 2017
3 Posts
Last Edited: 2017-04-29 15:39:41
April 29 2017 15:39 GMT
#187
damn...
thanks anyway)
EsportsJohn
Profile Blog Joined June 2012
United States4883 Posts
April 29 2017 15:54 GMT
#188
For whatever reason, I haven't had any problems watching on AfreecaTV since the VLC workaround broke. ¯\_(ツ)_/¯
StrategyAllyssa Grey <3<3
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
April 29 2017 15:59 GMT
#189
That's good! When I try to do that the stream buffers and freezes for 20 seconds straight, comes back for 0.2 seconds, and then begins another 20 second buffering period. So, you know, screw you. =)
TL+ Member
caokancc
Profile Joined November 2016
15 Posts
April 30 2017 09:19 GMT
#190
[image loading]

juvenal
Profile Joined July 2013
2448 Posts
April 30 2017 10:18 GMT
#191
On April 30 2017 18:19 caokancc wrote:
[image loading]


okay?
Michael Probu
iFU.pauline
Profile Joined September 2009
France1548 Posts
April 30 2017 10:33 GMT
#192
If someone could make a shell version of the bat file maybe we could make it work on linux using wine.
No coward soul is mine, No trembler in the world's storm-troubled sphere, I see Heaven's glories shine, And Faith shines equal arming me from Fear
caokancc
Profile Joined November 2016
15 Posts
Last Edited: 2017-04-30 15:25:03
April 30 2017 12:21 GMT
#193
Click on the download software

Contains three files
Program, configuration files, component

If your computer prompts lacks comdlg32.ocx, please register components
If there is no hint that your computer contains the file, please use directly


[image loading]
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
April 30 2017 13:09 GMT
#194
Oh cool, you updated the app to use Streamlink? I haven't tried it yet but it's looking pretty good. =)
TL+ Member
caokancc
Profile Joined November 2016
15 Posts
Last Edited: 2017-04-30 13:38:31
April 30 2017 13:37 GMT
#195
On April 30 2017 22:09 Aylear wrote:
Oh cool, you updated the app to use Streamlink? I haven't tried it yet but it's looking pretty good. =)



yes,It supports Streamlink
According to your way of thinking of the app, you are best
B-royal
Profile Joined May 2015
Belgium1330 Posts
April 30 2017 14:14 GMT
#196
I'm getting this error "Component 'comdlg32.ocx' or one of its dependencies not correctly registered: a file is missing or invalid". I read on how to fix it but I'm a bit apprehensive of installing anything in my windows folder...
new BW-player (~E rank fish) twitch.tv/crispydrone || What plays 500 games a season but can't get better? => http://imgur.com/a/pLzf9 <= ||
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
April 30 2017 14:19 GMT
#197
B-royal, same thing here.

For those confused, we are talking about caokan's app.
TL+ Member
caokancc
Profile Joined November 2016
15 Posts
April 30 2017 15:20 GMT
#198
On April 30 2017 23:14 B-royal wrote:
I'm getting this error "Component 'comdlg32.ocx' or one of its dependencies not correctly registered: a file is missing or invalid". I read on how to fix it but I'm a bit apprehensive of installing anything in my windows folder...



My friend also reflect this problem to me.
This control is an early Windows system components, and this app is written in vb6, so now the Windows complains.

Download this file and register

RedW4rr10r
Profile Joined January 2010
Germany745 Posts
May 01 2017 10:35 GMT
#199
Aylear, YOU ARE MAH HERO!!
Being forced to watch via afreeca was a real pain ever since the last settings didn't work properly anymore and even with the few random small fixes that randomly worked or not didn't work for me.
But now, after following the new guide, IT'S WORKING AGAIN!!
Thank you sooooo much!
Rip & Tear until it is done!
Dangermousecatdog
Profile Joined December 2010
United Kingdom7084 Posts
May 01 2017 13:08 GMT
#200
Thank you Aylear.
Craton
Profile Blog Joined December 2009
United States17248 Posts
May 01 2017 20:37 GMT
#201
Caokancc, out of curiosity, how are you grabbing the list of online streams? Are you parsing live.afreecatv.com:8057/afreeca or something else?
twitch.tv/cratonz
caokancc
Profile Joined November 2016
15 Posts
May 02 2017 06:43 GMT
#202
On May 02 2017 05:37 Craton wrote:
Caokancc, out of curiosity, how are you grabbing the list of online streams? Are you parsing live.afreecatv.com:8057/afreeca or something else?



http://live.afreecatv.com:8057/api/main_broad_list_api.php?callback=jQuery110207345030587166548_1480641737407&selectType=cate&selectValue=00040001&orderType=view_cnt&pageNo=1&lang=china&_=1480641737416

You can use the Google browser caught.
Behind a lot of parameters, but does not affect caught the results.
Especially the time condition.
Sonny-
Profile Joined July 2016
47 Posts
May 03 2017 14:34 GMT
#203
Just tried this and works like a charm . Finally watching Flash without stuttering. Thanks!
HaN-
Profile Blog Joined June 2009
France1919 Posts
May 04 2017 06:17 GMT
#204
I also got the error "Windows can't find streamlink".
My bat isn't messed up like k0walle.
I'm on Windows 8.1
I used Streamlink nightly installer linked in the guide.
I tried deactivating my antivirus and installing Streamlink again but I still got the error.
Is there anything I can do?
Calendaraka Foxhan
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
May 04 2017 06:26 GMT
#205
Hmm...

- Open your command prompt. Start -> Run, type "cmd.exe"
- In the command prompt, type streamlink

Does it display Streamlink info? It should display something like this:

C:\Users\Cane>streamlink
usage: streamlink-script.py [OPTIONS] <URL> [STREAM]

Use -h/--help to see the available options or read the manual at .https://streamlink.github.io

If instead of showing user info it says something like "not recognized as an internal or external command", then Streamlink wasn't installed properly, meaning the Streamlink folder wasn't added to the system PATH variable.

If that's the case, try moving the .bat file to your Streamlink bin folder, usually

C:\Program Files (x86)\Streamlink\bin>

and try running it from there. Report back if it works or not.

Sorry you couldn't get it running, I hope you can get it sorted.
TL+ Member
HaN-
Profile Blog Joined June 2009
France1919 Posts
May 04 2017 06:41 GMT
#206
Yes it correctly display Streamlink info.
+ Show Spoiler +
[image loading]
Calendaraka Foxhan
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
May 04 2017 06:48 GMT
#207
Okay. Open your command prompt again and type:

streamlink afreeca.com/mycou gs_hd

You should see the following:

C:\Users\Cane>streamlink afreeca.com/mycou gs_hd
[cli][info] Found matching plugin afreeca for URL afreeca.com/mycou
[cli][info] Available streams: gs_sd (worst), aws_sd, gs_hd, aws_hd, gs_original, aws_original (best)
[cli][info] Opening stream: gs_hd (hls)
[cli][info] Starting player: "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"


"mycou" is JangBi, and he's streaming right now. If he stops streaming by the time you try this, find someone else (you need their Afreeca ID though).
TL+ Member
HaN-
Profile Blog Joined June 2009
France1919 Posts
May 04 2017 06:50 GMT
#208
It works!
Calendaraka Foxhan
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
Last Edited: 2017-05-04 06:55:25
May 04 2017 06:51 GMT
#209
Okay, so we know Streamlink works. Now try this command:

start /B streamlink afreeca.com/mycou gs_hd


I fear the "start /B" may be the problem here. If not, there's something odd with the .bat file on your system.

Edit: In fact, just try this command (mark it and copy, then right-click and paste in the command prompt)

start /B streamlink --loglevel=error --player="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe --file-caching=5000 --network-caching=5000 --meta-title=%name%" afreeca.com/mycou gs_hd
TL+ Member
HaN-
Profile Blog Joined June 2009
France1919 Posts
May 04 2017 06:57 GMT
#210
It also works.
Calendaraka Foxhan
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
Last Edited: 2017-05-04 07:05:52
May 04 2017 07:02 GMT
#211
That's odd. So if Streamlink works, and start /B works, but the .bat file does not...

Okay. First off, try the .bat file again, to confirm it's not working. If you can, take a screenshot of when the failure occurs.

Next, try one of the "basic" .bat files without the color coding:

http://liquestria.net/wp-content/uploads/2017/04/afreeca_x64_basic.bat - 64-bit OS
http://liquestria.net/wp-content/uploads/2017/04/afreeca_x86_basic.bat - 32-bit OS

(Edit: Links fixed, sorry about that!)

And THEN, if the color-less .bat file ALSO doesn't work, try the super basic stuff:

http://liquestria.net/wp-content/uploads/2017/04/afreeca_basic.zip

That .zip file contains 6 even-more-basic .bat files. They won't ask you to pick CDN or quality, just the player name. Try some of those and see if you can connect using them.

Edit: Also run them in administrator mode. Forgot about that.
TL+ Member
HaN-
Profile Blog Joined June 2009
France1919 Posts
May 04 2017 07:11 GMT
#212
I tried the .bat file again, and now it's working!
I guess going through all of this fixed it somehow...

Thanks a lot for your guide and help!
Calendaraka Foxhan
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
May 04 2017 07:11 GMT
#213
Weird! But I'm glad it's working now... for some reason. I just wish I knew what the problem was.

Happy viewing!
TL+ Member
sc19980331
Profile Joined March 2017
China1609 Posts
May 04 2017 08:50 GMT
#214
On April 30 2017 21:21 caokancc wrote:
Click on the download software

Contains three files
Program, configuration files, component

If your computer prompts lacks comdlg32.ocx, please register components
If there is no hint that your computer contains the file, please use directly


[image loading]

Great, could you share one copy on baidu pan? Xie xie :-)
Ps. How to add new players like Garimto by myself?
TL+ Member
sc19980331
Profile Joined March 2017
China1609 Posts
Last Edited: 2017-05-15 09:39:49
May 04 2017 09:52 GMT
#215
Nice project:
http://github.com/wsguest/liverobot

911 added on 5/15
http://www.teamliquid.net/forum/brood-war/522754-afreecatv-clan-league?page=3
TL+ Member
LRM)TechnicS
Profile Joined May 2008
Bulgaria1565 Posts
May 04 2017 11:11 GMT
#216
on a side note, wtf is going on with afreeca as of late? it's either super laggy a big chunk of the time or i get to watch a commercial where some animals are eating cakes and are fighting each other with loafs of bread for eternity? is this a joke?
Enjoy the game
caokancc
Profile Joined November 2016
15 Posts
May 05 2017 12:48 GMT
#217
On May 04 2017 18:52 sc19980331 wrote:
Nice project:
http://github.com/wsguest/liverobot



Are you s_k_911?
caokancc
Profile Joined November 2016
15 Posts
May 05 2017 13:26 GMT
#218
On May 04 2017 17:50 sc19980331 wrote:
Show nested quote +
On April 30 2017 21:21 caokancc wrote:
Click on the download software

Contains three files
Program, configuration files, component

If your computer prompts lacks comdlg32.ocx, please register components
If there is no hint that your computer contains the file, please use directly


[image loading]

Great, could you share one copy on baidu pan? Xie xie :-)
Ps. How to add new players like Garimto by myself?



http://pan.baidu.com/s/1mhQySbu
haha,
Be WeChat friends?
Craton
Profile Blog Joined December 2009
United States17248 Posts
May 05 2017 22:24 GMT
#219
On May 04 2017 20:11 LRM)TechnicS wrote:
on a side note, wtf is going on with afreeca as of late? it's either super laggy a big chunk of the time or i get to watch a commercial where some animals are eating cakes and are fighting each other with loafs of bread for eternity? is this a joke?

I just reload the stream until the random stuff or countdowns go away and I get the regular stream again. It's generally only laggy for me when watching through the browser.
twitch.tv/cratonz
aFF]ZuluNAtion[
Profile Joined March 2009
Poland173 Posts
May 06 2017 13:58 GMT
#220
Can someone make manual step by step how to make it work? I downloaded this streamlink, next i dled portable exe / bat and dont know what should i do next ?
AKA: Poezja[T4], Poegim
Craton
Profile Blog Joined December 2009
United States17248 Posts
May 06 2017 21:53 GMT
#221
Have you read the OP?
twitch.tv/cratonz
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
May 06 2017 22:08 GMT
#222
On May 06 2017 22:58 aFF]ZuluNAtion[ wrote:
Can someone make manual step by step how to make it work? I downloaded this streamlink, next i dled portable exe / bat and dont know what should i do next ?

What the fuck?
TL+ Member
aFF]ZuluNAtion[
Profile Joined March 2009
Poland173 Posts
May 07 2017 11:42 GMT
#223
How watch afreeca in vlc now ? Its not work since few days/weeks. I dont want to install some chinese unknown software.
AKA: Poezja[T4], Poegim
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
May 07 2017 11:58 GMT
#224
It's... in the OP. On the first page. The guide is updated and working. Just follow the instructions.
TL+ Member
Teffik
Profile Joined July 2015
8 Posts
May 08 2017 16:29 GMT
#225
Thank you!
Argonauta
Profile Joined July 2016
Spain4906 Posts
May 08 2017 16:38 GMT
#226
Hey there, is there any way to add other streamers? I really want to watch rogue streeam on afreeca but is not lsited here since its only BW streamers
Rogue | Maru | Scarlett | Trap
TL+ Member
Craton
Profile Blog Joined December 2009
United States17248 Posts
Last Edited: 2017-05-08 22:23:19
May 08 2017 22:23 GMT
#227
To the batch file? You could just type the stream name or edit the batch file to have another case. For instance "Larva" has a stream name of "dpfgc3", which you can see from the afreeca url: http://play.afreecatv.com/dpfgc3

For example:
:CASE_larva
set id=dpfgc3
GOTO PLAYER_START


So you'd add
:CASE_rogue
set id=put_id_here
GOTO PLAYER_START

twitch.tv/cratonz
Argonauta
Profile Joined July 2016
Spain4906 Posts
May 08 2017 22:32 GMT
#228
On May 09 2017 07:23 Craton wrote:
To the batch file? You could just type the stream name or edit the batch file to have another case. For instance "Larva" has a stream name of "dpfgc3", which you can see from the afreeca url: http://play.afreecatv.com/dpfgc3

For example:
:CASE_larva
set id=dpfgc3
GOTO PLAYER_START


So you'd add
:CASE_rogue
set id=put_id_here
GOTO PLAYER_START




oh, so easy! thanks
Rogue | Maru | Scarlett | Trap
TL+ Member
ppp87
Profile Joined May 2016
Laos250 Posts
Last Edited: 2017-05-09 18:12:58
May 09 2017 18:12 GMT
#229
Is there a working solution to watch Twhitch streams on VLC ? I tried several things I found on google but all seems outdated.
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
May 09 2017 18:20 GMT
#230
Oh yes, Streamlink works fine for that. If you have it installed (followed the guide in the OP etc), open your command prompt (start -> run, cmd.exe) and type:

streamlink twitch.tv/Day9tv best


Day9 is streaming right now so it's a good time to test.
TL+ Member
ppp87
Profile Joined May 2016
Laos250 Posts
May 09 2017 18:47 GMT
#231
thank you, it's working
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
May 09 2017 18:53 GMT
#232
No problem. It shouldn't be too hard to put together a .bat file for Twitch if you wanted to. It's the adding of names and streams that requires the most manual labor.
TL+ Member
Grettin
Profile Joined April 2010
42381 Posts
May 12 2017 21:11 GMT
#233
Anyone else having issues loading streams? Streamlink tries to open one but gives an error afterwards.

+ Show Spoiler +
Try 1/1: Could not open stream <HLSStream('http://live-hls-korea-cf.afreecatv.com/livestream-28/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.swJYCqpDrltFX3lpcDgBvPbQIGPEt_bVKvqaZfn0mj-OeOctKZ-rjgJjK5rZB1_2UZ0xQqlyiNWUBNdd8tVIIsEniHjvB_giup9UvgdHBw0')> (Could not open stream: Unable to open URL: http://live-hls-korea-cf.afreecatv.com/livestream-28/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.swJYCqpDrltFX3lpcDgBvPbQIGPEt_bVKvqaZfn0mj-OeOctKZ-rjgJjK5rZB1_2UZ0xQqlyiNWUBNdd8tVIIsEniHjvB_giup9UvgdHBw0 (502 Server Error: Bad Gateway for url: http://live-hls-korea-cf.afreecatv.com/livestream-28/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.swJYCqpDrltFX3lpcDgBvPbQIGPEt_bVKvqaZfn0mj-OeOctKZ-rjgJjK5rZB1_2UZ0xQqlyiNWUBNdd8tVIIsEniHjvB_giup9UvgdHBw0&aid=.A32.7bbT56vyHM9fKZk.swJYCqpDrltFX3lpcDgBvPbQIGPEt_bVKvqaZfn0mj-OeOctKZ-rjgJjK5rZB1_2UZ0xQqlyiNWUBNdd8tVIIsEniHjvB_giup9UvgdHBw0))
error: Could not open stream <HLSStream('http://live-hls-korea-cf.afreecatv.com/livestream-28/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.swJYCqpDrltFX3lpcDgBvPbQIGPEt_bVKvqaZfn0mj-OeOctKZ-rjgJjK5rZB1_2UZ0xQqlyiNWUBNdd8tVIIsEniHjvB_giup9UvgdHBw0')>, tried 1 times, exiting

"If I had force-fields in Brood War, I'd never lose." -Bisu
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
May 12 2017 21:48 GMT
#234
Just checked, it was fine for me. Who are you trying to connect to, and with what CDN/quality options?
TL+ Member
Grettin
Profile Joined April 2010
42381 Posts
Last Edited: 2017-05-12 23:24:42
May 12 2017 23:19 GMT
#235
On May 13 2017 06:48 Aylear wrote:
Just checked, it was fine for me. Who are you trying to connect to, and with what CDN/quality options?


aws_hd and hls streams.

e. checked jackhan8888 who streamed broodwar and worked fine now. I'll report back if i'm experiencing the error(s) again.
"If I had force-fields in Brood War, I'd never lose." -Bisu
atrox_
Profile Joined November 2010
United Kingdom1710 Posts
May 13 2017 09:33 GMT
#236
With the linux version, trying to load a stream I just get -

Play stream: [cli][error] Could not open stream: Unable to open URL: http://chromecast.afreeca.gscdn.com/livestream-28/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.IthJdXcHq3sU4DBI8XwNkY0yI128x3VQeUswFbWYgklIbihsXiSiEMa8SGXczuoLQQOu88RtN7sggMz952akjV-Ch507hKKj2PSSqsyb1I1cmcXaYJyrJAqjbHFQljct (HTTPConnectionPool(host='chromecast.afreeca.gscdn.com', port=80): Read timed out. (read timeout=20.0))


Anyone got any ideas?
Grettin
Profile Joined April 2010
42381 Posts
Last Edited: 2017-05-13 11:47:34
May 13 2017 11:45 GMT
#237
On May 13 2017 06:48 Aylear wrote:
Just checked, it was fine for me. Who are you trying to connect to, and with what CDN/quality options?


Alright. Checked again. Tried to open Last's stream and got the same error i posted above. (afreeca.com/rlatjdgus228). Rest of the streams on the right side (Flash, Jaedong, Guemchi, Free.. etc) work and open fine.

e. Last and other streams that show the error gets fixed by using other quality options other than aws_hd. Used gs_hd and stream opened fine.
"If I had force-fields in Brood War, I'd never lose." -Bisu
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
May 13 2017 12:03 GMT
#238
Yep, can confirm. When I tried to open Last's stream on Amazon AWS/HD (aws_hd) it failed, with the error message above. Amazon on Source (aws_original) and on SD (aws_sd) both work, and GSCDN works on all three quality options.

So when you tried aws_hd you found the only combination that doesn't work right now, and I have no clue why.
TL+ Member
Grettin
Profile Joined April 2010
42381 Posts
May 13 2017 12:08 GMT
#239
On May 13 2017 21:03 Aylear wrote:
Yep, can confirm. When I tried to open Last's stream on Amazon AWS/HD (aws_hd) it failed, with the error message above. Amazon on Source (aws_original) and on SD (aws_sd) both work, and GSCDN works on all three quality options.

So when you tried aws_hd you found the only combination that doesn't work right now, and I have no clue why.


Yeah. First i thought it could be related to the streamer's resolution and that's why it couldn't open it. Although, i'm also using file-caching on VLC, if that could have something to do with it.
"If I had force-fields in Brood War, I'd never lose." -Bisu
Craton
Profile Blog Joined December 2009
United States17248 Posts
Last Edited: 2017-05-13 16:11:28
May 13 2017 16:10 GMT
#240
It shouldn't matter. That error would be coming from the streamlink side, file caching (buffering) is done on the player. The error occurs before you even reach VLC. Streamlink is basically just handling requests from the player for byte ranges, so in the case of buffering there are extra requests done so that it has data stored up to play. In this case streamlink can't access the stream bytes in the first place.
twitch.tv/cratonz
sc19980331
Profile Joined March 2017
China1609 Posts
Last Edited: 2017-05-15 09:51:50
May 15 2017 09:46 GMT
#241
On May 05 2017 21:48 caokancc wrote:
Show nested quote +
On May 04 2017 18:52 sc19980331 wrote:
Nice project:
http://github.com/wsguest/liverobot



Are you s_k_911?

Just read his new post about livestreamer lol:
http://www.teamliquid.net/forum/brood-war/522754-afreecatv-clan-league?page=3

https://github.com/streamlink/streamlink/releases
https://github.com/chrippa/livestreamer/releases

https://github.com/chrippa/livestreamer/issues/1606
@chrippa has abandoned the project and we're unable to contact him through GitHub / email / his work or twitter
......
TL+ Member
Ranger08
Profile Joined May 2017
2 Posts
May 15 2017 18:08 GMT
#242
Ok so I've read the FAQ and re-downloaded and reinstalled a bunch of times, I'm getting this error when trying to connect to any stream:
> error: Unable to open URL: http://resourcemanager.afreeca.tv:9090/broad_stream_assign.html (HTTPConnectionPool(host='resourcemanager.afreeca.tv', port=9090): Max retries exceeded with url: /broad_stream_assign.html?cors_origin_url=play.afreecatv.com&return_type=gs_cdn&broad_key=192176121-flash-original-hls&use_cors=true (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection object at 0x04A5FC70>, 'Connection to resourcemanager.afreeca.tv timed out. (connect timeout=20.0)')))

Can anyone help?
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
May 15 2017 19:29 GMT
#243
Hi, and welcome to TeamLiquid.

That's a strange new error message. Could your antivirus software be throttling the connection? Try temporarily disabling it if you haven't done that already.

If it's not your antivirus I'll need more info.

1. What version of Windows are you running?

2. Does this happen no matter which CDN and quality options you choose?

3. Can you use Streamlink and VLC to view streams at all? Try the following:
      a) Open command prompt (Start -> Run, cmd.exe)
      b) Enter the following command:
streamlink twitch.tv/medrybw best

This should open a twitch.tv stream that's always online (MedryBW runs classic old SC/BW VODs)

Hope you can get it working.
TL+ Member
Ranger08
Profile Joined May 2017
2 Posts
May 15 2017 20:11 GMT
#244
Ok, so very odd I just started it up again and it worked first time, not sure what was happening but it seems to have fixed itself. Thankyou for the quick response! Time to watch some bw
atrox_
Profile Joined November 2010
United Kingdom1710 Posts
May 15 2017 20:13 GMT
#245
On May 13 2017 18:33 atrox_ wrote:
With the linux version, trying to load a stream I just get -

Show nested quote +
Play stream: [cli][error] Could not open stream: Unable to open URL: http://chromecast.afreeca.gscdn.com/livestream-28/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.IthJdXcHq3sU4DBI8XwNkY0yI128x3VQeUswFbWYgklIbihsXiSiEMa8SGXczuoLQQOu88RtN7sggMz952akjV-Ch507hKKj2PSSqsyb1I1cmcXaYJyrJAqjbHFQljct (HTTPConnectionPool(host='chromecast.afreeca.gscdn.com', port=80): Read timed out. (read timeout=20.0))


Anyone got any ideas?


just a note: I've fixed this by reducing the quality to "Worst" within the shell
onlystar
Profile Joined March 2015
United States971 Posts
May 20 2017 11:58 GMT
#246
streamlink / bat launcher works so smoothly ! many thanks
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
May 20 2017 18:18 GMT
#247
You are welcome! I'm glad it's working well. =)
TL+ Member
Zergneedsfood
Profile Blog Joined September 2008
United States10671 Posts
Last Edited: 2017-05-28 11:11:34
May 28 2017 11:11 GMT
#248
I've tried using this guide but VLC doesn't even open up. It also doesn't give me an error.

It also might just be my pc settings? On both this computer and my work computer, the afreeca streams on TL and on the site just don't load whatsoever. It just has that static logo image. Not sure why but it hasn't happened before.

Any reason why this might be the case?
/人◕ ‿‿ ◕人\ Make a contract with me and join TLADT | Onodera isn't actually a girl, she's just a doormat you walk over to get to the girl. - Numy 2015
Craton
Profile Blog Joined December 2009
United States17248 Posts
Last Edited: 2017-05-29 02:33:10
May 29 2017 02:31 GMT
#249
What result does this give you?

nslookup chromecast.afreeca.gscdn.com


Assuming everything else is configured correctly, it sounds like it could be a network issue where you're unable to reach the video source.

Also have you tried the different CDNs and quality options for a particular stream?
twitch.tv/cratonz
Grettin
Profile Joined April 2010
42381 Posts
Last Edited: 2017-05-29 14:24:19
May 29 2017 13:51 GMT
#250
Does anyone have some kind of general set-up guide for streamlink? New PC and can't get the nightly build working. I edited the config file that first opens after installation and selected the VLC player. Tried to open a stream and received an error regarding "Import error module named urllib3". Pretty sure i didn't configure streamlink properly, but last time i did everything was on livestreamer couple years ago.
"If I had force-fields in Brood War, I'd never lose." -Bisu
Gaitsaa
Profile Joined April 2017
United States15 Posts
Last Edited: 2017-05-30 10:50:48
May 30 2017 10:26 GMT
#251
I've followed instructions on a reinstall, and now when I load the bat64 and type a stream I get no response. VLC doesn't load, but there are no errors presented in cmd.

Thoughts?

I reinstalled vlc and streamlink, tried basic bat, and tried too run the bat as admin but it will not load. Didn't have too do that before...

edit: cmd display when i run streamlink

[image loading]
letian
Profile Blog Joined May 2010
Germany4221 Posts
May 30 2017 11:16 GMT
#252
On May 30 2017 19:26 Gaitsaa wrote:
I've followed instructions on a reinstall, and now when I load the bat64 and type a stream I get no response. VLC doesn't load, but there are no errors presented in cmd.

Thoughts?

I reinstalled vlc and streamlink, tried basic bat, and tried too run the bat as admin but it will not load. Didn't have too do that before...

edit: cmd display when i run streamlink

[image loading]

Open command line console and type:
pip install urllib3
Gaitsaa
Profile Joined April 2017
United States15 Posts
Last Edited: 2017-05-30 11:34:26
May 30 2017 11:31 GMT
#253
On May 30 2017 20:16 letian wrote:
Show nested quote +
On May 30 2017 19:26 Gaitsaa wrote:
I've followed instructions on a reinstall, and now when I load the bat64 and type a stream I get no response. VLC doesn't load, but there are no errors presented in cmd.

Thoughts?

I reinstalled vlc and streamlink, tried basic bat, and tried too run the bat as admin but it will not load. Didn't have too do that before...

edit: cmd display when i run streamlink

[image loading]

Open command line console and type:
pip install urllib3


I am on windows 8. I downloaded python, syntax error, and cygwin will not load for some reason...

I have the master zip for ullib3 from github, where should I place?
Grettin
Profile Joined April 2010
42381 Posts
May 30 2017 14:26 GMT
#254
On May 30 2017 19:26 Gaitsaa wrote:
I've followed instructions on a reinstall, and now when I load the bat64 and type a stream I get no response. VLC doesn't load, but there are no errors presented in cmd.

Thoughts?

I reinstalled vlc and streamlink, tried basic bat, and tried too run the bat as admin but it will not load. Didn't have too do that before...

edit: cmd display when i run streamlink

[image loading]


This is the issue im facing as well.
"If I had force-fields in Brood War, I'd never lose." -Bisu
Craton
Profile Blog Joined December 2009
United States17248 Posts
May 30 2017 15:15 GMT
#255
I would try installing a stable build and see if that works. Nightly builds are generally unstable and shouldn't be needed for this.
twitch.tv/cratonz
Gaitsaa
Profile Joined April 2017
United States15 Posts
May 31 2017 09:41 GMT
#256
On May 31 2017 00:15 Craton wrote:
I would try installing a stable build and see if that works. Nightly builds are generally unstable and shouldn't be needed for this.


So I've tried portable, standalone and bat. Each install does not respond with VLC or Streamlink being recognized by Windows. When I install using the stable.exe, cmd will recognize Streamlink, but I'll get the urllib3 missing in cmd.

When I run the afreecabat it will not say anything and VLC will not open.

I was running the bat with no issues like 2 weeks ago, ended up deleting all Starcraft related files, and now on the reinstall I'm unable to watch streams.

Guessing at this point it's something system related, don't know if using cygwin messed up pathing, or if using Windows 8 without updating or A/V is the problem.

Also I don't know if its on purpose, but when I try to launch the Streamlink cmd I don't get a chance to input or read anything since it will close out. I'm unfamiliar with programming, but I tried using python too fix urllib3 or import packages, but I was unable too get a response after following the github procedures.
>>>
...
Gaitsaa
Profile Joined April 2017
United States15 Posts
May 31 2017 09:50 GMT
#257
Well nevermind Should have followed through with regcleaner and clearing cygwin before posting as it appears that was the issue and I'm running streams using the nightly build.

Thanks for the help anyways
Grettin
Profile Joined April 2010
42381 Posts
May 31 2017 13:59 GMT
#258
On May 31 2017 18:50 Gaitsaa wrote:
Well nevermind Should have followed through with regcleaner and clearing cygwin before posting as it appears that was the issue and I'm running streams using the nightly build.

Thanks for the help anyways


Care to explain what you did completely? Still having the same issue as you did.
"If I had force-fields in Brood War, I'd never lose." -Bisu
johanes
Profile Blog Joined May 2008
Czech Republic2227 Posts
May 31 2017 18:00 GMT
#259
same issue with streamlink

"Import error module named urllib3"
Craton
Profile Blog Joined December 2009
United States17248 Posts
Last Edited: 2017-05-31 21:45:04
May 31 2017 21:41 GMT
#260
I wonder if there's something else in your %PATH% that's erroneously used when trying to find urllib3. I would try running Streamlink directly through the command prompt/powershell (probably need to remove the %PATH% entry for Streamlink, but you can try it before doing that). Google editing PATH variables if you don't know how. You might also want to post the contents of your path.

In my case I have this folder, so verify that's present.
C:\Program Files (x86)\Streamlink\pkgs\requests\packages\urllib3


For testing I just used PowerShell:

cd "C:\Program Files (x86)\Streamlink\bin\" 

.\streamlink --player="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" afreeca.com/jk890202 aws_hd


Replacing "jk890202" with any online stream.

You can output the contents of your PATH via command/powershell via
echo %PATH%
or just copy/paste it from the Environmental Variables section of your Control Panel (again, see Google).

---

Similar to the above poster, the other github issues I see on this come down to someone having their own installation of Python that seems to be clashing with this program.
twitch.tv/cratonz
Gaitsaa
Profile Joined April 2017
United States15 Posts
June 01 2017 05:48 GMT
#261
On May 31 2017 22:59 Grettin wrote:
Show nested quote +
On May 31 2017 18:50 Gaitsaa wrote:
Well nevermind Should have followed through with regcleaner and clearing cygwin before posting as it appears that was the issue and I'm running streams using the nightly build.

Thanks for the help anyways


Care to explain what you did completely? Still having the same issue as you did.


Deleted all streamlink downloads, content, vlc, python, uninstalled, used regcleaner too delete registry information on cygwin a program that adds GNU capability to windows. After deleting cygwin I reinstalled using the nightly installer, and from there I launched and didn't have any issues.

I can run cmd prompt now and it properly displays streamlink and it being used by the python.py script, and I don't have missing urllib3.

Basically I'm assuming anything you've done on windows that's involved cmd, pathing or python is getting in the way so uninstall, use regcleaner on any programs that have and try again.

If you've done nothing to modify windows or cmd, then try too follow github and import urllib3. I never got too this but download the master urllib3 from github, and place just the urllib3 folder: C:\Program Files (x86)\Streamlink\pkgs\requests\packages

See if that works and that python caches in that folder and the scripts sync with streamlink and the bat.

Grettin
Profile Joined April 2010
42381 Posts
June 01 2017 15:22 GMT
#262
On June 01 2017 14:48 Gaitsaa wrote:
Show nested quote +
On May 31 2017 22:59 Grettin wrote:
On May 31 2017 18:50 Gaitsaa wrote:
Well nevermind Should have followed through with regcleaner and clearing cygwin before posting as it appears that was the issue and I'm running streams using the nightly build.

Thanks for the help anyways


Care to explain what you did completely? Still having the same issue as you did.


Deleted all streamlink downloads, content, vlc, python, uninstalled, used regcleaner too delete registry information on cygwin a program that adds GNU capability to windows. After deleting cygwin I reinstalled using the nightly installer, and from there I launched and didn't have any issues.

I can run cmd prompt now and it properly displays streamlink and it being used by the python.py script, and I don't have missing urllib3.

Basically I'm assuming anything you've done on windows that's involved cmd, pathing or python is getting in the way so uninstall, use regcleaner on any programs that have and try again.

If you've done nothing to modify windows or cmd, then try too follow github and import urllib3. I never got too this but download the master urllib3 from github, and place just the urllib3 folder: C:\Program Files (x86)\Streamlink\pkgs\requests\packages

See if that works and that python caches in that folder and the scripts sync with streamlink and the bat.



Tried all but nope.


Although from Github:

urllib3 will be covered too, but there is no installer available that includes it yet. The nightly version is still built without the required modules. The urllib3 error is new in the last day or so from an updated version of requests. You'll have to wait until the fix is merged and the new nightly is available, or build the installer yourself on a Linux/macOS box.
"If I had force-fields in Brood War, I'd never lose." -Bisu
letian
Profile Blog Joined May 2010
Germany4221 Posts
Last Edited: 2017-06-01 15:37:48
June 01 2017 15:34 GMT
#263
Guys, you do not need cygwin at all. Open up windows cmd and install urllib3 via pip install urllib3. If you have python3.5 installed on windows you'll have pip as part of its package as well. Python package manager pip will be available from windows cmd. Cygwin is a unix shell emulator and uses its own environment and should not be used as a replacement for windows cmd. Simply put, anything installed in cygwin won't have any effect on your windows environment.
letian
Profile Blog Joined May 2010
Germany4221 Posts
Last Edited: 2017-06-01 15:51:08
June 01 2017 15:42 GMT
#264
steamlink works perfectly in unix shells. Here is an updated bash script I use to spawn multiple vlc streams.
run as ./afreeca.sh
Craton
Profile Blog Joined December 2009
United States17248 Posts
Last Edited: 2017-06-01 22:06:21
June 01 2017 22:01 GMT
#265
Alright guys:

The latest stable build was released 21 days ago, which is later than the guide was updated. This means the stable version should have everything you need to run Afreeca. Try that build. If it's working, we should get the OP updated to use stable instead of nightly since nightly builds are inherently unstable and I'd expect problems like this to pop up in the future.

https://github.com/streamlink/streamlink/releases/tag/0.6.0

On June 02 2017 00:34 letian wrote:
Guys, you do not need cygwin at all. Open up windows cmd and install urllib3 via pip install urllib3. If you have python3.5 installed on windows you'll have pip as part of its package as well. Python package manager pip will be available from windows cmd. Cygwin is a unix shell emulator and uses its own environment and should not be used as a replacement for windows cmd. Simply put, anything installed in cygwin won't have any effect on your windows environment.

Most people don't have pip installed.
twitch.tv/cratonz
Fenito
Profile Joined November 2008
Russian Federation10 Posts
June 02 2017 05:17 GMT
#266
I downloaded afreeca_x86.bat and all was good, streams starting, but yesterday streams just Stopped open VLC player without errors [image loading] and this loading is infinite.
noobpack
Profile Joined June 2017
1 Post
June 03 2017 10:55 GMT
#267
On May 30 2017 23:26 Grettin wrote:
Show nested quote +
On May 30 2017 19:26 Gaitsaa wrote:
I've followed instructions on a reinstall, and now when I load the bat64 and type a stream I get no response. VLC doesn't load, but there are no errors presented in cmd.

Thoughts?

I reinstalled vlc and streamlink, tried basic bat, and tried too run the bat as admin but it will not load. Didn't have too do that before...

edit: cmd display when i run streamlink

[image loading]


This is the issue im facing as well.



Hi guys,

Same issue faced on a Windows 10 laptop.

I've fixed by copying some of the python packages directly into the zip file that comes with the Streamlink installation, for me is in Streamlink\Python:

C:\Program Files (x86)\Streamlink\Python\python35.zip

In there I've copied urllib3, idna, charder, certify.. I don't remember all right now, yet after each copy it will change the error to tell you what package you are missing.

Now a more detailed step by step:
1. Install Python from: https://www.python.org/downloads/release/python-361/ (windows 64 installer for me)

2. Open Command Prompt ( press windows key + write "cmd" )

3. Use change directory command (cd) to go to the installation folder to the Scripts
"cd Users\NoobPack\AppData\Local\Programs\Python\Python36\Scripts"
You need to user your own windows user name instead of "NoobPack"

4. Once your cmd is at the Python36\Scripts folder you can call the pip method to request the packges
"pip install urllib3"
"C:\Users\NoobPack\AppData\Local\Programs\Python\Python36\Scripts>pip install urllib3"

5. These should actually get the python package from online, now you just need to figure out where exactly it got fetched, just call the "pip install urllib3" again and it should tell you it's already there and where it is:
"C:\Users\NoobPack\AppData\Local\Programs\Python\Python36\Scripts>pip install urllib3
Requirement already satisfied: urllib3 in c:\users\noobpack\appdata\local\programs\python\python36\lib\site-packages"

6. Now you can navigate to the "appdata\local\programs\python\python36\lib\site-packages" and copy urllib3 folder as mentioned initially inside the python35.zip file from your Streamlink folder "C:\Program Files (x86)\Streamlink\Python\python35.zip"

7. In cmd write "streamlink" command and see if another package is required .. repeat steps 4-6 and request + copy inside the zip all missing packages

OR

If you trust strangers on the internet ( which I strongly recommend against ) you can directly download my already packaged version of python35.zip file from:
www.loudsparks.com/share/python35.zip

And then just overwrite the one in the Streamlink installation ( C:\Program Files (x86)\Streamlink\Python\python35.zip )

Thank you, and hope it fixes your issues.
heynes
Profile Joined July 2009
Germany201 Posts
June 16 2017 12:04 GMT
#268
thank you for this !
foxrip
Profile Joined June 2017
1 Post
June 16 2017 17:48 GMT
#269
steamlink works perfectly in unix shells. Here is an updated bash script I use to spawn multiple vlc streams.
run as ./afreeca.sh

the link is not working for me.. can u fix the link or add a mirror?
thx :D
This is he
Profile Joined June 2017
1 Post
Last Edited: 2017-06-30 12:58:34
June 30 2017 12:48 GMT
#270
FWIW, version 0.7.0 is out and it supports teamliquid.net links!

usage: streamlink http://www.teamliquid.net/video/streams/koreasbg best and it will open in your media player!
Grettin
Profile Joined April 2010
42381 Posts
Last Edited: 2017-07-05 18:27:26
July 05 2017 18:27 GMT
#271
Latest version of nightly seem to work properly. (No problems regarding the issue discussed above/last few pages.)

new nightly link (taken from here (Github)

https://dl.bintray.com/streamlink/streamlink-nightly/

"If I had force-fields in Brood War, I'd never lose." -Bisu
letian
Profile Blog Joined May 2010
Germany4221 Posts
Last Edited: 2017-07-09 09:23:35
July 09 2017 09:22 GMT
#272
To all Linux users.

I have dropped my livestreamer fork and switched to streamlink backend.
Now, to watch the bw streams via vlc you'll only need a bash script which you can take from here.

As usual, you'll need to replace the afreeca.py (if you still haven't) which is installed with streamlink with the one here.

The script can check who's online, set "aws_original", "aws_hd" or "aws_sd" quality of streams. Run multiple vlc stream instances (unless you explicitly forbid it in vlc config) with different players.

Here is a github repo with the instructions and the required files.
Scaramanga
Profile Blog Joined March 2008
Australia8090 Posts
July 19 2017 13:56 GMT
#273
I replaced the afreeca.py but I'm still getting the 'aws_hd' error message, what do?
Loda talked about the fun counter, it's AdmiralBulldog on his natures prophet
Grettin
Profile Joined April 2010
42381 Posts
Last Edited: 2017-07-19 15:39:15
July 19 2017 15:37 GMT
#274
On July 19 2017 22:56 Scaramanga wrote:
I replaced the afreeca.py but I'm still getting the 'aws_hd' error message, what do?


Do you get the stream open with just "best" or "gs_hd" instead of aws_hd?
"If I had force-fields in Brood War, I'd never lose." -Bisu
juvenal
Profile Joined July 2013
2448 Posts
July 20 2017 07:51 GMT
#275
Anyone else having troubles with afreeca just the last couple of days? Won't start a stream at all if I use the flash player and lags terribly on html5.
Michael Probu
Scaramanga
Profile Blog Joined March 2008
Australia8090 Posts
July 20 2017 10:46 GMT
#276
On July 20 2017 00:37 Grettin wrote:
Show nested quote +
On July 19 2017 22:56 Scaramanga wrote:
I replaced the afreeca.py but I'm still getting the 'aws_hd' error message, what do?


Do you get the stream open with just "best" or "gs_hd" instead of aws_hd?

I can't get any streams open regardless of what server or stream quality I use
Loda talked about the fun counter, it's AdmiralBulldog on his natures prophet
iCCup.Trent
Profile Joined May 2005
Argentina450 Posts
Last Edited: 2017-07-20 10:50:06
July 20 2017 10:49 GMT
#277
On July 09 2017 18:22 letian wrote:
To all Linux users.

I have dropped my livestreamer fork and switched to streamlink backend.
Now, to watch the bw streams via vlc you'll only need a bash script which you can take from here.

As usual, you'll need to replace the afreeca.py (if you still haven't) which is installed with streamlink with the one here.

The script can check who's online, set "aws_original", "aws_hd" or "aws_sd" quality of streams. Run multiple vlc stream instances (unless you explicitly forbid it in vlc config) with different players.

Here is a github repo with the instructions and the required files.

This is working for me on the latest osx (Sierra). Thank you! The bash script doesn't seem to work, but you can easily figure out how to run the last line which does the job.

If anybody is struggling to make it work on the mac let me know.
Grettin
Profile Joined April 2010
42381 Posts
Last Edited: 2017-07-20 12:02:46
July 20 2017 11:57 GMT
#278
On July 20 2017 19:46 Scaramanga wrote:
Show nested quote +
On July 20 2017 00:37 Grettin wrote:
On July 19 2017 22:56 Scaramanga wrote:
I replaced the afreeca.py but I'm still getting the 'aws_hd' error message, what do?


Do you get the stream open with just "best" or "gs_hd" instead of aws_hd?

I can't get any streams open regardless of what server or stream quality I use


Sorry, wish i could help more. The newest nightly build without switching any .py files work for me.
"If I had force-fields in Brood War, I'd never lose." -Bisu
VioleTAK
Profile Joined July 2006
4315 Posts
July 20 2017 13:59 GMT
#279
This is so great!
Fantastic guide. Got it working within 2 minutes. A world of difference between watching in the website, 0 lag!
Thank you!
Every fan of Starcraft is a fan of Lim Yo Hwan by association
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
July 20 2017 19:14 GMT
#280
On July 20 2017 22:59 VioleTAK wrote:
This is so great!
Fantastic guide. Got it working within 2 minutes. A world of difference between watching in the website, 0 lag!
Thank you!

Over a decade later, I finally got to give VioleTAK a little something in return for literally letting me watch StarCraft.

You are very welcome, mate. <3
TL+ Member
Scaramanga
Profile Blog Joined March 2008
Australia8090 Posts
July 21 2017 10:21 GMT
#281
On July 20 2017 20:57 Grettin wrote:
Show nested quote +
On July 20 2017 19:46 Scaramanga wrote:
On July 20 2017 00:37 Grettin wrote:
On July 19 2017 22:56 Scaramanga wrote:
I replaced the afreeca.py but I'm still getting the 'aws_hd' error message, what do?


Do you get the stream open with just "best" or "gs_hd" instead of aws_hd?

I can't get any streams open regardless of what server or stream quality I use


Sorry, wish i could help more. The newest nightly build without switching any .py files work for me.


I've tried a couple of the latest livestreamer builds with the updated py and original py files and still get the same issue, anyone know what I can do?
Loda talked about the fun counter, it's AdmiralBulldog on his natures prophet
VioleTAK
Profile Joined July 2006
4315 Posts
July 21 2017 14:31 GMT
#282
On July 21 2017 04:14 Aylear wrote:
Show nested quote +
On July 20 2017 22:59 VioleTAK wrote:
This is so great!
Fantastic guide. Got it working within 2 minutes. A world of difference between watching in the website, 0 lag!
Thank you!

Over a decade later, I finally got to give VioleTAK a little something in return for literally letting me watch StarCraft.

You are very welcome, mate. <3

:-)!!! <3 <3 <3
Every fan of Starcraft is a fan of Lim Yo Hwan by association
Glioburd
Profile Joined April 2008
France1911 Posts
Last Edited: 2017-07-22 11:43:49
July 22 2017 11:31 GMT
#283
Hello, I keep getting the following error :
error: The available stream(s) 'aws_original' could not be found. Available streams: live_hls, live (worst, best)

Even with the updated py file, I'm sure I overwritted it. Any clue ? Thanks
EDIT: Nvm, I didn't had the right to overwritte the py file, it was the original. It works now.
"You should hate loosing, but you should never fear defeat." NaDa.
letian
Profile Blog Joined May 2010
Germany4221 Posts
Last Edited: 2017-07-22 17:15:13
July 22 2017 17:12 GMT
#284
On July 20 2017 19:49 iCCup.Trent wrote:
Show nested quote +
On July 09 2017 18:22 letian wrote:
To all Linux users.

I have dropped my livestreamer fork and switched to streamlink backend.
Now, to watch the bw streams via vlc you'll only need a bash script which you can take from here.

As usual, you'll need to replace the afreeca.py (if you still haven't) which is installed with streamlink with the one here.

The script can check who's online, set "aws_original", "aws_hd" or "aws_sd" quality of streams. Run multiple vlc stream instances (unless you explicitly forbid it in vlc config) with different players.

Here is a github repo with the instructions and the required files.

This is working for me on the latest osx (Sierra). Thank you! The bash script doesn't seem to work, but you can easily figure out how to run the last line which does the job.

If anybody is struggling to make it work on the mac let me know.

That's probably because afreeca once again changed the quality of streams from aws_original to live_hls and live (best, worse).
I have set default quality to live.
[tyu38]
Profile Joined September 2015
Poland121 Posts
July 24 2017 09:42 GMT
#285
Now it's broken again. Streamlink/Livestreamer doesn't work.

[cli][info] Found matching plugin afreeca for URL http://play.afreeca.com/dpfgc3
error: Unable to open URL: http://sessionmanager01.afreeca.tv:6060/broad_stream_assign.html (HTTPConnectionPool(host='sessionmanager01.afreeca.tv', port=6060): Max retries exceeded with url: /broad_stream_assign.html?cors_origin_url=m.afreeca.com&return_type=gs_cdn&broad_key=194429019-flash-hd-rtmp&use_cors=true (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection object at 0x9d6626c>, 'Connection to sessionmanager01.afreeca.tv timed out. (connect timeout=20.0)')))
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
July 24 2017 09:46 GMT
#286
I just tried it on my end. GSCDN, Source, typed in Larva and Pusan and Snow. All three connected instantly with no delay.
TL+ Member
[tyu38]
Profile Joined September 2015
Poland121 Posts
July 24 2017 09:49 GMT
#287
This is not problem quality of streams.

host='sessionmanager01.afreeca.tv', port=6060

Telnet doesn't work, so maybe port changed...
Grettin
Profile Joined April 2010
42381 Posts
Last Edited: 2017-07-24 15:32:50
July 24 2017 15:25 GMT
#288
Yup. Happened with livestreamer back in the day as well. It's plugin issue from Afreeca's side. Gotta wait for a fix.
"If I had force-fields in Brood War, I'd never lose." -Bisu
juvenal
Profile Joined July 2013
2448 Posts
July 27 2017 08:26 GMT
#289
aws_original and both 'gs' ones work, aws_hd doesn't. Unfortunately original buffers too much and hd is more of an sd or even ld, but oh well.
Michael Probu
Scaramanga
Profile Blog Joined March 2008
Australia8090 Posts
July 28 2017 14:15 GMT
#290
On July 20 2017 19:46 Scaramanga wrote:
Show nested quote +
On July 20 2017 00:37 Grettin wrote:
On July 19 2017 22:56 Scaramanga wrote:
I replaced the afreeca.py but I'm still getting the 'aws_hd' error message, what do?


Do you get the stream open with just "best" or "gs_hd" instead of aws_hd?

I can't get any streams open regardless of what server or stream quality I use

Help me out here lads, I miss watching bw
Loda talked about the fun counter, it's AdmiralBulldog on his natures prophet
juvenal
Profile Joined July 2013
2448 Posts
July 28 2017 17:32 GMT
#291
On July 28 2017 23:15 Scaramanga wrote:
Show nested quote +
On July 20 2017 19:46 Scaramanga wrote:
On July 20 2017 00:37 Grettin wrote:
On July 19 2017 22:56 Scaramanga wrote:
I replaced the afreeca.py but I'm still getting the 'aws_hd' error message, what do?


Do you get the stream open with just "best" or "gs_hd" instead of aws_hd?

I can't get any streams open regardless of what server or stream quality I use

Help me out here lads, I miss watching bw

the latest Streamlink build and the gs_hd option works for me. Silly question but did you try a clean install?
Michael Probu
petro1987
Profile Joined May 2009
Brazil374 Posts
August 01 2017 14:20 GMT
#292
On July 24 2017 18:42 [tyu38] wrote:
Now it's broken again. Streamlink/Livestreamer doesn't work.

[cli][info] Found matching plugin afreeca for URL http://play.afreeca.com/dpfgc3
error: Unable to open URL: http://sessionmanager01.afreeca.tv:6060/broad_stream_assign.html (HTTPConnectionPool(host='sessionmanager01.afreeca.tv', port=6060): Max retries exceeded with url: /broad_stream_assign.html?cors_origin_url=m.afreeca.com&return_type=gs_cdn&broad_key=194429019-flash-hd-rtmp&use_cors=true (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection object at 0x9d6626c>, 'Connection to sessionmanager01.afreeca.tv timed out. (connect timeout=20.0)')))


I'm having the exact same issue. Is this working for someone? Any fix?
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
August 01 2017 14:24 GMT
#293
I've been trying to replicate the problems you guys are having, but every CDN and quality option combination works for me. I can connect to everyone just fine, and with fewer problems (and less delay) than ever before.

Maybe try a now-older version of Streamlink? Could be the most recent nightly builds aren't doing the trick any more, but I don't know for sure. I'm hesitant to start messing with it since it's still working flawlessly for me.
TL+ Member
Scaramanga
Profile Blog Joined March 2008
Australia8090 Posts
August 03 2017 12:27 GMT
#294
On August 01 2017 23:20 petro1987 wrote:
Show nested quote +
On July 24 2017 18:42 [tyu38] wrote:
Now it's broken again. Streamlink/Livestreamer doesn't work.

[cli][info] Found matching plugin afreeca for URL http://play.afreeca.com/dpfgc3
error: Unable to open URL: http://sessionmanager01.afreeca.tv:6060/broad_stream_assign.html (HTTPConnectionPool(host='sessionmanager01.afreeca.tv', port=6060): Max retries exceeded with url: /broad_stream_assign.html?cors_origin_url=m.afreeca.com&return_type=gs_cdn&broad_key=194429019-flash-hd-rtmp&use_cors=true (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection object at 0x9d6626c>, 'Connection to sessionmanager01.afreeca.tv timed out. (connect timeout=20.0)')))


I'm having the exact same issue. Is this working for someone? Any fix?

I installed streamlink 6 and am now getting this issue for all server/quality combos
Loda talked about the fun counter, it's AdmiralBulldog on his natures prophet
juvenal
Profile Joined July 2013
2448 Posts
August 06 2017 10:18 GMT
#295
Bug report: I need to enter a player's name twice before the stream pops up and if I want to watch another one, the same stream will open once more so again I need to input the second player's id twice and this cycle continues.
Michael Probu
Sonny-
Profile Joined July 2016
47 Posts
Last Edited: 2017-08-09 13:58:14
August 09 2017 13:57 GMT
#296
When typing in 'Reach' I get the error that there are no playable streams found..
Other than that, works perfect for me . Great work!
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
August 09 2017 14:16 GMT
#297
Try "Reach12", that's his Afreeca ID. Reach (and a couple others) haven't been added to the .bat file, that's the problem. =)
TL+ Member
wishbonesaka
Profile Joined June 2016
Canada117 Posts
August 09 2017 18:45 GMT
#298
also, as i just found out, you can edit the file by right-click and find all the user stream sections, and just copy paste the current words exactly, and input the new streamer.
Toss_Master
Profile Joined June 2017
United States46 Posts
Last Edited: 2017-08-10 01:58:06
August 10 2017 01:55 GMT
#299
Sorry this post can be deleted I found my answer in the FAQ.
Foxxan
Profile Joined October 2004
Sweden3427 Posts
Last Edited: 2017-08-16 15:08:02
August 16 2017 14:59 GMT
#300
2) Install Streamlink

• Install Streamlink (download the "nightly Windows installer")

Iam lost on this step. Cant find any "download" button anywhere. Also dont see any "nightly windows installer".
Can download stuff in "windows portable version" but not sure i should?
Need help here.


EDIT: Found a "streamlink 0.7.0.exe". Is this the correct one?

EDIT2: Got it to work.
Craton
Profile Blog Joined December 2009
United States17248 Posts
Last Edited: 2017-08-16 22:28:36
August 16 2017 22:21 GMT
#301
Yes, that's the latest stable build. I definitely recommend that over the unstable nightly build.

For other people's reference:

https://streamlink.github.io/install.html#windows-binaries

Green arrow takes you to the page with the latest stable release. Gray arrow downloads the nighty.

[image loading]

------------------------------------------------------------------------------

On the stable release page it's at the bottom (green arrow):

[image loading]
twitch.tv/cratonz
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
Last Edited: 2017-08-19 00:31:58
August 18 2017 18:10 GMT
#302
Hiya, can someone help me test the new .bat file before I update the OP? Due to the recent influx of Brood War streamers on Twitch after the SCR launch, I have added support for multiple platforms (Afreeca and Twitch for now), and I have changed things around a little bit. Quality options are now set when you connect to a stream instead of at the start, which was necessary to support multiplatform (and makes it easier to try different quality options if one starts buffering).

Windows (Vista SP2, Win 7, Win 8, Win 10) (32 and 64-bit):
Starcraft Stream Viewer.bat (right-click and save link as)

I've added Reach, GoRush, IntoTheRainbow, Garimto, and a few more names to the script that were missing. These connect to Afreeca as normal.

If you type in any of the following names, it will try to connect to their Twitch:
Ret, Incontrol, Demuslim, Day9, Hui, BratOK, MedryBW.
Edit: Added Nony, Scan, Dragon, Shrinker, Oystein to that list too.

If no one else is online, try connecting to MedryBW, which is the 24/7 classic SC/BW starleague/proleague channel.

I've also made it so that if you type a name the script does not recognize, you can choose to search for it on the platform of your choice.

Help me try to break the .bat file by inputting weird shit too. I want to make sure it's bug free.

EDIT: I also need a preliminary list of Twitch streamers who are streaming SC1 to add to the .bat file. If you want to help (or just want someone added to the .bat file) give me some players to add.

EDIT 2: Got someone to test the file for me. Everything seems to be working so I've updated the OP accordingly. Happy viewing! <3
TL+ Member
elimzkE
Profile Joined May 2011
Australia92 Posts
August 19 2017 09:36 GMT
#303
Getting this error after selecting a quality. Tried both CDNs and didn't make a difference. Any idea what I need to change to prevent this connection timing out?

error: Unable to open URL: http://sessionmanager01.afreeca.tv:6060/broad_stream_assign.html (HTTPConnectionPool(host='sessionmanager01.afreeca.tv', port=6060): Max retries exceeded with url: /broad_stream_assign.html?use_cors=true&broad_key=195313113-flash-hd-rtmp&return_type=gs_cdn&cors_origin_url=m.afreeca.com&broad_no=195313113-mobile-hd-rtmp (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x0423A5D0>, 'Connection to sessionmanager01.afreeca.tv timed out. (connect timeout=20.0)')))
"First there was eLim. Then there was skill."
Chris_Havoc
Profile Joined August 2016
United States600 Posts
August 19 2017 10:11 GMT
#304
On August 19 2017 18:36 elimzkE wrote:
Getting this error after selecting a quality. Tried both CDNs and didn't make a difference. Any idea what I need to change to prevent this connection timing out?

Show nested quote +
error: Unable to open URL: http://sessionmanager01.afreeca.tv:6060/broad_stream_assign.html (HTTPConnectionPool(host='sessionmanager01.afreeca.tv', port=6060): Max retries exceeded with url: /broad_stream_assign.html?use_cors=true&broad_key=195313113-flash-hd-rtmp&return_type=gs_cdn&cors_origin_url=m.afreeca.com&broad_no=195313113-mobile-hd-rtmp (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x0423A5D0>, 'Connection to sessionmanager01.afreeca.tv timed out. (connect timeout=20.0)')))


I get the same errors. If I use the aws_sd setting a 10-second video countdown occurs and then it's audio only.

Looks like the Afreeca plugin needs an update again.
Owner of the SC2 Esports Anthology channel on YouTube: https://www.youtube.com/c/SC2EsportsAnthology
FHC Nex
Profile Joined July 2011
Bulgaria44 Posts
August 19 2017 11:36 GMT
#305
For me it works with Twitch, but not with Afreeca. Im getting the same timeout error like the others.
"It seems that whenever a Terran wins its because "Terran OP" not because the player played well. "Terran OP" has been around since beta and its became an excuse for losses"
[tyu38]
Profile Joined September 2015
Poland121 Posts
August 19 2017 12:13 GMT
#306
https://github.com/streamlink/streamlink/issues/837#issuecomment-322237238
letian
Profile Blog Joined May 2010
Germany4221 Posts
Last Edited: 2017-08-19 14:39:46
August 19 2017 13:19 GMT
#307
On August 19 2017 21:13 [tyu38] wrote:
https://github.com/streamlink/streamlink/issues/837#issuecomment-322237238

Replace "\streamlink\plugins\afreeca.py" with this afreeca.py file and see if it works.
elimzkE
Profile Joined May 2011
Australia92 Posts
August 19 2017 13:49 GMT
#308
On August 19 2017 22:19 letian wrote:
Show nested quote +
On August 19 2017 21:13 [tyu38] wrote:
https://github.com/streamlink/streamlink/issues/837#issuecomment-322237238

Replace "python3.6\site-packages\streamlink\plugins\afreeca.py" with this afreeca.py file and see if it works.


This works for me when I replace the afreeca.py file that the first post uses.
C:\Program Files (x86)\Streamlink\pkgs\streamlink\plugins
"First there was eLim. Then there was skill."
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
Last Edited: 2017-08-19 15:25:29
August 19 2017 15:25 GMT
#309
On August 19 2017 22:49 elimzkE wrote:
Show nested quote +
On August 19 2017 22:19 letian wrote:
On August 19 2017 21:13 [tyu38] wrote:
https://github.com/streamlink/streamlink/issues/837#issuecomment-322237238

Replace "python3.6\site-packages\streamlink\plugins\afreeca.py" with this afreeca.py file and see if it works.


This works for me when I replace the afreeca.py file that the first post uses.
C:\Program Files (x86)\Streamlink\pkgs\streamlink\plugins

Hiya,

Can you clarify that this problem...

error: Unable to open URL: http://sessionmanager01.afreeca.tv:6060/broad_stream_assign.html (HTTPConnectionPool(host='sessionmanager01.afreeca.tv', port=6060): Max retries exceeded with url: /broad_stream_assign.html?use_cors=true&broad_key=195313113-flash-hd-rtmp&return_type=gs_cdn&cors_origin_url=m.afreeca.com&broad_no=195313113-mobile-hd-rtmp (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x0423A5D0>, 'Connection to sessionmanager01.afreeca.tv timed out. (connect timeout=20.0)')))

...happened because you hadn't replaced the Streamlink afreeca.py file with the one in the OP?
TL+ Member
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
Last Edited: 2017-08-19 16:37:40
August 19 2017 16:09 GMT
#310
Added MaNa, LancerX, Bonyth, and Schamtoo to the .bat launcher.

Edit: And Draco, who is live right now at https://www.twitch.tv/nal_draco
TL+ Member
[tyu38]
Profile Joined September 2015
Poland121 Posts
August 19 2017 16:15 GMT
#311
On August 19 2017 22:19 letian wrote:
Show nested quote +
On August 19 2017 21:13 [tyu38] wrote:
https://github.com/streamlink/streamlink/issues/837#issuecomment-322237238

Replace "\streamlink\plugins\afreeca.py" with this afreeca.py file and see if it works.


Still not works ;/

[download][15_49_19-08-2017_sto.avi] Written 557.6 MB (21m7s @ 430.9 KB/s) [stream.hls][error] Failed to open segment 208: Unable to open URL: http://chromecast.afreeca.gscdn.com/livestream-29/1280x720/195328793-flash-original-hls_207.TS (400 Client Error: Bad Request for url: http://chromecast.afreeca.gscdn.com/livestream-29/1280x720/195328793-flash-original-hls_207.TS?aid=.A32.7bbT56vyHM9fKZk.46cvhHe3zU3gNllKuUkHGmdb5Wn4HGtw-8VpAT1PUB-8ZxNX2QlkgeE-SZ8YYMnV433mKXkjR9rQdSwdgrAtWY1Mq6pkBG5laQyQQIUq33g)
[stream.hls][error] Failed to open segment 209: Unable to open URL: http://chromecast.afreeca.gscdn.com/livestream-29/1280x720/195328793-flash-original-hls_208.TS (400 Client Error: Bad Request for url: http://chromecast.afreeca.gscdn.com/livestream-29/1280x720/195328793-flash-original-hls_208.TS?aid=.A32.7bbT56vyHM9fKZk.46cvhHe3zU3gNllKuUkHGmdb5Wn4HGtw-8VpAT1PUB-8ZxNX2QlkgeE-SZ8YYMnV433mKXkjR9rQdSwdgrAtWY1Mq6pkBG5laQyQQIUq33g)
[download][15_49_19-08-2017_sto.avi] Written 561.2 MB (21m24s @ 352.3 KB/s) [stream.hls][error] Failed to open segment 211: Unable to open URL: http://chromecast.afreeca.gscdn.com/livestream-29/1280x720/195328793-flash-original-hls_210.TS (400 Client Error: Bad Request for url: http://chromecast.afreeca.gscdn.com/livestream-29/1280x720/195328793-flash-original-hls_210.TS?aid=.A32.7bbT56vyHM9fKZk.46cvhHe3zU3gNllKuUkHGmdb5Wn4HGtw-8VpAT1PUB-8ZxNX2QlkgeE-SZ8YYMnV433mKXkjR9rQdSwdgrAtWY1Mq6pkBG5laQyQQIUq33g)


Aylear
Profile Blog Joined May 2009
Norway3988 Posts
August 19 2017 16:21 GMT
#312
What the...

How do you people end up with the dumbest and weirdest error messages I've never even seen before?
TL+ Member
Drensa
Profile Joined August 2017
23 Posts
August 21 2017 07:05 GMT
#313
On August 19 2017 03:10 Aylear wrote:
Windows (Vista SP2, Win 7, Win 8, Win 10) (32 and 64-bit):
Starcraft Stream Viewer.bat (right-click and save link as)

I've added Reach, GoRush, IntoTheRainbow, Garimto, and a few more names to the script that were missing. These connect to Afreeca as normal.

If you type in any of the following names, it will try to connect to their Twitch:
Ret, Incontrol, Demuslim, Day9, Hui, BratOK, MedryBW.
Edit: Added Nony, Scan, Dragon, Shrinker, Oystein to that list too.

EDIT 2: Got someone to test the file for me. Everything seems to be working so I've updated the OP accordingly. Happy viewing! <3


works great!
Drensa
Profile Joined August 2017
23 Posts
August 21 2017 08:20 GMT
#314
On August 20 2017 01:09 Aylear wrote:
Added MaNa, LancerX, Bonyth, and Schamtoo to the .bat launcher.

Edit: And Draco, who is live right now at https://www.twitch.tv/nal_draco


Could you perhaps also update the https://bwstreams.appspot.com/ with all the current (and newly added) players?
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
August 21 2017 17:12 GMT
#315
On August 21 2017 17:20 Drensa wrote:
Show nested quote +
On August 20 2017 01:09 Aylear wrote:
Added MaNa, LancerX, Bonyth, and Schamtoo to the .bat launcher.

Edit: And Draco, who is live right now at https://www.twitch.tv/nal_draco


Could you perhaps also update the https://bwstreams.appspot.com/ with all the current (and newly added) players?

That's not my website! I don't actually know who maintains it, but I don't think it's anyone from TeamLiquid.

The appspot site has a more complete list of Korean pros, semi-pros, tournament streams, etc. than TeamLiquid does, which (deliberately) mostly features the popular ones. On the other hand, the TeamLiquid live stream section features a lot of foreigners which are not in the appspot database.

I've thought about making a simple Windows program that checks who's online (as an optional separate download), but I haven't gotten around to it yet.
TL+ Member
Craton
Profile Blog Joined December 2009
United States17248 Posts
August 21 2017 17:26 GMT
#316
You mean you guys don't all have your own custom livestreamer/streamlink GUIs?

+ Show Spoiler +
[image loading]
twitch.tv/cratonz
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
August 27 2017 05:59 GMT
#317
Added Artosis (and a couple others) to the .bat launcher (right-click and save link as).

Also, yay Artosis is streaming. =)
TL+ Member
RouaF
Profile Joined October 2010
France4120 Posts
August 28 2017 20:44 GMT
#318
This needs a bumping, I see a lot of people on twitch complaining that Afreeca streams are laggy. You should experience little or no lag with this solution.
Akzever
Profile Joined March 2009
Canada94 Posts
September 02 2017 17:02 GMT
#319
Looks like a recent AfreecaTV Update broke the streamer? Now AfreecaTV requires an App or log in (At least for Jaedong)?
kzvr.532
The_Red_Viper
Profile Blog Joined August 2013
19533 Posts
September 02 2017 17:09 GMT
#320
On September 03 2017 02:02 Akzever wrote:
Looks like a recent AfreecaTV Update broke the streamer? Now AfreecaTV requires an App or log in (At least for Jaedong)?

He is in 19+ mode right now, i would assume that's the reason. Unless you could watch that before?
IU | Sohyang || There is no God and we are his prophets | For if ‘Thou mayest’—it is also true that ‘Thou mayest not.” | Ignorance is the parent of fear |
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
September 02 2017 17:12 GMT
#321
The_Red_Viper is correct.

Some streamers (Horang2 does this some times) will occasionally set their streams to adults-only (19+) mode. When a stream is in adults-only mode, you have to use the Korean AfreecaTV Player (proprietary software) to view it, or Afreeca will refuse your connection.
TL+ Member
Craton
Profile Blog Joined December 2009
United States17248 Posts
September 02 2017 20:24 GMT
#322
When they're in that mode they're basically never actually playing either, so I wouldn't worry too much about not being able to view them. Usually means they're stalking the camgirls again.
twitch.tv/cratonz
AManHasNoName
Profile Joined September 2017
United States165 Posts
September 04 2017 12:36 GMT
#323
This was working for me up until this morning. Now I'm getting the error pasted below. I tried redownloading the afreeca.py file and replacing it again, but the same thing happens.

Error is coming up on all streams on all different quality settings. It also comes up regardless of whether I use the TL streamer name or their afreeca username.

If you have any advice it would be greatly appreciated. This workaround has been amazingly nice for watching these streams without lag! =D

[cli][error] Try 1/1: Could not open stream <HLSStream('http://live-hls-korea-cf.afreecatv.com/livestream-04/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.ZmYBzoIy-iAP1GUPu0sCkMGCkL-rLxBv9NjSBMa9A4n2Av-4QxdT7ezkataIG0RoeKF80Z1QiW1F_OZ-qRnxiEtRIVEN4gSKfQ3B8K22cfA')> (Could not open stream: Unable to open URL: http://live-hls-korea-cf.afreecatv.com/livestream-04/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.ZmYBzoIy-iAP1GUPu0sCkMGCkL-rLxBv9NjSBMa9A4n2Av-4QxdT7ezkataIG0RoeKF80Z1QiW1F_OZ-qRnxiEtRIVEN4gSKfQ3B8K22cfA (HTTPConnectionPool(host='live-hls-korea-cf.afreecatv.com', port=80): Max retries exceeded with url: /livestream-04/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.ZmYBzoIy-iAP1GUPu0sCkMGCkL-rLxBv9NjSBMa9A4n2Av-4QxdT7ezkataIG0RoeKF80Z1QiW1F_OZ-qRnxiEtRIVEN4gSKfQ3B8K22cfA&aid=.A32.7bbT56vyHM9fKZk.ZmYBzoIy-iAP1GUPu0sCkMGCkL-rLxBv9NjSBMa9A4n2Av-4QxdT7ezkataIG0RoeKF80Z1QiW1F_OZ-qRnxiEtRIVEN4gSKfQ3B8K22cfA (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0387F2F0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))))
error: Could not open stream <HLSStream('http://live-hls-korea-cf.afreecatv.com/livestream-04/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.ZmYBzoIy-iAP1GUPu0sCkMGCkL-rLxBv9NjSBMa9A4n2Av-4QxdT7ezkataIG0RoeKF80Z1QiW1F_OZ-qRnxiEtRIVEN4gSKfQ3B8K22cfA')>, tried 1 times, exiting
“To love the journey is to accept no such end. I have found, through painful experience, that the most important step a person can take is always the next one.”
Suikakuju
Profile Joined July 2010
Germany238 Posts
September 04 2017 12:47 GMT
#324
Same for me.

Can´t open any stream now
Laugh and the world laughs with you. Weep and you weep alone.
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
September 04 2017 16:56 GMT
#325
I've seen that happen a couple of times, but trying several times in a row with different CDNs and quality options always makes it work eventually.

Just now I tried to connect to BeSt and got the same error you guys did, but switching to GSCDN instead of Amazon AWS worked fine. I was able to open his stream in any quality after that.

VLC+Streamlink has been less consistent lately, with a couple of disconnects and odd stuff happening, but it's still functional.
TL+ Member
QuickStriker
Profile Blog Joined January 2009
United States3694 Posts
September 04 2017 19:02 GMT
#326
Hi everyone,

I can confirm that this little program was super useful to me past few days when restreaming and casting ASL4 Qualifiers.

Big shout out to Aylear for letting me know about this and helping me set it all up!~
www.twitch.tv/KoreanUsher
AManHasNoName
Profile Joined September 2017
United States165 Posts
September 04 2017 19:51 GMT
#327
On September 05 2017 01:56 Aylear wrote:
I've seen that happen a couple of times, but trying several times in a row with different CDNs and quality options always makes it work eventually.

Just now I tried to connect to BeSt and got the same error you guys did, but switching to GSCDN instead of Amazon AWS worked fine. I was able to open his stream in any quality after that.

VLC+Streamlink has been less consistent lately, with a couple of disconnects and odd stuff happening, but it's still functional.



Thanks for the reply! I was able to get it working with GSCDN as well. Really appreciate you putting this out there for all of us to use ^_^
“To love the journey is to accept no such end. I have found, through painful experience, that the most important step a person can take is always the next one.”
pheer
Profile Blog Joined July 2004
5390 Posts
Last Edited: 2017-09-04 20:46:03
September 04 2017 20:43 GMT
#328

Alternative portable version


This download is the portable windows build, with the afreeca plugin patch already applied. All you have to do is extract it and run the batch file. You will need to have VLC installed too. Install VLC quickly from www.ninite.com
Moderator
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
September 04 2017 21:39 GMT
#329
Well, that's useful. Will update the OP once I'm done with my programming project today.
TL+ Member
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
Last Edited: 2017-09-04 21:45:06
September 04 2017 21:42 GMT
#330
Wow, that's annoying. Typing in a name constantly outputs the [Streamlink for Windows v0.7.0 - Git b657864] message and breaks the look of the input box. Is that because it's the portable version or has that been added to a nightly?
TL+ Member
pheer
Profile Blog Joined July 2004
5390 Posts
Last Edited: 2017-09-04 22:19:07
September 04 2017 21:56 GMT
#331
I think the portable version outputs that extra text. I will replace the binary and re-upload if it works.

edit: doesn't work. Not sure if you can suppress its output in the batch file...
Moderator
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
Last Edited: 2017-09-04 22:48:33
September 04 2017 22:37 GMT
#332
On September 05 2017 06:56 pheer wrote:
I think the portable version outputs that extra text. I will replace the binary and re-upload if it works.

edit: doesn't work. Not sure if you can suppress its output in the batch file...

I think I can only turn it off by setting Streamlink to quiet, or turning off error messages entirely. At that point it becomes harder to find out why streams aren't connecting (since it won't tell you if the player is offline or whatever).

Edit: Actually I can't even do that. The loglevel option doesn't even work in whatever build this is, it ignores my requests for it to be quiet.
TL+ Member
Craton
Profile Blog Joined December 2009
United States17248 Posts
September 05 2017 00:59 GMT
#333
On September 05 2017 06:42 Aylear wrote:
Wow, that's annoying. Typing in a name constantly outputs the [Streamlink for Windows v0.7.0 - Git b657864] message and breaks the look of the input box. Is that because it's the portable version or has that been added to a nightly?

There's no reason to use the nightly in the first place, you know.
twitch.tv/cratonz
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
September 05 2017 01:26 GMT
#334
On September 05 2017 09:59 Craton wrote:
Show nested quote +
On September 05 2017 06:42 Aylear wrote:
Wow, that's annoying. Typing in a name constantly outputs the [Streamlink for Windows v0.7.0 - Git b657864] message and breaks the look of the input box. Is that because it's the portable version or has that been added to a nightly?

There's no reason to use the nightly in the first place, you know.

There's only recent builds available for the portable version, you know.
TL+ Member
iCCup.Trent
Profile Joined May 2005
Argentina450 Posts
September 05 2017 06:35 GMT
#335
I can confirm that the issue is fixed for me after I choose "gs_original" for the stream quality. However, the stream becomes a little choppy as compared to aws (again, this is for a VDSL in Auckland, New Zealand; mileage may vary).
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
September 05 2017 06:38 GMT
#336
Yes, any gs_quality will work, as the gs_ prefix is GSCDN. What was nice about having both AWS and GSCDN was that one CDN was frequently better than the other depending on your location. Being limited to just GSCDN for the time being means some people will have to lower the stream quality to HD.
TL+ Member
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
September 05 2017 07:50 GMT
#337
Minor update to the .bat file (nothing related to Amazon AWS being offline, we'll deal with that later).


Changelog:

Made the output messages less ambiguous when launching streams (thanks pheer!)

Added players to the .bat file:
• Action
• goatrope
• Sero

Added several synonyms to the Korean ASL stream (previously you had to type "aslkor" to find it):
• afstar1
• asl
• starleague

You can grab it here: Starcraft Stream Viewer.bat
TL+ Member
Arvendilin
Profile Joined February 2013
Germany1878 Posts
September 05 2017 08:07 GMT
#338
Is there a way to use this with MPC instead of VLC? since VLC fucks with colour saturation
My heroes: Jangbi, Bisu, Stork and BeSt for BW, Rain, Zest and Stats for SC2! Need a better Signature tbh...
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
Last Edited: 2017-09-05 08:34:10
September 05 2017 08:31 GMT
#339
On September 05 2017 17:07 Arvendilin wrote:
Is there a way to use this with MPC instead of VLC? since VLC fucks with colour saturation

Streamlink does technically work with MPC, but you'll need to mess with the .bat file a bit. More on that in a bit.

I haven't added native support for MPC because 1) extra work for me, and 2) some command lines are missing. Most notably --file-caching and --network-caching don't work, but you also can't add a meta title to an MPC window. When VLC pops up, it properly titles the window with the name you input, i.e. Bisu, Stork, Flash. MPC can't do that, so the window title remains something generic like "stdin".

Anyway, to use this setup in MPC you need the following:
- At least version 1.7 of MPC (1.6 or below will give file not found errors)
- Edit the bat file with the following values:

Open the .bat file in notepad++ or notepad. Near the top of the file you'll see this line:
set vlcpath=

...which by default is blank. Type in the path to your MPC player, i.e.
set vlcpath=C:\Program Files\MPC-HC\mpc-hc64.exe

Next, scroll down to the bottom of the .bat file and find the following line:
start /B streamlink --loglevel=error --player="%vlcpath% --file-caching=5000 --network-caching=5000 --meta-title=%name%" %url%/%id% %output%

Change this line to:
start /B streamlink --loglevel=error --player="%vlcpath%" %url%/%id% %output%

...which removes the "--file-caching=5000 --network-caching=5000 --meta-title=%name%" bit since MPC can't use those.

This worked on my system just fine.

Edit: If there is sufficient interest, I can make it so the .bat file accepts MPC by default as an option when you launch it. Let me know if this is something anyone else wants, otherwise I'm sticking with the basic VLC setup.
TL+ Member
Navane
Profile Blog Joined February 2007
Netherlands2748 Posts
September 05 2017 12:42 GMT
#340
Works great, very good error / trouble shooting part of both the guide and the commandline bat. Thanks a lot!
Arvendilin
Profile Joined February 2013
Germany1878 Posts
September 05 2017 13:56 GMT
#341
On September 05 2017 17:31 Aylear wrote:
Show nested quote +
On September 05 2017 17:07 Arvendilin wrote:
Is there a way to use this with MPC instead of VLC? since VLC fucks with colour saturation

Streamlink does technically work with MPC, but you'll need to mess with the .bat file a bit. More on that in a bit.

I haven't added native support for MPC because 1) extra work for me, and 2) some command lines are missing. Most notably --file-caching and --network-caching don't work, but you also can't add a meta title to an MPC window. When VLC pops up, it properly titles the window with the name you input, i.e. Bisu, Stork, Flash. MPC can't do that, so the window title remains something generic like "stdin".

Anyway, to use this setup in MPC you need the following:
- At least version 1.7 of MPC (1.6 or below will give file not found errors)
- Edit the bat file with the following values:

Open the .bat file in notepad++ or notepad. Near the top of the file you'll see this line:
set vlcpath=

...which by default is blank. Type in the path to your MPC player, i.e.
set vlcpath=C:\Program Files\MPC-HC\mpc-hc64.exe

Next, scroll down to the bottom of the .bat file and find the following line:
start /B streamlink --loglevel=error --player="%vlcpath% --file-caching=5000 --network-caching=5000 --meta-title=%name%" %url%/%id% %output%

Change this line to:
start /B streamlink --loglevel=error --player="%vlcpath%" %url%/%id% %output%

...which removes the "--file-caching=5000 --network-caching=5000 --meta-title=%name%" bit since MPC can't use those.

This worked on my system just fine.

Edit: If there is sufficient interest, I can make it so the .bat file accepts MPC by default as an option when you launch it. Let me know if this is something anyone else wants, otherwise I'm sticking with the basic VLC setup.


You are a literal god, thanks so much!
My heroes: Jangbi, Bisu, Stork and BeSt for BW, Rain, Zest and Stats for SC2! Need a better Signature tbh...
Arvendilin
Profile Joined February 2013
Germany1878 Posts
September 06 2017 01:50 GMT
#342
2 small little infos for everyone who wants to use MPC aswell:

Some streams might only get audio not video, to fix that, go to options > Internal filters > Splitters and then increase stream analysis duration, this will give it time to detect every stream it gets send!

The second thing is that ofcourse have to go into multi window mode if you want to watch multiple streams, I know this is easy but I was confused for about 10 secs so I thought I'd let everyone know that that option exists!
My heroes: Jangbi, Bisu, Stork and BeSt for BW, Rain, Zest and Stats for SC2! Need a better Signature tbh...
lgn!
Profile Joined February 2010
Italy224 Posts
Last Edited: 2017-09-06 16:31:07
September 06 2017 16:15 GMT
#343
Afreeca is such a pain to watch sometimes. Errors and lag everywhere ((
화이팅
raymix1
Profile Joined August 2017
United States10 Posts
September 08 2017 17:45 GMT
#344
[image loading]
i have this error message, is there a solution to it?
pheer
Profile Blog Joined July 2004
5390 Posts
September 08 2017 19:15 GMT
#345
Yes, don't use AWS server for now. It's been broken for about a week.
Moderator
raymix1
Profile Joined August 2017
United States10 Posts
September 08 2017 20:06 GMT
#346
On September 09 2017 04:15 pheer wrote:
Yes, don't use AWS server for now. It's been broken for about a week.


I've found some channels load with countdown, then stopped, donno what's the reason.
Craton
Profile Blog Joined December 2009
United States17248 Posts
September 08 2017 23:38 GMT
#347
On September 09 2017 05:06 raymix1 wrote:
Show nested quote +
On September 09 2017 04:15 pheer wrote:
Yes, don't use AWS server for now. It's been broken for about a week.


I've found some channels load with countdown, then stopped, donno what's the reason.

Those usually start working for me after a couple of attempts (have to wait out the counter each time).
twitch.tv/cratonz
RowdierBob
Profile Blog Joined May 2003
Australia13004 Posts
September 09 2017 04:51 GMT
#348
Sorry if already asked but does this work on mobile devices or only pc?
"Terrans are pretty much space-Australians" - H
AManHasNoName
Profile Joined September 2017
United States165 Posts
September 09 2017 10:53 GMT
#349
On September 09 2017 05:06 raymix1 wrote:
Show nested quote +
On September 09 2017 04:15 pheer wrote:
Yes, don't use AWS server for now. It's been broken for about a week.


I've found some channels load with countdown, then stopped, donno what's the reason.


Yeah it's weird when that happens. When it does, you can let the countdown finish, then close that VLC window and load the same stream up again and it will work fine though!
“To love the journey is to accept no such end. I have found, through painful experience, that the most important step a person can take is always the next one.”
Craton
Profile Blog Joined December 2009
United States17248 Posts
September 09 2017 22:15 GMT
#350
On September 09 2017 13:51 RowdierBob wrote:
Sorry if already asked but does this work on mobile devices or only pc?

Pretty sure just PC. The software only has installations for Windows, OSX, and Linux.
twitch.tv/cratonz
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
Last Edited: 2017-09-10 09:51:32
September 10 2017 04:27 GMT
#351

For those of you who may have difficulty watching streams on Afreeca:


This season Afreeca made the decision to not stream the ASL on Twitch or YouTube.

Some people have a lot of difficulty watching streams from Afreeca.com, myself included. Buffering and connectivity issues are common. If you're experiencing a lot of buffering or drops, consider this solution. It's a quick setup which will let you watch Afreeca streams in VLC using a simple launcher. It also allows for better connectivity -- I personally can't watch Afreeca streams in source quality from their main site, but using Streamlink+VLC I have no problems doing so.

I have updated the .bat launcher to include http://www.afreecatv.com/aslenglish (the main English ASL stream). If you're a current user of my launcher, download the new Starcraft Stream Viewer.bat file here. If you haven't tried this setup yet, it may work well for you.

NOTE: The Amazon AWS CDN is still out of commission, so you will need to use GSCDN for the time being. We're still waiting for updates on this.

EDIT: The following name entries will let you connect to either of the streams:

Primary Korean stream:
       • asl1
       • asl
       • afstar1

Primary English stream (Tastosis):
       • asl2
       • asleng
       • aslenglish

Secondary English stream (EsportsJohn & FlashFTW):
       • asl3
       • asleng2
       • aslenglish2
       • asl2eng2

POV Stream (rumored):
       • asl4
       • aslpov
TL+ Member
[Fin]Vittu
Profile Blog Joined March 2008
Canada507 Posts
September 10 2017 07:26 GMT
#352
i got as far as the .bat step. i am on OSX, what command should I run or download in lieu of a windows bat file?
The "Finnish Metal Terran"
sAw
Profile Joined November 2008
965 Posts
September 10 2017 07:41 GMT
#353
This is amazing, thank you so much! This was a lot easier than I expected, 2 minutes of "work".
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
September 10 2017 07:49 GMT
#354
On September 10 2017 16:26 [Fin]Vittu wrote:
i got as far as the .bat step. i am on OSX, what command should I run or download in lieu of a windows bat file?

Streamlink command line to connect to any channel is...
streamlink afreeca.com/channelname gs_original
...where gs_original connects to GSCDN, in quality "original" (source).

Example commands would be:


streamlink afreeca.com/afstar1 gs_original
(Connects to Korean ASL stream in source quality)

streamlink afreeca.com/aslenglish gs_hd
(Connects to English ASL stream in HD quality)

streamlink afreeca.com/rlaxordyd gs_sd
(Connects to Bisu in SD quality)
TL+ Member
[Fin]Vittu
Profile Blog Joined March 2008
Canada507 Posts
September 10 2017 08:54 GMT
#355
On September 10 2017 16:49 Aylear wrote:
Show nested quote +
On September 10 2017 16:26 [Fin]Vittu wrote:
i got as far as the .bat step. i am on OSX, what command should I run or download in lieu of a windows bat file?

Streamlink command line to connect to any channel is...
streamlink afreeca.com/channelname gs_original
...where gs_original connects to GSCDN, in quality "original" (source).

Example commands would be:


streamlink afreeca.com/afstar1 gs_original
(Connects to Korean ASL stream in source quality)

streamlink afreeca.com/aslenglish gs_hd
(Connects to English ASL stream in HD quality)

streamlink afreeca.com/rlaxordyd gs_sd
(Connects to Bisu in SD quality)



you are a god. thank you for taking your time to explain this.
The "Finnish Metal Terran"
letian
Profile Blog Joined May 2010
Germany4221 Posts
September 10 2017 09:10 GMT
#356
On September 10 2017 16:49 Aylear wrote:
Show nested quote +
On September 10 2017 16:26 [Fin]Vittu wrote:
i got as far as the .bat step. i am on OSX, what command should I run or download in lieu of a windows bat file?

Streamlink command line to connect to any channel is...
streamlink afreeca.com/channelname gs_original
...where gs_original connects to GSCDN, in quality "original" (source).

Example commands would be:


streamlink afreeca.com/afstar1 gs_original
(Connects to Korean ASL stream in source quality)

streamlink afreeca.com/aslenglish gs_hd
(Connects to English ASL stream in HD quality)

streamlink afreeca.com/rlaxordyd gs_sd
(Connects to Bisu in SD quality)

Sigh, looks like afreeca broke everything again. I need to update linux script as well, again. Thanks for the notice, I am too lazy to investigate their continuous interface changes.
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
September 10 2017 09:35 GMT
#357
If you were using aws, yes, that is currently broken and no one knows why. GSCDN is the only one that's up.
TL+ Member
PhilipJayFry
Profile Joined August 2011
Germany30 Posts
September 10 2017 09:37 GMT
#358
On September 10 2017 18:10 letian wrote:
Show nested quote +
On September 10 2017 16:49 Aylear wrote:
On September 10 2017 16:26 [Fin]Vittu wrote:
i got as far as the .bat step. i am on OSX, what command should I run or download in lieu of a windows bat file?

Streamlink command line to connect to any channel is...
streamlink afreeca.com/channelname gs_original
...where gs_original connects to GSCDN, in quality "original" (source).

Example commands would be:


streamlink afreeca.com/afstar1 gs_original
(Connects to Korean ASL stream in source quality)

streamlink afreeca.com/aslenglish gs_hd
(Connects to English ASL stream in HD quality)

streamlink afreeca.com/rlaxordyd gs_sd
(Connects to Bisu in SD quality)

Sigh, looks like afreeca broke everything again. I need to update linux script as well, again. Thanks for the notice, I am too lazy to investigate their continuous interface changes.


Hey Letian, thanks for maintaining the linux script. If you need help, I would like to help! I was planning to change the script and make a pull request on GH, but since you are aware of the issue I think I don't need to.
letian
Profile Blog Joined May 2010
Germany4221 Posts
September 10 2017 09:45 GMT
#359
On September 10 2017 18:37 PhilipJayFry wrote:
Show nested quote +
On September 10 2017 18:10 letian wrote:
On September 10 2017 16:49 Aylear wrote:
On September 10 2017 16:26 [Fin]Vittu wrote:
i got as far as the .bat step. i am on OSX, what command should I run or download in lieu of a windows bat file?

Streamlink command line to connect to any channel is...
streamlink afreeca.com/channelname gs_original
...where gs_original connects to GSCDN, in quality "original" (source).

Example commands would be:


streamlink afreeca.com/afstar1 gs_original
(Connects to Korean ASL stream in source quality)

streamlink afreeca.com/aslenglish gs_hd
(Connects to English ASL stream in HD quality)

streamlink afreeca.com/rlaxordyd gs_sd
(Connects to Bisu in SD quality)

Sigh, looks like afreeca broke everything again. I need to update linux script as well, again. Thanks for the notice, I am too lazy to investigate their continuous interface changes.


Hey Letian, thanks for maintaining the linux script. If you need help, I would like to help! I was planning to change the script and make a pull request on GH, but since you are aware of the issue I think I don't need to.

Sure, please update whenever it needs updating. I will see your pull request faster than I read about another afreeca innovation.
valaki
Profile Joined June 2009
Hungary2476 Posts
September 10 2017 09:49 GMT
#360
It says

Your input can't be opened:
VLC is unable to open the MRL 'fd://0'. Check the log for details.

for me.
ggaemo fan
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
Last Edited: 2017-09-10 09:52:39
September 10 2017 09:52 GMT
#361
I just got news that "afstar3" may be coming back this season, which is the POV stream. I quickly added it to the .bat file.

Starcraft Stream Viewer.bat

Let me know if there are any problems beyond that. Kind of working in a rush here!


EDIT: The following name entries will let you connect to either of the streams:

Primary Korean stream:
       • asl1
       • asl
       • afstar1

Primary English stream (Tastosis):
       • asl2
       • asleng
       • aslenglish

Secondary English stream (EsportsJohn & FlashFTW):
       • asl3
       • asleng2
       • aslenglish2
       • asl2eng2

POV Stream (rumored):
       • asl4
       • aslpov
TL+ Member
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
September 10 2017 10:04 GMT
#362
Bumping because I updated the .bat file again to update it for the new EsportsJohn + FlashFTW stream. Grab it if you want to watch them. ASL3.
TL+ Member
tgbhihi
Profile Joined September 2017
2 Posts
Last Edited: 2017-09-10 10:09:22
September 10 2017 10:08 GMT
#363
Any support for Mac? I had it working two months and now it seems to be broken. I have tried reinstalling a number of times via terminal.

Error code is as follows (have tried multiple urls which give the same result):

streamlink play.afreeca.com/aslenglish gs_hd
[cli][info] Found matching plugin afreeca for URL play.afreeca.com/aslenglish
error: Unable to open URL: http://sessionmanager01.afreeca.tv:6060/broad_stream_assign.html (HTTPConnectionPool(host='sessionmanager01.afreeca.tv', port=6060): Max retries exceeded with url: /broad_stream_assign.html?cors_origin_url=m.afreeca.com&return_type=gs_cdn&broad_no=196002476-mobile-hd-rtmp&broad_key=196002476-flash-hd-rtmp&use_cors=true (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection object at 0x1086f37d0>, 'Connection to sessionmanager01.afreeca.tv timed out. (connect timeout=20.0)')))
coolprogrammingstuff
Profile Joined December 2015
906 Posts
Last Edited: 2017-09-10 10:12:30
September 10 2017 10:09 GMT
#364
ASL english isn't working for me, but I only just set this up. Probably minutes after you updated it.

Will retry, otherwise you've made a mistake! One moment.

edit: Okay, must have just set this up *a minute* before the update, but vlc isn't opening. Still working on it.
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
September 10 2017 10:11 GMT
#365
The Tastosis ASL stream is here: http://play.afreecatv.com/aslenglish

It looks smooth to me so you might not need to use VLC for this.
TL+ Member
DexLy
Profile Joined April 2011
Sweden34 Posts
Last Edited: 2017-09-10 10:12:22
September 10 2017 10:11 GMT
#366
Am I the only one with lag issues? Even on 720p it stops every now and then. I do have a solid connection with 24 Mbit/s download. Pretty strange.

Also I get this error:

[stream.hls][error] Failed to open segment 326: Unable to open URL: http://chromecast.afreeca.gscdn.com/livestream-25/960x540/196002476-flash-hd-hls_325.TS (400 Client Error: Bad Request for url: http://chromecast.afreeca.gscdn.com/livestream-25/960x540/196002476-flash-hd-hls_325.TS?aid=.A32.7bbT56vyHM9fKZk.P65rXKfJ7l11df5JHb1tYajM0LwTEgXuo1jF9PJ_f7FjMI3vERwvvWveU0BV5fHQH1Jig_UhDv2dZu-aMluloLgBA7t35GeVpBg4oaFZwX0)
coolprogrammingstuff
Profile Joined December 2015
906 Posts
September 10 2017 10:13 GMT
#367
I got this too:

[cli][error] Try 1/1: Could not open stream <HLSStream('http://live-hls-korea-cf.afreecatv.com/livestream-25/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.Br4WWwV6YSoHgquk-NvfU_zB_qq3CTeL9dxDTfGkn6_rwjVflePHzFgVdLg5K7kxeKvoKlYln1FU5TuDg-vFdhqP7DWfQ6IcYUxtOHW_CjY')> (Could not open stream: Unable to open URL: http://live-hls-korea-cf.afreecatv.com/livestream-25/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.Br4WWwV6YSoHgquk-NvfU_zB_qq3CTeL9dxDTfGkn6_rwjVflePHzFgVdLg5K7kxeKvoKlYln1FU5TuDg-vFdhqP7DWfQ6IcYUxtOHW_CjY (HTTPConnectionPool(host='live-hls-korea-cf.afreecatv.com', port=80): Max retries exceeded with url: /livestream-25/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.Br4WWwV6YSoHgquk-NvfU_zB_qq3CTeL9dxDTfGkn6_rwjVflePHzFgVdLg5K7kxeKvoKlYln1FU5TuDg-vFdhqP7DWfQ6IcYUxtOHW_CjY&aid=.A32.7bbT56vyHM9fKZk.Br4WWwV6YSoHgquk-NvfU_zB_qq3CTeL9dxDTfGkn6_rwjVflePHzFgVdLg5K7kxeKvoKlYln1FU5TuDg-vFdhqP7DWfQ6IcYUxtOHW_CjY (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x048B9090>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))))
error: Could not open stream <HLSStream('http://live-hls-korea-cf.afreecatv.com/livestream-25/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.Br4WWwV6YSoHgquk-NvfU_zB_qq3CTeL9dxDTfGkn6_rwjVflePHzFgVdLg5K7kxeKvoKlYln1FU5TuDg-vFdhqP7DWfQ6IcYUxtOHW_CjY')>, tried 1 times, exiting
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
September 10 2017 10:16 GMT
#368
For some reason I can't connect to EsportsJohn & FlashFTW's stream with this (ASL3), I get this:

error: Unable to open URL: [url=http://resourcemanager.afreeca.tv:9090/broad_stream]http://resourcemanager.afreeca.tv:9090/broad_stream[/url]
_assign.html (400 Client Error: Bad Request for url: [url=http://resourcemanager.afre]http://resourcemanager.afre[/url]
eca.tv:9090/broad_stream_assign.html?return_type=gs_cdn&broad_key=196002985-flas
h-original-hls&use_cors=true&cors_origin_url=play.afreecatv.com)


I have no idea why this is happening and I don't have time to muck with it right now as the player interviews are currently happening and the tournament is starting.

FOR THE REST OF YOU: If you are returning customers for whom this has worked previously and you are now having problems with the new .bat file, specify that this is the case when you post errors.

If you are new customers who are trying to use this for the first time and are having problems getting it to work, specify that when you post error messages.

I can only say that it works fine on my end (except ASL3 for some reason), with no problems and no lag. I am also on Discord talking to people who are watching it just fine as well.
TL+ Member
letian
Profile Blog Joined May 2010
Germany4221 Posts
Last Edited: 2017-09-10 10:22:09
September 10 2017 10:20 GMT
#369
On September 10 2017 19:08 tgbhihi wrote:
Any support for Mac? I had it working two months and now it seems to be broken. I have tried reinstalling a number of times via terminal.

Error code is as follows (have tried multiple urls which give the same result):

streamlink play.afreeca.com/aslenglish gs_hd
[cli][info] Found matching plugin afreeca for URL play.afreeca.com/aslenglish
error: Unable to open URL: http://sessionmanager01.afreeca.tv:6060/broad_stream_assign.html (HTTPConnectionPool(host='sessionmanager01.afreeca.tv', port=6060): Max retries exceeded with url: /broad_stream_assign.html?cors_origin_url=m.afreeca.com&return_type=gs_cdn&broad_no=196002476-mobile-hd-rtmp&broad_key=196002476-flash-hd-rtmp&use_cors=true (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection object at 0x1086f37d0>, 'Connection to sessionmanager01.afreeca.tv timed out. (connect timeout=20.0)')))

You can use linux bash script for Mac
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
September 10 2017 10:21 GMT
#370
On September 10 2017 19:08 tgbhihi wrote:
Any support for Mac? I had it working two months and now it seems to be broken. I have tried reinstalling a number of times via terminal.

Error code is as follows (have tried multiple urls which give the same result):

streamlink play.afreeca.com/aslenglish gs_hd
[cli][info] Found matching plugin afreeca for URL play.afreeca.com/aslenglish
error: Unable to open URL: http://sessionmanager01.afreeca.tv:6060/broad_stream_assign.html (HTTPConnectionPool(host='sessionmanager01.afreeca.tv', port=6060): Max retries exceeded with url: /broad_stream_assign.html?cors_origin_url=m.afreeca.com&return_type=gs_cdn&broad_no=196002476-mobile-hd-rtmp&broad_key=196002476-flash-hd-rtmp&use_cors=true (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection object at 0x1086f37d0>, 'Connection to sessionmanager01.afreeca.tv timed out. (connect timeout=20.0)')))

Don't use play.afreeca.com, syntax is:

streamlink afreeca.com/aslenglish gs_hd

Try that and let me know.
TL+ Member
Arvendilin
Profile Joined February 2013
Germany1878 Posts
September 10 2017 10:31 GMT
#371
I have the same error and it started happening without me changing anything, it was already happening with the original unchanged .bat file that had worked previously, it started during the 2nd day of the ASL qualifier
My heroes: Jangbi, Bisu, Stork and BeSt for BW, Rain, Zest and Stats for SC2! Need a better Signature tbh...
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
September 10 2017 10:34 GMT
#372
Try turning off your firewall. It may be aggressively throttling your connection to this.
TL+ Member
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
September 10 2017 12:07 GMT
#373
Alright, ASL is over for today and I need to head off. If anyone is having problems using Streamlink+VLC and want to fix it before tomorrow's games, now's the time to post. I'll try to help you troubleshoot stuff later (will be around in roughly 10 hours). =)

Cheers.
TL+ Member
Arvendilin
Profile Joined February 2013
Germany1878 Posts
September 11 2017 04:22 GMT
#374
Here is the exact error I am getting: https://imgur.com/a/uGSOr
My heroes: Jangbi, Bisu, Stork and BeSt for BW, Rain, Zest and Stats for SC2! Need a better Signature tbh...
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
September 11 2017 04:59 GMT
#375
On September 11 2017 13:22 Arvendilin wrote:
Here is the exact error I am getting: https://imgur.com/a/uGSOr

Don't use AWS, use GSCDN.
TL+ Member
Scaramanga
Profile Blog Joined March 2008
Australia8090 Posts
September 11 2017 10:23 GMT
#376
On September 10 2017 19:16 Aylear wrote:
For some reason I can't connect to EsportsJohn & FlashFTW's stream with this (ASL3), I get this:

error: Unable to open URL: [url=http://resourcemanager.afreeca.tv:9090/broad_stream]http://resourcemanager.afreeca.tv:9090/broad_stream[/url]
_assign.html (400 Client Error: Bad Request for url: [url=http://resourcemanager.afre]http://resourcemanager.afre[/url]
eca.tv:9090/broad_stream_assign.html?return_type=gs_cdn&broad_key=196002985-flas
h-original-hls&use_cors=true&cors_origin_url=play.afreecatv.com)


I have no idea why this is happening and I don't have time to muck with it right now as the player interviews are currently happening and the tournament is starting.

FOR THE REST OF YOU: If you are returning customers for whom this has worked previously and you are now having problems with the new .bat file, specify that this is the case when you post errors.

If you are new customers who are trying to use this for the first time and are having problems getting it to work, specify that when you post error messages.

I can only say that it works fine on my end (except ASL3 for some reason), with no problems and no lag. I am also on Discord talking to people who are watching it just fine as well.

The last build was working for me fine and I'm getting the same error message regardless of what quality/server I select
Loda talked about the fun counter, it's AdmiralBulldog on his natures prophet
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
September 11 2017 10:25 GMT
#377
I still cannot connect to FlashFTW and EsportsJohn's stream using Streamlink. I'm currently watching aslenglish (main Tastosis stream) just fine though.

Again, have to use GSCDN, since Amazon AWS is out of commission at the moment.
TL+ Member
Scaramanga
Profile Blog Joined March 2008
Australia8090 Posts
September 11 2017 10:29 GMT
#378
On September 11 2017 19:23 Scaramanga wrote:
Show nested quote +
On September 10 2017 19:16 Aylear wrote:
For some reason I can't connect to EsportsJohn & FlashFTW's stream with this (ASL3), I get this:

error: Unable to open URL: [url=http://resourcemanager.afreeca.tv:9090/broad_stream]http://resourcemanager.afreeca.tv:9090/broad_stream[/url]
_assign.html (400 Client Error: Bad Request for url: [url=http://resourcemanager.afre]http://resourcemanager.afre[/url]
eca.tv:9090/broad_stream_assign.html?return_type=gs_cdn&broad_key=196002985-flas
h-original-hls&use_cors=true&cors_origin_url=play.afreecatv.com)


I have no idea why this is happening and I don't have time to muck with it right now as the player interviews are currently happening and the tournament is starting.

FOR THE REST OF YOU: If you are returning customers for whom this has worked previously and you are now having problems with the new .bat file, specify that this is the case when you post errors.

If you are new customers who are trying to use this for the first time and are having problems getting it to work, specify that when you post error messages.

I can only say that it works fine on my end (except ASL3 for some reason), with no problems and no lag. I am also on Discord talking to people who are watching it just fine as well.

The last build was working for me fine and I'm getting the same error message regardless of what quality/server I select

Redownloaded the bat file and its working
Loda talked about the fun counter, it's AdmiralBulldog on his natures prophet
True_Spike
Profile Joined July 2004
Poland3420 Posts
September 12 2017 05:14 GMT
#379
Guys, is there any way to improve my ability to watch afreeca without installing anything? I can't even start any streams from my work network nowadays (it used to be slightly better, but only slightly). Twitch works fine.
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
September 12 2017 05:51 GMT
#380
The portable "install" version should work out of the box without installing anything to the PC. The only downside to that version is that the .bat file may not be completely up to date so you'll want to nab that separately.
TL+ Member
heyitsMiro
Profile Blog Joined November 2016
83 Posts
Last Edited: 2017-09-14 08:06:01
September 14 2017 08:04 GMT
#381
I get this error message when trying to watch sSak's stream.


Any idea? https://i.gyazo.com/4a1fa8d39dad7a7520711761349c20ad.png


edit: oh I see switching off the AWS thing to the other one works.
HiDrAWaRx
Profile Joined March 2017
10 Posts
Last Edited: 2017-09-15 07:02:13
September 15 2017 06:58 GMT
#382
I haven't been able to watch any streams from this amazing develop (always getting the "error: No playable streams found on this url: [...]" even knowing someone is live ) since a guy posted this thread on blizz forum:
https://us.battle.net/forums/en/starcraft/topic/20758976068

Did they patched their service to make this unusable?

Edit: bwstreams app is not even working for me...
Drensa
Profile Joined August 2017
23 Posts
Last Edited: 2017-09-15 07:20:06
September 15 2017 07:19 GMT
#383
On September 15 2017 15:58 HiDrAWaRx wrote:
I haven't been able to watch any streams from this amazing develop (always getting the "error: No playable streams found on this url: [...]" even knowing someone is live ) since a guy posted this thread on blizz forum:
https://us.battle.net/forums/en/starcraft/topic/20758976068

Did they patched their service to make this unusable?

Edit: bwstreams app is not even working for me...


Yesterday it still worked perfectly, now I get the same error "no playable streams found". Maybe the service is down?
wishbonesaka
Profile Joined June 2016
Canada117 Posts
September 15 2017 08:23 GMT
#384
same here, not one stream is working, but i can watch them if i use the web browser. haven't touched anything. just stopped working. same as above, it states the stream and its url that i was looking for but says it not live. however its live. thanks for all the hard work, excited for it to be ready to use again
iCCup.Trent
Profile Joined May 2005
Argentina450 Posts
September 15 2017 08:39 GMT
#385
I can confirm it stopped working on all stream options for me.
crowbar
Profile Joined August 2009
Sweden21 Posts
September 15 2017 09:07 GMT
#386
Can confirm here as well, Worked fine yesterday.
Drensa
Profile Joined August 2017
23 Posts
September 15 2017 09:10 GMT
#387
I've checked a few twitch streamers, and they all open fine. So it seems to only affect Afreeca streams..
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
September 15 2017 13:38 GMT
#388
A fix is out. Give me a little while to get everything set.
TL+ Member
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
Last Edited: 2017-09-15 14:24:48
September 15 2017 14:04 GMT
#389
Alright then. Interesting times.

1) A temporary fix is out.
      • Download afreeca.py (right-click and save as...) and place it in the plugins folder as specified in the OP
      • NOTE: Currently only Amazon AWS works! This is the reverse of previous!

2) Afreeca may be deliberately trying to break this and prevent it from working.

If they are trying to break it, it may be because people have used Streamlink to record videos from Afreeca to upload them elsewhere. If so then this is just a crackdown of one of the many ways this can be accomplished (and not even the simplest way), and therefore horribly misguided.

Plugin developers (the person who just created the fixed afreeca.py file in this post to be precise) have said that it should be a relatively simple (but time consuming) task to create a plugin that will always work. This means there should be a permanent fix eventually if one becomes necessary. In the meantime, here's hoping the current fix remains stable and that Afreeca stops trying to break this (if they are trying to).

Edit: Also if we're back to only one CDN, I'll update the .bat file appropriately. I'll wait a few days to see what the folks at Streamlink have to say about it though.

Edit 2: Added stuff about what may be happening to the plugin.
TL+ Member
Zealgoon
Profile Joined January 2013
China187 Posts
Last Edited: 2017-09-15 14:14:40
September 15 2017 14:14 GMT
#390
Quick, someone get a mod to delete the korhal.info.pl thread before the Koreans find out about and kill that site
Drensa
Profile Joined August 2017
23 Posts
September 15 2017 14:54 GMT
#391
On September 15 2017 23:04 Aylear wrote:
Alright then. Interesting times.

1) A temporary fix is out.
      • Download afreeca.py (right-click and save as...) and place it in the plugins folder as specified in the OP
      • NOTE: Currently only Amazon AWS works! This is the reverse of previous!

2) Afreeca may be deliberately trying to break this and prevent it from working.

If they are trying to break it, it may be because people have used Streamlink to record videos from Afreeca to upload them elsewhere. If so then this is just a crackdown of one of the many ways this can be accomplished (and not even the simplest way), and therefore horribly misguided.

Plugin developers (the person who just created the fixed afreeca.py file in this post to be precise) have said that it should be a relatively simple (but time consuming) task to create a plugin that will always work. This means there should be a permanent fix eventually if one becomes necessary. In the meantime, here's hoping the current fix remains stable and that Afreeca stops trying to break this (if they are trying to).

Edit: Also if we're back to only one CDN, I'll update the .bat file appropriately. I'll wait a few days to see what the folks at Streamlink have to say about it though.

Edit 2: Added stuff about what may be happening to the plugin.


Thanks

JoxxOr
Profile Blog Joined September 2007
Sweden1502 Posts
September 15 2017 15:05 GMT
#392
Thanks for the help!
Gör om, gör rätt
10minute
Profile Joined September 2017
2 Posts
Last Edited: 2017-09-15 20:27:43
September 15 2017 17:03 GMT
#393
On September 15 2017 23:04 Aylear wrote:
Alright then. Interesting times.

1) A temporary fix is out.
      • Download afreeca.py (right-click and save as...) and place it in the plugins folder as specified in the OP
      • NOTE: Currently only Amazon AWS works! This is the reverse of previous!

2) Afreeca may be deliberately trying to break this and prevent it from working.

If they are trying to break it, it may be because people have used Streamlink to record videos from Afreeca to upload them elsewhere. If so then this is just a crackdown of one of the many ways this can be accomplished (and not even the simplest way), and therefore horribly misguided.

Plugin developers (the person who just created the fixed afreeca.py file in this post to be precise) have said that it should be a relatively simple (but time consuming) task to create a plugin that will always work. This means there should be a permanent fix eventually if one becomes necessary. In the meantime, here's hoping the current fix remains stable and that Afreeca stops trying to break this (if they are trying to).

Edit: Also if we're back to only one CDN, I'll update the .bat file appropriately. I'll wait a few days to see what the folks at Streamlink have to say about it though.

Edit 2: Added stuff about what may be happening to the plugin.


Aylear, hey... what's up guy? Are you any part of the Github community? I am the OP of the topic (issue) of https://github.com/streamlink/streamlink/issues/837

---
Mod edit: drama removed
Malkiyah
Profile Joined April 2012
Russian Federation92 Posts
September 15 2017 17:55 GMT
#394
Aylear, thanks, gj !
pheer
Profile Blog Joined July 2004
5390 Posts
September 15 2017 20:34 GMT
#395
Thanks for the update, Aylear.

10minute, thanks for starting the dev discussion on Github. Keep any nitpicks to PMs instead of mucking up this thread, thanks.
Moderator
10minute
Profile Joined September 2017
2 Posts
September 15 2017 20:48 GMT
#396
On September 16 2017 05:34 pheer wrote:
Thanks for the update, Aylear.

10minute, thanks for starting the dev discussion on Github. Keep any nitpicks to PMs instead of mucking up this thread, thanks.


Aww man... you guys do that here? All I did was respond to Aylear's Ultimate Warrior mode. I did no wrong doings nor was my original post offensive. It was his choice to take it offensively so I responded in his format. I guess.........
aya888888
Profile Joined September 2017
29 Posts
Last Edited: 2017-09-18 08:18:04
September 17 2017 09:22 GMT
#397
Hello Aylear, thanks for the software.

I found that some player stream on both Afreeca/Twitch/Youtube at the same time and the bat file auto choose Afreeca stream when type their name.

Twitch have best graphic quality when watching in the source quality so can people choose to watch from Twitch not Afreeca. May be people can type tw or yt after their nickname to choose twitch or youtube source

Ex:
last => afreeca
last tw => twitch


Afreeca graphic (source)
[image loading]

Twitch graphic (source)
[image loading]



I collect some player twitch source, hope it can help you

Last:
https://www.twitch.tv/last1225

Effort
https://www.twitch.tv/must_try

Hiya:
https://www.twitch.tv/sh890721

Iris
https://www.twitch.tv/bht02051

firebathero
https://www.twitch.tv/firebather

Reach
https://www.twitch.tv/reach831227

July
https://www.twitch.tv/selab11



Scan (always) and Reach (sometime) stream on youtube but link for live stream only show when they stream online

Their channel

Scan
https://www.youtube.com/channel/UC34QDcTmp8WInig_Hqto_6A

Last
https://www.youtube.com/channel/UCOTJtP0Z9DjpPU43B5m1V6A

Reach
https://www.youtube.com/channel/UCe0ewMqSTSahaUeOC_fIOwQ
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
September 17 2017 09:44 GMT
#398
Hi aya888888, thanks for the super constructive feedback! I'm glad the launcher is useful to people outside of TeamLiquid and I appreciate you signing up just to say this. =) I especially love that you made a list of Twitch/YouTube streams.

To be honest, I have been thinking about adding this functionality to the .bat file somehow, but the feature has been low priority so far because Twitch and YouTube streams tend to play perfectly well without Streamlink. This launcher exists because Afreeca as a service is often unwatchable for people outside of Korea, and Streamlink provides a good solution to that problem. If people want to watch pro players on Twitch or YouTube, it's probably easier to do that in the browser than booting up the command line.

I can poke at the .bat file a bit tomorrow if you really want this feature. I just didn't think anybody needed it.
TL+ Member
Shura
Profile Joined November 2010
France54 Posts
September 17 2017 10:07 GMT
#399
Tbh i'm even watching all twitch with that now xD
Idk i feel i'm lagging less and i can even watch in source !! (kind of crazy for me ahah)
Is there a difference in routing or something with it ?

Super thanks for this !
aya888888
Profile Joined September 2017
29 Posts
Last Edited: 2017-09-17 10:27:10
September 17 2017 10:22 GMT
#400
On September 17 2017 18:44 Aylear wrote:
Hi aya888888, thanks for the super constructive feedback! I'm glad the launcher is useful to people outside of TeamLiquid and I appreciate you signing up just to say this. =) I especially love that you made a list of Twitch/YouTube streams.

To be honest, I have been thinking about adding this functionality to the .bat file somehow, but the feature has been low priority so far because Twitch and YouTube streams tend to play perfectly well without Streamlink. This launcher exists because Afreeca as a service is often unwatchable for people outside of Korea, and Streamlink provides a good solution to that problem. If people want to watch pro players on Twitch or YouTube, it's probably easier to do that in the browser than booting up the command line.

I can poke at the .bat file a bit tomorrow if you really want this feature. I just didn't think anybody needed it.

Thanks for feedback. I think may be it is easier when you type player name and watch it than find their channel on twitch (or find him in bookmark) because most player use Korean in the title so it is hard to find them. And you can adjust video effect like brightness, sharpen ... with VLC.
Craton
Profile Blog Joined December 2009
United States17248 Posts
September 17 2017 21:17 GMT
#401
Yeah I use LS/SL w/ VLC for everything because web browsers are just orders of magnitude worse at playing streams than native players. It's generally not as noticeable if you're only watching one stream and not doing much else, but as soon as you've got a lot going on or are using a lower end PC it becomes very noticeable.
twitch.tv/cratonz
caokancc
Profile Joined November 2016
15 Posts
Last Edited: 2017-09-18 02:35:16
September 17 2017 23:21 GMT
#402
hi, afreeca.py is changed.

github.com-schrobby

need to fix "Starcraft Stream Viewer.bat”
change "set output="%cdn%"_"%quality%"" to " set output=""%quality%""


FlopTurnReaver
Profile Blog Joined January 2010
Switzerland1980 Posts
September 18 2017 15:01 GMT
#403
Am I the only one that doesn't have a "Plugins" folder in the Streamlink folder?
Check out @MapOfTheMonth on Twitter and under http://bit.ly/motmorg
aya888888
Profile Joined September 2017
29 Posts
September 18 2017 15:25 GMT
#404
On September 19 2017 00:01 FlopTurnReaver wrote:
Am I the only one that doesn't have a "Plugins" folder in the Streamlink folder?

May be it is "Streamlink\streamlink\plugins"
FlopTurnReaver
Profile Blog Joined January 2010
Switzerland1980 Posts
September 18 2017 17:08 GMT
#405
On September 19 2017 00:25 aya888888 wrote:
Show nested quote +
On September 19 2017 00:01 FlopTurnReaver wrote:
Am I the only one that doesn't have a "Plugins" folder in the Streamlink folder?

May be it is "Streamlink\streamlink\plugins"

It was actually under Streamlink/pkgs/streamlink

Thanks for the pointer!
Check out @MapOfTheMonth on Twitter and under http://bit.ly/motmorg
iCCup.Trent
Profile Joined May 2005
Argentina450 Posts
September 19 2017 07:04 GMT
#406
The streams website is giving me "Error occurred" right now.

< HTTP/1.1 200 OK
< Content-Type: text/html; charset=utf-8
< Cache-Control: no-cache
< X-Cloud-Trace-Context: e86dca9601e5a85718a77015f18a0d56;o=1
< Date: Tue, 19 Sep 2017 07:00:08 GMT
< Server: Google Frontend
< Content-Length: 14
< Alt-Svc: quic=":443"; ma=2592000; v="39,38,37,35"
<
* Connection #0 to host bwstreams.appspot.com left intact
Error occurred

If I could get some intuition on how we're checking that the stream is up or not (from the stream url), I'm happy to update a stream list on a public Github repo and we can make an open source "stream is up" checker that everyone can use locally.
Craton
Profile Blog Joined December 2009
United States17248 Posts
September 19 2017 07:44 GMT
#407
I just parse http://live.afreecatv.com:8057/api/main_broad_list_api.php?selectType=cate&pageNo=1 for mine.
twitch.tv/cratonz
Sihrtogg
Profile Joined September 2010
Netherlands29 Posts
September 19 2017 09:57 GMT
#408
"No playable streams found on this URL: afreeca.com/aslenglish"
This is while it's playing on http://play.afreecatv.com/ASLEnglish
Is there a fix yet?
aya888888
Profile Joined September 2017
29 Posts
September 19 2017 10:24 GMT
#409
On September 19 2017 18:57 Sihrtogg wrote:
"No playable streams found on this URL: afreeca.com/aslenglish"
This is while it's playing on http://play.afreecatv.com/ASLEnglish
Is there a fix yet?

Work well with me: asl2, asl3 and asl4 (FoV)

On September 15 2017 23:04 Aylear wrote:
Alright then. Interesting times.

1) A temporary fix is out.
      • Download afreeca.py (right-click and save as...) and place it in the plugins folder as specified in the OP
      • NOTE: Currently only Amazon AWS works! This is the reverse of previous!

2) Afreeca may be deliberately trying to break this and prevent it from working.

If they are trying to break it, it may be because people have used Streamlink to record videos from Afreeca to upload them elsewhere. If so then this is just a crackdown of one of the many ways this can be accomplished (and not even the simplest way), and therefore horribly misguided.

Plugin developers (the person who just created the fixed afreeca.py file in this post to be precise) have said that it should be a relatively simple (but time consuming) task to create a plugin that will always work. This means there should be a permanent fix eventually if one becomes necessary. In the meantime, here's hoping the current fix remains stable and that Afreeca stops trying to break this (if they are trying to).

Edit: Also if we're back to only one CDN, I'll update the .bat file appropriately. I'll wait a few days to see what the folks at Streamlink have to say about it though.

Edit 2: Added stuff about what may be happening to the plugin.

Suikakuju
Profile Joined July 2010
Germany238 Posts
September 21 2017 11:14 GMT
#410
I changed the new afreeca.py, but still get "No playble streams found" error message.
Laugh and the world laughs with you. Weep and you weep alone.
Drensa
Profile Joined August 2017
23 Posts
September 21 2017 11:29 GMT
#411
On September 21 2017 20:14 Suikakuju wrote:
I changed the new afreeca.py, but still get "No playble streams found" error message.

It worked for me this morning. Did you select Amazon AWS? Cause that's the one you should choose now, GSCDN doesn't work.
frogmelter
Profile Blog Joined April 2009
United States971 Posts
September 21 2017 12:26 GMT
#412
It isn't working for me either
TL+ Member
Suikakuju
Profile Joined July 2010
Germany238 Posts
September 21 2017 14:09 GMT
#413
On September 21 2017 20:29 Drensa wrote:
Show nested quote +
On September 21 2017 20:14 Suikakuju wrote:
I changed the new afreeca.py, but still get "No playble streams found" error message.

It worked for me this morning. Did you select Amazon AWS? Cause that's the one you should choose now, GSCDN doesn't work.



Yep, I choose Amazon AWS.
Laugh and the world laughs with you. Weep and you weep alone.
aFF]ZuluNAtion[
Profile Joined March 2009
Poland173 Posts
Last Edited: 2017-09-21 14:36:12
September 21 2017 14:11 GMT
#414
For me also, picked AWS.

Edit:Ok it works i had problem with folder permissions and files didnt overwite. Also, i need to enter name 2 times if i do "stork + enter" then i got answer the stream is off but when do it 2nd time it works.

Edit2: u need to enter second time stream name before error from first time shows.
AKA: Poezja[T4], Poegim
flashimba
Profile Joined May 2011
225 Posts
September 21 2017 16:21 GMT
#415
Hi all, author of bwstreams.appspot.com here. Apologies in advance if I am hijacking and/or off-topic.

I have released the source for bwstreams on github - https://github.com/rmcat/bwstreams. I do not have much time to work on it lately. I've updated some stream list, thanks to Aylear's post and the bat file.

For those that may be interested, the live data is available in json format at https://bwstreams.appspot.com/streams.json.

On September 15 2017 15:58 HiDrAWaRx wrote:
I haven't been able to watch any streams from this amazing develop (always getting the "error: No playable streams found on this url: [...]" even knowing someone is live ) since a guy posted this thread on blizz forum:
https://us.battle.net/forums/en/starcraft/topic/20758976068

Did they patched their service to make this unusable?

Edit: bwstreams app is not even working for me...

On September 19 2017 16:04 iCCup.Trent wrote:
The streams website is giving me "Error occurred" right now.

< HTTP/1.1 200 OK
< Content-Type: text/html; charset=utf-8
< Cache-Control: no-cache
< X-Cloud-Trace-Context: e86dca9601e5a85718a77015f18a0d56;o=1
< Date: Tue, 19 Sep 2017 07:00:08 GMT
< Server: Google Frontend
< Content-Length: 14
< Alt-Svc: quic=":443"; ma=2592000; v="39,38,37,35"
<
* Connection #0 to host bwstreams.appspot.com left intact
Error occurred

Sorry about this error. Seems that the site hit its daily quota. The quota resets approximately in 15 hours from the time of this post. I've updated the site to try workaround the problem, so let's see if that helps.

On September 19 2017 16:04 iCCup.Trent wrote:
If I could get some intuition on how we're checking that the stream is up or not (from the stream url), I'm happy to update a stream list on a public Github repo and we can make an open source "stream is up" checker that everyone can use locally.

afreeca.py may be of some help here.
HiDrAWaRx
Profile Joined March 2017
10 Posts
September 21 2017 17:39 GMT
#416
On September 22 2017 01:21 flashimba wrote:
Hi all, author of bwstreams.appspot.com here. Apologies in advance if I am hijacking and/or off-topic.

I have released the source for bwstreams on github - https://github.com/rmcat/bwstreams. I do not have much time to work on it lately. I've updated some stream list, thanks to Aylear's post and the bat file.

For those that may be interested, the live data is available in json format at https://bwstreams.appspot.com/streams.json.
Show nested quote +
On September 15 2017 15:58 HiDrAWaRx wrote:
I haven't been able to watch any streams from this amazing develop (always getting the "error: No playable streams found on this url: [...]" even knowing someone is live ) since a guy posted this thread on blizz forum:
https://us.battle.net/forums/en/starcraft/topic/20758976068

Did they patched their service to make this unusable?

Edit: bwstreams app is not even working for me...

Show nested quote +
On September 19 2017 16:04 iCCup.Trent wrote:
The streams website is giving me "Error occurred" right now.

< HTTP/1.1 200 OK
< Content-Type: text/html; charset=utf-8
< Cache-Control: no-cache
< X-Cloud-Trace-Context: e86dca9601e5a85718a77015f18a0d56;o=1
< Date: Tue, 19 Sep 2017 07:00:08 GMT
< Server: Google Frontend
< Content-Length: 14
< Alt-Svc: quic=":443"; ma=2592000; v="39,38,37,35"
<
* Connection #0 to host bwstreams.appspot.com left intact
Error occurred

Sorry about this error. Seems that the site hit its daily quota. The quota resets approximately in 15 hours from the time of this post. I've updated the site to try workaround the problem, so let's see if that helps.

Show nested quote +
On September 19 2017 16:04 iCCup.Trent wrote:
If I could get some intuition on how we're checking that the stream is up or not (from the stream url), I'm happy to update a stream list on a public Github repo and we can make an open source "stream is up" checker that everyone can use locally.

afreeca.py may be of some help here.


Thanks for taking time to response here!
There's no need to apologize or be sorry about anything man, i was just wondering if the whole thing wasn't working because afreeca was making restrictions but seems more like it hits it's daily quota.

The work around this amazing app it's huge and we understand how hard is it to make it work, and I don't think that there's even been much appreciation for what this website means.. We owe you guys so much!

p.s: It's currently working
Quincel
Profile Joined August 2012
119 Posts
Last Edited: 2017-09-24 10:19:55
September 24 2017 10:19 GMT
#417
Gah, can't get it to work and not sure why. Choosing Amazon not GCN (or whatever it's called). Changed the BAT output= as instructed above. Won't find the stream. Many thanks anyway.

Weird, it worked before for the Ro24.
wishbonesaka
Profile Joined June 2016
Canada117 Posts
September 25 2017 20:11 GMT
#418
Hey, is there any work arounds like this for Android??
AcMilan91
Profile Joined August 2017
105 Posts
September 27 2017 14:26 GMT
#419
No playable streams found on this URL: afreeca.com/Jaedong23 i am getting this all the time for every player
dark0dave
Profile Joined November 2010
179 Posts
Last Edited: 2017-09-27 19:47:55
September 27 2017 19:32 GMT
#420
Thanks, soo much.

Glorious, Linux system here.

Install streamlink. via pip:

 pip install -U streamlink 


I would suggest to use virtual env/ pipenv if you are an advanced user, if you are a normal python user then just use the above command.

I was having issues with play.afreecatv.com plugins. Stream wasn't loading etc.

Simply remove old python plugin for afreecatv here (In your pip install directory):

cd /usr/local/lib/python2.7/dist-packages/streamlink/plugins

sudo rm afreeca.pyc afreeca.py


pyc is compiled python code, best to remove both in case python uses the cached compiled file.

Then get the replacement file:

cd /usr/local/lib/python2.7/dist-packages/streamlink/plugins

sudo wget "http://liquestria.net/wp-content/uploads/2017/04/afreeca.py"



Now you are away!

streamlink http://play.afreecatv.com/bye1013 best &

The & sends it to the background, will not stop it from printing to the terminal. If you close the shell it will also close the streamlink process. Try using disown or nohup, if you want to keep the streamlink process open. See below for an example.

nohup streamlink http://play.afreecatv.com/bye1013 best &

Here we also forward standard out (text being written to the terminal) to a file called nohup.out and even if you close the terminal the streamlink process will continue to run.
What is dead may never die. BW forever.
Belladona
Profile Joined July 2009
Chile127 Posts
September 28 2017 11:59 GMT
#421
I get the error: "error: The available stream(s) 'aws_hd' could not be found. Available streams: live_hls, live (worst, best)"
BUT I DID PROPERLY REPLACED afreeca.py file!

Pls help.
ex ToT, ESC, mouz
Grettin
Profile Joined April 2010
42381 Posts
Last Edited: 2017-09-28 15:12:56
September 28 2017 15:12 GMT
#422
Has the timed out issue with Nightly build been fixed yet? Or does anyone know a fix for it?


error: Unable to open URL: http://sessionmanager01.afreeca.tv:6060/broad_stream_assign.html (HTTPConnectionPool(host='sessionmanager01.afreeca.tv', port=6060): Max retries exceeded with url: /broad_stream_assign.html?broad_key=196528521-flash-hd-rtmp&broad_no=196528521-mobile-hd-rtmp&cors_origin_url=m.afreeca.com&return_type=gs_cdn&use_cors=true (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x0429B130>, 'Connection to sessionmanager01.afreeca.tv timed out. (connect timeout=20.0)')))
"If I had force-fields in Brood War, I'd never lose." -Bisu
pheer
Profile Blog Joined July 2004
5390 Posts
October 16 2017 19:24 GMT
#423
Portable version has been updated in the OP and works with AWS again.
Moderator
hannibal007
Profile Joined October 2017
1 Post
Last Edited: 2017-10-17 13:03:17
October 17 2017 11:43 GMT
#424
Hello ,
I receive this for all afreeca streams and nothing happens https://i.gyazo.com/a4c2211198ce3c75fd8e1ff6b83fe294.png . It is just not working , I tried chrome, IE and Mozila.
* I know the thread is for streaming with VLC but I couldn`t find anywhere else to post it.
Toss_Master
Profile Joined June 2017
United States46 Posts
Last Edited: 2017-10-19 03:07:43
October 18 2017 21:41 GMT
#425
Edit I fixed my problem!
Connor5620
Profile Joined September 2011
Australia201 Posts
Last Edited: 2017-10-27 10:37:50
October 27 2017 10:22 GMT
#426
im somewhat able to get it working but i can't get passed the countdown (even after closing it) but i keep getting gs_original and gs_sd could not be found -

i go with 2 GSCDN and i get > error: The specified stream(s) 'gs_original' could not be found.
Available streams: aws_sd (worst), aws_hd, aws_original (best)

when i go with 1 Amazon AWS it works but only with twitch with afreeca i get the countdown i close and retry but the countdown keeps coming up? any insight? thank you
My Starcraft Youtube > https://www.youtube.com/@HomeofStarCraft
HiDrAWaRx
Profile Joined March 2017
10 Posts
October 27 2017 10:38 GMT
#427
On October 27 2017 19:22 Connor5620 wrote:
im somewhat able to get it working but i can't get passed the countdown (even after closing it) but i keep getting gs_original and gs_sd could not be found


If you mean this countdown:

[image loading]

All you have to do is wait for it to get to 0 (DON'T CLOSE IT) and then type the same data to open the stream again. Once the second vlc is open (which should be showing the stream you want to see) you can close the first one

[image loading]

[image loading]
Connor5620
Profile Joined September 2011
Australia201 Posts
Last Edited: 2017-10-27 13:54:49
October 27 2017 13:29 GMT
#428
On October 27 2017 19:38 HiDrAWaRx wrote:
Show nested quote +
On October 27 2017 19:22 Connor5620 wrote:
im somewhat able to get it working but i can't get passed the countdown (even after closing it) but i keep getting gs_original and gs_sd could not be found


All you have to do is wait for it to get to 0 (DON'T CLOSE IT) and then type the same data to open the stream again. Once the second vlc is open (which should be showing the stream you want to see) you can close the first one



ha oh noice this made a lot of sense especially to a dumb ass like me thank you <3
My Starcraft Youtube > https://www.youtube.com/@HomeofStarCraft
ZaaaaaM
Profile Joined March 2010
Netherlands1828 Posts
October 29 2017 10:01 GMT
#429
I've tried to set this up both on my laptop (W8) and pc (W10) and in either case it tells me my VLC should open up in 5-30 seconds but nothing ever happens, quite frustrated by now
no dude, the question
AncientSion
Profile Joined April 2017
72 Posts
October 29 2017 10:31 GMT
#430
Damn, its working again, after about one year where i couldnt get it to work.
Thanks !
foo12
Profile Joined October 2017
Hungary2 Posts
October 30 2017 15:56 GMT
#431
I just want to say how glad I am for this program
I like turtles.
Navane
Profile Blog Joined February 2007
Netherlands2748 Posts
October 31 2017 09:56 GMT
#432
Me too. It's soo good. Thanks for maintaining this!
porkRaven
Profile Joined December 2010
United States953 Posts
October 31 2017 10:15 GMT
#433
There's a reason you're in my quote.
SHOUTOUTS TO Aylear!!!
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
October 31 2017 10:41 GMT
#434
On October 31 2017 19:15 porkRaven wrote:
There's a reason you're in my quote.

It still makes me happy every time I see it, even though I figured you just forgot to change it post-SFIV. I appreciate it. <3
TL+ Member
snow2.0
Profile Joined September 2010
Germany2073 Posts
October 31 2017 16:47 GMT
#435
Is there any way to make watching VODs more bearable? I'm trying to catch up on Bisu vs Flash but it JUST WONT BUFFER
wait 2 min, watch 30 sec, stutters again so pause and wait...
HiDrAWaRx
Profile Joined March 2017
10 Posts
November 01 2017 03:34 GMT
#436
On November 01 2017 01:47 snow2.0 wrote:
Is there any way to make watching VODs more bearable? I'm trying to catch up on Bisu vs Flash but it JUST WONT BUFFER
wait 2 min, watch 30 sec, stutters again so pause and wait...


If you're trying to watch it at 1080p you may need to lower it to 720p. Far from that, i have no idea what could be causing you troubles..
You could try using a proxy too, but that's quite different
Chris_Havoc
Profile Joined August 2016
United States600 Posts
November 01 2017 04:17 GMT
#437
On November 01 2017 01:47 snow2.0 wrote:
Is there any way to make watching VODs more bearable? I'm trying to catch up on Bisu vs Flash but it JUST WONT BUFFER
wait 2 min, watch 30 sec, stutters again so pause and wait...


I highly recommend going with YouTube for any & all ASL VODs.
Owner of the SC2 Esports Anthology channel on YouTube: https://www.youtube.com/c/SC2EsportsAnthology
pheer
Profile Blog Joined July 2004
5390 Posts
Last Edited: 2017-11-01 12:49:42
November 01 2017 12:49 GMT
#438
If you are choosing AWS, it's hosted in USA. If you have lag streaming from Europe, either stick with the GSCDN server or watch youtube vods from Korhal instead:
http://www.teamliquid.net/forum/brood-war/495332-korhalinfopl-back
Moderator
odeSSa
Profile Joined November 2009
Sweden198 Posts
November 13 2017 12:44 GMT
#439
Does this work for Mac?
I can't get it to work. I've installed Streamlink with Homebrew and it works fine for twitch streams, but using an afreeca URL i get the following:

[cli][info] Found matching plugin afreeca for URL http://play.afreecatv.com/momo130
error: Unable to open URL: http://sessionmanager01.afreeca.tv:6060/broad_stream_assign.html (HTTPConnectionPool(host='sessionmanager01.afreeca.tv', port=6060): Max retries exceeded with url: /broad_stream_assign.html?cors_origin_url=m.afreeca.com&return_type=gs_cdn&broad_no=198003652-mobile-hd-rtmp&broad_key=198003652-flash-hd-rtmp&use_cors=true (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x1029834d0>, 'Connection to sessionmanager01.afreeca.tv timed out. (connect timeout=20.0)')))
pheer
Profile Blog Joined July 2004
5390 Posts
November 13 2017 13:11 GMT
#440
Can you try pinging sessionmanager01.afreeca.tv

Looks like your computer doesn't see the server at all.
Moderator
odeSSa
Profile Joined November 2009
Sweden198 Posts
November 13 2017 13:16 GMT
#441
Nah, I get "Request timeout for icmp_seq" 30 times. Guess that means that it does not see it? What could the problem be?
pheer
Profile Blog Joined July 2004
5390 Posts
Last Edited: 2017-11-13 14:55:39
November 13 2017 14:51 GMT
#442
Either your machine, your network, or your ISP is not allowing a connection to that server. First, see if other machines on your network can ping it. If not, then see if you can go around your router (hook directly into the modem) and ping it. If still not, then have a friend with the same ISP you have try to ping it. Once you find the point where you can ping the server, you can discover what it may be (outgoing firewall on your computer vs. firewall on router vs. ISP block)
Moderator
odeSSa
Profile Joined November 2009
Sweden198 Posts
November 14 2017 08:01 GMT
#443
Thanks, I will try that out!
s_k_911
Profile Joined August 2008
China361 Posts
November 25 2017 07:11 GMT
#444
nothting happed when I use .bat ...........
apm200 terran play for fun
HiDrAWaRx
Profile Joined March 2017
10 Posts
November 25 2017 23:25 GMT
#445
On November 25 2017 16:11 s_k_911 wrote:
nothting happed when I use .bat ...........


If you followed the steps correctly and it didn't work, try this:

http://www.teamliquid.net/forum/brood-war/512913-guide-watch-afreeca-sc-bw-streams-with-vlc?page=20#389
Toss_Master
Profile Joined June 2017
United States46 Posts
Last Edited: 2018-01-04 03:03:45
January 04 2018 02:37 GMT
#446
On September 15 2017 23:04 Aylear wrote:
Alright then. Interesting times.

1) A temporary fix is out.
      • Download afreeca.py (right-click and save as...) and place it in the plugins folder as specified in the OP
      • NOTE: Currently only Amazon AWS works! This is the reverse of previous!

2) Afreeca may be deliberately trying to break this and prevent it from working.

If they are trying to break it, it may be because people have used Streamlink to record videos from Afreeca to upload them elsewhere. If so then this is just a crackdown of one of the many ways this can be accomplished (and not even the simplest way), and therefore horribly misguided.

Plugin developers (the person who just created the fixed afreeca.py file in this post to be precise) have said that it should be a relatively simple (but time consuming) task to create a plugin that will always work. This means there should be a permanent fix eventually if one becomes necessary. In the meantime, here's hoping the current fix remains stable and that Afreeca stops trying to break this (if they are trying to).

Edit: Also if we're back to only one CDN, I'll update the .bat file appropriately. I'll wait a few days to see what the folks at Streamlink have to say about it though.

Edit 2: Added stuff about what may be happening to the plugin.


I tried and it still says Insufficient permissions and I tried manually copy/paste overwriting and it successfully overwrites but I still get the unavailable stream worst / best type error. What do I do ??? My error is The specified stream(s) 'gs_original ' could not be found. Available streams: aws_sd (worst), aws_hd, aws_original (best)

Nevermind I just realized that the CDN only works on Amazon AWS right now I was still trying the previous.
KoveN-
Profile Joined October 2004
Australia503 Posts
February 24 2018 02:16 GMT
#447
this working for anyone? I get no playable streams found for all streams..
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
February 24 2018 02:46 GMT
#448
Just tried it. Amazon AWS, connected to Flash and Larva, selected Source quality. Both played perfectly.
TL+ Member
SuperCyan
Profile Joined October 2017
Philippines67 Posts
March 02 2018 14:48 GMT
#449
is there a way for macOS users to watch AfreecaTV streams on VLC too? thank you!
BossPurple
Profile Joined May 2011
Sweden65 Posts
Last Edited: 2018-03-11 08:35:03
March 11 2018 08:20 GMT
#450
[image loading]

This is what I get when I try to run streams now, guess Afreeca is blocking?

Edit: Nvm, seems to work now, guess you just have to restart it a bunch.
prosatan
Profile Joined September 2009
Romania7994 Posts
March 11 2018 09:48 GMT
#451
What is happening ?? For me, all streams are black I can hear the players but i cannot see anything (( And ASL is starting ! HELP !!!!!
Lee JaeDong Fighting! The only church that illuminates is the one that burns.
2Pacalypse-
Profile Joined October 2006
Croatia9498 Posts
March 11 2018 09:58 GMT
#452
On March 11 2018 18:48 prosatan wrote:
What is happening ?? For me, all streams are black I can hear the players but i cannot see anything (( And ASL is starting ! HELP !!!!!

Try switching to the Flash player. For some reason HTML5 player stopped working for me as well.
Moderator"We're a community of geniuses because we've found how to extract 95% of the feeling of doing something amazing without actually doing anything." - Chill
Shock710
Profile Blog Joined December 2009
Australia6097 Posts
March 11 2018 09:59 GMT
#453
On March 11 2018 18:58 2Pacalypse- wrote:
Show nested quote +
On March 11 2018 18:48 prosatan wrote:
What is happening ?? For me, all streams are black I can hear the players but i cannot see anything (( And ASL is starting ! HELP !!!!!

Try switching to the Flash player. For some reason HTML5 player stopped working for me as well.

yeah that was strange i only work it out today, spent like 30mins having a tab of jaedongs black stream on cause i thought he was just doing some technical stuff in the background...
dAPhREAk gives Shock a * | [23:55] <Shock710> that was out of context -_- [16:26] <@motbob> Good question, Shock!
HiDrAWaRx
Profile Joined March 2017
10 Posts
Last Edited: 2018-03-12 01:19:31
March 12 2018 01:16 GMT
#454
For the ones who get a countdown like this:
On March 11 2018 17:20 BossPurple wrote:
[image loading]

This is what I get when I try to run streams now, guess Afreeca is blocking?

Try this:
http://www.teamliquid.net/forum/brood-war/512913-guide-watch-afreeca-sc-bw-streams-with-vlc?page=22#427

For the ones who can't make it work
Try this:
http://www.teamliquid.net/forum/brood-war/512913-guide-watch-afreeca-sc-bw-streams-with-vlc?page=20#389
Wonk
Profile Joined March 2017
546 Posts
March 23 2018 00:26 GMT
#455
Quick question. I've been using this for ages but I've never been sure - does viewing this through VLC still give viewer counts to the afreeca stream? I've always wondered and I hate to think I'm not doing my bit.
crbox
Profile Joined August 2010
Canada1180 Posts
March 23 2018 00:30 GMT
#456
On March 23 2018 09:26 Wonk wrote:
Quick question. I've been using this for ages but I've never been sure - does viewing this through VLC still give viewer counts to the afreeca stream? I've always wondered and I hate to think I'm not doing my bit.


My guess would be no
Wonk
Profile Joined March 2017
546 Posts
March 23 2018 22:55 GMT
#457
On March 23 2018 09:30 crbox wrote:
Show nested quote +
On March 23 2018 09:26 Wonk wrote:
Quick question. I've been using this for ages but I've never been sure - does viewing this through VLC still give viewer counts to the afreeca stream? I've always wondered and I hate to think I'm not doing my bit.


My guess would be no


Damn, I hope that's not true. Hopefully they'll keep an eye on the youtube views as well. Thanks!
Sihrtogg
Profile Joined September 2010
Netherlands29 Posts
Last Edited: 2018-06-17 11:12:48
June 17 2018 11:11 GMT
#458
On March 12 2018 10:16 HiDrAWaRx wrote:
For the ones who get a countdown like this:
Show nested quote +
On March 11 2018 17:20 BossPurple wrote:
[image loading]

This is what I get when I try to run streams now, guess Afreeca is blocking?

Try this:
http://www.teamliquid.net/forum/brood-war/512913-guide-watch-afreeca-sc-bw-streams-with-vlc?page=22#427

For the ones who can't make it work
Try this:
http://www.teamliquid.net/forum/brood-war/512913-guide-watch-afreeca-sc-bw-streams-with-vlc?page=20#389


I ran into this error watching Piano 2v2 3v3 SL (organ333). The stream would open the second time, but only run for 2-5 seconds before the screen freezes and I am looking at a screenshot with commentary continuing. I already have the .py fix installed, do I need to switch back to the old one?

It has worked for me all throughout ASL, has something changed since then?
Navane
Profile Blog Joined February 2007
Netherlands2748 Posts
June 17 2018 11:56 GMT
#459
Just letting you know I watched Britneys MPL with this and it worked flawlessly
HiDrAWaRx
Profile Joined March 2017
10 Posts
June 18 2018 06:25 GMT
#460
On June 17 2018 20:11 Sihrtogg wrote:
Show nested quote +
On March 12 2018 10:16 HiDrAWaRx wrote:
For the ones who get a countdown like this:
On March 11 2018 17:20 BossPurple wrote:
[image loading]

This is what I get when I try to run streams now, guess Afreeca is blocking?

Try this:
http://www.teamliquid.net/forum/brood-war/512913-guide-watch-afreeca-sc-bw-streams-with-vlc?page=22#427

For the ones who can't make it work
Try this:
http://www.teamliquid.net/forum/brood-war/512913-guide-watch-afreeca-sc-bw-streams-with-vlc?page=20#389


I ran into this error watching Piano 2v2 3v3 SL (organ333). The stream would open the second time, but only run for 2-5 seconds before the screen freezes and I am looking at a screenshot with commentary continuing. I already have the .py fix installed, do I need to switch back to the old one?

It has worked for me all throughout ASL, has something changed since then?

I've had troubles certain days when the streams won't open for timeout request but nothing like that..

The old .py may not work since the fix was made because it didn't, so i would say no but you could try.
However, you should try:
-Leaving both, the first vlc(the one who gets the countdown to 0) and second (with the stream going) opened.
-Lowering the quality to see if it works (could be a network fck-up)
-Reinstalling vlc(+updating the file path for it to open)
-& for last try again going from 0 (reinstalling everything this feature needs).

If all that doesn't work you should give extra info (detailed ScreenShots or some clip) to check out for some help.


****Just To Remember****
For the ones who get a countdown like this:
On March 11 2018 17:20 BossPurple wrote:
[image loading]

This is what I get when I try to run streams now, guess Afreeca is blocking?

Try this:
http://www.teamliquid.net/forum/brood-war/512913-guide-watch-afreeca-sc-bw-streams-with-vlc?page=22#427

For the ones who can't make it work
Try this:
http://www.teamliquid.net/forum/brood-war/512913-guide-watch-afreeca-sc-bw-streams-with-vlc?page=20#389

KoveN-
Profile Joined October 2004
Australia503 Posts
June 18 2018 13:05 GMT
#461
Anyone get "This service is not available in your region." when trying to watch all afreeca bw streams? First time I've seen this
Dante08
Profile Blog Joined February 2008
Singapore4126 Posts
Last Edited: 2018-06-18 13:12:28
June 18 2018 13:11 GMT
#462
Yeah I noticed that too, most likely cause they are streaming the World Cup and it's not licensed to be streamed outside of Korea. Whole of Korea is watching I think.
Coffeeling
Profile Blog Joined November 2010
Finland250 Posts
June 18 2018 15:18 GMT
#463
I've found MPV ( https://mpv.io/ ) to be better than VLC. It has a less robust GUI and very different keyboard shortcuts, but is a better player otherwise in my experience. Works fine with Streamlink, too.
Squee
byj
Profile Joined November 2015
494 Posts
June 18 2018 23:07 GMT
#464
On June 19 2018 00:18 Coffeeling wrote:
I've found MPV ( https://mpv.io/ ) to be better than VLC. It has a less robust GUI and very different keyboard shortcuts, but is a better player otherwise in my experience. Works fine with Streamlink, too.

You can manually change your keyboard shortcuts, here are mine, somewhat similar to VLC:
https://my.mixtape.moe/jgavnc.conf just copy it into your mpv folder and it'll work
Really worth looking into mpv.conf too
cndaks
Profile Joined June 2012
United States95 Posts
June 23 2018 15:40 GMT
#465
can someone re upload the links and how to get this to work?
HiDrAWaRx
Profile Joined March 2017
10 Posts
June 24 2018 15:03 GMT
#466
On June 24 2018 00:40 cndaks wrote:
can someone re upload the links and how to get this to work?


On March 12 2018 10:16 HiDrAWaRx wrote:
For the ones who get a countdown like this:
Show nested quote +
On March 11 2018 17:20 BossPurple wrote:
[image loading]

This is what I get when I try to run streams now, guess Afreeca is blocking?

Try this:
http://www.teamliquid.net/forum/brood-war/512913-guide-watch-afreeca-sc-bw-streams-with-vlc?page=22#427

For the ones who can't make it work
Try this:
http://www.teamliquid.net/forum/brood-war/512913-guide-watch-afreeca-sc-bw-streams-with-vlc?page=20#389
Sihrtogg
Profile Joined September 2010
Netherlands29 Posts
June 27 2018 11:44 GMT
#467
On June 18 2018 15:25 HiDrAWaRx wrote:
Show nested quote +
On June 17 2018 20:11 Sihrtogg wrote:
The stream would open the second time, but only run for 2-5 seconds before the screen freezes and I am looking at a screenshot with commentary continuing.


However, you should try:
(...)
-Lowering the quality to see if it works (could be a network fck-up)

This fixed it, after I ran into the same problem today with the KCM Race Survival stream. What can I conclude from this? Has my connection with the Afreeca CDN server been worsened somehow since ASL5?
Malkiyah
Profile Joined April 2012
Russian Federation92 Posts
November 17 2018 16:04 GMT
#468
Pls find below the fix for countdown timer (15 sec) while openings the streams.
https://github.com/streamlink/streamlink/issues/2061#issuecomment-420941383

or download directly hls.py file and put it into C:\Program Files (x86)\Streamlink\pkgs\streamlink\stream folder
Nematocyst
Profile Joined October 2017
United States164 Posts
November 18 2018 18:20 GMT
#469
On November 18 2018 01:04 Malkiyah wrote:
Pls find below the fix for countdown timer (15 sec) while openings the streams.
https://github.com/streamlink/streamlink/issues/2061#issuecomment-420941383

or download directly hls.py file and put it into C:\Program Files (x86)\Streamlink\pkgs\streamlink\stream folder

Excellent. One less irritant always a good thing.
Scaramanga
Profile Blog Joined March 2008
Australia8090 Posts
December 24 2018 13:49 GMT
#470
Can someone reupload the afreeca.py file? I tried to download from the links here and neither link worked.
Loda talked about the fun counter, it's AdmiralBulldog on his natures prophet
goody153
Profile Blog Joined April 2013
44111 Posts
Last Edited: 2018-12-24 16:55:38
December 24 2018 16:48 GMT
#471
On December 24 2018 22:49 Scaramanga wrote:
Can someone reupload the afreeca.py file? I tried to download from the links here and neither link worked.

There is one on zip that is available on the post itselt(under the Troubleshooting & FAQ
just look for the "download" question) but that afreeca.py file doesn't work for me.

Also trying to make this work.
this is a quote
Nematocyst
Profile Joined October 2017
United States164 Posts
Last Edited: 2018-12-24 17:06:07
December 24 2018 16:59 GMT
#472
I used this method regularly in Linux. Worked great up until roughly a month ago. Haven't been able to connect to a stream since. Went back to browser, expecting there'd be a fix/discussion here. It's not a huge problem for me or I'd have dug up this thread. But yeah, I'm having problems also.

Probably should also mention there was a script fix to omit the irritating countdown, which I applied. Everything was working great, then a short time later (perhaps a week), wasn't able to connect anymore.
letian
Profile Blog Joined May 2010
Germany4221 Posts
December 24 2018 17:57 GMT
#473
I will update the Linux "afreeca.py" version once the streamlink devs fix it.
Scaramanga
Profile Blog Joined March 2008
Australia8090 Posts
December 25 2018 07:36 GMT
#474
On December 25 2018 01:48 goody153 wrote:
Show nested quote +
On December 24 2018 22:49 Scaramanga wrote:
Can someone reupload the afreeca.py file? I tried to download from the links here and neither link worked.

There is one on zip that is available on the post itselt(under the Troubleshooting & FAQ
just look for the "download" question) but that afreeca.py file doesn't work for me.

Also trying to make this work.

Doesn't work for me either, the rest of the dl links are broken
If anyone has this working and could upload the latest afreeca.py file that'd be very much appreciated, I'm missing having streams on my second monitor.
Loda talked about the fun counter, it's AdmiralBulldog on his natures prophet
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
December 25 2018 11:12 GMT
#475
Wow, there's suddenly lots of activity in this thread.

Sorry everyone, I'm currently in the middle of a reformat/reinstall. My GPU is also fried and I need to send it in for service. On top of that I'm spending time with mom/family for Christmas.

I still have all the StarCraft stream viewer folders on my old hard drive, but I'll need to copy them all over to the new system. I'll try to update everything once I have some time. I can't do anything about the broken links right now though -- half of them (such as the portable download one) were hosted by other people.
TL+ Member
goody153
Profile Blog Joined April 2013
44111 Posts
December 26 2018 13:44 GMT
#476
On December 25 2018 20:12 Aylear wrote:
Wow, there's suddenly lots of activity in this thread.

Sorry everyone, I'm currently in the middle of a reformat/reinstall. My GPU is also fried and I need to send it in for service. On top of that I'm spending time with mom/family for Christmas.

I still have all the StarCraft stream viewer folders on my old hard drive, but I'll need to copy them all over to the new system. I'll try to update everything once I have some time. I can't do anything about the broken links right now though -- half of them (such as the portable download one) were hosted by other people.

Thanks for the hardwork for the community btw. I'll just be waiting in the meantime and just check youtube vods of the afreeca streams in the meantime instead.
this is a quote
aya888888
Profile Joined September 2017
29 Posts
Last Edited: 2019-02-11 16:43:57
February 11 2019 16:41 GMT
#477
Hello Aylear. I can't watch Afreeca SC streams with VLC now because it's out of date. Thanks god they stream ASL7 with youtube not only afreeca (lag as hell when I watch with browser).

Streamlink release their lastest version 1.0.0 and hope we can have update working version of your work in future. Thank you.

Ikirouta
Profile Blog Joined November 2017
Finland727 Posts
February 12 2019 10:43 GMT
#478
On February 12 2019 01:41 aya888888 wrote:
Hello Aylear. I can't watch Afreeca SC streams with VLC now because it's out of date. Thanks god they stream ASL7 with youtube not only afreeca (lag as hell when I watch with browser).

Streamlink release their lastest version 1.0.0 and hope we can have update working version of your work in future. Thank you.



I use streamlink and it works perfectly for me?
Pusan fan #1, bad sair/reaver enthuisiast. twitch.tv/ikirouta
caokancc
Profile Joined November 2016
15 Posts
February 12 2019 12:34 GMT
#479
streamlink play.afreecatv.com/username best
Nematocyst
Profile Joined October 2017
United States164 Posts
Last Edited: 2019-04-01 19:22:58
April 01 2019 18:32 GMT
#480
Is there a way to watch vods with VLC?

VLC works well for me livestream, but lately using a browser I've been getting "There was an error with the video." every time I watch afreeca vods. The audio keeps playing though.

I have successfully downloaded them using youtube-dl in order to watch them, but this is inconvenient.
Scaramanga
Profile Blog Joined March 2008
Australia8090 Posts
April 03 2019 11:28 GMT
#481
anyone still use this and have the afreeca.py file they'd like to share? my setup stopped working and i tried to reinstall but the download links aren't working
pls send help i can't watch afreeca streams any other way
Loda talked about the fun counter, it's AdmiralBulldog on his natures prophet
[Fin]Vittu
Profile Blog Joined March 2008
Canada507 Posts
April 03 2019 11:53 GMT
#482
On April 03 2019 20:28 Scaramanga wrote:
anyone still use this and have the afreeca.py file they'd like to share? my setup stopped working and i tried to reinstall but the download links aren't working
pls send help i can't watch afreeca streams any other way


https://pastebin.com/V5qUJmSS
The "Finnish Metal Terran"
chandoidibui
Profile Joined June 2010
Vietnam2 Posts
September 17 2019 03:35 GMT
#483
I just try to follow all steps on page 1, with latest VLC & Streamlink version.
the file on step 3 and 4 seems not working and old version.
any suggestions?

Tôi yêu các bạn
llIH
Profile Joined June 2011
Norway2143 Posts
Last Edited: 2020-04-02 14:41:16
April 02 2020 14:41 GMT
#484
I can't run the launcher because it is .pyw file
att
Profile Joined March 2020
128 Posts
Last Edited: 2020-05-04 18:01:54
May 04 2020 18:01 GMT
#485
Anyone with linux got problems with this? Mine keeps saying
afreeca_vlc.sh: 13: afreeca_vlc.sh: Syntax error: "(" unexpected

I tried to fix by changing the afreeca.py file but the path that it suggests on github ( /usr/lib/python3.6/site-packages/streamlink/plugins/afreeca.py ) doesnt exist on my computer. I suspect the bug isnt even caused by the afreeca python file but something else in the shell script
Normal
Please log in or register to reply.
Live Events Refresh
FEL
15:00
Polish Championship - Playoffs
Elazer vs SpiritLIVE!
Gerald vs MaNa
IndyStarCraft 276
CranKy Ducklings189
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
IndyStarCraft 276
Hui .240
Vindicta 93
BRAT_OK 93
StarCraft: Brood War
EffOrt 1503
Larva 979
BeSt 901
firebathero 865
Mini 365
Nal_rA 161
Barracks 115
Dewaltoss 114
GoRush 68
Sea.KH 49
[ Show more ]
Shinee 39
Movie 37
Aegong 33
Terrorterran 32
IntoTheRainbow 9
SilentControl 8
Dota 2
Gorgc9879
qojqva3840
League of Legends
Dendi1137
Heroes of the Storm
Khaldor826
Liquid`Hasu503
Other Games
tarik_tv45657
gofns20685
FrodaN7782
singsing2663
B2W.Neo1575
shahzam628
KnowMe263
ToD82
RotterdaM31
Rex20
Organizations
Other Games
EGCTV1435
StarCraft: Brood War
Kim Chul Min (afreeca) 10
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• HeavenSC 47
• Adnapsc2 19
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• Ler118
League of Legends
• Nemesis5485
Upcoming Events
BSL20 Non-Korean Champi…
2h 23m
Bonyth vs Dewalt
QiaoGege vs Dewalt
Hawk vs Bonyth
Sziky vs Fengzi
Mihu vs Zhanhun
QiaoGege vs Zhanhun
Fengzi vs Mihu
Wardi Open
19h 23m
Replay Cast
1d 18h
WardiTV European League
2 days
PiGosaur Monday
2 days
uThermal 2v2 Circuit
3 days
Replay Cast
3 days
The PondCast
3 days
Replay Cast
4 days
Epic.LAN
4 days
[ Show More ]
CranKy Ducklings
5 days
Epic.LAN
5 days
BSL20 Non-Korean Champi…
6 days
Bonyth vs Sziky
Dewalt vs Hawk
Hawk vs QiaoGege
Sziky vs Dewalt
Mihu vs Bonyth
Zhanhun vs QiaoGege
QiaoGege vs Fengzi
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

KCM Race Survival 2025 Season 2
HSC XXVII
NC Random Cup

Ongoing

JPL Season 2
BSL 2v2 Season 3
Acropolis #3
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Jiahua Invitational
2025 ACS Season 2: Qualifier
BSL20 Non-Korean Championship
Championship of Russia 2025
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters

Upcoming

CSL Xiamen Invitational
CSL Xiamen Invitational: ShowMatche
2025 ACS Season 2
CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
BSL Season 21
K-Championship
RSL Revival: Season 2
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
Underdog Cup #2
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.