Re: Conduit & iPod Module - Last Report





On Fri, Aug 22, 2008 at 9:18 AM, John Stowers <john stowers gmail com> wrote:


On Fri, Aug 22, 2008 at 7:40 AM, Alexandre <airmind gmail com> wrote:
I just noticed my last-minute work on two-pass encoding broke the Audio/Video conversion. I'm not sure it's only this, but take a look at the fix in my Bazaar branch, and see if something gets better.

Ok cool. Make sure you pull from svn, I pushed a few small fixes to your code.

I have just been poking around,  trying to fix http://bugzilla.gnome.org/show_bug.cgi?id=548960

I noticed a few things in the MediaFile class, and have a few questions.
1) Can this actually read metadata correctly? I couldn't get it to work, and there are no tests to confirm it. This test script seems to hang forever

import gtk
import gobject
import conduit.datatypes.Audio as a

def foo(i):
    print i.get_audio_duration()
    print i.get_audio_artist()

song = a.Audio('/home/john/Music/Machine 15/01-millencolin-machine_15.mp3')

gobject.timeout_add(500, foo, song)
gtk.main()

2) Does the following fixme still apply?
        # FIXME: Using Discoverer for now, but we should switch to utils.GstMetadata

Thanks,

John



John
 


--
Alexandre Rosenfeld

EngComp 06 - USP São Carlos




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]