{"id":629,"date":"2015-09-29T12:50:05","date_gmt":"2015-09-29T18:50:05","guid":{"rendered":"http:\/\/wmbuck.net\/blog\/?p=629"},"modified":"2016-02-03T10:54:58","modified_gmt":"2016-02-03T17:54:58","slug":"setting-up-documentaries-menu-in-kodi","status":"publish","type":"post","link":"https:\/\/wmbuck.net\/blog\/?p=629","title":{"rendered":"Setting up Documentaries menu in Kodi"},"content":{"rendered":"<p align=\"left\"><span style=\"font-size: medium;\">The first thing I did was to actually separate the documentaries from the tv shows on the disk. I created a separate directory within my \/emedia folder called documentaries, alongside the tvshows folder, and then moved all the documentaries into it. Then I had to adjust the nfs exporting stuff on cinnamon to mount a share named documentaries and export it, so that the other computers could see it. Then in Kodi, first I cleaned the library (to remove all the previous pointers to the documentaries which were formerly inside the \/tvshows folder), then I went to Videos and created a new source called documentaries, pointing to it. When it asks for the type of content, and I tell it they are tv shows, it scrapes them all, as tvshows, and so now the library is back where it was \u2013 with all the tv series and documentaries mixed up together in the library, under the general heading of \u201ctv shows\u201d. What I want now is to differentiate between them \u2013 those that are from \/emedia\/documentaries\/ are documentaries, while those that are from \/emedia\/tvshows\/ are the tv series. <\/span><\/p>\n<p align=\"left\"><span style=\"font-size: medium;\">I experimented with the video node editor, and with manually creating or modifying nodes by copying the system library into the userdata\/library folder. I created a documentaries.xml, and had it working. But in the end there was a much easier way using just smart playlists. <\/span><\/p>\n<p align=\"left\"><span style=\"font-size: medium;\">I had to use a different skin, because Confluence doesn&#8217;t have the required features. I used Aeon Nox, but I saw some stuff on the web suggesting one might also use Aeon MQ \u2013 I thought it was MQ4, but I look now and see that there is also an MQ5 and MQ6. I may experiment with them, but right now I am using Aeon Nox. <\/span><\/p>\n<p align=\"left\"><span style=\"font-size: medium;\">First I created two \u201cSmart Playlists\u201d (Main Menu-&gt;Videos-&gt;Playlists-&gt;New Smart Playlist). I named them \u201cTV Series\u201d and \u201cDocumentaries\u201d. In the smart playlist I did \u201cadd new rule\u201d. A rule is in the form &lt;field&gt; &lt;operator&gt; &lt;value&gt;. They have a drop down for the first two. The first one starts initialized at title, but I cycled through to find &#8216;path&#8217;, then set the &lt;operator&gt; to &#8216;contains&#8217; (for Documentaries) and &#8216;does not contain&#8217; (for TV Series) and set the value to &#8216;\/documentaries\/&#8217;. I also set the \u201corder\u201d field for TV Series to be last added, but left the documentaries as alphabetical by title. <\/span><\/p>\n<p><!--more--><\/p>\n<p align=\"left\"><span style=\"font-size: medium;\">In System-&gt;Appearance-&gt;Skin Settings there is stuff to modify the main menu in Aeon Nox, and they have some extra main menu items (Custom1, Custom2&#8230;) which one can use. So I used Custom1 and Custom2 to create entries called TV Series and Documentaries. For each of them after typing the name field, I used the \u201cDefault Select Action\u201d, which when clicked shows a menu of different actions. I picked Video Library, and within that picked Playlists, and selected the playlist created in the last step. It asks what you want to do when the selection is picked \u2013 do you want to display the elements of the playlist, or start playing the whole playlist, and I want to display it. As soon as you finish doing this and return, the new main menu item is marked as \u201cenabled\u201d. <\/span><\/p>\n<p align=\"left\"><span style=\"font-size: medium;\">Then I went to the (old) menu item for TV Shows, and marked it as \u201cdisabled\u201d. One can still see that by going to Videos-&gt;TV Shows, which is the same thing. It just shows the TV Series and the Documentaries all mixed up together. Which is ok, but too long a list. <\/span><\/p>\n<p align=\"left\"><a title=\"Setting up Documentaries menu in Kodi\" href=\"#\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-644\" src=\"http:\/\/wmbuck.net\/blog\/wp-content\/uploads\/2016\/01\/scrollup.gif\" alt=\"scrollup\" width=\"40\" height=\"45\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The first thing I did was to actually separate the documentaries from the tv shows on the disk. I created a separate directory within my \/emedia folder called documentaries, alongside the tvshows folder, and then moved all the documentaries into it. Then I had to adjust the nfs exporting stuff on cinnamon to mount a &hellip; <a href=\"https:\/\/wmbuck.net\/blog\/?p=629\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Setting up Documentaries menu in Kodi<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27,6],"tags":[],"class_list":["post-629","post","type-post","status-publish","format-standard","hentry","category-kodi","category-xbmc"],"_links":{"self":[{"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/629"}],"collection":[{"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=629"}],"version-history":[{"count":11,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/629\/revisions"}],"predecessor-version":[{"id":693,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/629\/revisions\/693"}],"wp:attachment":[{"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=629"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=629"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=629"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}