v18 Custom homes items pointed to differing sources all display the same results
#1
I am using Estuary mod V2 but the problem is the same on other skins (eg Aeon Nox Silvo)
It is on a fresh Kodi v18 install on a fresh install of Windows 10.


I want to add custom items to the home menu eg "Kid's Movies" etc.

I have 3 folders for my movies:
\Movies\
\Movies - Family\
\Movies - Kids\

I was hoping to setup 2 home items like this (so \Movies Family\ appears in both sources & home items)

Source "Movies" contains 2 paths:
\Movies\
\Movies - Family\

Source "Kids Movies" contains 2 paths
\Movies - Kids\
\Movies - Family\

I created a custom home item "Kid's Movies" and pointed it towards the Kid's Movies source which contains 2 paths.
When I select this new menu item, there are 2 x duplicate "Kids Movies" options showing:  They both contain the correct results (from the 2 folders) with the only difference being, 1 is in title order, the other is random order.  After trying to get my head around the skin shortcuts file I figure this is due to "3.xsp" & "3-randomversion.xsp".  But not sure why it is showing both of these (I only want Titles!).

At first I thought it might be a problem with the 1 source containing 2 folders, so I tried making more home items with other paths.  Had the same result so that can't be the cause.
However as I created each one I found that each custom home item displayed ALL of these items x 2 (1x title order, 1 x random order).

Image

What am I doing wrong hereHuh!
Reply
#2
More of a question for the skins you are using.

Have a read here... Custom home items (wiki). There is also a How To guide for Aeon Nox:Silvo which may reveal the error if you follow it.
My Signature
Links to : Forum rules (wiki) | 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) | NFO_files (wiki) | Quick start guide (wiki)
Reply
#3
I actually went to post in the Estuary mod V2 thread, but then discovered it does the same in Silvo as well so figured it was not skin specific.

I have read both of those thoroughly and spent some quite time searching the forums but have not seen the same problem mentioned elsewhere.


Is there anywhere that gives a beginners overview of how the custom skins and script.skinshortcuts work together?

If it helps anyway else diagnose my problem, I have discovered this so far...

