INTERACT FORUM

Please login or register.

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

Author Topic: Relatively similar  (Read 1339 times)

benn600

  • Citizen of the Universe
  • *****
  • Posts: 3849
  • Living: Santa Monica CA Hometown: Cedar Rapids IA
Relatively similar
« on: January 17, 2007, 07:19:08 pm »

It would be useful to have a similarity check option, just like you can use [Artist] or [Genre], there should be one more forgiving than just adding duration to the mix.  There should be a duration option with relative addition which would allow users to specify how many seconds different they have to be or they will be excluded.

If [Duration] is the current option (it may be a different word), then take this example:
-------------------------------------------------------------------------------------------------------
Artist:Coldplay----Song:Clocks----Album:A Rush Of Blood To The Head----Duration:5:07
Artist:Coldplay----Song:Clocks----Album:Artist Confidential (Volume 1)----Duration:5:09
Artist:Alanis Morissette----Song:You Learn----Album:Alanis Morissette Mtv Unplugges----Duration:4:21
Artist:Alanis Morissette----Song:You Learn----Album:Jagged Little Pill----Duration:3:59
Artist:Beach Boys----Song:409----Album:Beach Boys Greatest Hits (Volume 1)----Duration:2:00
Artist:Beach Boys----Song:409----Album:Greatest Car Songs----Duration:2:00
-------------------------------------------------------------------------------------------------------

Okay, now you'll notice that the first example with the song Clocks has two songs (both of which ARE different) but are very close in duration.  The second example, You Learn, shows two different versions with GREATLY varied durations--that is good.  Those two should undoubtedly be copied.  The last example by the Beach Boys shows two identical songs with identical durations.  Only one of those should be included.

As you can see, there are issues.  Namely, when identical songs either are or are not the same duration.  Unfortunately, there is no perfect solution.  I guess it would be good to hear other people's ideas on the issue.

One idea would be to check to see if the album is a compilation.  If it is a compilation, then it seems that there is a higher chance it is a live CD.  Best yet would be a way for Media Center to examine the actual song contents and look for similarities.  It can't just check average intensity or bitrate because with the song Small Town by John Mellencamp, the Scarecrow version shows a bitrate of 940 while The Best That I Could Do 1978-1988 shows a bitrate of 1008.  The durations also vary by 2 seconds.

Any ideas on solving this issue?  Copying duplicates is annoying because they waste space, increase the chance for listening to a certain song more, etc.  I have a song or two with up to 5 copies where 3 or 4 of them are identical.  I don't want to just rate the last 3 2 stars so they don't sync because I question that later and become confused.

Again, some form of audio fingerprinting would be quite nice but a lot of work.
Logged

zirum

  • Galactic Citizen
  • ****
  • Posts: 403
  • still learning.
Re: Relatively similar
« Reply #1 on: January 18, 2007, 03:45:11 am »

Can't see any other way to do it, then by having some calculation possiblilities in expressions. Like a calc() function.

Could work like this:
FormatNumber((Calc([Duartion,0]/30)-0.5),0)

This should then give a range of 30 second (15 up and 15 down), which would produce the same integer for comparisation. Then use the expression in the ~nodup= on it.

Or is there a way to calculate in expressions that i don't know of?
Logged
Note to myself: Read, think, write - Read, think, write - think, read, write - think, write, read - think, write, read... Aahhw, i always mess that up...

benn600

  • Citizen of the Universe
  • *****
  • Posts: 3849
  • Living: Santa Monica CA Hometown: Cedar Rapids IA
Re: Relatively similar
« Reply #2 on: January 18, 2007, 10:34:29 am »

Thanks for that!  I'll try it out later tonight when I have a chance.
Logged

zirum

  • Galactic Citizen
  • ****
  • Posts: 403
  • still learning.
Re: Relatively similar
« Reply #3 on: January 18, 2007, 01:01:39 pm »

Sorry, I did not write to clear. It's no way yet (that i know of) to divide in expression. I meant it more as a question if anyone knows how to calculate. But if there where a way to calculate, maybe the rest of the query might have worked...

Again, sorry for that. It will not work :(
Logged
Note to myself: Read, think, write - Read, think, write - think, read, write - think, write, read - think, write, read... Aahhw, i always mess that up...
Pages: [1]   Go Up