This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
you_tube_videos [2012/01/16 17:48] jhb50 created |
you_tube_videos [2012/01/16 22:33] (current) jhb50 |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | __**How to Play YouTube Videos**__ | + | __**How to Get YouTube Videos |
- | + | ||
- | YouTube videos are played by Serviio as RSS feeds. | + | |
+ | YouTube videos are played by Serviio as RSS feeds, which are essenially playlists of YouTube videos. | ||
The RSS feeds are created by the YouTube api in response to specific api requests in the form of: | The RSS feeds are created by the YouTube api in response to specific api requests in the form of: | ||
+ | %%http:// | ||
- | | + | YouTube also offers each video in multiple quality formats, so Serviio requires the addition' |
- | + | of the YouTube.groovy to the Serviio plug-ins library to select the video best matching | |
- | which are entered | + | the " |
- | **To play a specific Youtube Video use: | + | Note there is a bug in the 6.1 groovy that causes medium quality videos to play as low quality. |
+ | The PTF is documented at http:// | ||
+ | |||
+ | |||
+ | **To get a specific Youtube Video use: | ||
| | ||
Line 17: | Line 21: | ||
when viewing Youtube videos on your PC. | when viewing Youtube videos on your PC. | ||
- | **To play a specific Youtube | + | Note that when YouTube requires the use of a player as in |
+ | | ||
+ | is is likely that the returned youtube playlist will be empty | ||
+ | so the video cannot be played by Serviio. | ||
+ | |||
+ | |||
+ | **To get a specific Youtube Playlist use: | ||
| | ||
| | ||
+ | |||
where yyyyyyyyyyyyyyyy is the 16 character playlist code that normally follows | where yyyyyyyyyyyyyyyy is the 16 character playlist code that normally follows | ||
| | ||
- | when viewing YouTube playlists on your PC. | + | %%http:// |
+ | when playing or viewing YouTube playlists on your PC. | ||
Note: The leading characters PL are removed. | Note: The leading characters PL are removed. | ||
- | **To generate a Youtube Video Playlist with search | + | |
+ | **To search | ||
| | ||
+ | |||
+ | where zzzzzzz is your search term, and multiple terms are joined by " | ||
+ | | ||
+ | |||
+ | |||
+ | **To get the uploads, or favorite videos of any user(channel) use: | ||
+ | |||
+ | | ||
+ | | ||
- | | + | |
- | %%eg: http:// | + | |
**To get YouTube Generated Standard Feeds use these examples:** | **To get YouTube Generated Standard Feeds use these examples:** | ||
Line 37: | Line 58: | ||
| | ||
| | ||
+ | |||
+ | There are 8 Standard Feeds that may be substituted in the above examples: | ||
+ | |||
+ | | ||
+ | | ||
+ | |||
+ | You may also append one of the following Genres to focus the results: | ||
+ | |||
+ | | ||
+ | | ||
+ | |||
+ | You may also limit the responses by geography by inserting one of | ||
+ | the following country codes after " | ||
+ | |||
+ | | ||
+ | |||
+ | AU, BR, CA, CZ, FR, DE, GB, NL, HK, IN, IE, IL, | ||
+ | IT, JP, MX, NZ, PL, RU, KR, ES, SE, TW, US | ||
+ | |||
+ | |||
+ | **To get YouTube Generated Trailer Feeds use these 2 special links are available: | ||
+ | |||
| | ||
| | ||
- | | ||
- | More to follow .... | ||
+ | **How to Get Extended YouTube Output** | ||
+ | |||
+ | By default, YouTube will limit its output to 50 videos for any request, | ||
+ | and Serviio will limit its display to the "Max. number of feed items to retrieve:" | ||
+ | that is set in the " | ||
+ | |||
+ | YouTube provides "& | ||
+ | that allow any range of results to be returned from a request. | ||
+ | |||
+ | Assuming that the Serviio limit is 20 videos, but the first 80 results are needed, | ||
+ | then the following 4 YouTube queries would be required for this example search: | ||
+ | |||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | Additionally, | ||
+ | for each feed so they may be distinguished and displayed by Serviio as different feeds. |