-
Notifications
You must be signed in to change notification settings - Fork 887
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
FreeTube doesn't handle its protocol properly #373
Comments
The problem with this is that I simply don't own a Mac to do testing with. It's something that I'd like to do soon but I need to be in the right place financially before I get one as getting one would be bought solely for FreeTube testing. This is also why I don't currently provide This problem doesn't occur on Windows or Linux, so I am unable to reproduce the issue with the hardware that's available to me. Unfortunately I don't know when I will be able to fix this, but it's something that I'd like to do when I am able to. |
@PrestonN Thanks for your reply and your effort on the FreeTube in general. But knowing this doesn't happen on Linux/Windows and the link/protocol handling works fine there is an indication it might not be related to electron in the trivial way I imagined (misuse of their API). Anyways, I think it's good to track this issue here, as opposed to |
I have a similar problem on Win10, if the app is closed, clicking a youtube link in firefox and having the Freetube redirect addon simply opens Freetube, it does not load the specific video, if I then click the link again when the app is open it will play the video correctly |
I have the same issue on Manjaro Linux. |
This should be fixed now in the latest dev builds. Full release should be coming out sometime this week. |
As I understand it this problem happens with the portable or third party versions of freetube, like AUR? I am using the Privacy Redirect extension, as recommended. Any way to solve this? |
The solution is to use a non-portable version of the app. The AUR could be fixed if the maintainer made some small changes however I am not the maintainer and cannot make the fix. You will need to ask the maintainer to update the AUR package to work with the extension. Since you're likely running Arch, I can suggest the Flatpak version as that one supports the extension. The AUR version as well as the AppImage build is not supported. |
Are you talking about the freetube.desktop file?
the browser opens the FreeTube, but the video player does not open |
Seems the issue still persists with the extension like Privacy Redirect and Libredirect on Qt environment, but works fine on gtk environment like Gnome. Could you improve Qt URL handling? Here is the bug reports I had with the Libredirect developer and with the SUSE developer, which provide some suggestions for the fix. Hope it helps! |
Thank you for making these bug reports. I also have this issue on openSUSE Tumbleweed KDE. SUSE will not fix this as they consider the URL FreeTube requires to be invalid and it seems like the LibRedirect developer shares this view. Does anyone know of a possible workaround? Would it be possible to reopen this issue as the problem persists and none of the other moving parts are willing to handle the problem? I wish I could help solve it, but sadly I have no programming experience. |
In the future, I'd recommend creating a new issue instead of commenting on a closed one, that way the issue is easier to find (the original issue is about the protocol not working for Mac OS while the issue you found is a bit different) |
I'm sorry, I'm quite new to engaging with free software projects and trying to get the hang of it. Thank you so much for creating the fix, I will test it as soon as the pull request has been merged. |
When using https://github.com/FreeTubeApp/freetube-redirect extension or when simply issuing command (on OSX terminal):
The FreeTube app opens if closed or gets in focus if it's already open, but nothing else happens. Video doesn't load. Since the extension properly passes the URL to the FreeTube app, and since opening the protocol address outside of extension should also pass the URL to the app properly, I conclude the problem is the app doesn't handle received URL.
Originally observed at FreeTubeApp/freetube-redirect#6.
Documentation about protocol handlers in electron: https://github.com/electron/electron/blob/master/docs/api/app.md#appsetasdefaultprotocolclientprotocol-path-args.
The text was updated successfully, but these errors were encountered: