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

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

Merged
merged 1 commit into from
Mar 24, 2015

Conversation

tboss
Copy link
Contributor

@tboss 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
Added plugin for Kanal 5, Kanal 9 and Kanal 11.
@chrippa chrippa merged commit c5e32f1 into chrippa:develop Mar 24, 2015
@chrippa
Copy link
Owner

chrippa commented Mar 24, 2015

Thanks!

@drejjmit
Copy link

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

@tboss
Copy link
Contributor Author

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.

@rendom
Copy link

rendom commented Nov 15, 2015

@drejjmit
Copy link

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

@drejjmit
Copy link

This plugin no longer works.

@tboss
Copy link
Contributor Author

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
Copy link

[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
Copy link
Contributor Author

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
Copy link
Contributor Author

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
Copy link

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
Copy link
Contributor Author

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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants