Kodi Community Forum

Full Version: add a menu
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello,

I would like add a menu "Kids" on my kodi.

I've this folder on my NAS :
  • SMB//192.168.0.1/movies/adultes
  • SMB//192.168.0.1/movies/kids
  • SMB//192.168.0.1/music/
  • SMB//192.168.0.1/series/

Actualy all the adults and kids movies are in the same menu. But I would like have this in my top menu :

Music / KIDS / Movies / series /systems / Weather ...

I would like Kids join directly the folder KIDS and only this one.
I would like Movies join directly the folder Adultes and only this one.

how can do it ?

thank you !
Look in the wiki at video nodes (wiki), although you will need a skin that supports them (not all the skins out there do at the moment).
If you want to seperate the kids movies form the adult movies, I would take a look at profiles:

http://kodi.wiki/view/Profiles

With that you can password protect the master profile (for the adult) and let the kids only use the "Kids"-profile and add only the kids source there.

Different profiles are able to use different libraries. So the "kids"-profile will have their own library with only their movies added. So "movies" in each profile will only contain what they should and you don't need to have a further menu tab.

If you want to avoid that the kids add sources themself, you could use read-permissions on the SMB shares or use passwords for those, too.

if you then want to enter directly to the specific section (either movies for the kids or movies for adults at entering the specific profile) you can do that via autoexec.py:

http://kodi.wiki/view/Autoexec.py

and the built-in functions:

http://kodi.wiki/view/List_of_built-in_functions

http://kodi.wiki/view/Built-in_scripting...rom_python

This file, while existend in each profile folder, will always be executed if you switch the profile.

Hope this might help you a bit. Because creating a video node, won't protect the kids for entering the adult movies section.

Greetings
ok i will go take my crystal meth to do that ! Big Grin
(2015-12-07, 14:23)David1977 Wrote: [ -> ]If you want to seperate the kids movies form the adult movies, I would take a look at profiles:

http://kodi.wiki/view/Profiles

With that you can password protect the master profile (for the adult) and let the kids only use the "Kids"-profile and add only the kids source there.

Different profiles are able to use different libraries. So the "kids"-profile will have their own library with only their movies added. So "movies" in each profile will only contain what they should and you don't need to have a further menu tab.

If you want to avoid that the kids add sources themself, you could use read-permissions on the SMB shares or use passwords for those, too.

if you then want to enter directly to the specific section (either movies for the kids or movies for adults at entering the specific profile) you can do that via autoexec.py:

http://kodi.wiki/view/Autoexec.py



and the built-in functions:

http://kodi.wiki/view/List_of_built-in_functions

http://kodi.wiki/view/Built-in_scripting...rom_python

This file, while existend in each profile folder, will always be executed if you switch the profile.

Hope this might help you a bit. Because creating a video node, won't protect the kids for entering the adult movies section.

Greetings

thank you DAVID1977, but i don't want restrict access or have more profile. I would like juste have a button "kid" with a different library than "movies" is it possible in the same profile ?

best regards
(2015-12-07, 14:02)DarrenHill Wrote: [ -> ]Look in the wiki at video nodes (wiki), although you will need a skin that supports them (not all the skins out there do at the moment).

thank you darrenhill but all the family have adopted the actual and native skin Wink
I think the native skin (Confluence) does at least partially support them, but not completely at least for the moment. I believe updating it is on the dev's to-do list though, although quite when that may happen is unclear (to me).

Confluence is not so good for customisation of the top level menu, so you may be best to look at other skin options and see if you can find one that would fit the bill as it will enable more flexibility. Maybe consider a simple but customisable one like Amber.

Another way to do it is to use favourites, and make your two movie source folders as favourites and access them that way. You'll end up with files view rather than library view, but it is workable. But again you can only include the overall favourites folder as a menu item, not the specific ones themselves (in Confluence, again you can in other skins).