2022-12-29, 11:58
Gents
I have finally managed to replace the Youtube Add-on with Invidious to play my movie trailers.
My setup includes the Universal Movie Scraper which places the link to the trailer with the Youtube Add-on in the Videos database.
The procedure is the following:
1. Install the Invidious Add-on - https://kodi.tv/addons/matrix/plugin.video.invidious
2. Replace the entry in the Videos database with the Invidious specific link. For this you have to login to the Kodi on the command line and use the following bash/SQL snippets:
2a) systemctl stop kodi
2b) sqlite3 .kodi/userdata/Database/MyVideos119.db
2c) UPDATE movie SET c19 = REPLACE(c19,'youtube/?action=play_video&videoid','invidious/?action=video&videoId');
2d) systemctl restart kodi
Now the trailers are playing seamlessly via the trailer button on the movies detail page.
Next I plan to replace the periodic and manual procedure with a bash script and automate the update eg. on every start (or shutdown) - any suggestions on how to trigger this?
Bonus: Also the "Play to Kodi" Browser plugin works for me when you change the Youtube references to Invidious in your local plugin respectively - so I can beam content (eg. trailers) from my laptop browser to the kodi box.
I have finally managed to replace the Youtube Add-on with Invidious to play my movie trailers.
My setup includes the Universal Movie Scraper which places the link to the trailer with the Youtube Add-on in the Videos database.
The procedure is the following:
1. Install the Invidious Add-on - https://kodi.tv/addons/matrix/plugin.video.invidious
2. Replace the entry in the Videos database with the Invidious specific link. For this you have to login to the Kodi on the command line and use the following bash/SQL snippets:
2a) systemctl stop kodi
2b) sqlite3 .kodi/userdata/Database/MyVideos119.db
2c) UPDATE movie SET c19 = REPLACE(c19,'youtube/?action=play_video&videoid','invidious/?action=video&videoId');
2d) systemctl restart kodi
Now the trailers are playing seamlessly via the trailer button on the movies detail page.
Next I plan to replace the periodic and manual procedure with a bash script and automate the update eg. on every start (or shutdown) - any suggestions on how to trigger this?
Bonus: Also the "Play to Kodi" Browser plugin works for me when you change the Youtube references to Invidious in your local plugin respectively - so I can beam content (eg. trailers) from my laptop browser to the kodi box.