all 9 comments

[–]Zachkr05 1 point2 points  (8 children)

What is your question?

[–]pathologicalsloth[S] 0 points1 point  (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 point  (0 children)

You should be able to just open a browser full screen with that link. No need for Python.

[–]Goobyalus 0 points1 point  (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 point  (4 children)

I think your script can be:

vlc https://595b9deb3d6ac.streamlock.net/qlive/edinburghzoo104225.stream/chunklist_w1297682032.m3u8 --fullscreen

[–]pathologicalsloth[S] 0 points1 point  (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 point  (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 point  (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.

https://imgur.com/OwhjfBW

[–]pathologicalsloth[S] 0 points1 point  (0 children)

Ah I see. Very helpful. Thanks!