Bug#737211: python-mutagen: wrong detection of some tagged ogg files

2014-05-02 Thread Tristan Seligmann
forwarded 737211 https://code.google.com/p/mutagen/issues/detail?id=96
tags 737211 + wontfix upstream
outlook 737211
stop

On 29 April 2014 14:18, Yves-Alexis Perez cor...@debian.org wrote:
 Any news on this?

Sorry for the very late response. I was going to forward this
upstream, but I see now that it has been raised upstream before, and
seems to be wontfix:

https://code.google.com/p/mutagen/issues/detail?id=96
-- 
mithrandi, i Ainil en-Balandor, a faer Ambar


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#737211: python-mutagen: wrong detection of some tagged ogg files

2014-05-02 Thread Yves-Alexis Perez
On ven., 2014-05-02 at 21:32 +0200, Tristan Seligmann wrote:
 forwarded 737211 https://code.google.com/p/mutagen/issues/detail?id=96
 tags 737211 + wontfix upstream
 outlook 737211
 stop
 
 On 29 April 2014 14:18, Yves-Alexis Perez cor...@debian.org wrote:
  Any news on this?
 
 Sorry for the very late response. I was going to forward this
 upstream, but I see now that it has been raised upstream before, and
 seems to be wontfix:
 
 https://code.google.com/p/mutagen/issues/detail?id=96

I can see that, unfortunately the workaround doesn't really seem usable
if it actually removed data…

Thanks for taking a look though.

Regards,
-- 
Yves-Alexis


signature.asc
Description: This is a digitally signed message part


Bug#737211: python-mutagen: wrong detection of some tagged ogg files

2014-04-29 Thread Yves-Alexis Perez
On ven., 2014-01-31 at 14:27 +0100, Yves-Alexis Perez wrote:
 That prevents Quodlibet from loading them, so I can't actually listen to
 them.
 
 Some other files are correctly detected, and file reports:
 
 Ogg data, Vorbis audio, stereo, 44100 Hz, ~112000 bps, created by:
 Xiph.Org libVorbis I
 
 So I guess mutagen might be confused by the ID3 tag. Other audio tools
 (like Rhythmbox) seems to have no issue with having an Ogg file with ID3
 metadata.

Any news on this?
-- 
Yves-Alexis


signature.asc
Description: This is a digitally signed message part


Bug#737211: python-mutagen: wrong detection of some tagged ogg files

2014-01-31 Thread Yves-Alexis Perez
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:

python test-mutagen.py
type 'NoneType'
class 'mutagen.mp3.MP3'

That prevents Quodlibet from loading them, so I can't actually listen to
them.

Some other files are correctly detected, and file reports:

Ogg data, Vorbis audio, stereo, 44100 Hz, ~112000 bps, created by:
Xiph.Org libVorbis I

So I guess mutagen might be confused by the ID3 tag. Other audio tools
(like Rhythmbox) seems to have no issue with having an Ogg file with ID3
metadata.

Regards,
-- 
Yves-Alexis

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (450, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-mutagen depends on:
ii  python  2.7.5-5

python-mutagen recommends no packages.

Versions of packages python-mutagen suggests:
pn  python-mutagen-doc  none

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#737211: python-mutagen: wrong detection of some tagged ogg files

2014-01-31 Thread Yves-Alexis Perez
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)


signature.asc
Description: Digital signature