PDA

View Full Version : RE: Changes to Info.pm to deal with emptytracknumbe r fields



Reckase, Erik Nathan
2003-12-03, 16:04
OK, I have 2 files that for some reason are returning non-numeric, but
defined, values of $trnum. Still investigating...

E

-> -----Original Message-----
-> From: Reckase, Erik Nathan [mailto:enrecka (AT) sandia (DOT) gov]
-> Sent: Wednesday, December 03, 2003 3:43 PM
-> To: 'SlimDevices Developers'
-> Subject: RE: [Developers] Changes to Info.pm to deal with empty
-> tracknumbe r fields
->
->
-> Well, that's what I thought, too - except I was still
-> getting a non-numeric
-> index ($trnum) in the
-> $seen[$trnum]. Not sure why that is - I'll pursue it further.
->
-> Regards,
-> Erik
->
-> -> -----Original Message-----
-> -> From: Moser, Robert L. II [mailto:Robert.Moser (AT) med (DOT) va.gov]
-> -> Sent: Wednesday, December 03, 2003 3:31 PM
-> -> To: 'SlimDevices Developers'
-> -> Subject: RE: [Developers] Changes to Info.pm to deal with empty
-> -> tracknumbe r fields
-> ->
-> ->
-> -> The track number is cleaned when the tags are first read.
-> -> It can only be an
-> -> integer or undef.
-> ->
-> -> > -----Original Message-----
-> -> > From: developers-bounces (AT) lists (DOT) slimdevices.com
-> -> > [mailto:developers-bounces (AT) lists (DOT) slimdevices.com]On Behalf
-> -> Of Reckase,
-> -> > Erik Nathan
-> -> > Sent: Wednesday, December 03, 2003 2:10 PM
-> -> > To: 'SlimDevices Developers'
-> -> > Subject: RE: [Developers] Changes to Info.pm to deal with empty
-> -> > tracknumbe r fields
-> -> >
-> -> >
-> -> > Whoops. This is still bad, in the event that a non-numeric
-> -> > value is stored
-> -> > in the track number. Here's a better fix:
-> -> >
-> ->

Robert Moser II
2003-12-03, 20:35
Reckase, Erik Nathan blurted out:
> OK, I have 2 files that for some reason are returning non-numeric, but
> defined, values of $trnum. Still investigating...

Are those full album MP3's plus a cuesheet? Tracks defined in that
manner might not be having their tracknumbers cleaned before insertion
in the info cache.