•   
  • 1
  • 3
  • 4
  • 5
  • 6
  • 7(current)
[HOW TO] Library Node Examples
#91
I need to filter by external source, my movies placed in different HDD. Is there a way to make it by Library node? Thanx
Reply
#92
Was trying to create a tag movie node and I have some problems.  Should this work?


Code:
$ cat video/movies/kids.xml
<?xml version='1.0' encoding='UTF-8'?>
<node order="2" type="filter">
       <label>Kids</label>
       <icon>DefaultMovieTitle.png</icon>
       <content>movies</content>
       <order direction="ascending">sorttitle</order>
       <rule field="tag" operator="contains">
               <value>Children</value>
       </rule>
</node>

Sometimes I can see such a node, but most of the time I cannot.  I go to "Movies" (which dumps me into Movies/Title), then I go up one level and I see all the "Movies" nodes, but this one is not shown. 

I do have movies with this tag (and I have sometimes seen the node and it is populated correctly), but most of the time I can't get to it.  Am I doing something wrong to see the node? 

Not knowing what it's for exactly, I tried setting "visibility = 1", but that seemed to have no effect.
Reply
#93
Sorry for my ignorance, but is that very different of what can be done with a smart playlist ?
Reply
#94
(2017-10-25, 14:45)Zani Wrote: I need to filter by external source, my movies placed in different HDD. Is there a way to make it by Library node? Thanx

Use a PATH filer. Just type the drive letter as the path rule and it should work pretty well.
Image Formally chef Zag
Reply
#95
(2017-10-29, 16:26)docwra Wrote:
(2017-10-25, 14:45)Zani Wrote: I need to filter by external source, my movies placed in different HDD. Is there a way to make it by Library node? Thanx

Use a PATH filer. Just type the drive letter as the path rule and it should work pretty well.

Thx. I'll try it..
P.S. I think i'll try Label filter indeed, 'cause i connect only one HDD at a time
Reply
#96
There is actually an example in the 1st post of this thread

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<node order="1" type="filter">
<label>External Drive Movies</label>
<content>movies</content>
<match>all</match>
<icon>disk.png</icon>
<rule field="path" operator="contains"><value>S:</value></rule>
</node>

For example: This would only show movies from a drive called S:.
Image Formally chef Zag
Reply
#97
(2017-10-30, 16:32)docwra Wrote: There is actually an example in the 1st post of this thread

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<node order="1" type="filter">
<label>External Drive Movies</label>
<content>movies</content>
<match>all</match>
<icon>disk.png</icon>
<rule field="path" operator="contains"><value>S:</value></rule>
</node>

For example: This would only show movies from a drive called S:.

And in Android ( I've got an Nvidia shield ) how can I do it? Drives aren't called by letters Sad
Reply
#98
You can use any part of the drive or share location to match to. So if its in a folder called /share/specialmovies then just use the "specialmovies" as the path filter
Image Formally chef Zag
Reply
  •   
  • 1
  • 3
  • 4
  • 5
  • 6
  • 7(current)
 
Thread Rating:
  • 3 Vote(s) - 4 Average



Logout Mark Read Team Forum Stats Members Help
[HOW TO] Library Node Examples43