Kodi Community Forum
New menu in Home - 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: Estuary (https://forum.kodi.tv/forumdisplay.php?fid=260)
+---- Thread: New menu in Home (/showthread.php?tid=368847)

Pages: 1 2 3 4


RE: New menu in Home - Bungee_G - 2022-07-07

(2022-07-07, 23:15)ontap Wrote: Under Movies , you would need to point the action to a source/selection other than titles. What would you like to see when you click on Movies ?
Do you want to remove the Movies item completely ?
I would like when I click to see under Movies only movies but not the anime movies that I added in "ANIME"


RE: New menu in Home - Bungee_G - 2022-07-07

(2022-07-07, 23:25)Karellen Wrote: Couldn't you edit the Movies menu item to point to a new smart playlist that includes movies, but not anime?
special://skin/playlists/movies_no_anime.xsp
I don't know how to do that. So I would have to create a smart playlist for the Movies item and also for the ANIME item ?


RE: New menu in Home - Karellen - 2022-07-08

(2022-07-07, 23:45)Bungee_G Wrote: So I would have to create a smart playlist for the Movies item and also for the ANIME item ?
No. You already have your anime menu item which shows anime. All you want now is to remove anime from the Movies menu listing.

Create a Smart playlist (wiki) with the rule is not or does not contain (whichever works for you) for the source you want to exclude.
Copy that playlist to the Playlists folder in the skin.estuary folder.
In the home.xml file at line 927 you will see the following.
xml:
<onclick condition="Library.HasContent(movies) + Skin.HasSetting(home_no_categories_widget)">ActivateWindow(Videos,videodb://movies/,return)</onclick>
<onclick condition="Library.HasContent(movies) + !Skin.HasSetting(home_no_categories_widget)">ActivateWindow(Videos,videodb://movies/titles/,return)</onclick>
<onclick condition="!Library.HasContent(movies)">ActivateWindow(Videos,sources://video/,return)</onclick>

Change it so the <onclick lines are changed as follows. Obviously change the filename of the playlist to the one you have created.
xml:
<onclick condition="Library.HasContent(movies) + Skin.HasSetting(home_no_categories_widget)">ActivateWindow(Videos,special://skin/playlists/no_scifi_movies.xsp",return)</onclick>
<onclick condition="Library.HasContent(movies) + !Skin.HasSetting(home_no_categories_widget)">ActivateWindow(Videos,special://skin/playlists/no_scifi_movies.xsp,return)</onclick>
<onclick condition="!Library.HasContent(movies)">ActivateWindow(Videos,special://skin/playlists/no_scifi_movies.xsp,return)</onclick>

I'm not a skinner, so if I have made a mistake, hopefully @ontap or someone else might spot it.


RE: New menu in Home - Bungee_G - 2022-07-08

(2022-07-08, 01:18)Karellen Wrote:
(2022-07-07, 23:45)Bungee_G Wrote: So I would have to create a smart playlist for the Movies item and also for the ANIME item ?
No. You already have your anime menu item which shows anime. All you want now is to remove anime from the Movies menu listing.

Create a Smart playlist (wiki) with the rule is not or does not contain (whichever works for you) for the source you want to exclude.
Copy that playlist to the Playlists folder in the skin.estuary folder.
In the home.xml file at line 927 you will see the following.
xml:
<onclick condition="Library.HasContent(movies) + Skin.HasSetting(home_no_categories_widget)">ActivateWindow(Videos,videodb://movies/,return)</onclick>
<onclick condition="Library.HasContent(movies) + !Skin.HasSetting(home_no_categories_widget)">ActivateWindow(Videos,videodb://movies/titles/,return)</onclick>
<onclick condition="!Library.HasContent(movies)">ActivateWindow(Videos,sources://video/,return)</onclick>

Change it so the <onclick lines are changed as follows. Obviously change the filename of the playlist to the one you have created.
xml:
<onclick condition="Library.HasContent(movies) + Skin.HasSetting(home_no_categories_widget)">ActivateWindow(Videos,special://skin/playlists/no_scifi_movies.xsp",return)</onclick>
<onclick condition="Library.HasContent(movies) + !Skin.HasSetting(home_no_categories_widget)">ActivateWindow(Videos,special://skin/playlists/no_scifi_movies.xsp,return)</onclick>
<onclick condition="!Library.HasContent(movies)">ActivateWindow(Videos,special://skin/playlists/no_scifi_movies.xsp,return)</onclick>

I'm not a skinner, so if I have made a mistake, hopefully @ontap or someone else might spot it.

Thanks, it worked. There is now 2 other issues :
-On the homescreen, there is the same display for "Movies" and "ANIME" :
ImageImage
While it should only show movies when Movies is highlighted and animes when ANIME is highlighted.

- The other issue is that when I click on "ANIME" here is the display :
Image
it is because I put every animes in separated folders, instead of showing the folders content, it shows the folders.


RE: New menu in Home - ontap - 2022-07-08

That looks like you haven't scanned the folder into the library , go back to the folder in media , rt click and choose "scan for new content ".


RE: New menu in Home - the_other_guy - 2022-07-08

(2022-07-07, 16:09)Bungee_G Wrote: Hello, I have 4 folders on my HDD : Movies, TV Shows, Animes, and Anime films. I would like to add to the home menu Animes and Anime films. I guess it requires some skinning (should I have posted the message in Skinning ?)


I also would like to add them when scraping, here :Image

Thanks

this should still work
https://forum.kodi.tv/showthread.php?tid=344593


RE: New menu in Home - ngbruno - 2022-07-08

Great Topic! 
I´ve done what you are trying to do. I used "genres" to separate movies and animes. When I get home I´ll show you how I did it and maybe it will help you too.


RE: New menu in Home - Bungee_G - 2022-07-08

@ontap Yes thanks, now it display normally, but the first issue is still there : ANIME and Movies display the same screen on the home screen


RE: New menu in Home - Bungee_G - 2022-07-08

(2022-07-08, 09:19)the_other_guy Wrote:
(2022-07-07, 16:09)Bungee_G Wrote: Hello, I have 4 folders on my HDD : Movies, TV Shows, Animes, and Anime films. I would like to add to the home menu Animes and Anime films. I guess it requires some skinning (should I have posted the message in Skinning ?)


I also would like to add them when scraping, here :Image

Thanks

this should still work
https://forum.kodi.tv/showthread.php?tid=344593
Is this another way of doing everything ontap said me ? Thanks, I will give it a try


RE: New menu in Home - the_other_guy - 2022-07-09

(2022-07-08, 18:35)Bungee_G Wrote: ANIME and Movies display the same screen on the home screen

 you would need to edit playlists  inprogress_movies.xsp random_movies.xsp recommended_movies.xsp unwatched_movies.xsp 
xml:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
    <name>Random movies</name>
    <match>all</match>
 
    <order direction="descending">random</order>
</smartplaylist>

and add some thing like 
xml:

 <rule field="path" operator="doesnotcontain">
        <value>F:\ANIME\</value>
    </rule>
you could remake them as smartplaylists and point to special://profile/playlists/video/file_name.xsp
    <param name="content_path" value="special://profile/playlists/video/file_name.xsp"/>
xml:

    <include content="WidgetListPoster" condition="Library.HasContent(movies)">
                            <param name="content_path" value="special://skin/playlists/inprogress_movies.xsp"/>
                            <param name="widget_header" value="$LOCALIZE[31010]"/>
                            <param name="widget_target" value="videos"/>
                            <param name="list_id" value="5100"/>
                        </include>



RE: New menu in Home - ontap - 2022-07-09

I showed you how to add a custom item to the home menu list , The_Other_Guy is now showing you how to create custom widgets and link them to your new menu item .


RE: New menu in Home - Bungee_G - 2022-07-13

Thanks for your help, sorry for the late reply, I didn't have much time these days... What you told me worked so thanks. There is some little issues, I will not send all the issues in this message but to start : there is an issue with how the animations films are displayed, it is displayed as the screenshots I sent in the #19 message but with the images, for example when I click on the animation film named "Silent Voice" it displays the file in the folder instead of playing directly the video as normally.ImageImage

Another issue you can see on the screenshots is that at the top left corner, it is written "Movies / [name of the current folder]" (here the folder name where I store the "ANIME" videos is "Nouveau dossier (2)" and in it there is a folder named "A SILENT VOICE1" where is stored the animation film named "Silent Voice" ) instead of "ANIME / Titles" since in movies it is written "Movies / Titles"

Thanks


RE: New menu in Home - jjd-uk - 2022-07-13

It's doing that as File mode is being used.

If you want it to act the same as Movie mode then files need to be scraped into the library. Although I can see there's metadata it's not clear to me whether these have been added to the Library. With all the different suggestions it not clear to me what you eventually ended up using.

Personally I'd have different source paths for example,

\\nas\videos\movies
\\nas\videos\anime

Modify Movies node to exclude anything with path containing \\nas\videos\anime (that's assuming the anime are scraped as movies and want to be excluded from Movie node)

Add new node Anime to show items with path containing \\nas\videos\anime

Add new Anime node to Home menu.


RE: New menu in Home - jjd-uk - 2022-07-13

For example I exclude Animation films, for example Disney Animated or DC Animated movies, from my Movies node and have a seperate Animation node.

So my Movies node has been modified to:

xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<node order="30" type="filter">
<label>10024</label>
<icon>DefaultMovieTitle.png</icon>
<content>movies</content>
<rule field="path" operator="doesnotcontain"><value>media/Videos/Animation</value></rule>
<order direction="ascending">sorttitle</order>
</node>

Then I have Animated node

xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<node order="30" type="filter">
<label>Animation</label>
<icon>DefaultMovieTitle.png</icon>
<content>movies</content>
<rule field="path" operator="contains"><value>media/Videos/Animation</value></rule>
<order direction="ascending">sorttitle</order>
</node>

Then within Home.xml the fixedlist menu movie entry needs to be changed to point to

ActivateWindow(Videos,library://video/movies/titles.xml,return)

to ensure it used the modified node.

Then to add a new menu entry you need to point it to the node, for example

xml:
<item>
<label>Animation</label>
<onclick condition="Library.HasContent(movies)">ActivateWindow(Videos,library://video/animation.xml,return)</onclick>
<property name="menu_id">$NUMBER[3000]</property>
<thumb>icons/sidemenu/movies.png</thumb>
<property name="id">movies</property>
<visible>!Skin.HasSetting(HomeMenuNoMovieButton)</visible>
</item>



RE: New menu in Home - Bungee_G - 2022-07-13

Okay thanks I just followed what you said and it works, and yes files were already scraped into the library but it is still written Movies instead of Anime at the top left corner, how can i fix that ?

Also, I didn't exactly followed what you said, instead of creating an animation.xml file, I created a parent node so now there is a folder animation and titles.xml, sets.xml,etc files in that folder.

There is also another issue : when I go to the parent folder from the movies, this page appear (as it should) :Image
But when I click for example on "Titles", it displays all movies but also the Animation films which are normally excluded

Also, when I click on the parent folder but this time from the animation films, it displays the exact same screen (with movies at the top left corner instead of Anime) and when I click on "Titles" it also displays all the movies and animation films which are normally separated

Thanks