INTERACT FORUM

Please login or register.

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

Author Topic: Custom Field for Specific Folders  (Read 1463 times)

steviewonders

  • Recent member
  • *
  • Posts: 35
Custom Field for Specific Folders
« on: January 04, 2013, 01:32:55 pm »

How can i create a custom field so that one folder will be called lossy, one called lossless and one called surround?
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Custom Field for Specific Folders
« Reply #1 on: January 04, 2013, 01:59:56 pm »

The basics are the same, but the specifics depend a little on which view you want this in (Standard panes or categories, or Theater).

   http://yabb.jriver.com/interact/index.php?topic=66330.0
   http://yabb.jriver.com/interact/index.php?topic=75359.0

Provide a little more detail where you want the customization.
Logged
The opinions I express represent my own folly.

steviewonders

  • Recent member
  • *
  • Posts: 35
Re: Custom Field for Specific Folders
« Reply #2 on: January 04, 2013, 02:21:46 pm »

Haha. First link was another topic started by me. Ye i'd like to use the field in the panes. I have my music split into lossy and lossless but now i have music in 5.1 which i'd like to be separated. The lossy and lossless categories are split according to file type so i thought i'd sort my music according to the folders they are in (my music is already put into separate folders on the hard drive).
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Custom Field for Specific Folders
« Reply #3 on: January 04, 2013, 05:09:43 pm »

That is funny - I hadn't looked at the author.

Some people say "Folders" when in MC they mean the groupings such as Albums, or Artist.

If your encoding are actually stored in the folder or file names, those can be pulled out.  Can you share examples of the full filename showing each?
Logged
The opinions I express represent my own folly.

steviewonders

  • Recent member
  • *
  • Posts: 35
Re: Custom Field for Specific Folders
« Reply #4 on: January 04, 2013, 06:57:19 pm »

I think they're just sorted in their folders on the hard drive. The first picture shows the folder view from media centre. The second picture shows how i'm aiming to set up the custom field but with the addition of 'surround'.
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Custom Field for Specific Folders
« Reply #5 on: January 04, 2013, 07:03:48 pm »

Try this:

   regex([Filename (path)], /#E:\\Users\\Steve\\Music\\([^\\]+)\\#/, 1)

Edit: fixed missing backslash.
Logged
The opinions I express represent my own folly.

steviewonders

  • Recent member
  • *
  • Posts: 35
Re: Custom Field for Specific Folders
« Reply #6 on: January 04, 2013, 08:04:35 pm »

Doesn't seem to work. Everything is categorised under 'unassigned'.
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Custom Field for Specific Folders
« Reply #7 on: January 04, 2013, 08:08:34 pm »

Sorry, I missed a backslash when I changed from my paths to yours (during testing).  Fixed above.
Logged
The opinions I express represent my own folly.

steviewonders

  • Recent member
  • *
  • Posts: 35
Re: Custom Field for Specific Folders
« Reply #8 on: January 04, 2013, 08:37:59 pm »

Ah ha!! That's perfect. Thank you very much!!
Logged
Pages: [1]   Go Up