Skip to content

Commit

Permalink
Added support for eyed3>=0.7.5
Browse files Browse the repository at this point in the history
  • Loading branch information
sertansenturk committed Apr 20, 2016
1 parent 2553bb5 commit 7f4ad7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion makammusicbrainz/audiometadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
import logging
logging.basicConfig(level=logging.INFO)
mb.set_useragent("Makam corpus metadata", "1.2.1", "compmusic.upf.edu")

try:
eyed3.utils.log.log.setLevel(logging.ERROR)
except AttributeError:
eyed3.log.setLevel("ERROR")

class AudioMetadata(object):
def __init__(self, get_work_attributes=True, print_warnings=None):
Expand Down
2 changes: 1 addition & 1 deletion requirements
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
eyeD3 == 0.7.9
eyeD3 >= 0.7.5
six>=1.10.0 # Python 2*3 support
git+https://github.com/alastair/python-musicbrainzngs.git@v0.6#egg=musicbrainzngs

0 comments on commit 7f4ad7f

Please sign in to comment.