INTERACT FORUM

Please login or register.

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

Author Topic: File path view -> Add option to ignore drive letters [SOLVED]  (Read 2705 times)

masterjoe

  • World Citizen
  • ***
  • Posts: 235

When the drive letter for file path views could be ignored / removed then it is possible
to have a view that unifies media files from serveral drives as if they were actually on one drive.

This feature shall be an OPTION (checkbox) in the file path dialog and could be called "Ignore drive letters".
Logged

masterjoe

  • World Citizen
  • ***
  • Posts: 235
Re: FR: File path view -> Add option to ignore drive letters
« Reply #1 on: April 16, 2015, 06:53:34 pm »

Bump.
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: FR: File path view -> Add option to ignore drive letters
« Reply #2 on: April 16, 2015, 10:41:02 pm »

No earthly idea what you're on about here.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

masterjoe

  • World Citizen
  • ***
  • Posts: 235
Re: FR: File path view -> Add option to ignore drive letters
« Reply #3 on: April 17, 2015, 08:41:18 am »

Seems I was not clear about what I want  :o

I do the following:
- Add a Library View to the Root, template: Disk Location

Result: Now I see all files in a tree structure but the root folder is a drive letter.
I want to omit this drive letter root folder in the view so that everything starts with the folders on that drive.

I thought that it MIGHT work with "Select Path" in the File Path Category but it does only allow ONE drive letter to be set.
What If my files are from multiple drives and I want them to be in the same browser tree? (merged!)
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9143
Re: FR: File path view -> Add option to ignore drive letters
« Reply #4 on: April 17, 2015, 01:35:40 pm »

Edit the pane with the folder tree (click the pane header, choose edit)

Change it to an expression pane.
Use the following in the "Expression to group by" field:

Code: [Select]
=removeleft([filename],3)&datatype=[list]
OK your way out and you should see what you're after.

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9143
Re: FR: File path view -> Add option to ignore drive letters
« Reply #5 on: April 17, 2015, 01:44:46 pm »

Actually, that will include the files themselves in the pane, at the last level of the tree. You might not want that. If you don't, use this instead...

Code: [Select]
=removeleft([filename (path)],3)&datatype=[list]
It combines the drives well, so if you have matching directories on different drives, the file list combines them all.

masterjoe

  • World Citizen
  • ***
  • Posts: 235
Re: FR: File path view -> Add option to ignore drive letters
« Reply #6 on: April 17, 2015, 03:42:54 pm »

DAMN!! YESSSS!!! That is it!

You are my hero today :) Great. It works now!

Thank you  ;D
Logged

masterjoe

  • World Citizen
  • ***
  • Posts: 235
Re: FR: File path view -> Add option to ignore drive letters
« Reply #7 on: April 17, 2015, 03:48:14 pm »

MC more and more impresses me what's possible right out of the box ;)

However some things are not that intuitive. I would never have come up with that expression!
Is there some guide anywhere for the most advanced features of the expression thingy?

The part
Code: [Select]
&datatype=[list]
    killed me.

    Where can I find extended documentation for such options?
Logged

fitbrit

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4887
Re: FR: File path view -> Add option to ignore drive letters
« Reply #8 on: April 17, 2015, 04:04:14 pm »

Will this work for you to read more about the expression language?
http://wiki.jriver.com/index.php/Expression_Language
Logged

masterjoe

  • World Citizen
  • ***
  • Posts: 235
Re: FR: File path view -> Add option to ignore drive letters
« Reply #9 on: April 17, 2015, 04:15:20 pm »

Thanks, I'll have a look :)
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72446
  • Where did I put my teeth?
Re: FR: File path view -> Add option to ignore drive letters
« Reply #10 on: April 17, 2015, 04:23:23 pm »

This is a classic example of what you can find by using an Internet search.

Both Google and Bing list the right page at the top of the search results.

Answers to many of the questions asked here could be found the same way.
Logged

masterjoe

  • World Citizen
  • ***
  • Posts: 235
Re: FR: File path view -> Add option to ignore drive letters
« Reply #11 on: April 17, 2015, 04:35:49 pm »

Sure. But I wanted to be safe that I will use the most complete documentation available and not just an overview.
If there isn't any other doc - then ok :)
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: FR: File path view -> Add option to ignore drive letters
« Reply #12 on: April 17, 2015, 04:47:35 pm »

The Wiki has a substantial amount of documentation, including advanced topics.  Browse around on it for a bit.

The Expression Language page is the second largest page on the Wiki (weighing in at 226k of pure text) and is certainly not an overview.  I'll not claim that everything on the wiki is up-to-date or comprehensive, but the Expression page is quite complete.  You may also be interested in:

* http://wiki.jriver.com/index.php/Search_Language
* http://wiki.jriver.com/index.php/Smartlist
* http://wiki.jriver.com/index.php/DevZone
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

masterjoe

  • World Citizen
  • ***
  • Posts: 235
Re: FR: File path view -> Add option to ignore drive letters
« Reply #13 on: April 18, 2015, 06:19:04 am »

Thanks a lot, Sir :)
Logged
Pages: [1]   Go Up