Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to parse JSON - Svtplay #1258

Open
MR-2 opened this issue Mar 22, 2016 · 3 comments · May be fixed by #1375
Open

Unable to parse JSON - Svtplay #1258

MR-2 opened this issue Mar 22, 2016 · 3 comments · May be fixed by #1375

Comments

@MR-2
Copy link

MR-2 commented Mar 22, 2016

I'm getting the same error message for for both SVT1 and SVT2 at svtplay.se/kanaler
{ "error": "Unable to parse JSON: No JSON object could be decoded (u'<!DOCTYPE html>\\n<!--[if (lte IE ...)" }

I have the most recent version of livestreamer.

@MR-2
Copy link
Author

MR-2 commented Mar 26, 2016

Must have been some temporary issue from SVT's part it works now.

@MR-2 MR-2 closed this as completed Mar 26, 2016
@MR-2
Copy link
Author

MR-2 commented Jun 22, 2016

None of the svtplay live streams are supported any longer since they have change their structure permanently. Source

@MR-2 MR-2 reopened this Jun 22, 2016
@ghost
Copy link

ghost commented Jun 28, 2016

SVT1 and SVT2 at svtplay.se/kanaler

  • SVT1
livestreamer "hlsvariant://https://svt10-lh.akamaihd.net/i/svt10_0@77505/master.m3u8" best
[cli][info] Found matching plugin stream for URL hlsvariant://https://svt10-lh.akamaihd.net/i/svt10_0@77505/master.m3u8
[cli][info] Available streams: 288p (worst), 432p, 576p, 720p (best)
[cli][info] Opening stream: 720p (hls)
Video: MPEG4 Video (H264) 1280x720 25fps [V: h264 main L3.1, yuv420p, 1280x720]
Audio: AAC 48000Hz stereo 94kbps [A: aac lc, 48000 Hz, stereo, 94 kb/s]
  • SVT2
livestreamer "hlsvariant://https://svt12-lh.akamaihd.net/i/svt12_0@77507/master.m3u8" best
[cli][info] Found matching plugin stream for URL hlsvariant://https://svt12-lh.akamaihd.net/i/svt12_0@77507/master.m3u8
[cli][info] Available streams: 288p (worst), 432p, 576p, 720p (best)
[cli][info] Opening stream: 720p (hls)
Video: MPEG4 Video (H264) 1280x720 25fps [V: h264 main L3.1, yuv420p, 1280x720]
Audio: AAC 48000Hz stereo 89kbps [A: aac lc, 48000 Hz, stereo, 89 kb/s]
  • JSON API
http://www.svt.se/videoplayer-api/video/ch-svt1
http://www.svt.se/videoplayer-api/video/ch-svt2
http://www.svt.se/videoplayer-api/video/ch-svt24
http://www.svt.se/videoplayer-api/video/ch-barnkanalen
http://www.svt.se/videoplayer-api/video/ch-kunskapskanalen

@tboss tboss linked a pull request Jul 1, 2016 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant