21 Aug 2020 - The wiki is undergoing a major cleanup. If you arrived here from a search engine and cannot find the page, please use the wiki search instead (top right corner of page)
More info can be found on the forum

Difference between revisions of "Add-on:YouTube"

From Official Kodi Wiki
Jump to: navigation, search
m (Addon-Bot Update)
m (Addon-Bot repo category update)
 
(39 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{Addon  
 
{{Addon  
 
|Name=YouTube
 
|Name=YouTube
|provider-name=bromix
+
|provider-name=anxdpanic, bromix
 
|ID=plugin.video.youtube
 
|ID=plugin.video.youtube
|latest-version=5.5.1
+
|latest-version=6.7.0
 
|extension point=xbmc.python.pluginsource
 
|extension point=xbmc.python.pluginsource
 
|provides=video
 
|provides=video
Line 10: Line 10:
 
|Platform=all
 
|Platform=all
 
|Language=
 
|Language=
|License=GNU GENERAL PUBLIC LICENSE. Version 2, June 1991
+
|License=GPL-2.0-only
|Forum=https://forum.kodi.tv/showthread.php?tid=325740
+
|Forum=https://forum.kodi.tv/showthread.php?tid=348464
 
|Website=https://www.youtube.com
 
|Website=https://www.youtube.com
 
|Source=https://github.com/jdf76/plugin.video.youtube
 
|Source=https://github.com/jdf76/plugin.video.youtube
 
|Email=ytplugin at datanet dot ws
 
|Email=ytplugin at datanet dot ws
 
|broken=
 
|broken=
|icon url=http://mirrors.kodi.tv/addons/krypton/plugin.video.youtube/icon.png}}
+
|icon url=http://mirrors.kodi.tv/addons/leia/plugin.video.youtube/icon.png}}
 +
 
 +
== FAQ ==
 +
See posts [https://forum.kodi.tv/showthread.php?tid=325740&pid=2681560#pid2681560 #3-7] in the official support thread.
  
 
== Features ==
 
== Features ==
  
=== Integration with strm files ===
+
=== Integration with STRM files ===
Youtube streams can be integrated into the video library with [[Strm|strm files]].  
+
YouTube streams can be integrated into the video library with [[Internet_video_and_audio_streams|Stream files]].  
 
+
{| class="wikitable"
The syntax for a youtube-URL like <nowiki>https://www.youtube.com/watch?v=$VIDEOID</nowiki> or <nowiki>https://www.youtube.com/playlist?list=$PLAYLISTID</nowiki> in a strm file is<br />
+
!colspan="2"|Videos
 
+
|-
<code>plugin://plugin.video.youtube/?path=/root/video&action=play_video&videoid=$VIDEOID</code>
+
!style="text-align:left;"|URL
 
+
|<nowiki>https://www.youtube.com/watch?v=$VIDEOID</nowiki>
<code>plugin://plugin.video.youtube/?path=/root/video&action=play_all&playlist=$PLAYLISTID</code>
+
|-
 +
!style="text-align:left;"|STRM URL
 +
|<nowiki>plugin://plugin.video.youtube/play/?video_id=$VIDEOID</nowiki>
 +
|-
 +
!colspan="2"|Additional Parameters
 +
|-
 +
|style="text-align:left;"|&incognito=true
 +
|disables post play events (add to history, remove from watch later, etc.)
 +
|-
 +
|style="text-align:left;"|&screensaver=true
 +
|disables post play events and will not ask for quality
 +
|}
 +
{| class="wikitable"
 +
!colspan="2"|Playlists
 +
|-
 +
!style="text-align:left;"|URL
 +
|<nowiki>https://www.youtube.com/playlist?list=$PLAYLISTID</nowiki>
 +
|-
 +
!style="text-align:left;"|STRM URL
 +
|<nowiki>plugin://plugin.video.youtube/play/?playlist_id=$PLAYLISTID</nowiki>
 +
|-
 +
!colspan="2"|Additional Parameters
 +
|-
 +
|style="text-align:left;"|&play=1
 +
|required to start playback
 +
|-
 +
|style="text-align:left;"|&order=$ORDER
 +
|controls playlist order, $ORDER can be default, reverse, or shuffle.
 +
|-
 +
|style="text-align:left;"|&video_id=$VIDEOID
 +
|starts playback at $VIDEOID, order=shuffle does not apply if video_id is specified
 +
|}
  
 +
=== Keymaps ===
 +
'''Required version''': 6.3.0+<br />
 +
A collection of actions available for [[Keymap|custom keymaps]].
  
== See also ==
+
{| class="wikitable"
=== Similar page names ===
+
!style="text-align:left;"|Description
{{#lst:YouTube|similar pages}}
+
!style="text-align:left;"|Command
 +
!style="text-align:left;"|Context
 +
|-
 +
|style="text-align:left;"|Play audio only
 +
|RunPlugin(plugin://plugin.video.youtube/play/?audio_only=1)
 +
|On videos
 +
|-
 +
|style="text-align:left;"|Play with subtitles
 +
|RunPlugin(plugin://plugin.video.youtube/play/?prompt_for_subtitles=1)
 +
|On videos
 +
|-
 +
|style="text-align:left;"|Go to channel
 +
|RunPlugin(plugin://plugin.video.youtube/channel/property/)
 +
|On videos
 +
|-
 +
|style="text-align:left;"|Add to Watch Later
 +
|RunPlugin(plugin://plugin.video.youtube/playlist/add/video/?playlist_id=watch_later)
 +
|On videos
 +
|-
 +
|style="text-align:left;"|Add to the selected playlist
 +
|RunPlugin(plugin://plugin.video.youtube/playlist/select/playlist/)
 +
|On videos
 +
|-
 +
|style="text-align:left;"|Add to the user provided playlist
 +
|RunPlugin(plugin://plugin.video.youtube/playlist/add/video/?playlist_id=$PLAYLISTID)
 +
|On videos
 +
|-
 +
|style="text-align:left;"|Remove from the current playlist
 +
|RunPlugin(plugin://plugin.video.youtube/playlist/remove/video/)
 +
|On videos in the Playlists menu
 +
|-
 +
|style="text-align:left;"|Like
 +
|RunPlugin(plugin://plugin.video.youtube/video/rate/?rating=like)
 +
|On videos
 +
|-
 +
|style="text-align:left;"|Dislike
 +
|RunPlugin(plugin://plugin.video.youtube/video/rate/?rating=dislike)
 +
|On videos
 +
|-
 +
|style="text-align:left;"|Remove rating
 +
|RunPlugin(plugin://plugin.video.youtube/video/rate/?rating=none)
 +
|On videos
 +
|-
 +
|style="text-align:left;"|Prompt for rating
 +
|RunPlugin(plugin://plugin.video.youtube/video/rate/)
 +
|On videos
 +
|-
 +
|style="text-align:left;"|Subscribe
 +
|RunPlugin(plugin://plugin.video.youtube/subscriptions/add/)
 +
|On videos
 +
|-
 +
|style="text-align:left;"|Unsubscribe
 +
|RunPlugin(plugin://plugin.video.youtube/subscriptions/remove/)
 +
|On subscription in the Subscriptions menu
 +
|-
 +
|}
  
 
[[Category:Add-ons with license tag]]
 
[[Category:Add-ons with license tag]]
Line 42: Line 134:
 
[[Category:Krypton add-on repository]]
 
[[Category:Krypton add-on repository]]
 
[[Category:Isengard add-on repository]]
 
[[Category:Isengard add-on repository]]
[[Category:Helix add-on repository]]
+
[[Category:Matrix add-on repository]]
 
[[Category:Leia add-on repository]]
 
[[Category:Leia add-on repository]]
 
[[Category:Jarvis add-on repository]]
 
[[Category:Jarvis add-on repository]]

Latest revision as of 03:30, 20 September 2020

YouTube

See this add-on on the kodi.tv showcase

Author: anxdpanic, bromix
Website: link
Type: Video
Repo: Kodi.tv repo v19
Kodi.tv repo v18
Kodi.tv repo v17

License: GPL-2.0-only
Source: Source code
Summary: Plugin for YouTube
Home icon grey.png   ▶ Add-ons ▶ YouTube
Attention talk.png Need help with this add-on? See here.

YouTube is one of the biggest video-sharing websites of the world.

1 Installing

To install this add-on you must do so from the Add-on manager from within Kodi by going to

  1. The home screen
  2. Add-ons
  3. Download
  4. Video Add-ons
  5. YouTube
  6. Install

2 FAQ

See posts #3-7 in the official support thread.

3 Features

3.1 Integration with STRM files

YouTube streams can be integrated into the video library with Stream files.

Videos
URL https://www.youtube.com/watch?v=$VIDEOID
STRM URL plugin://plugin.video.youtube/play/?video_id=$VIDEOID
Additional Parameters
&incognito=true disables post play events (add to history, remove from watch later, etc.)
&screensaver=true disables post play events and will not ask for quality
Playlists
URL https://www.youtube.com/playlist?list=$PLAYLISTID
STRM URL plugin://plugin.video.youtube/play/?playlist_id=$PLAYLISTID
Additional Parameters
&play=1 required to start playback
&order=$ORDER controls playlist order, $ORDER can be default, reverse, or shuffle.
&video_id=$VIDEOID starts playback at $VIDEOID, order=shuffle does not apply if video_id is specified

3.2 Keymaps

Required version: 6.3.0+
A collection of actions available for custom keymaps.

Description Command Context
Play audio only RunPlugin(plugin://plugin.video.youtube/play/?audio_only=1) On videos
Play with subtitles RunPlugin(plugin://plugin.video.youtube/play/?prompt_for_subtitles=1) On videos
Go to channel RunPlugin(plugin://plugin.video.youtube/channel/property/) On videos
Add to Watch Later RunPlugin(plugin://plugin.video.youtube/playlist/add/video/?playlist_id=watch_later) On videos
Add to the selected playlist RunPlugin(plugin://plugin.video.youtube/playlist/select/playlist/) On videos
Add to the user provided playlist RunPlugin(plugin://plugin.video.youtube/playlist/add/video/?playlist_id=$PLAYLISTID) On videos
Remove from the current playlist RunPlugin(plugin://plugin.video.youtube/playlist/remove/video/) On videos in the Playlists menu
Like RunPlugin(plugin://plugin.video.youtube/video/rate/?rating=like) On videos
Dislike RunPlugin(plugin://plugin.video.youtube/video/rate/?rating=dislike) On videos
Remove rating RunPlugin(plugin://plugin.video.youtube/video/rate/?rating=none) On videos
Prompt for rating RunPlugin(plugin://plugin.video.youtube/video/rate/) On videos
Subscribe RunPlugin(plugin://plugin.video.youtube/subscriptions/add/) On videos
Unsubscribe RunPlugin(plugin://plugin.video.youtube/subscriptions/remove/) On subscription in the Subscriptions menu