Closed BobbyBabes closed 3 years ago
I'm not sure if it is possible to open a web browser directly from Kodi. Do you know of any other video addons that directly open a link in an external web browser?
Getting the link itself isn't that difficult because TheMovieDb API already provides JustWatch data (and TMDbHelper already retrieves this data -- you can see that in the info dialog for my Arctic Horizon skin which will show logos for streaming services where the item is available). It's just the actual function of opening a web browser that I'm not sure about.
I don't believe you can on most platforms. On Android, you can use the StartAndroidActivity
built-in to open the user's browser, but there'd be some digging to do to figure out the right call.
I'm sorry and do apologise. I forgot to add my source for this request. I assumed that this had been implemented already in to Kodi. Because of the following response by a Team Kodi member in 2015 (about an other Team Kodi member's efforts) on the Official Kodi forum. He states that is is already possible : Need advice on Embedded Chrome add-on Please follow the link in that post, as it links further to a GitHub repo with recent updates by the Kodi dev. First this site : http://esmasol.de/open-source/kodi-add-on-s/chromium-web-browser/ And from there to this Embedded Chromium Kodi Add-on repo with recent updates : https://github.com/AlwinEsch/web.browser.chromium
That addon is not currently stable.
Regardless, the issue isn't whether a browser exists or not in Kodi. The issue is that I need a method to send the link to the browser and as far as I'm aware there isn't a way to call the browser and pass it a link. That's why I need an example of another addon which passes a link to a browser, so I can copy the method.
The issue is that I need a method to send the link to the browser .....
I know of: URL Launcher on GitHub. Then there is : Browser Launcher and Chrome Launcher addons. But they are both on the TVAddons site apparently. So I'm not touching them. Brave Browser Launcher here on GitHub. Google Chrome Launcher for Kodi also on GitHub and here Chrome Launcher Add-on: How to Browse The Web From Kodi. Chrome Launcher (another) also on GitHub. Chrome Launcher (another, quite old though) also on Github. Chrome Launcher (another, really old though) also on Github.
EDIT: I prefer Firefox though.
It’s gone awfully quiet. Have I said something wrong?
Anyway, I just realised that Browser Launcher is also here on GitHub and is from the developer of Amazon Instant Video Addon for Kodi Media Center . This addon uses Browser Lancher to launch the Prime Video website in fullscreen/kiosk mode apparently.
I have been extremely busy at work doing 50hr+ weeks for the past two months, so I've barely had anytime for kodi dev stuff. When work calms down in a couple of weeks, I'll get back to dev stuff
Oh man. I should have realised. Apologies! I was blaming myself and rereading the last comment. Your bread and butter always goes first.
Kodi 18.9 Leia on Arch Linux " | Windows 8.1 | Mac Big Sur.
Is it possible to click on a TV episode and be taken directly to the specific TV show's related streaming website ? The website Just Watch seems to do that.
For example when I click on episode 4, of season 3, of Dark (2017) I want to be taken to the the TV show's homepage on the Netflix website. In an internal (preference!) or external web browser. Doesn't have to be the exact season and episode, but the exact TV show's homepage. Or clicking episode 2, of season 3, of Sneaky Pete (2015) I want to be taken to the the TV show's homepage on the Amazon website. Ditto. Ditto.
I do not want to use an external service (like Just Watch) as my starting point. I want to use Kodi and add TV shows to a list on Trakt (or where ever) then these will be shown in Kodi by TheMovieDb Helper, and then clicked to go to the relevant streaming website in an internal or external web browser.
P.S. You could even make these affiliate links. I don't care.