\script.skinshortcuts\mainmenu.DATA.xml contains:
<shortcut>
        <defaultID />
        <label>Kids Movies</label>
        <label2>Video Source</label2>
        <icon>DefaultShortcut.png</icon>
        <thumb />
        <action>ActivateWindow(Videos,special://profile/addon_data/script.skinshortcuts/2.xsp,return)</action>

\script.skinshortcuts\2.xsp contains:
<smartplaylist type="movies">
    <name>Kids Movies</name>
    <match>one</match>
    <rule field="path" operator="startswith">
        <value>smb://SynologyDS216j/Media/Movies - Kids</value>
    </rule>
    <rule field="path" operator="startswith">
        <value>smb://SynologyDS216j/Media/Movies - Family\</value>
    </rule>
</smartplaylist>
Reply
#4
<action>ActivateWindow(Videos,special://profile/addon_data/script.skinshortcuts/2.xsp,return)</action>
That does not look right to me. Run through the guide I gave you
My Signature
Links to : Forum rules (wiki) | 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) | NFO_files (wiki) | Quick start guide (wiki)
Reply
#5
Aha, is this what you want to see?

 <shortcut>
<defaultID>kidsplaylist</defaultID>
<label>Kids Movies</label>
<label2>Video Playlist</label2>
<icon>DefaultPlaylist.png</icon>
<thumb />
<action>ActivateWindow(Videos,special://profile/playlists/video/kidsplaylist.xsp,return)</action>
</shortcut>
 


I think was following my nose when I first did it, and when I looked into why it wouldn't work, I saw the "smart playlist" references in the xsp files and assumed it was creating it's own smart playlists. Woops!

I thought I had read somewhere though, that you could point the custom home menu items to most things that came up in options that are available when selecting a default action. So I guess it would appear that pointing towards a source does not work??

Thanks for your help! Smile
Reply
#6
A different perspective.

Create smart playlists based on the rule 'path' and point at your Family & Movie source.
Create smart playlists based on the rule 'path' and point at both Kids & Family source. 

Ensure they work as expected; mark them as a favourite.

Choose a skin that supports custom home page buttons/menus, in settings delete all other home page buttons/menus

Create new menu/buttons in the name chosen and link them to those favourites.
Reply
#7
Movies - Family\
\Movies - Kids\



you could do it with nodes
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<node order="40" type="folder">
    <label>Other Movies</label>
    <icon>DefaultFolder.png</icon>
    <path>D:\videos</path>
</node>

or on mpaarating
<?xml version='1.0' encoding='UTF-8'?>
<node type="filter">
    <label>test</label>
    <content>movies</content>
    <rule field="mpaarating" operator="is">
        <value>rated g</value>
    </rule>
    <group>sets</group>
</node>
Reply
#8
(2019-07-14, 06:52)PatK Wrote: A different perspective.

Create smart playlists based on the rule 'path' and point at your Family & Movie source.
Create smart playlists based on the rule 'path' and point at both Kids & Family source. 

Ensure they work as expected; mark them as a favourite.

Choose a skin that supports custom home page buttons/menus, in settings delete all other home page buttons/menus

Create new menu/buttons in the name chosen and link them to those favourites.

That's exactly what I did after I reread the guide closely!

I think what set me off on the wrong path, was I started by trying to isolate my home items from the source.  2nd mistake was thinking that sources would work as a filter from a chosen action menu.  Seemed logical to me!Huh

I have since read about Plex users being able to separate their library options, opposed to Kodi being limited to Movies/TV Shows.  I would love to be able to create unlimited library root sources such as Kids Movies, Kids TV Shows, Documentaries, Home Videos etc.

I haven't seen anyone say why this is not a good direction to head with Kodi?
I have never used Plex so can't comment on if there might be some drawbacks/compromises to expanding library options beyond Movies/TV Shows
Reply
#9
There are two sides to Kodi.
1. File View which is just like Windows Explorer and you can browse all your sources and folders and files they contain. Accessed from Videos>Files
2. Library View, which are items in the library with rich information and enhanced features. Accessed from the main menu options.

Once items are in the library, sources are irrelevant as they are simply a means to get things into the library. If you like your source folder structure and want your library to sort the way you have your sources setup, and want the flexibility of the library features, then Smart Playlists are probably the best way to go due to their simplicity. Trying to tell Kodi to display your Source is exactly what you will get- a list of folders and files, not the library. The Smart Playlist will filter the library content to match that of your Source.

(2019-07-14, 09:08)Coro Wrote: I have since read about Plex users being able to separate their library options, opposed to Kodi being limited to Movies/TV Shows. 
Movies, TV Shows, Music Videos and Music to be precise. What else is there, apart from those four, that Plex has in addition?
My Signature
Links to : Forum rules (wiki) | 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) | NFO_files (wiki) | Quick start guide (wiki)
Reply
#10
(2019-07-14, 09:21)Karellen Wrote: Once items are in the library, sources are irrelevant as they are simply a means to get things into the library. 

I see this is key, I did understand that previously but thought Sources would be a method to filter the library.

 
(2019-07-14, 09:21)Karellen Wrote: Movies, TV Shows, Music Videos and Music to be precise. What else is there, apart from those four, that Plex has in addition?
I don't know to be honest.  Documentaries is one I see pop up quite often?  I guess if I create home iitems using smart playlists (as per the manual!  Wink ) then I may find there is no need for anything else!

It's just to my mind, being able to apply those type of filters from the beginning (when creating sources/libraries) it seems a bit more logicalHuh
Reply
#11
For video there only Movies and TV Shows by default as these are the only things for which there are web metadata databases from which we can pull artwork, descriptions etc to give a rich experience. For everything else there is Custom Home items (using smartplaylists) and Custom video nodes.
Reply
#12
(2019-07-14, 09:08)Coro Wrote: I would love to be able to create unlimited library root sources such as Kids Movies, Kids TV Shows, Documentaries, Home Videos etc.
Check the images here. 2849518 (post)

Let's think about getting everything into the library (stuff that doesn't scan like documentaries, home videos, and one offs put into a separate folder Custom video entries (wiki)  to be dealt with later) , create those smartplay lists and do some linking; using Video nodes (wiki) really upgrades smartplaylists with hierarchy capabilities and of course Add-on:Library Node Editor (wiki) is where it's at.

Hint: treat one offs & docs as unscrapped library sources, with nothing and excluded from scans, file mode will allow play.
Reply
#13
Looks like a skin shortcuts script problem to me.
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Custom homes items pointed to differing sources all display the same results00