mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
Update beets to 1.4.7
Also updates: - colorama-0.4.1 - jellyfish-0.6.1 - munkres-1.0.12 - musicbrainzngs-0.6 - mutagen-1.41.1 - pyyaml-3.13 - six-1.12.0 - unidecode-1.0.23
This commit is contained in:
parent
05b0fb498f
commit
e854005ae1
193 changed files with 15896 additions and 6384 deletions
|
@ -36,7 +36,7 @@ class MBSubmitPlugin(BeetsPlugin):
|
|||
super(MBSubmitPlugin, self).__init__()
|
||||
|
||||
self.config.add({
|
||||
'format': '$track. $title - $artist ($length)',
|
||||
'format': u'$track. $title - $artist ($length)',
|
||||
'threshold': 'medium',
|
||||
})
|
||||
|
||||
|
@ -56,5 +56,5 @@ class MBSubmitPlugin(BeetsPlugin):
|
|||
return [PromptChoice(u'p', u'Print tracks', self.print_tracks)]
|
||||
|
||||
def print_tracks(self, session, task):
|
||||
for i in task.items:
|
||||
print_data(None, i, self.config['format'].get())
|
||||
for i in sorted(task.items, key=lambda i: i.track):
|
||||
print_data(None, i, self.config['format'].as_str())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue