On Fri, Jan 31, 2014 at 02:27:47PM +0100, Yves-Alexis Perez wrote:
> Package: python-mutagen
> Version: 1.22-1
> Severity: normal
> 
> Hi,
> 
> I notice a weird issue in Quodlibet, which seems actually to be an issue
> in mutagen.
> 
> I have some ogg audio files, extracted a long time ago. File detects
> thems as:
> 
> Audio file with ID3 version 2.4.0, contains: Ogg data, Vorbis audio,
> stereo, 44100 Hz, ~192000 bps, created by: Xiph.Org libVorbis I (1.0.1)
> 
> The attached program fails to detect them as Ogg Vorbis, and even worse,
> seems to detect them as MP3 files:

Actually forgot to attach the program, here it is.
-- 
Yves-Alexis Perez
#! /usr/bin/python

import mutagen
from mutagen.oggvorbis import OggVorbis

ogg_formats = []
ogg_formats.append(OggVorbis)

filename = 'foo.ogg'

audio = mutagen.File(filename, options=ogg_formats)
print type(audio)
audio = mutagen.File(filename)
print type(audio)

Attachment: signature.asc
Description: Digital signature

Reply via email to