PyID3 checking - both cases
git-svn-id: svn://svn.berlios.de/gpodder/trunk@235 b0d088ad-0a06-0410-aad2-9ed5178a7e87
This commit is contained in:
parent
8722a7b49f
commit
fd75f194b3
|
@ -1,3 +1,11 @@
|
|||
Tue, 16 Jan 2007 19:26:50 +0100 <thp@perli.net>
|
||||
* src/gpodder/libipodsync.py: Nick (nikosapi gmail com) reported
|
||||
that when compiling PyID3 from source, its name will be lowercase,
|
||||
so we simply check for both cases now (all uppercase/all lowercase)
|
||||
and try to cope with both possibilities. Why is the naming different
|
||||
from distro to distro, anyway? ;)
|
||||
* bin/gpodder: version + release date bump
|
||||
|
||||
Mon, 15 Jan 2007 21:06:41 +0100 <thp@perli.net>
|
||||
* src/gpodder/libopmlreader.py: Fixed a small bug, thanks (again)
|
||||
to Nick [nikosapi gmail com] for pointing that out :)
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
# PLEASE DO NOT CHANGE FORMAT OF __version__ LINE (setup.py reads this)
|
||||
|
||||
__author__ = "Thomas Perl <thp@perli.net>"
|
||||
__version__ = "0.8.0+svn20070115"
|
||||
__date__ = "2007-01-15"
|
||||
__version__ = "0.8.0+svn20070116"
|
||||
__date__ = "2007-01-16"
|
||||
__copyright__ = "Copyright (c) 2005-2007 %s. All rights reserved." % __author__
|
||||
__licence__ = "GPL"
|
||||
|
||||
|
|
|
@ -71,7 +71,14 @@ try:
|
|||
use_pyid3 = True
|
||||
log('(ipodsync) Found PyID3, will try to extract cover art from mp3 metadata')
|
||||
except:
|
||||
log('(ipodsync) PyID3 not found - falling back to channel cover for iPod cover art')
|
||||
try:
|
||||
# If you build PyID3 from source it's lowercase (??)
|
||||
import id3
|
||||
ID3 = id3
|
||||
use_pyid3 = True
|
||||
log('(ipodsync) Found PyID3, will try to extract cover art from mp3 metadata')
|
||||
except:
|
||||
log('(ipodsync) PyID3 not found - falling back to channel cover for iPod cover art')
|
||||
|
||||
|
||||
import os
|
||||
|
|
Loading…
Reference in New Issue