How to remove unwanted items from Videos menu
#1
Hi Not sure if this is skin related or Kodi so forgive me if I'm posting in the wrong section.

Using Confluence, when I go into the Videos menu I see this.

Videos
Movies
TV shows
In progress TV shows
Recently added movies
Recently added episodes
Files
Playlists
Video add-ons

Ideally what I'd like to see is it go directly to files and display the folders/files listed so when I select Videos I'd see something like

Videos
Folder 1
Folder 2
Folder 3....

but if that's not possible I'd also settle for Files so I could click videos and only see

Videos
Files

Is there a way to do that, I was thinking I could just comment out some sections in one of the skin.confluence\720 xml files but I can't find references to these menu items in the xml files. Appreciate if anyone can offer any advice.
Reply
#2
Ok I went through the skinning tutorial to add a new button to accomplish this

<item id="55">
<label>FILES</label>
<onclick>ActivateWindow(Videos,Files)</onclick>
<icon>-</icon>
<thumb>-</thumb>
</item>

This works but now I'm stuck on something else. The new button takes me straight to file sources but I have to hit back twice on my remote control to get to the main menu, the first back takes me to the root of videos, the second takes me to the main menu. Can't figure out how to go back to the main menu with one click.

Also noticed that if I try to go directly into a Video Source it doesn't work. For example, I have a Video Source called Temp if I add the following, it doesn't work. According to the tutorial it should work. I have scraper set to NONE on this source and it's also set to be excluded from scans, not sure if that's the reason.

<item id="55">
<label>FILES</label>
<onclick>ActivateWindow(Videos,Temp)</onclick>
<icon>-</icon>
<thumb>-</thumb>
</item>
Reply
#3
I have Same Issue. Did you Find any method?
Reply
#4
(2017-01-31, 15:14)Orama Wrote: I have Same Issue. Did you Find any method?

I also want to remove unwanted items from menus.
I suppose we have to use the advancedsettings.xml file

Code could be like
Code:
<musiclibrary>
      <hideplayliststitems>true</hiderplaylisttems>
</musiclibrary>

But it does not work : this kind of option is not mentioned in the wiki page.
Note I do use an advancedsettings.xml file for my mariadb database, I've also added music extensions with this file

I do hope someone will help us.
Thanks in advance.
Reply
#5
I do not have a clean kodi setup here (and it has been some time ago when I set everything up) so I can't check quickly, but I think that the playlists are only there when you scanned your library and set content. If you remove that, you should be fine I guess.
Reply
#6
(2017-02-08, 12:27)Miss_80 Wrote: I do not have a clean kodi setup here (and it has been some time ago when I set everything up) so I can't check quickly, but I think that the playlists are only there when you scanned your library and set content. If you remove that, you should be fine I guess.

Thanks,
but
Playlists is one item among many others : I also want to remove "Artists", "Albums", Years", etc,
just want to keep "files"
Reply
#7
Ok, I found "how to"

It's easy if you're a litttle comfortable with xml files.

First, locate your skin xml files:
I'm using my /.kodi/addons/skin.confluence/720p folder

Backup Home.xml
Edit Home.xml : you can hide any submenu you want.
search for
<include>HomeSubMenu
All submenus lines will be highligted

for example, erase
<include>HomeSubMenuVideos</include>
to disable the Videos submenus

erase
<include>HomeSubMenuMusic</include>
to disable the music submenu

Don't erase anything if you just want to remove only some submenu entries.

In that case, backup and edit IncludesHomeMenuItems.xml

If you want to remove some music entries, search for
<include name="HomeSubMenuMusic">

In that section, I just kept songs and years submenus (button ID 90116 and 90117)
I erased all first buttons starting with <control ... and ending with </control>

My next step will be to remove options in the video and music pages as I only want few of them.

I'll post a new message soon.
Reply
#8
Code:
<item id="55">
    <label>FILES</label>
    <onclick>ActivateWindow(Videos,Files,Return)</onclick>
    <icon>-</icon>
    <thumb>-</thumb>
</item>
Reply
#9
To remove options, I installed the Library Node Editor programm addon.
Then I reordered my remaining items with this addon.

Kodi is really great, I started using it a week ago.
There's one option missing for me : I'll open a new subject !
Reply
#10
I just removed a hard disk showing in files list using advancedsettings.xml :
Code:
<video>
    <excludefromlisting>
        <regexp>(/run/media/me/Donnees)</regexp>
    </excludefromlisting>
</video>

<audio>
    <excludefromlisting> <!-- Regular expressions that if evaluated to true won't be displayed in Files View -->
        <regexp>(/run/media/me/Donnees)</regexp>
    </excludefromlisting>
</audio>

(/run/media/me/Donnees is the path under Linux to my drive - replace "me" by your account name !)

Home.xml : id2 is the vidéos - id 3 is music and id4 is pictures.
For all these buttons, I did redirect them to Files using
Code:
<onclick condition="String.IsEqual(Window.Property(MusicDirectLink),True)">ActivateWindow([b]Music,Files,Return[/b])</onclick>

I also removed date and clock by commenting lines :
Code:
<!-- <include>Clock</include> -->

Now my Kodi interface is OK

I know all this information is available in many posts, but I cannot find a centralized post with code samples, and I'm a new Kodi User.
Reply

Logout Mark Read Team Forum Stats Members Help
How to remove unwanted items from Videos menu0