INTERACT FORUM

Please login or register.

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

Author Topic: Why Filename (path) rule in Smartlist sometimes don't work?  (Read 1803 times)

Lunatique

  • World Citizen
  • ***
  • Posts: 219
Why Filename (path) rule in Smartlist sometimes don't work?
« on: December 18, 2014, 11:14:31 pm »

I've been using the Filename (path) rule in Smartlists for a while now, and it baffles me why it sometimes doesn't work.

For example, this doesn't work (nothing shows up):

"Filename (path)" "contains" "Z:\Mobile Sync\Kitty Cat Videos [new]"

But this works:

"Filename (path)" "contains" "Z:\Kitty Cat Videos"

Is it because of the brackets?

Those are two different directories by the way, and both contain video files.
Logged

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854
Re: Why Filename (path) rule in Smartlist sometimes don't work?
« Reply #1 on: December 19, 2014, 01:52:19 am »

How are you creating the rules?

If I use the smartlist wizard, the [] work correctly.  If I look at what MC has created I notice that the [] are escaped, eg:

[Filename (path)]="France /[live/]"

So, if you are hand-crafting rules, perhaps try the escape character. 
Logged

Lunatique

  • World Citizen
  • ***
  • Posts: 219
Re: Why Filename (path) rule in Smartlist sometimes don't work?
« Reply #2 on: December 19, 2014, 02:03:30 am »

I only have two rules set up:

"Media Type" "is" "Video"

and

"Filename (path)" "contains" "Z:\Mobile Sync\Kitty Cat Videos [new]"

I don't quite understand what you meant by [] are escaped. I tried to copy your format like this:


"Filename (path)" "contains" "Z:\Mobile Sync\Kitty Cat Videos \[new\]"

But it didn't work. Am I doing it wrong?
Logged

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854
Re: Why Filename (path) rule in Smartlist sometimes don't work?
« Reply #3 on: December 19, 2014, 02:10:51 am »

Hmm, you are correct it seems... if Media Type is Video the 'filename (path)'  [] search fails for me also...  however, filename works - is that sufficient for now?



Logged

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854
Re: Why Filename (path) rule in Smartlist sometimes don't work?
« Reply #4 on: December 19, 2014, 02:14:06 am »

OK, so there three components, eg:

Filename: Z:\My Video\Music\David Gilmour\[2006] Remember That Night. Live at the Royal Albert Hall.iso
Filename (name): [2006] Remember That Night. Live at the Royal Albert Hall.iso
Filename (path): Z:\My Video\Music\David Gilmour\

You need to choose the appropriate field...
Logged

Lunatique

  • World Citizen
  • ***
  • Posts: 219
Re: Why Filename (path) rule in Smartlist sometimes don't work?
« Reply #5 on: December 19, 2014, 02:20:55 am »

I have tried to go up one directory like this:

"Filename (path)" "contains" "Z:\Mobile Sync"

But nothing shows up. Is it because the folders inside of "Mobile Sync" all have [] somewhere in their name? For example, I have:

Z:\Mobile Sync\Kitty Cat Videos [new]
Z:\Mobile Sync\Kitty Cat Photos [Archived]

If I swap out the [] with () instead, maybe it'll work? I'll try it and see what happens.
Logged

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854
Re: Why Filename (path) rule in Smartlist sometimes don't work?
« Reply #6 on: December 19, 2014, 02:23:17 am »

As above, you need to use Filename, or Filename (name), not Filename (path)...
Logged

Lunatique

  • World Citizen
  • ***
  • Posts: 219
Re: Why Filename (path) rule in Smartlist sometimes don't work?
« Reply #7 on: December 19, 2014, 02:27:52 am »

As above, you need to use Filename, or Filename (name), not Filename (path)...


I tried that too, and still doesn't work. Also, I use Filename (path) in my other smartlists, and they work just fine (I use Filename (path) because I want all folders that are with a particular directory to be included).

I just tried swapping out the [] with () and it still doesn't work. I also tried making it as plain as possible--just like this:

Z:\Mobile Sync\Kitty Cat Videos new

And still, nothing shows up. I've had this happen in the past and I have no idea why.
Logged

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854
Re: Why Filename (path) rule in Smartlist sometimes don't work?
« Reply #8 on: December 19, 2014, 02:39:07 am »

Just imported a video file into a directory containing [] and the 'filename (path)' search works for me...

So, [], are supported in the folder names.

Are the files you are searching for actually imported?  A smartlist won't find files outside of MC...
Logged

Lunatique

  • World Citizen
  • ***
  • Posts: 219
Re: Why Filename (path) rule in Smartlist sometimes don't work?
« Reply #9 on: December 19, 2014, 08:31:34 pm »


Are the files you are searching for actually imported?  A smartlist won't find files outside of MC...

Yes, and they show up when I navigate to them through the Drives & Devices/Explorer directory structure, but they do not show up in the smartlist when the same directory is chosen as the file path.
Logged

gvanbrunt

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1232
  • MC Nerd
Re: Why Filename (path) rule in Smartlist sometimes don't work?
« Reply #10 on: December 19, 2014, 09:19:43 pm »

Maybe you need a trailing "\" after the [new]? Something like: "kitty cat videos [new]\"

If none of this works, can you post a screenshot of what your doing the smartlist dialog?
Logged
Pages: [1]   Go Up