Removing the "add media" functionality
#1
Hi,

I'm trying to strip down Estuary to make a skin that just allows playing the videos and showing the pictures that are present on the local hard drive.  Some things have been easy to find and remove, but the "+ Add pictures" and "+ Add Videos..." options are eluding me so far.  The debugger shows them as Focused: 55 (fixedlist) in MyPix.xml and MyVideoNav.xml, and I found View_55_Widelist.xml and some items in there that I can mess with visibility of the image and label, but even when they are invisible the control is still active...

Does anyone know of a way to de-activate that add media functionality, either in the skin or through other configurations?

Thanks,
Reply
#2
Try disabling the buttons in settings... https://kodi.wiki/view/Settings/Media/General
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#3
Excellent, thank you - worked great.

I am very close to where I want to be, with one exception: Playlists.  Any suggestion on where to find / how to hide the playlist options?
Reply
#4
Follow this to copy nodes https://kodi.wiki/view/Video_nodes#Manua...ustom_node to your Userdata and then simple delete the playlist.xml file.
Reply
#5
I'm not sure nodes will do what I'm looking for.   I don't want to hide playlists (actually I don't care if playlists are hidden or not), what I really want to hide is the ability to create new playlists.

This is my home screen, as you can see it's going for a very small/basic functionality set: https://imgur.com/UKOq6L6

From there under video there is a set of nested sub folders, and I'd like to retain the .. navigate up capability to be able to get in and out of those folders: https://imgur.com/94rExLa

Going up from the videos folder, you get into the /storage folder of LibreELEC, no harm there - although I wouldn't mind if I could have "navigate up" functionality that stops before going here: https://imgur.com/m8bOEme

One up from there brings me here, is this a node?  If so where is it defined - I didn't see it in /usr/share/kodi/system/library/video : https://imgur.com/sBNa74a

Finally, the thing I really want to get rid of is the ability to create stuff that you get here: https://imgur.com/Kp6wuUg
Reply
#6
(2024-03-19, 17:10)MangoCats Wrote: One up from there brings me here, is this a node?  If so where is it defined - I didn't see it in /usr/share/kodi/system/library/video : https://imgur.com/sBNa74a
Yes Files, Playlists, and Video add-ons are nodes. The node files are in the system location that Kodi is installed to, so yes there is nothing in that userdata path by default as you have to copy the xml files that location/usr/share/kodi/system/library/video first as stated in the wiki link I gave.
(2024-03-19, 17:10)MangoCats Wrote: Finally, the thing I really want to get rid of is the ability to create stuff that you get here: https://imgur.com/Kp6wuUg
Not possible to only remove that, you would need to remove access to the whole playlist node.
Reply
#7
The node modification worked as desired.

Now... keymaps... why do hotkeys try to open the PVR interfaces when no PVR interfaces are active?
Reply

Logout Mark Read Team Forum Stats Members Help
Removing the "add media" functionality0