INTERACT FORUM

Please login or register.

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

Author Topic: Multi-Disc album view  (Read 18316 times)

erringtont

  • Member
  • *
  • Posts: 4
Multi-Disc album view
« on: August 19, 2013, 08:02:59 pm »

Hello,

I'm a newby, and this should be simple, but I've been searching with no success.

When viewing Artists or Genres all the albums in a given category (like Pop/Rock, etc.) or a particular artist appear "fanned" as a series of stacked thumbnails. In the Albums view, any albums that are comprised of multiple discs are shown as separate albums (Disc 1, Disc 2, etc.).

Is there a way to have multiple disc albums appear as one fanned thumbnail in the Albums view?

I realize I can remove the disc numbers from the album name and the entire multi-disc album will appear as one album, but that is not ideal (especially for operas that may have as many as 4 cd's).

For example, the Wagner opera Gotterdamerung consists of 4 CD's. I would prefer to have one fanned thumbnail of all 4 discs in the Albums view. Is this possible and how is it done?

Thanks in advance for any advice.


Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Multi-Disc album view
« Reply #1 on: August 19, 2013, 08:41:21 pm »

Do all your multi-disc albums end with the same trailing text format, like " (Disc 2)"?

If not, can you show some examples?

As you can see, this can be accomplished (see attached).
Logged
The opinions I express represent my own folly.

erringtont

  • Member
  • *
  • Posts: 4
Re: Multi-Disc album view
« Reply #2 on: August 19, 2013, 09:04:04 pm »

Do all your multi-disc albums end with the same trailing text format, like " (Disc 2)"?

If not, can you show some examples?

As you can see, this can be accomplished (see attached).

Yes, they all share the same filename, but with Disc1, Disc2, etc. appended.

Thanks,
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Multi-Disc album view
« Reply #3 on: August 19, 2013, 09:13:29 pm »

Customize the view, and select Album under Show Categories in This Order.  Click Edit.

Now, change the type to Expression and add the expression:

if(regex([album], /#^(.*)(?:: Disc \d.*)$#/),[R1],[album])

This removes the " Disc #" text from your album name output, so that they can group as a category.
Logged
The opinions I express represent my own folly.

erringtont

  • Member
  • *
  • Posts: 4
Re: Multi-Disc album view
« Reply #4 on: August 20, 2013, 11:21:49 am »

Customize the view, and select Album under Show Categories in This Order.  Click Edit.

Now, change the type to Expression and add the expression:

if(regex([album], /#^(.*)(?:: Disc \d.*)$#/),[R1],[album])

This removes the " Disc #" text from your album name output, so that they can group as a category.

First, thank you for your quick responses.
Unfortunately, this didn't work. All it seems to do is add three dots (...) to end of each album name in the Albums view.

As an example, the Album names are formatted as:
Biograph, Disc 1
Biograph, Disc 2
Biograph, Disc 3

After adding the expression:
Biograph, Disc 1...
etc.

Each of the discs in the album still appear separately. Perhaps I am missing a step as your text notes "so that they can group as a category". Do I need to apply further action after creating the custom view using the expression?

The example you sent showing 'The Great Speeches.....' is exactly what I'm looking for.

Again, thanks for your help with this.

Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Multi-Disc album view
« Reply #5 on: August 20, 2013, 11:57:43 am »

Oops, sorry.  I left a single ":" in the regular expression from my test.

Use:

    if(regex([album], /#^(.*)(?: Disc \d+.*)$#/),[R1],[album])

The ... is occurring because you have an extra newline at the end of your expression.  Be sure the closing parenthesis above is the last character.
Logged
The opinions I express represent my own folly.

erringtont

  • Member
  • *
  • Posts: 4
Re: Multi-Disc album view
« Reply #6 on: August 20, 2013, 12:16:19 pm »

Yes sir, that did the trick. Thanks for the help. The code works and I got rid of the trailing dots per your suggestion.

Logged

kensn

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1362
Re: Multi-Disc album view
« Reply #7 on: August 21, 2013, 08:24:25 pm »

Thanks again MrC.. I like this a lot. Of course it it revealed, as MC often does, around a dozen inadequacies in my so called perfect tagging such as Disk instead of Disc and  Dsic instead of Disc....

 ::)

Ken
Logged
If(IsEmpty([Coffee Cup]), Coffee, Drink)

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Multi-Disc album view
« Reply #8 on: August 21, 2013, 08:29:39 pm »

We can relax the regex rules so that your OCD doesn't get the best of you.  :-)


    if(regex([album], /#^(.*)(?: D[is]{2}[ck] \d+.*)$#/),[R1],[album])
Logged
The opinions I express represent my own folly.

kensn

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1362
Re: Multi-Disc album view
« Reply #9 on: August 21, 2013, 08:38:48 pm »

Oh no !!!  Need to fix these... No right.. Not right!!

But thanks for the effort... ;)
Logged
If(IsEmpty([Coffee Cup]), Coffee, Drink)

jctcom

  • Citizen of the Universe
  • *****
  • Posts: 690
  • Rush - Styx - Yes - Porcupine Tree - Staple Food!
Re: Multi-Disc album view
« Reply #10 on: August 21, 2013, 10:52:08 pm »

Hi Kensn.

I am just curious as to why you would add the Disc # to the album name instead of using the Disc # field?

Thanks.

Carl.
Logged
Carl's Music: https://cloud.clz.com/jctcom/music
Carl's Movies: https://cloud.clz.com/jctcom/movies

Some of Carl's Equipment:  Yamaha RX-A2A, i7-11700K, 128GB, PCIe X4 2TB M.2 SSD, GTX-970, SMSL DL200

kensn

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1362
Re: Multi-Disc album view
« Reply #11 on: August 21, 2013, 11:48:06 pm »

It goes back to an earlier naming convention of mine before my days using J River.

I could change all the names and populate the Disc # field and get the same results in how I view my albums.. but it is how it is...

I like the default thumbnail text showing the disc # also.. Again it can be done either way..

Ken
Logged
If(IsEmpty([Coffee Cup]), Coffee, Drink)

jctcom

  • Citizen of the Universe
  • *****
  • Posts: 690
  • Rush - Styx - Yes - Porcupine Tree - Staple Food!
Re: Multi-Disc album view
« Reply #12 on: August 22, 2013, 12:26:59 pm »

hehe.  I think I change my naming convention everytime I switch programs.  Which was why I was on HMM for about a decade lol.

But the speed difference in MC is so huge along with a number of other benefits that I had to make the change.  But I had not been using the disc # in the album name for quite some time as HMM also had a proper Disc # field which I have always used in my "Rename / Move" expression(s)

Carl.
Logged
Carl's Music: https://cloud.clz.com/jctcom/music
Carl's Movies: https://cloud.clz.com/jctcom/movies

Some of Carl's Equipment:  Yamaha RX-A2A, i7-11700K, 128GB, PCIe X4 2TB M.2 SSD, GTX-970, SMSL DL200
Pages: [1]   Go Up