Bug recentlyaddedmovies.xml rules not enforced
#1
So i finally started adding pr0n to XBMC now that i have metadata for them and i noticed that they were showing up in my Recently Added Movies even though i have edited all the video nodes and even created new ones.

All the nodes seem to work properly except for the recently added movies node. It displays the pr0n when it shouldn't due to the rules in place in the xml file

recentlyaddedmovies.xml:

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<node order="10" type="folder" visible="Library.HasContent(Movies)">
  <label>20386</label>
  <icon>DefaultRecentlyAddedMovies.png</icon>
  <path>videodb://recentlyaddedmovies/</path>
  <match>all</match>
  <rule field="genre" operator="doesnotcontain">
      <value>XXX</value>
  </rule>
  <rule field="genre" operator="doesnotcontain">
      <value>JAV</value>
  </rule>    
</node>

I haven't checked Recently Added Episodes because i have to fix some of the metadata but i did try it before on 13.0 and it was enforcing a tag rule i had put in.

-Pr.
[4 Kodi Clients + 4 Norco RPC-4224 Media Servers w/376 TB HDD Space]
Reply
#2
Notice that it's type="folder". That means it's using the <path> tag and not any of the rules/filters.

Compare with some of the others that use type="filter"
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
Ya you are right... All of the ones that work are the filter ones...The recently added ones use folders...

In the meantime, i guess i will have to use a custom xml with a filter rule

Code:
<rule field="dateadded" operator="inthelast">
      <value>??</value>

Now can you please tell me what value this takes? Is it in the last seconds, minutes, hours, days, monthsHuh

The wiki says:

Quote:True if the field falls in the last range specified by the parameter. Only applicable for a date field.

How do i write the range? I tried with a single integer and when i put 7, it showed me the last 13 movies i added but i added 47 movies today...

As for Episodes, i tried 7, 30, 200, 2000 and it shows me nothing... I assume that's because the dateadded filed is nul for the webisodes...

Thanks!

-Pr.
[4 Kodi Clients + 4 Norco RPC-4224 Media Servers w/376 TB HDD Space]
Reply
#4
Ok so after thoroughly RTFM, i found the syntax for the "inthelast" parameter.

I was able to get almost all the functionality i want except the recently added episodes has a little quirk... XBMC or the skin doesn't recognize that i am in library mode it gives me all the display options of file mode.

Here is the recentlyaddedepisodes.xml :

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<node order="11" type="filter" visible="Library.HasContent(TVShows)">
  <label>20387</label>
  <icon>DefaultRecentlyAddedEpisodes.png</icon>
  <content>episodes</content>
  <match>all</match>
  <rule field="airdate" operator="inthelast">
      <value>6 months</value>
  </rule>  
  <rule field="genre" operator="doesnotcontain">
      <value>XXX</value>
  </rule>
  <rule field="genre" operator="doesnotcontain">
      <value>JAV</value>
  </rule>    
  <order direction="descending">airdate</order>
</node>

Also, what is the reason that we cannot use dateadded field with episodes? Wiki says it's only for movies.

For those who care, here is my working recentlyaddedmovies.xml :

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<node order="10" type="filter" visible="Library.HasContent(Movies)">
  <label>20386</label>
  <icon>DefaultRecentlyAddedMovies.png</icon>
  <content>movies</content>
  <match>all</match>
  <rule field="dateadded" operator="inthelast">
      <value>6 months</value>
  </rule>  
  <rule field="genre" operator="doesnotcontain">
      <value>XXX</value>
  </rule>
  <rule field="genre" operator="doesnotcontain">
      <value>JAV</value>
  </rule>    
  <order direction="descending">dateadded</order>
</node>

That one works perfectly and i am still in library mode. Episodes are in file mode... Is there a way to force library mode in the XML?

-Pr.
[4 Kodi Clients + 4 Norco RPC-4224 Media Servers w/376 TB HDD Space]
Reply
#5
(2014-07-20, 04:36)Pr.Sinister Wrote: So i finally started adding pr0n to XBMC now that i have metadata for them and i noticed that they were showing up in my Recently Added Movies even though i have edited all the video nodes and even created new ones.

All the nodes seem to work properly except for the recently added movies node. It displays the pr0n when it shouldn't due to the rules in place in the xml file

recentlyaddedmovies.xml:
 
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<node order="10" type="folder" visible="Library.HasContent(Movies)">
  <label>20386</label>
  <icon>DefaultRecentlyAddedMovies.png</icon>
  <path>videodb://recentlyaddedmovies/</path>
  <match>all</match>
  <rule field="genre" operator="doesnotcontain">
      <value>XXX</value>
  </rule>
  <rule field="genre" operator="doesnotcontain">
      <value>JAV</value>
  </rule>    
</node>

I haven't checked Recently Added Episodes because i have to fix some of the metadata but i did try it before on 13.0 and it was enforcing a tag rule i had put in.

-Pr.
Thank u for that!! U solved my problem 8 years later your message!
Reply

Logout Mark Read Team Forum Stats Members Help
recentlyaddedmovies.xml rules not enforced0