Plugin Albavision: Peruvian channels ATV and ATVMas not working
See original GitHub issueChecklist
- This is a plugin issue and not a different kind of issue
- I have read the contribution guidelines
- I have checked the list of open and recently closed plugin issues
- I have checked the commit log of the master branch
Streamlink version
Latest stable release
Description
Could someone please have a look at the plugin “albavision”? The channels ATV and ATVMás don’t start. The URLs have slightly changed, but according to the error message in the log, there must be a bigger problem (fetching the token fails).
Debug log
C:\Users\malvinas2>streamlink http://www.atv.pe/envivo/ATVMas
[cli][debug] OS: Windows 10
[cli][debug] Python: 3.9.8
[cli][debug] Streamlink: 3.0.3
[cli][debug] Requests(2.26.0), Socks(1.7.1), Websocket(1.2.1)
[cli][debug] Arguments:
[cli][debug] url=http://www.atv.pe/envivo/ATVMas
[cli][debug] --loglevel=debug
[cli][debug] --player="D:\VideoLAN\VLC\vlc.exe" --file-caching=5000
[cli][debug] --ffmpeg-ffmpeg=C:\Program Files (x86)\Streamlink\ffmpeg\ffmpeg.exe
[cli][info] Found matching plugin albavision for URL http://www.atv.pe/envivo/ATVMas
Traceback (most recent call last):
File "runpy.py", line 197, in _run_module_as_main
File "runpy.py", line 87, in _run_code
File "C:\Program Files (x86)\Streamlink\bin\streamlink.exe\__main__.py", line 18, in <module>
File "C:\Program Files (x86)\Streamlink\pkgs\streamlink_cli\main.py", line 1056, in main
handle_url()
File "C:\Program Files (x86)\Streamlink\pkgs\streamlink_cli\main.py", line 565, in handle_url
streams = fetch_streams(plugin)
File "C:\Program Files (x86)\Streamlink\pkgs\streamlink_cli\main.py", line 459, in fetch_streams
return plugin.streams(stream_types=args.stream_types,
File "C:\Program Files (x86)\Streamlink\pkgs\streamlink\plugin\plugin.py", line 336, in streams
ostreams = self._get_streams()
File "C:\Program Files (x86)\Streamlink\pkgs\streamlink\plugins\albavision.py", line 104, in _get_streams
token = self._get_token(channelnumber)
File "C:\Program Files (x86)\Streamlink\pkgs\streamlink\plugins\albavision.py", line 80, in _get_token
token_url = self._get_token_url(channelnumber)
File "C:\Program Files (x86)\Streamlink\pkgs\streamlink\plugins\albavision.py", line 49, in _get_token_url
token = self._get_live_url_token(channelnumber)
File "C:\Program Files (x86)\Streamlink\pkgs\streamlink\plugins\albavision.py", line 74, in _get_live_url_token
log.debug("Token input: {0}".format(m[channelnumber]))
IndexError: list index out of range
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (9 by maintainers)
Top Results From Across the Web
Grupo ATV - Wikipedia
Grupo ATV is a media conglomerate Peruvian television communication company created in 2006, which is owned by the conglomerate Albavisión television, ...
Read more >Plugins - Streamlink 5.1.2+8.g9b19e62e documentation
This is a list of the currently built-in plugins and what URLs and features ... Japanese live TV streaming website with multiple channels...
Read more >ATV (Peruvian TV channel) - Wikiwand
Type, Television network. Country, Peru. Programming. Picture format, 1080i HDTV. Ownership. Owner, Grupo ATV (Albavision). History.
Read more >Grupo ATV (Albavisión) - Media Ownership Monitor Argentina
Grupo ATV (Albavisión). The ATV Group is a Peruvian conglomerate of television channels whose leading company is Andina de Radiodifusión (ATV), ...
Read more >ATV - Channel 9 - LimaEasy
ATV or Channel 9 is a very popular channel in Peru broadcasting foreign movies, miniseries, telenovelas and soaps.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think I will change the string
This stream may not be available in your country
toThis stream may be off-air or not available in your country
.That’s good to hear.
Hmm, yeah, I’m seeing the same thing via the plugin and also in-browser with a .
gt
proxy. I’m using open proxies, so it’s hard to know if that’s an issue. Using any proxy service rather than a residential IP for a country can be a potential problem.I can’t see any references to the player in the returned HTML for that channel right now either. At least the plugin is doing the right thing. There’s so much inconsistency here from one day to another; it’s baffling! That channel played when I tested it, both in-browser and via the plugin using a
.cr
proxy.I think the best that can be done is to leave the plugin (other than the string change I mentioned above) as is and hope any issues raised in the future come from people using local residential IPs rather than proxies.
Thanks again for your help and feedback. You’ll probably get different results if you check these channels again at some point in the future! 😃
‘El Nueve’, an argentinian TV-channel included in the Albavision-plugin, can also be used without a token: https://d2r6nlw8e5ph9i.cloudfront.net/elnueve/smil:elnueve.smil/playlist.m3u8