Added plugin for Kanal 5, Kanal 9 and Kanal 11. #815

Merged
merged 1 commit into from Mar 24, 2015

Conversation

Projects
None yet
4 participants
@tboss
Contributor

tboss commented Mar 24, 2015

Works well for VODs, but live streams may or may not work (will test once available).

chrippa added a commit that referenced this pull request Mar 24, 2015

Merge pull request #815 from tboss/feature/plugin_kanal5-9-11
Added plugin for Kanal 5, Kanal 9 and Kanal 11.

@chrippa chrippa merged commit c5e32f1 into chrippa:develop Mar 24, 2015

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@chrippa

This comment has been minimized.

Show comment
Hide comment
@chrippa

chrippa Mar 24, 2015

Owner

Thanks!

Owner

chrippa commented Mar 24, 2015

Thanks!

@drejjmit

This comment has been minimized.

Show comment
Hide comment
@drejjmit

drejjmit Oct 31, 2015

Kanal 5, Kanal 9 and Kanal 11 renamed dplay.se. Will you be adding support for that?

Kanal 5, Kanal 9 and Kanal 11 renamed dplay.se. Will you be adding support for that?

@tboss

This comment has been minimized.

Show comment
Hide comment
@tboss

tboss Nov 9, 2015

Contributor

I took a quick look at the new platform about a week ago, but haven't been able to find any API or such. Did a disassembly on the swf-files but it hasn't yielded anything fruitful so far. Also it is likely that the streams are DRM-protected now, which of course would prevent using livestreamer with it. Though if I manage to find a solution, I'll be sure to post it.

Contributor

tboss commented Nov 9, 2015

I took a quick look at the new platform about a week ago, but haven't been able to find any API or such. Did a disassembly on the swf-files but it hasn't yielded anything fruitful so far. Also it is likely that the streams are DRM-protected now, which of course would prevent using livestreamer with it. Though if I manage to find a solution, I'll be sure to post it.

@drejjmit

This comment has been minimized.

Show comment
Hide comment
@drejjmit

drejjmit Nov 15, 2015

Well there's a start. Will anyone try to make it livestreamer compatible?

Well there's a start. Will anyone try to make it livestreamer compatible?

@drejjmit

This comment has been minimized.

Show comment
Hide comment
@drejjmit

drejjmit Jan 30, 2016

This plugin no longer works.

This plugin no longer works.

@tboss

This comment has been minimized.

Show comment
Hide comment
@tboss

tboss Feb 20, 2016

Contributor

As you may have noticed I've created a pull request (currently awaiting review/commit from chrippa) for a plugin based on Dplay. If you want you can try it out by downloading and placing the dplay.py in the standalone plugins folder, see http://docs.livestreamer.io/cli.html#sideloading-plugins .

Contributor

tboss commented Feb 20, 2016

As you may have noticed I've created a pull request (currently awaiting review/commit from chrippa) for a plugin based on Dplay. If you want you can try it out by downloading and placing the dplay.py in the standalone plugins folder, see http://docs.livestreamer.io/cli.html#sideloading-plugins .

@drejjmit

This comment has been minimized.

Show comment
Hide comment
@drejjmit

drejjmit Feb 20, 2016

[plugin.dplay][error] Failed to extract HDS streams: This manifest requires the 'pvswf' parameter to verify the SWF

Anything to worry about? Looks like it downloads correctly.

Edit: Doesn't get it on newer shows. Try this one if you wanna see it yourself: http://www.dplay.se/100-hojdare/season-6-pojken-som-aldrig-vill-bli-stor/

[plugin.dplay][error] Failed to extract HDS streams: This manifest requires the 'pvswf' parameter to verify the SWF

Anything to worry about? Looks like it downloads correctly.

Edit: Doesn't get it on newer shows. Try this one if you wanna see it yourself: http://www.dplay.se/100-hojdare/season-6-pojken-som-aldrig-vill-bli-stor/

@tboss

This comment has been minimized.

Show comment
Hide comment
@tboss

tboss Feb 20, 2016

Contributor

Thanks, I'll have a look at it. It concerns only the HDS streams as it appears -- the HLS streams seem to parse and download just fine.

Contributor

tboss commented Feb 20, 2016

Thanks, I'll have a look at it. It concerns only the HDS streams as it appears -- the HLS streams seem to parse and download just fine.

@tboss

This comment has been minimized.

Show comment
Hide comment
@tboss

tboss Feb 21, 2016

Contributor

Just pushed a new commit to fix the issue. If the swf url is found to be changing, I'll make a more failsafe fix (parse from input page).

Contributor

tboss commented Feb 21, 2016

Just pushed a new commit to fix the issue. If the swf url is found to be changing, I'll make a more failsafe fix (parse from input page).

@drejjmit

This comment has been minimized.

Show comment
Hide comment
@drejjmit

drejjmit Mar 11, 2016

It stopped working. "error: No streams found on this URL" on everything i try to download.

Edit:
Fixed with this edit: Line 97

        if not match:
            match = re.search(r'data-video-id="([^"]+)"', res)
            if not match:
                return {}   # Return if shortlink/video ID not found
        videoId = match.group (1)

It stopped working. "error: No streams found on this URL" on everything i try to download.

Edit:
Fixed with this edit: Line 97

        if not match:
            match = re.search(r'data-video-id="([^"]+)"', res)
            if not match:
                return {}   # Return if shortlink/video ID not found
        videoId = match.group (1)
@tboss

This comment has been minimized.

Show comment
Hide comment
@tboss

tboss Mar 11, 2016

Contributor

Yes, it seems they've changed the location of the video id, simple fix as you've also discovered. I'll push the fix asap. I should probably also make it so that error states report something useful (output error message or yield proper error), but also don't know what chrippa's take is on this.

Contributor

tboss commented Mar 11, 2016

Yes, it seems they've changed the location of the video id, simple fix as you've also discovered. I'll push the fix asap. I should probably also make it so that error states report something useful (output error message or yield proper error), but also don't know what chrippa's take is on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment