streamlink: plugins.viasat: Cannot play some shows

Checklist

Streamlink version

Latest build from the master branch

Description

Some links/streams do not work.

This works:

https://www.viafree.se/program/underhallning/masterchef/sasong-15/avsnitt-1

This doesn’t:

https://www.viafree.se/program/livsstil/lyxfallan/sasong-30/avsnitt-1

It looks like the URL pattern is similar so the problem must go deeper.

Will try and debug.

Debug log

[gustaf@tuxtop bin]$ streamlink --loglevel debug https://www.viafree.se/program/livsstil/lyxfallan/sasong-30/avsnitt-1 best
[cli][info] Loaded config from deprecated path, see CLI docs for how to migrate: /home/gustaf/.streamlinkrc
[cli][debug] OS:         Linux-5.13.4-200.fc34.x86_64-x86_64-with-glibc2.33
[cli][debug] Python:     3.9.6
[cli][debug] Streamlink: 2.1.2+164.g24c59a2
[cli][debug] Requests(2.26.0), Socks(1.7.1), Websocket(1.1.0)
[cli][debug] Arguments:
[cli][debug]  url=https://www.viafree.se/program/livsstil/lyxfallan/sasong-30/avsnitt-1
[cli][debug]  stream=['best']
[cli][debug]  --loglevel=debug
[cli][debug]  --player=mpv --vf=vdpaupp=denoise=0.3:deint-mode=temporal-spatial:sharpen=0.5
[cli][info] Found matching plugin viasat for URL https://www.viafree.se/program/livsstil/lyxfallan/sasong-30/avsnitt-1
error: No playable streams found on this URL: https://www.viafree.se/program/livsstil/lyxfallan/sasong-30/avsnitt-1

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 18 (18 by maintainers)

Most upvoted comments

Hello friends.

I have now made a new plugin for viafree that works great in the standard case. However I am having trouble with the subtitles if --mux-subtitles is provided.

This is the output I get:

[cli][info] Found matching plugin viafree for URL https://www.viafree.se/program/underhallning/lyxfallan/sasong-30/avsnitt-1
[cli][info] Available streams: 98k (worst), 180p, 288p, 360p, 540p, 720p, 1080p (best)
[cli][info] Opening stream: 1080p (muxed-stream)
[utils.named_pipe][info] Creating pipe streamlinkpipe-16615-1-4940
[utils.named_pipe][info] Creating pipe streamlinkpipe-16615-2-1798
[utils.named_pipe][info] Creating pipe streamlinkpipe-16615-3-7088
[utils.named_pipe][info] Creating pipe streamlinkpipe-16615-4-4797
[cli][info] Starting player: mpv
[stream.ffmpegmux][error] Pipe copy aborted: /tmp/streamlinkpipe-16615-3-7088
[file] Reading from stdin...
[stream.ffmpegmux][error] Pipe copy aborted: /tmp/streamlinkpipe-16615-1-4940
[stream.ffmpegmux][error] Pipe copy aborted: /tmp/streamlinkpipe-16615-2-1798
[cli][info] Stream ended
[mkv] Unexpected end of file (no clusters found)

Exiting... (Quit)
[cli][info] Closing currently open stream...

Not sure what is wrong. Doesn’t say much to me. I use the same syntax as in the svtplay plugin. Some plugins also provide some meta data to MuxedStream and I haven’t figured out what that is used for yet. Well, at least I am nearly done.

I have started to go over this and check what needs to be done.

The following seem to be deprecated services:

  • tv6play.no
  • juicyplay.dk
  • tvplay.skaties.lv -> should now be tv3play.skaties.lv

So we can exclude them.

tv3play.skaties.lv is the same underlying service as play.tv3.ee.

So we only have two different site/service implementations left to support this plugin.

However, I have confirmed that the plugin doesn’t seem to work for anything but viafree right now.

I might even suggest we split these into two different plugins. One for viafree and one for tv3play depending on how the stream lookup turns out. Then flash and the deprecated dependencies are removed in the process.

This plugin will likely require a full review across all its supported sites due to #4040, by the way.