INTERACT FORUM

Please login or register.

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

Author Topic: Display all Albums with Duration > 80 Minutes?  (Read 2300 times)

jacobacci

  • Galactic Citizen
  • ****
  • Posts: 256
Display all Albums with Duration > 80 Minutes?
« on: February 19, 2017, 10:31:26 pm »

I used to not use the disc# tag and simply use ongoing track numbers to identify tracks in a multidisc album.
Now I would like to display all albums in my library that have a total duration of >80 minutes (= probably multi disc albums) in order to manually add back the disc# tag and adjust the track# tags.
So far I could not find a way to create a smartlist that does this.
I would be grateful for a suggestion.
Logged

~OHM~

  • Citizen of the Universe
  • *****
  • Posts: 1825
  • "I Don't Play The Music The Music Plays Me"
Re: Display all Albums with Duration > 80 Minutes?
« Reply #1 on: February 19, 2017, 10:56:22 pm »

why not try to edit the smartlist that already exists called audio-duration-tracks longer than ten min
Logged
“I've Reached A Turning Point In My Life. I Now Realize I Have More Yesterdays Then Tomorrows”

jacobacci

  • Galactic Citizen
  • ****
  • Posts: 256
Re: Display all Albums with Duration > 80 Minutes?
« Reply #2 on: February 19, 2017, 11:05:53 pm »

Thanks, TAO1857
Sorry, I was probably not quite precise enough. I am looking to display all albums which have a total duration of >80 minutes. i.e. in which the sum of the durations of all tracks contained in the album is >80 minutes.
The smartlist you indicated seems to simply list all (individual) tracks that have a duration of more than X minutes.
Logged

~OHM~

  • Citizen of the Universe
  • *****
  • Posts: 1825
  • "I Don't Play The Music The Music Plays Me"
Re: Display all Albums with Duration > 80 Minutes?
« Reply #3 on: February 20, 2017, 12:26:45 am »

right....thats why I said to edit it....
Logged
“I've Reached A Turning Point In My Life. I Now Realize I Have More Yesterdays Then Tomorrows”

jacobacci

  • Galactic Citizen
  • ****
  • Posts: 256
Re: Display all Albums with Duration > 80 Minutes?
« Reply #4 on: February 20, 2017, 01:21:50 am »

This forum has incredible riches. I think I got it

New Smartlist / Import, Export
Paste the following:

Code: [Select]
[Media Type]=[Audio]
[Disc #]=1
[=save(0,v_[album]_duration)1]=1
[=saveadd(v_[album]_duration,[duration, 0])1]=1
[=compare(load(v_[album]_duration), >, 4800)]=1

Seems to do the trick.
Logged

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1855
Re: Display all Albums with Duration > 80 Minutes?
« Reply #5 on: February 20, 2017, 02:12:45 am »

Be aware, the variable

v_[album]_duration

May not be sufficient, as it will pool different albums with the same title...  You may want to use something more precise, like:

v_[album artist (auto)][album]_duration
Logged

jacobacci

  • Galactic Citizen
  • ****
  • Posts: 256
Re: Display all Albums with Duration > 80 Minutes?
« Reply #6 on: February 20, 2017, 03:21:35 am »

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