On 30.01.07, Stefan Wimmer wrote:
- Dag Wieers dag@wieers.com [2007-01-30 04:35]:
On Mon, 29 Jan 2007, Joerg Lehmann wrote:
Speaking of metadata, the preferred (read: most tested) ID3 decoder is the mutagen module·
http://www.sacredchao.net/quodlibet/wiki/Development/Mutagen
pytone seems to be unable to read the metadata of any of the files I have. No mp3 files, no ogg files. The log displays for each file that is cannot read metadata.
Hi Jörg,
first of all thanks for the new version ;-)
Unfortunately I have the same problems then Dag - could not read metadata nor file length when scanning the filesystem into a *new* database ... is that related to the fact that I use UTF-8 on my machines?
Do you only have Ogg files? If yes, I'm sorry at the moment, Ogg metadata support seems to be really broken. I'll see what I can do for the next pre-release.
Here is a small part of the debug.log: D [06:59:18|MainThread|hub] request: 'autoregisterer_queryregistersong'('/opt/mp3/Tango/Carlos_Di_Sarli/Instrumental/05.El_Cabur\xc3\xa9.ogg')->'main' (priority 0) D [06:59:18|MainThread|hub] event: <hub.requestresponse instance at 0x2aaaac4dce18> (priority 0) D [06:59:18|songautoregisterer service|hub] request: 'getsongs'(False, ('url'=u'file://Tango/Carlos_Di_Sarli/Instrumental/05.El_Cabur\xe9.ogg',), random=False)->'main' (priority -100) D [06:59:18|songautoregisterer service|hub] event: <hub.requestresponse instance at 0x2aaaac4f3998> (priority -100) D [06:59:18|songdb manager service|services/songdb] dbrequest cache: query for request: 'getsongs'(False, ('url'=u'file://Tango/Carlos_Di_Sarli/Instrumental/05.El_Cabur\xe9.ogg',), random=False)->'main' D [06:59:18|songdb manager service|services/songdb] dbrequest cache: sucessfully hashed request: -5083241016406433754 D [06:59:18|songdb manager service|services/songdb] dbrequest cache: hit for request: 'getsongs'(False, ('url'=u'file://Tango/Carlos_Di_Sarli/Instrumental/05.El_Cabur\xe9.ogg',), random=False)->'main' D [06:59:18|songdb manager service|hub] got result [] for 'getsongs'(False, ('url'=u'file://Tango/Carlos_Di_Sarli/Instrumental/05.El_Cabur\xe9.ogg',), random=False)->'main' D [06:59:18|songautoregisterer service|metadata] reading metadata for '/opt/mp3/Tango/Carlos_Di_Sarli/Instrumental/05.El_Cabur\xc3\xa9.ogg' W [06:59:18|songautoregisterer service|metadata] could not read metadata for '/opt/mp3/Tango/Carlos_Di_Sarli/Instrumental/05.El_Cabur\xc3\xa9.ogg' D [06:59:18|songautoregisterer service|log] Exception caught: global name 'self' is not defined D [06:59:18|songautoregisterer service|log] File "/usr/lib64/python2.4/site-packages/pytone/metadata.py", line 139, in metadata_from_file metadatadecoder(md, path) D [06:59:18|songautoregisterer service|log] File "/usr/lib64/python2.4/site-packages/pytone/metadata.py", line 277, in read_vorbis_metadata self.title = id3get('TITLE', [""])[0] W [06:59:18|songautoregisterer service|metadata] could not read length of song '/opt/mp3/Tango/Carlos_Di_Sarli/Instrumental/05.El_Cabur\xc3\xa9.ogg' D [06:59:18|songautoregisterer service|hub] got result None for 'autoregisterer_queryregistersong'('/opt/mp3/Tango/Carlos_Di_Sarli/Instrumental/05.El_Cabur\xc3\xa9.ogg')->'main'
Greetz Stefan
========================================================= My very personal wishlist for Pytone - just ignore it ;-) =========================================================
- BPS recognition
At least BPS information is stored in the database now...
Show the bits per seconds from a song in the MP3 info window
and will be showed in the detailed song information, i.e. after pressing '='.
- Pause between tracks
Don't count on that.
- Some sort of replaygain
Should work for mp3 files.
- Extended search function
That's definitely on the TODO list.
Jörg