INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: search on txt content?  (Read 1397 times)

rjm

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 2699
search on txt content?
« on: December 10, 2011, 05:23:30 pm »

I just did a search and observed MC found txt files with the search item inside the file.

I was not aware that MC searched the content of txt files.

Is this true?

Does MC search content of any other file types?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42442
  • Shoes gone again!
Re: search on txt content?
« Reply #1 on: December 10, 2011, 06:35:29 pm »

It's true.

By default, search looks inside the document (txt, rtf, html) by using the 'Text' field.
Logged
Matt Ashland, JRiver Media Center

rjm

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 2699
Re: search on txt content?
« Reply #2 on: December 10, 2011, 08:18:24 pm »

Wow. Learn something new every day.

Is this a new feature? If yes, do I need to re-import old txt files?

I ask because I have 1600 txt files in my library totally 176 MB and the size of "field (text).jmd" is only 10 MB so something does not add up.

I've mentioned in the past that audiobooks need a little love for displaying info in associated txt files. The fact that search uses this data will make this feature doubly nice if it ever gets implemented. At the same time we should look at extending this idea to the mht file type which is excellent for saving web sourced info about media.
Logged

rjm

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 2699
Re: search on txt content?
« Reply #3 on: December 15, 2011, 11:34:33 pm »

Do I need to re-import old txt files?
I ask because I have 1600 txt files in my library totally 176 MB and the size of "field (text).jmd" is only 10 MB so something does not add up.

bump, just wondering if I have a problem in my library
Logged

Lasse_Lus

  • Citizen of the Universe
  • *****
  • Posts: 999
Re: search on txt content?
« Reply #4 on: December 16, 2011, 03:49:17 am »

Wow. Learn something new every day.

Is this a new feature? If yes, do I need to re-import old txt files?

I ask because I have 1600 txt files in my library totally 176 MB and the size of "field (text).jmd" is only 10 MB so something does not add up.


it has been there for quite a while, so i dont think you need to reimport (you could update library from tags), maybe you have some textfiles with "wrong" encoding..but that is just a guess..also MC compress quite hard so the figures may look wrong, when they are actually not.

but to check, add expression length([text]) and sort..(and maybe combine that with math() and file size, ) you will then see if there are something wrong..
Logged
MT5FR

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42442
  • Shoes gone again!
Re: search on txt content?
« Reply #5 on: December 16, 2011, 09:33:53 am »

I ask because I have 1600 txt files in my library totally 176 MB and the size of "field (text).jmd" is only 10 MB so something does not add up.

Large text values are compressed in the JRiver database.
Logged
Matt Ashland, JRiver Media Center

rjm

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 2699
Re: search on txt content?
« Reply #6 on: December 16, 2011, 09:42:22 am »

Thanks to both of you.
Logged
Pages: [1]   Go Up