INTERACT FORUM

Please login or register.

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

Author Topic: List of Albums from selected directories  (Read 983 times)

NickM

  • Citizen of the Universe
  • *****
  • Posts: 630
  • Simplicity isn't always best, but it's easy to fix
List of Albums from selected directories
« on: May 02, 2006, 01:52:42 am »

I am trying to produce a list of ablums from specfic directories.  My music is stored in the format \\server\music\ape_1, \\server\music\ape_2 etc.  I would like to select from, say ape_4 & ape_5

I thought(!) this was the way but am missing something:-

~limit=-1,1,[Filename (path)] [Filename (path)]=\\crackle\music\ape_4\*.* [Filename (path)]=\\crackle\music\ape_5\*.*

nick
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9139
Re: List of Albums from selected directories
« Reply #1 on: May 02, 2006, 07:23:27 am »

the following:

[filename (path)]=\ape_4\

will list all files with \ape_4\ in the path.

is that enough to get you rolling?

NickM

  • Citizen of the Universe
  • *****
  • Posts: 630
  • Simplicity isn't always best, but it's easy to fix
Re: List of Albums from selected directories
« Reply #2 on: May 02, 2006, 07:49:51 am »

THANK YOU !
Done...

~limit=-1,1,[Filename (path)] ([filename (path)]=\ape_4\ or [filename (path)]=\ape_5\ or [filename (path)]=\ape_6\)
Logged

NickM

  • Citizen of the Universe
  • *****
  • Posts: 630
  • Simplicity isn't always best, but it's easy to fix
Re: List of Albums from selected directories
« Reply #3 on: May 02, 2006, 06:49:20 pm »

Just as an aside...

Having created this view scheme, selecting a file or album from the list and pressing delete ( or shift delete ) brings up the delete confirmation dialog box but does not remove from the library or delete the files.

nick
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9139
Re: List of Albums from selected directories
« Reply #4 on: May 03, 2006, 02:19:18 am »

interesting.

So, first, your smartlist is deffo doing what you want it to?

initially, it returns one file from every folder in your library, then discards everything except those files whose paths contain ape_4, ape_5 or ape_6

a quicker way to the same result is:

~limit=-1,1,[Filename (path)] [filename (path)]=\ape_4\,\ape_5\,\ape_6\

Next, I tried to replicate your deletion problem:
for a file on the local hard drive, it deleted fine and was removed from the list without the need of a refresh
remembering you are using network drives, I tried again, using a network drive (mapped), and again, it deleted fine.
no problems encountered using UNC path names either.

though testing a file on a UNC path reminded why I mapped the drives in the first place... really, just simplicities sake.
if you try to get to the drives via the windows "my network places" location, MC does not follow the windows shortcuts it finds there, instead, it treats the .lnk files as files in their own right, so, to get things right, you have to lead MC directly to the folders using the "Microsoft Windows Network > workgroup > " route.

have fun with your trouble shooting and just ask if you have any more questions. the only question I can think of atm, is, you are sure you have the necessary permissions on the network share to delete files?

-marko.
Pages: [1]   Go Up