Le Sat, 15 Dec 2012 22:09:31 -0000, Benoît Minisini  
<gam...@users.sourceforge.net> a écrit:

> Le 15/12/2012 15:46, Adrien Prokopowicz a écrit :
>> Le Sat, 15 Dec 2012 02:28:13 -0000, Benoît Minisini
>> <gam...@users.sourceforge.net> a écrit:
>>
>>> Le 15/12/2012 03:28, Adrien Prokopowicz a écrit :
>>>> Hi Benoît,
>>>>
>>>> I'm trying to get the tags on each audio file on my music library, but
>>>> some files make the MediaTagList._get() function crash with the error
>>>> "No
>>>> return value".
>>>>
>>>> As an example, you can try to open and play the following file with  
>>>> the
>>>> MediaPlayer example :
>>>>
>>>> http://dl.free.fr/isvWMm7mq
>>>>
>>>> Regards,
>>>>
>>>
>>> It should be fixed in revision #5436.
>>>
>>> Regards,
>>>
>>
>> It works for that file, but with another one I have a new error message
>> now : "Unsupported property datatype".
>>
>> Here is the file : http://dl.free.fr/niWYCQNM3
>>
>> Regards,
>>
>
> Is it better with revision #5439?
>

Much better, thanks. :-)

Just a last little question on gb.media (I'm discovering GStreamer) : I'd  
like to get the tags of all the files in my music folder, and to store  
them into a compressed XML file, so that I won't have to fully rescan the  
folder each time I start my app.

The only way I found to retreive the tags is to have a second MediaPlayer  
in background, to set its URL property and to call its Pause() method.  
When I see that the player has reached the Pause state (with the State  
event), I stop the player and then repeat the process for the next file.

Do you know if there is a "cleaner" method (that doesn't open and close an  
audio stream for each file and make PulseAudio overloaded) ?

Thanks in advance (and for your work). :-)

Regards,

-- 
Adrien Prokopowicz

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to