Can I create a movie category filtering movies from a certain folder only?
#1
Hello,

Under Settings / Skin Settings / Main Menu, there is this Edit Category

* Is it possible to create a category and access it directly from the Main Menu, similar to Movies, Videos, Weather etc?
* Say I have three sources for my movie library. Is it possible to create a category that only lists movies from one of the sources?

Thank you
Reply
#2
(2018-04-17, 19:27)Josefin Wrote: * Is it possible to create a category and access it directly from the Main Menu, similar to Movies, Videos, Weather etc?
not in Estuary the Edit Category will create a new video node those are the boxes along the top under movies
(2018-04-17, 19:27)Josefin Wrote: * Say I have three sources for my movie library. Is it possible to create a category that only lists movies from one of the sources?
Yes with video_nodes (wiki)
Reply
#3
Quote:not in Estuary the Edit Category will create a new video node those are the boxes along the top under movies
Do you know a skin that does support this?
Quote: Yes with video_nodes (wiki)
I know this Wiki page but it is still hard for me to understand. Could you please guide me step by step how this can be achieved?
Reply
#4
Basically all other skins offer that ability that I know of.

If you post the path to all three sources I will write you a video node if not I will create a step by step tomorrow morning
Reply
#5
best you can do is add a row in movies
306688 (thread)
Reply
#6
to create a custom node
Step 1 install the addon library node editor form program addon section. Run it select video library then select Movies this will create all the files that you need

Step 2 create a file under /userdata/library/video/movies/ with a .xml extension on it. I called mine test.xml

xml:
<?xml version='1.0' encoding='UTF-8'?>
<node type="filter">
<label>test</label>
<content>movies</content>
<rule field="path" operator="contains">
<value>test1</value>
<value>test2</value>
<value>test3</value>
</rule>
<order direction="ascending">sorttitle</order>
</node>
Step 3 edit the above file to meet your needs
xml:
<lable>test</label>
is what the name you see when in kodi this will show test
xml:
<value>test1</value>
<value>test2</value>
<value>test3</value>
this is what is unique in each of the three paths. my paths are:
movie3/test1
movies/test2
movies/test3
Reply
#7
(2018-04-29, 13:20)the_other_guy Wrote: best you can do is add a row in movies
306688 (thread)
this can de done on 18 ?17
first create a play list

it will be saved in kodi \AppData\Roaming\Kodi\userdata
you will need to copy this to theme \playlists
this is an example of Blu-ray <value>your:\path\</value>
bluray.xsp
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
    <name>bluray</name>
    <match>all</match>
    <rule field="path" operator="contains">
        <value>E:\Blu-Ray\</value>
    </rule>
</smartplaylist>

now edit home.xml
find
<item>
       <label>$LOCALIZE[342]</label>
       <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>
       <property name="menu_id">$NUMBER[5000]</property>
       <thumb>icons/sidemenu/movies.png</thumb>
       <property name="id">movies</property>
       <visible>!Skin.HasSetting(HomeMenuNoMovieButton)</visible>
      </item>

NOW add this
<item>
       <label>Blu-Ray</label>
       <onclick>ActivateWindow(10025,&quot;E:\\Blu-Ray\\&quot;,return)</onclick>
       <property name="menu_id">$NUMBER[22000]</property>
       <thumb>icons/sidemenu/blu-ray.png</thumb>
       <property name="id">Blu-Ray</property>
       <visible>!Skin.HasSetting(HomeMenuNoMovieButton)</visible>
      </item>

then for the widget screen find
 <control type="group" id="11000">
<visible>String.IsEqual(Container(9000).ListItem.Property(id),video)</visible>

AND paste above the <control type="group" id="11000">
<!---blu-ray -->
          <control type="group" id="22000">
    <control type="image">
     <left>0</left>
     <right>0</right>
     <top>0</top>
     <height>100%</height>
     <fadetime>300</fadetime>
     <texture border="2" fallback="special://skin/extras/home-images/movie1.jpg" background="true">$VAR[FanartImageVar]</texture>
     <aspectratio align="center" aligny="bottom">scale</aspectratio>
    </control>
    <control type="label">
       <left>604</left>
       <top>50</top>
       <height>0</height>
       <width>0</width>
       <fadetime>300</fadetime>
       <aligny>center</aligny>
       <font>font37B</font>
      <label>Blu-Ray</label>
       <shadowcolor>black</shadowcolor>
      </control>
     <visible>String.IsEqual(Container(9000).ListItem.Property(id),Blu-Ray)</visible>
     <include content="Visible_Right_Delayed">
      <param name="id" value="Blu-Ray"/>
     </include>
     <control type="grouplist" id="22001">
      <include>WidgetGroupListCommon</include>
      <pagecontrol>22010</pagecontrol>
      <include content="WidgetListCategories">
       <param name="content_path" value="library://video/movies/"/>
       <param name="widget_header" value="$LOCALIZE[31148]"/>
       <param name="widget_target" value="movies"/>
       <param name="list_id" value="22900"/>
      </include>
      <include content="WidgetListPoster">
       <param name="content_path" value="special://skin/playlists/bluray.xsp"/>
       <param name="widget_header" value="Blu-Ray"/>
       <param name="widget_target" value="video"/>
       <param name="list_id" value="22100"/>
      </include>
            <include content="WidgetListPoster">
       <param name="content_path" value="special://skin/playlists/random_br.xsp"/>
       <param name="widget_header" value="Random Blurays"/>
       <param name="widget_target" value="video"/>
       <param name="list_id" value="22200"/>
      </include>
      </control>
      <include content="WidgetScrollbar" condition="Skin.HasSetting(touchmode)">
      <param name="scrollbar_id" value="22010"/>
     </include>
    </control>
 <!---blu-ray -->
Reply

Logout Mark Read Team Forum Stats Members Help
Can I create a movie category filtering movies from a certain folder only?0
This forum uses Lukasz Tkacz MyBB addons.