Bug 2329 - Sample Rate for ogg vorbis files is shown as 0.0 kHz in Song Info
: Sample Rate for ogg vorbis files is shown as 0.0 kHz in Song Info
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Database
: 6.2.0
: PC Windows XP
: P2 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-20 15:45 UTC by Dieter
Modified: 2008-09-15 14:36 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dieter 2005-10-20 15:45:44 UTC
For ogg vorbis files a Sample Rate of 0.0 kHz is always shown on the song info
page. For mp3-files 44.1 kHz is shown correctly.
Comment 1 KDF 2005-10-20 16:22:57 UTC
Track::prettySampleRate divides the rate by 1000.  Formats::Ogg is also dividing
by 1000. 

Change line 111 of Formats/Ogg.pm to:
$tags->{'RATE'}	    = $ogg->info('rate');

and it should match what Formats::MP3, et al, returns.
Comment 2 Dan Sully 2005-10-20 16:30:05 UTC
Change 4716