Skip to content

plugins.picarto: fix schema and multi-streams #6512

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

Merged
merged 1 commit into from
Apr 29, 2025

Conversation

bastimeyer
Copy link
Member

Fixes #6510

This should fix regular and multi streams. VODs apparently were still working (although they appear broken on their website).

Btw, their website uses websocket streams instead of HLS streams. I don't know if this was already the case previously when the plugin was implemented, but if not, then this might be an indicator that their HLS backend might be removed in the future once they stop using it as a fallback mechanism for certain web browsers or other clients/etc.


Regular stream

$ streamlink https://picarto.tv/FattyNite best --hls-duration=10 -o /dev/null
[cli][info] Found matching plugin picarto for URL https://picarto.tv/FattyNite
[cli][info] Available streams: 1080p (worst, best)
[cli][info] Opening stream: 1080p (hls)
[cli][info] Writing output to
/dev/null
[stream.hls][info] Stopping stream early after 10
[cli][info] Stream ended
[cli][info] Closing currently open stream...
[download] Written 4.02 MiB to /dev/null (3s @ 1.41 MiB/s)

Multi stream (selects the correct one):

$ streamlink https://picarto.tv/LambdaKat best --hls-duration=10 -o /dev/null
[cli][info] Found matching plugin picarto for URL https://picarto.tv/LambdaKat
[cli][info] Available streams: 720p (worst, best)
[cli][info] Opening stream: 720p (hls)
[cli][info] Writing output to
/dev/null
[stream.hls][info] Stopping stream early after 10
[cli][info] Stream ended
[cli][info] Closing currently open stream...
[download] Written 1.96 MiB to /dev/null (5s @ 364.02 KiB/s)

$ streamlink https://picarto.tv/anoroth best --hls-duration=10 -o /dev/null
[cli][info] Found matching plugin picarto for URL https://picarto.tv/anoroth
[cli][info] Available streams: 1080p (worst, best)
[cli][info] Opening stream: 1080p (hls)
[cli][info] Writing output to
/dev/null
[stream.hls][info] Stopping stream early after 10
[cli][info] Stream ended
[cli][info] Closing currently open stream...
[download] Written 6.30 MiB to /dev/null (0s)

Multi stream metadata

$ streamlink https://picarto.tv/LambdaKat best -j | jq .metadata
{
  "id": null,
  "author": "LambdaKat",
  "category": "Illustration",
  "title": "Breadbrain Again™ Early stream Edition"
}

$ streamlink https://picarto.tv/anoroth best -j | jq .metadata
{
  "id": null,
  "author": "anoroth",
  "category": "Illustration",
  "title": "Painting dragons and other creatures!"
}

@klendrop
Copy link

I have downloaded the new picarto.py and put it in the plugins folder.
The issue appears to be fixed.
I tried a few streams and I could open single streams or random streams (i.e. not just the first one) out of a multi-stream without a problem.

@bastimeyer bastimeyer merged commit 9f2d76e into streamlink:master Apr 29, 2025
23 checks passed
@bastimeyer bastimeyer deleted the plugins/picarto/fix-6510 branch April 29, 2025 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin issue A Plugin does not work correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

plugins.picarto: error: Unable to validate response text: ValidationError(dict):
2 participants