I took a look at some of the code and it appears that TBPM is
recognized. What kind of values do you have in these tags? I came across
a check in the code that makes sure the value is numeric. I believe the
following requires that the value be a plain non-zero integer.

So something like "120.0" or "120 BPM" would be rejected.


Code:
--------------------
    
  # Don't insert non-numeric or '0' YEAR fields into the database. Bug: 2610
  # Same for DISC - Bug 2821
  for my $tag (qw(YEAR DISC DISCC BPM CHANNELS)) {
        if ( 
            defined $attributes->{$tag} 
            &&
            ( $attributes->{$tag} !~ /^\d+$/ || $attributes->{$tag} == 0 ) 
        ) {
                delete $attributes->{$tag};
        }
  }
  
--------------------


(This shows the field named BPM, but there's code elsewhere that maps
the ID3v2 TBPM frame to LMS' BPM.)


------------------------------------------------------------------------
JJZolx's Profile: http://forums.slimdevices.com/member.php?userid=10
View this thread: http://forums.slimdevices.com/showthread.php?t=99852

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to