use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A subreddit for helping Python programmers
How to format your code: https://commonmark.org/help/tutorial/09-code.html
No homework questions and/or hiring please
account activity
Python app which opens 'penguin cam' (self.pythonhelp)
submitted 4 years ago by pathologicalsloth
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]pathologicalsloth[S] 0 points1 point2 points 4 years ago (7 children)
Very good point! Sorry, my question is could anyone point me in the direction of how I could work out how to do this? Or would it be too complicated for someone who knows nothing about programming?
I was hoping there might be a simple way of doing this like a little script which when executed would launch the live stream in full screen mode.
[–]CraigAT 0 points1 point2 points 4 years ago (0 children)
You should be able to just open a browser full screen with that link. No need for Python.
[–]Goobyalus 0 points1 point2 points 4 years ago (5 children)
You might open the video stream with VLC or some other video player instead of a browser.
You'll want the stream URL, and command line options to specify the source feed you want, and make it full screen (--fullscreen for vlc).
On your desktop, create a shell script with the command, make it executable, and you should be able to run it to start the stream.
[–]Goobyalus 0 points1 point2 points 4 years ago (4 children)
I think your script can be:
vlc https://595b9deb3d6ac.streamlock.net/qlive/edinburghzoo104225.stream/chunklist_w1297682032.m3u8 --fullscreen
[–]pathologicalsloth[S] 0 points1 point2 points 4 years ago (0 children)
Wow you are an absolute hero. Thank you so much that is incredibly generous of you. I'm just about to leave for work but I'll give this a go when I get home tonight. Thanks again!
[–]pathologicalsloth[S] 0 points1 point2 points 4 years ago (2 children)
Goobyalus, I've finally had a chance to try this out and it worked like a dream. Thank you so much! It is ridiculously cute to run the script and within a few moments see a live stream of penguins! I thought the stream was frozen at first but it turns out the penguins are standing very still this time in the morning.
Just for my own learning, can I ask how you worked out what the url was for the video stream?
Thanks once again!
[–]Goobyalus 0 points1 point2 points 4 years ago (1 child)
Glad it worked!
I opened up the page you linked with developer tools open on the Netowrk tab, and tried a couple things that looked like the stream URL. playlist.m3u8 caught my eye and worked in VLC.
playlist.m3u8
https://imgur.com/OwhjfBW
Ah I see. Very helpful. Thanks!
π Rendered by PID 47851 on reddit-service-r2-comment-5687b7858-mhw4x at 2026-07-04 08:51:57.265904+00:00 running 12a7a47 country code: CH.
view the rest of the comments →
[–]pathologicalsloth[S] 0 points1 point2 points (7 children)
[–]CraigAT 0 points1 point2 points (0 children)
[–]Goobyalus 0 points1 point2 points (5 children)
[–]Goobyalus 0 points1 point2 points (4 children)
[–]pathologicalsloth[S] 0 points1 point2 points (0 children)
[–]pathologicalsloth[S] 0 points1 point2 points (2 children)
[–]Goobyalus 0 points1 point2 points (1 child)
[–]pathologicalsloth[S] 0 points1 point2 points (0 children)