After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 540920 - Editing metadata corrupts ogg files
Editing metadata corrupts ogg files
Status: RESOLVED NOTGNOME
Product: banshee
Classification: Other
Component: Metadata
1.0.0
Other All
: Normal critical
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-06-30 12:57 UTC by corec
Modified: 2008-07-10 19:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ogginfo logfile of noncorrupted file (855 bytes, text/plain)
2008-06-30 13:00 UTC, corec
Details
ogginfo log of the corrupted file (1.36 KB, text/plain)
2008-06-30 13:03 UTC, corec
Details

Description corec 2008-06-30 12:57:41 UTC
Please describe the problem:
Banshee is corrupting my ogg files if I edit their metadata. If I turn the "write metadata to files" on from the preferences and edit the metadata of any ogg file in the library, the file will corrupt.

Steps to reproduce:
1. Have an ogg file in the library
2. Edit some part of the metadata eg. song title or genre
3. Try to play the file with banshee or use ogginfo to check the file consistency


Actual results:
the file is corrupted and banshee (or anything else) can't play the file anymore.

Expected results:
The files shouldn't corrupt.

Does this happen every time?
yes, it does.

Other information:
Distribution: Gentoo

The bug seems to be somewhat the same as this oldish bug in launchpad:
https://bugs.launchpad.net/ubuntu/+source/banshee/+bug/194766
Comment 1 corec 2008-06-30 13:00:18 UTC
Created attachment 113690 [details]
ogginfo logfile of noncorrupted file

ogginfo log of a ogg file before banshee has edited the file
Comment 2 corec 2008-06-30 13:03:43 UTC
Created attachment 113691 [details]
ogginfo log of the corrupted file

This is the same file after banshee has edited it. The last warning message was repeating over and over so I cut ~500kb of it.
Comment 3 Bertrand Lorentz 2008-06-30 16:13:53 UTC
Which version of TagLib# (or taglib-sharp) are you using ?

It looks like there was a bug in TagLib# that seems similar to the problem you're having. Could you try to reproduce your problem with TagLib# 2.0.2.19 or above ?

The discussion about the TagLib# bug :
http://forum.taglib-sharp.com/viewtopic.php?f=5&t=156

This bug might have re-appeared because banshee 1.0 doesn't bundle TagLib# anymore, it uses the version found on the system.
Comment 4 corec 2008-07-01 06:30:59 UTC
(In reply to comment #3)
> Which version of TagLib# (or taglib-sharp) are you using ?
> 
> It looks like there was a bug in TagLib# that seems similar to the problem
> you're having. Could you try to reproduce your problem with TagLib# 2.0.2.19 or
> above ?
> 
> The discussion about the TagLib# bug :
> http://forum.taglib-sharp.com/viewtopic.php?f=5&t=156
> 
> This bug might have re-appeared because banshee 1.0 doesn't bundle TagLib#
> anymore, it uses the version found on the system.
> 

I had TagLib# 2.0.2.0 which is currently the "newest" package available. I made a new ebuild for 2.0.3.0 and now banshee seems to be working correctly. I will take this forward to gentoo bugzilla so that the problem gets fixed in gentoo.

You should probably update dependencies list at http://banshee-project.org/download/archives/1.0.0/ so that >=taglib-sharp-2.0.3.0 would be a dependency instead of 2.0?
Comment 5 Andrew Conkling 2008-07-10 19:34:08 UTC
(In reply to comment #4)
> I had TagLib# 2.0.2.0 which is currently the "newest" package available. I made
> a new ebuild for 2.0.3.0 and now banshee seems to be working correctly. I will
> take this forward to gentoo bugzilla so that the problem gets fixed in gentoo.

Thanks for letting us know. If you want, you could post a link to Gentoo's bug report for others to look at.

> You should probably update dependencies list at
> http://banshee-project.org/download/archives/1.0.0/ so that
> >=taglib-sharp-2.0.3.0 would be a dependency instead of 2.0?

Well, the dependencies to work at all are 2.0, but that's not the same thing as saying "please use 2.0.2.19 or greater to avoid a bug". Otherwise, when would you ever be able to set an appropriate dependency? :)
Comment 6 corec 2008-07-10 19:50:04 UTC
well, I can't argue with that. :)

Anyway, below is a link to the Gentoo's bug report. The fix is already committed to portage tree.

http://bugs.gentoo.org/show_bug.cgi?id=230465