Kodi Community Forum
Adding view to Youtube library - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Arctic: Zephyr - Reloaded (https://forum.kodi.tv/forumdisplay.php?fid=221)
+---- Thread: Adding view to Youtube library (/showthread.php?tid=314102)



Adding view to Youtube library - joostzilla - 2017-05-10

UPDATE: The views are available on my Win10 machine but not on my Mac.

Just starting to use this amazing skin a few days ago and it is simply superb. (just switched from MediaPortal to Kodi using Plex as media server and MP TVserver as backend)

One thing i have a question about. I have made a main menu item fro Youtube. When i open the youtube view i can only choose List, Big List (Dual Pane) and Thumbnail. What i miss is a view like the Fanart Thumb view in TV shows.
The thumbnails generated by Youtube are perfect for such a view. (they look great when used in the widget)

Is there anyway i can add views?

Anyway, thanks for this skin. :-)


RE: Adding view to Youtube library - SerpentDrago69 - 2017-05-16

http://forum.kodi.tv/showthread.php?tid=267160

Its explained in this thread .

As part of ongoing improvements and corrections of hacks and work arounds Team Kodi is now enforcing a previously existing policy that Views should be set by Skins, not by Addons. YouTube v5.3.6 onwards was updated to comply with this policy.

^^^ This is why you can't set the view in the addon settings anymore.

NB: To set Views inside your Skin open the 'Side Blade' on the left hand side (stock Kodi Confluence Skin).

Team Kodi is now also enforcing a policy that videos from addons like YouTube are not TV Show type 'Episodes'.
YouTube and similar addons now need to Set Content Type as "Videos".

^^^ This is why only 'List', 'Big List', and 'Thumbnail' views are available now.

Changes have been pushed to github for the Confluence Skin by Team Kodi member @Hitcher (thanks Hitcher!) to allow the Media Info view to be available (again) to addons such as YouTube that will now need to Set Content Type as "Videos".

This official change should also now be adopted by Skin Developers to complete the policy changes and make everything work like before (except in line with this enforcement, views will be set by skins, and not by addons).

* How can I set the 'Media Info' View again?

Your Skin probably needs updating first. Please inform your Skin Developer about these changes and refer them to this FAQ.

NB:
As temporary work around users may install the 'Unofficial' YouTube version from Post #1 on Page 1 of this thread.
This will give you back the possibility to chose the view in the addon settings.

For technical reference (for Skin and Addon Developers) I will also put further links regarding this subject here:

- GitHub Discussion
- Summary Discussion in the YouTube thread
- Thread by @phil65: "Heads-up: How to deal with content types / media types"


RE: Adding view to Youtube library - SerpentDrago69 - 2017-05-16

Sometime this week , i'll look at how to modify this skin to add the viewtypes to "videos" . I kinda want this mod myself . but I barely know what i'm doing so it may take a bit


RE: Adding view to Youtube library - SerpentDrago69 - 2017-05-16

For now you can install the "unofficial " you tube version in the above post i linked to


RE: Adding view to Youtube library - SerpentDrago69 - 2017-05-16

Ok , I think i figured it out for you real quick , ( i had some time ) I need to know what view type you want for Videos (thats the container type youtube uses )


http://prntscr.com/f8if2m

Is that what you want ( that would be the Big thumbnail view type AKA View_53_Poster.xml )


RE: Adding view to Youtube library - SerpentDrago69 - 2017-05-16

Basically you need to open the skin xml file (with notepad++ do not use notepad ) of the viewtype you want to add , and edit the <visible> line toward the top and add | Container.Content(videos) , that will make that view type available to be picked

Example above , I edited the file View_53_Poster.xml located in C:\Users\YOURUSERHERE\AppData\Roaming\Kodi\addons\skin.arctic.zephyr.plus\1080i

Line 8 , and just added Container.Content(Videos) to the Visible tags