Search for XML Tag Content?

General discussion related to "Everything".
Post Reply
luckulucki
Posts: 75
Joined: Mon Jun 19, 2017 1:45 pm

Search for XML Tag Content?

Post by luckulucki »

Hello,

I have a folder of movies which is indexed by EV.
Everythime, I'm looking for a moviename, EV finds it most of the time.
So far, so great.

Sometimes, the foldername for a movie is in german language or in the movies original language. That, I don't know or recall all the time, so sometimes, EV does not find anything, because I type in the "wrong" words to search for.

I had this idea:

inside those moviefolders, there are Kodi XML Files, which contains a XML-Tag like
<originaltitle>
.

If the content of these tags could be indexed, EV might actually be able to locate what I'm searching(typing) for. ;-D

Unfortunately, I have millions of other XML-Files, which are not movie related, so I wonder, if it is possible to content-index only xml-files in given folders with given tags?



Example:
M:\movies\moviename (1999)\moviename (1999).xml


content of moviename (1999).xml:

Code: Select all

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<movie>
  <title>moviename</title>
  <originaltitle>movietitle in original language</originaltitle>
  <sorttitle/>
  <epbookmark/>
  <year>2008</year>
...
Searching for "movietitle" would find "moviename (1999).xml" because EV indexed the content of the originaltitle-XML-Tag inside the moviename (1999).xml file.

Is this possible, and if so, how?

I have tried this, but it seems not to work:
my settings
my settings
EV.png (14.25 KiB) Viewed 12809 times

M:\
is a SAMBA share to a NAS on the same network, the computer with EV is in. This instance of EV is then indexed (via Network Indexes) by the EV instance I'm running on another computer also in the same network, which I use to search files. I don't know, if this setup might be not supported for the context indexing?
therube
Posts: 5711
Joined: Thu Sep 03, 2009 6:48 pm

Re: Search for XML Tag Content?

Post by therube »

That should work, I'd think, but you'd need to use
content:
in your search.

So,
content:movietitle
.
Post Reply