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

Vaughnlive plugin response length validation #1370

Open
fragtion opened this issue Jun 29, 2016 · 11 comments
Open

Vaughnlive plugin response length validation #1370

fragtion opened this issue Jun 29, 2016 · 11 comments

Comments

@fragtion
Copy link

There seems to be an issue with the Vaughnlive plugin

Similar problem was described at #897 / #904 , but the recommended fix no longer works.

$ livestreamer http://vaughnlive.tv/stream best
[cli][info] Found matching plugin vaughnlive for URL http://vaughnlive.tv/stream
error: Unable to validate response text: Minimum length is 2 but value is 1
$

Unfortunately I am not very adept with python at this stage.. :( Pls help! :)

@fragtion
Copy link
Author

fragtion commented Jun 29, 2016

Ok some progress:

DOMAIN_MAP = { "breakers": "btv", "vapers": "vtv", "vaughnlive": "mvn", }

Patch:
-"vaughnlive": "mvn",
+"vaughnlive": "mvn-live",

Still problematic, however:

[cli][error] Failed to read data from stream: Read timeout

@intact
Copy link
Contributor

intact commented Jun 29, 2016

Change "mvn" back to "live" and change INFO_URL to:

INFO_URL = "http://mvn.vaughnsoft.net/video/edge/mvn-{domain}_{channel}"

@fragtion
Copy link
Author

That worked. Brilliant, thanks!

@estimablesir
Copy link

I apologize, but i'm not following how to apply this particular solution to a different channel on vaughnlive.

I receive the same "error: Unable to validate response text: Minimum length is 2 but value is 1"

originally "livestreamer https://vaughnlive.tv/newzviewz best" was correct, but I now receive the error message above. Could someone provide me with some guidance?

@fragtion
Copy link
Author

Yes, sure. Until it gets patched ( dont know how to commit ) , here's a pastebin: http://pastebin.com/jpRuaqEv

File to edit is vaughnlive.py -- in my case this was at /usr/local/lib/python2.7/dist-packages/livestreamer/plugins/vaughnlive.py

@cloud90
Copy link

cloud90 commented Jul 1, 2016

i try the script on pastebin but the error dont change! :(

@fragtion
Copy link
Author

fragtion commented Jul 1, 2016

For the record, I'm also using it to watch the newzviewz channel, and it works great for me since making the changes. Make sure you patch all instances of "vaughnlive.py" found on your system, there might be another copy of the file hiding in your local user libs or something. You can also try delete the vaughnlive.pyc and vaughnlive.pyo so that it recompiles them from the source file

@fragtion
Copy link
Author

fragtion commented Jul 2, 2016

Update: looks like they changed the "mvn" to "mnv", causing it to stop working again. Seems a bit like a cat and mouse chase going on? Perhaps the addon script could be made a bit more resilient to the dynamics of these changes

@fragtion fragtion reopened this Jul 2, 2016
@cloud90
Copy link

cloud90 commented Jul 2, 2016

i'm confused , please you cold put the full script? or update the script on pastebin? thank you :)

@intact
Copy link
Contributor

intact commented Jul 2, 2016

@cloud90
Copy link

cloud90 commented Jul 2, 2016

ok work perfectly! :) thank you intact! :D

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.

4 participants