chrippa / livestreamer

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

AfreecaTV service changed,plugin fixed. #1374

Open trocknet opened 8 years ago

trocknet commented 8 years ago

change afreeca.py from CHANNEL_INFO_URL = "http://live.afreeca.com:8057/api/get_broad_state_list.php" to CHANNEL_INFO_URL = "http://live.afreecatv.com:8057/api/get_broad_state_list.php"

tenminute commented 8 years ago

THANKS!!!

didsburydan commented 8 years ago

Sorry, complete newbie here. How do I change afreeca.py? Step by step please. Thanks in advance.

MasonMa-sy commented 8 years ago

if your OS is Windows,you need to download the afreeca.py form here,change it and use python tools to transform py to pyc,then put the afreeca.pyc to here. Livestreamer\livestreamer-1.12.2-py2.7.egg\livestreamer\plugins. also thanks.

tolga9009 commented 8 years ago

No need to compile py to pyc. Just do the following:

  1. Download afreeca.py from latest master, link: https://raw.githubusercontent.com/chrippa/livestreamer/ab80dbd6560f6f9835865b2fc9f9c6015aee5658/src/livestreamer/plugins/afreeca.py
  2. Do the modifications like @trocknet stated in first post.
  3. Navigate to %Livestreamer Install Path%\livestreamer-1.12.2-py2.7.egg\livestreamer\plugins
  4. Rename or delete afreeca.pyc in this folder.
  5. Move afreeca.py to this folder.
AleXoundOS commented 8 years ago

@trocknet, thank you very much, your fixes are essential as usual:) Pull Request: #1401

There is also a different Pull Request #1383 related to recent changes in afreeca service. But I'm not sure how it affects the behavior of plugin.