Add-on:YouTube: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>TobiasTheCommie
m (Addon-Bot Update)
(205 intermediate revisions by 19 users not shown)
Line 1: Line 1:
{{Addon  
{{Addon  
|Name=YouTube
|Name=YouTube
|provider-name=TheCollective
|provider-name=anxdpanic, bromix
|ID=plugin.video.youtube
|ID=plugin.video.youtube
|latest-version=2.7.0
|latest-version=7.0.3.2+matrix.1
|extension point=xbmc.python.pluginsource
|extension point=xbmc.python.pluginsource
|provides=video
|provides=video
|Summary=YouTube video plugin
|Summary=Plugin for YouTube
|Description=Plugin that let's you browse and play videos from everybody's favorite video site!
|Description=YouTube is one of the biggest video-sharing websites of the world.
|Platform=all
|Platform=all
|icon url=<img src="http://mirrors.xbmc.org/addons/eden-pre/plugin.video.youtube/icon.png"/>}}
|Language=
|License=GPL-2.0-only
|Forum=https://ytaddon.panicked.xyz/forum
|Website=https://www.youtube.com
|Source=https://github.com/anxdpanic/plugin.video.youtube
|Email=
|broken=
|icon url=http://mirrors.kodi.tv/addons/nexus/plugin.video.youtube/resources/media/icon.png}}


[[Category:Repo: Dharma]]
== FAQ ==
[[Category:Repo: Eden-pre]]
See instructions for creating an API key and configuring the plugin on the [https://github.com/anxdpanic/plugin.video.youtube/wiki/Personal-API-Keys GitHub project page]


== Features ==


=Introduction=
=== Integration with STRM files ===
YouTube streams can be integrated into the video library with [[Internet_video_and_audio_streams|Stream files]].
{| class="wikitable"
!colspan="2"|Videos
|-
!style="text-align:left;"|URL
|<nowiki>https://www.youtube.com/watch?v=$VIDEOID</nowiki>
|-
!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
|}


* In order to use this plugin you will need the latest stable Dharma 10.1 release of XBMC. Older versions will not work.*
=== Keymaps ===
'''Required version''': 6.3.0+<br />
A collection of actions available for [[Keymap|custom keymaps]].


This project is a plugin for the open-source media center XBMC, that enables XBMC to interface with [http://www.youtube.com/ YouTube].  
{| class="wikitable"
!style="text-align:left;"|Description
!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
|-
|}


==Features==
[[Category:Add-ons with license tag]]
* Non-intrusive user notifications
[[Category:Add-ons with source tag]]
* Video thumbnail browsing for a more pleasant user experience
[[Category:Add-ons with website tag]]
* Advanced Searching (including locally stored searches)
[[Category:All add-ons]]
* Listing of [http://www.youtube.com/ YouTube's] standard feeds and region specific feeds
[[Category:Video add-ons]]
* Adding and removing contacts
[[Category:Isengard add-on repository]]
* Adding and removing favorites
[[Category:Jarvis add-on repository]]
* Subscribing and unsubscribing
[[Category:Krypton add-on repository]]
* Listing Subscriptions including new subscription videos
[[Category:Leia add-on repository]]
* Listing a contacts uploads, playlists, favorite videos and subscriptions
[[Category:Matrix add-on repository]]
* Playback of all video streams (including rtmpe streaming support available in the latest XBMC Dharma build)
[[Category:Nexus add-on repository]]
* Plays videos that can't be embedded
* Auto-magically filters unavailable video's from [http://www.youtube.com/ YouTube's] results (If you see it, you can play it)
* Supports [http://www.youtube.com/ YouTube] Disco! (Music Discovery project) Searches (Beta)
* Supports Browsing [http://www.youtube.com/ YouTube] Categories, Trailers and Shows (Beta)
 
= Creating a usefull debug log =
 
*WARNING!! if you're making a debug log with the plugin from eden-pre branch (v.2.6.x) be sure to remove any eventual passwords as due to an error this is currently written to the log if the plugins debug mode is enabled.*
 
Typically users will report errors with descriptions that lack many important details. While we take all user reported errors seriously, its often is impossible to help if without a proper debug-log, this guide will take you through the steps to create such a log. 
 
As such, if you want any help with this issue you must follow these steps.
# Open the plugin and go to "Advanced" in settings, enable "Plugin debug" and confirm.
# Find your debug Log here:
* Linux::
  $HOME/.xbmc/temp/xbmc.log
* Mac OSX:
  $User/Library/Logs/xbmc.log
* Windows 7 & Vista:
  \Users\<UserName>\AppData\Roaming\XBMC\xbmc.log
# Upload your debug log to http://pastebin.ca/upload.php ( Do NOT upload part of the log, we need the ENTIRE log. The easiest method is through the link provided).
# Post a message [http://forum.xbmc.org/showthread.php?t=79487 in this thread] with your debug log, and with your selected installation method ( Install from zip / Manual install / From repository ).
 
If you have problems following the guide, please ask on the [http://forum.xbmc.org/showthread.php?t=79487 forum thread] and we will help you through it.
 
= How To: Installing the plugin =
Install the plugin through the XBMC add-on repository.
 
= Known problems =
* One of the main features of the plugin is that it defaults to thumbnails view for video items.
  This only works when using the default "Confluence" skin as the plugin
  is dependent on the Id defined for confluences thumbnails view.
 
* [http://www.youtube.com/ YouTube] also supports exposing videos through [http://en.wikipedia.org/wiki/Protected_Streaming Adobes RTMPE Protected streaming protocol].
  Playback support of this protocol requires the latest Eden build.
  Downloading videos served with this protocol is not supported.
 
= Reporting a bug =
If you are having problems with the plugin or just have a query please do read the documentation and do a search on the XBMC plugin forum thread before posting.
 
If you believe you have found a bug or would like to request a feature then create a new post in the [http://forum.xbmc.org/showthread.php?t=79487 YouTube support thread].
 
Please make sure you post a [http://wiki.xbmc.org/index.php?title=Add-on:YouTube#Creating_a_usefull_debug_log Usefull debug log].

Revision as of 01:00, 16 March 2024

YouTube
icon.png

See this add-on on the kodi.tv showcase

Author: anxdpanic, bromix
Website: link
Type: Video
Repo: Kodi.tv repo v21
Kodi.tv repo v20
Kodi.tv repo v19

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.

Installing

This add-on is installed from the Add-on browser located in Kodi as follows:

  1. Settings
  2. Add-ons
  3. Install from repository
  4. Video Add-ons
  5. YouTube
  6. Install

FAQ

See instructions for creating an API key and configuring the plugin on the GitHub project page

Features

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

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