2024-05-06, 06:08 PM
(This post was last modified: 2024-05-13, 02:24 PM by fdrslegs. Edited 1 time in total.)
Hello Everyone!
I do not know if this is even possible, but I think it's a really cool idea. I have no script building/programming experience at all except my high school java script class. I've been asking chatGPT to create a script for me and it is not working so I'm here now to see if any of you have any thoughts on how to achieve this.
The idea.
I am using the windows desktop application of Jellyfin Media Player to launch live tv channels I create using dizqueTV and xteve. After a while of watching a tv channel, Jellyfin will stop playing the video all together. I'm never around to see when the fail actually happened to check the log, so I do not know exactly what is happening at that point. I would like to make a script that could monitor the jellyfin media player's live tv stream and see that it is active and once the stream fails, the script recognizes this and restarts the channel.
Is this even possible or am I just having fun talking to a robot about scripts ?
Thanks everyone.
EDIT: for anyone else looking for a script solution I found one that at least works with my use case. I got a program called Autohotkey v2.0 and created a script in that to look for the play button and click it. here is a paste bin of the script. there is still comments for testing you can remove and feel free to edit it to your hearts desire.
https://pastebin.com/c76mM891
I do not know if this is even possible, but I think it's a really cool idea. I have no script building/programming experience at all except my high school java script class. I've been asking chatGPT to create a script for me and it is not working so I'm here now to see if any of you have any thoughts on how to achieve this.
The idea.
I am using the windows desktop application of Jellyfin Media Player to launch live tv channels I create using dizqueTV and xteve. After a while of watching a tv channel, Jellyfin will stop playing the video all together. I'm never around to see when the fail actually happened to check the log, so I do not know exactly what is happening at that point. I would like to make a script that could monitor the jellyfin media player's live tv stream and see that it is active and once the stream fails, the script recognizes this and restarts the channel.
Is this even possible or am I just having fun talking to a robot about scripts ?
Thanks everyone.
EDIT: for anyone else looking for a script solution I found one that at least works with my use case. I got a program called Autohotkey v2.0 and created a script in that to look for the play button and click it. here is a paste bin of the script. there is still comments for testing you can remove and feel free to edit it to your hearts desire.
https://pastebin.com/c76mM891