jactkwn Posted January 22 Posted January 22 I am wondering if this is my computer's iP address problem, or something has to be changed on DVBViewer. Many thanks Quote
Griga Posted January 23 Posted January 23 I think Youtube changed something. It ends up with a server-side 403 Forbidden error here, as DVBViewer debug mode reveals. Youtube doesn't allow us to play live streams in DVBViewer anymore. Dunno yet if something can be done about it. Quote
Iks Brasil Posted yesterday at 05:55 AM Posted yesterday at 05:55 AM (edited) Would it be wrong to give an idea? Or two? Edited yesterday at 05:56 AM by Iks Brasil Quote
Griga Posted yesterday at 06:06 AM Posted yesterday at 06:06 AM What do you mean by "give an idea"? If you want to tell me something that shall not become public please use a personal forum message. Quote
Iks Brasil Posted yesterday at 06:36 AM Posted yesterday at 06:36 AM I had created a tool in another post that basically took the link and sent it to DVB. It still gets the link, but it doesn’t open anymore. Idea: In another program that has already been discontinued, something like this was done: yt-dlp was placed in the program’s folder, and when using links supported by it, automatically—or with an option in the settings—it would open the YouTube video. https://prnt.sc/Kjbf3dPEismx Quote
Iks Brasil Posted yesterday at 06:39 AM Posted yesterday at 06:39 AM I too created this https://drive.google.com/file/d/1IiH5XI1kafv5JXjJPrE4M6ZPNRjf1bJA/view?usp=sharing Quote
Griga Posted yesterday at 06:52 AM Posted yesterday at 06:52 AM Where does assist.exe come from? Quote
Iks Brasil Posted yesterday at 07:03 AM Posted yesterday at 07:03 AM It is basically the same app I created and showed in the other topic that time, but back then the code was entirely my own creation. This one now uses YTDLP. I just uploaded it to Git now, in case you want to test it or check the code. CODE: https://github.com/dataminerbr/AssistYTLiveDVBViever EXE COMPILED: https://github.com/dataminerbr/AssistYTLiveDVBViever/tree/main/dist Quote
Griga Posted yesterday at 07:36 AM Posted yesterday at 07:36 AM Looks like a clever solution. I don't need it, but maybe other people want to use it. Obviously there is need for it. I had a short look at your script: # Abre no DVBViewer def abrir_no_dvbviewer(url): caminho_dvbviewer = r"C:\Program Files (x86)\DVBViewer\DVBViewer.exe" subprocess.run(['start', '', caminho_dvbviewer, url], shell=True) I would not use a hard-coded DVBViewer path. E.g. on my PC the path is C:\Program Files (x86)\DVBViewer Pro\DVBViewer.exe. So it may be better to read the path from the registry, e.g. from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\dvbviewer.exe. Quote
Iks Brasil Posted 21 hours ago Posted 21 hours ago (edited) oh yes, FIXED, tanks! _ Is there any way to call external applications through a URL? Example: https://www.youtube.com/@SkyNews/live/?yt-dlp Edited 20 hours ago by Iks Brasil Quote
Iks Brasil Posted 20 hours ago Posted 20 hours ago (edited) Or also, is there no way to edit the script "search.m3u8"? Edited 20 hours ago by Iks Brasil Quote
Griga Posted 2 hours ago Posted 2 hours ago vor 18 Stunden schrieb Iks Brasil: Is there any way to call external applications through a URL? No, there isn't. It could be implemented, but enabling something like this is a potential security risk. I suppose what you want is some kind of channel list entry in DVBViewer, that launches the whole process that is necessary for passing an URL to yt-dlp, getting the stream URL from it, passing it to DVBViewer and let it play the stream. However, I see no possibility to launch external executables with the current DVBViewer version. vor 17 Stunden schrieb Iks Brasil: Or also, is there no way to edit the script "search.m3u8"? The search.m3u mechanism would require a HTTP server running locally all the time in the background, while DVBViewer is running. Let's assume 5077 as its port. It would have to do the following Receive a request from DVBViewer, something like http://127.0.0.1:5077/?url=https://www.youtube.com/watch?v=YDvsBbKfLPA. The original URL in the DVBViewer channel list would be http://127.0.0.1:5077/search.m3u8?url=https://www.youtube.com/watch?v=YDvsBbKfLPA. However, search.m3u8 is not sent to the server. It only tells DVBViewer that it shall search for an m3u8 URL in the server response. Pass the part after ?url=... to yt-dlp and read the URL created by it. Send this URL as response to DVBViewer, enclosed in single or double quotes ('url' or "url"). DVBViewer will now search in the server output for an URL containing .m3u8 and play it. That would work. I don't know if it is possible to create such a server with Python. I could also try do it in Delphi (maybe even as a DLL loaded as plugin by DVBViewer), which would be some work, but I already have templates like the server in the WiFi Remote Input Plugin. That makes it a bit easier. The hard part will be reading the yt-dlp output from stdout. I first have to find out how this can be done in Delphi. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.