INTERACT FORUM

Please login or register.

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

Author Topic: Help with changes to renaming template  (Read 1787 times)

mesue

  • Galactic Citizen
  • ****
  • Posts: 395
Help with changes to renaming template
« on: February 10, 2006, 11:00:18 pm »

I'm trying to get things back the way they were after getting a new system and switching from MC 11.0 to 11.1.xxx. Can someone tell me what I need to modify in this file renaming template for directories:

[Artist]\If(IsEmpty([Date], 1), ,/FormatDate([Date], Year) - )[Album]

It's no longer doing the year correctly.

Also, can anyone please tell me EVERYTHING I need to back up for when I want to restore MC in the future? Apparently the library and the registry key alone doesn't cut it because I lost all my customized views (columns to show, saved presets), advanced expressions, and probably more I haven't found yet.
Logged
Sue

PollyQ

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 65
Re: Help with changes to renaming template
« Reply #1 on: February 11, 2006, 02:07:15 pm »

For the date format, try adding a ",0", e.g.,

[Artist]\If(IsEmpty([Date], 1), ,/FormatDate([Date,0], Year) - )[Album]

This removes any default formatting.

Sorry, can't help with the backup question.
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9139
Re: Help with changes to renaming template
« Reply #2 on: February 11, 2006, 02:55:40 pm »

the forward slash before the formatdate doesn't look right either..

If there is a date, what end result are you after?

I think you're after something like Bob Dylan\(1976) - Desire

In my tests here, I could not get the parenthesis escaped correctly. MC would convert the forward slash to a backslash and start a new directory, then it would use the closing bracket to close the expression off prematurely.

this does it without the brackets:
if(isempty([date],1),[artist]\[album],[artist]\[date (year)] - [album])

regarding your backup:
your backup is fine. the problem for you is that v11.1 now saves custom views in the library folder, so, they'll need rebuilt. they'll be there in your 11.1 backups as you build them.

mesue

  • Galactic Citizen
  • ****
  • Posts: 395
Re: Help with changes to renaming template
« Reply #3 on: February 11, 2006, 05:13:33 pm »

No parenthesis. I'm after...
If there is a date: Bob Dylan\1976 - Desire
If there is no date: Bob Dylan\Desire

Thanks for the backup info.

Update: I got it! This works:
Code: [Select]
[Artist]\If(IsEmpty([Date], 1), ,[date (year)] - )[Album]
Logged
Sue
Pages: [1]   Go Up