Fix capitalisation of MusicBrainz everywhere
Make MusicBrainz consistently written as "MusicBrainz" and not "musicbrainz" or "Musicbrainz". Doesn't change instances that refer to the Python module or similar.
This commit is contained in:
@@ -212,7 +212,7 @@ class _CD(BaseCommand):
|
||||
|
||||
class Info(_CD):
|
||||
summary = "retrieve information about the currently inserted CD"
|
||||
description = ("Display musicbrainz, CDDB/FreeDB, and AccurateRip"
|
||||
description = ("Display MusicBrainz, CDDB/FreeDB, and AccurateRip"
|
||||
"information for the currently inserted CD.")
|
||||
eject = False
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
# along with whipper. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
Handles communication with the musicbrainz server using NGS.
|
||||
Handles communication with the MusicBrainz server using NGS.
|
||||
"""
|
||||
|
||||
import urllib2
|
||||
@@ -113,7 +113,7 @@ def _record(record, which, name, what):
|
||||
|
||||
class _Credit(list):
|
||||
"""
|
||||
I am a representation of an artist-credit in musicbrainz for a disc
|
||||
I am a representation of an artist-credit in MusicBrainz for a disc
|
||||
or track.
|
||||
"""
|
||||
|
||||
|
||||
@@ -286,7 +286,7 @@ class Program:
|
||||
"""
|
||||
@type ittoc: L{whipper.image.table.Table}
|
||||
"""
|
||||
# look up disc on musicbrainz
|
||||
# look up disc on MusicBrainz
|
||||
self._stdout.write('Disc duration: %s, %d audio tracks\n' % (
|
||||
common.formatTime(ittoc.duration() / 1000.0),
|
||||
ittoc.getAudioTracks()))
|
||||
@@ -395,7 +395,7 @@ class Program:
|
||||
if (not release and len(deltas.keys()) > 1):
|
||||
self._stdout.write('\n')
|
||||
self._stdout.write('Picked closest match in duration.\n')
|
||||
self._stdout.write('Others may be wrong in musicbrainz, '
|
||||
self._stdout.write('Others may be wrong in MusicBrainz, '
|
||||
'please correct.\n')
|
||||
self._stdout.write('Artist : %s\n' %
|
||||
artist.encode('utf-8'))
|
||||
|
||||
@@ -477,7 +477,7 @@ class Table(object):
|
||||
pass
|
||||
|
||||
|
||||
logger.debug('Musicbrainz values: %r', result)
|
||||
logger.debug('MusicBrainz values: %r', result)
|
||||
return result
|
||||
|
||||
def getAccurateRipIds(self):
|
||||
|
||||
@@ -56,7 +56,7 @@ class LadyhawkeTestCase(tcommon.TestCase):
|
||||
# https://musicbrainz.org/cdtoc/attach?toc=1+12+195856+150+
|
||||
# 15687+31841+51016+66616+81352+99559+116070+133243+149997+161710+
|
||||
# 177832&tracks=12&id=KnpGsLhvH.lPrNc1PBL21lb9Bg4-
|
||||
# however, not (yet) in musicbrainz database
|
||||
# however, not (yet) in MusicBrainz database
|
||||
|
||||
self.assertEquals(self.table.getMusicBrainzDiscId(),
|
||||
"KnpGsLhvH.lPrNc1PBL21lb9Bg4-")
|
||||
|
||||
@@ -284,7 +284,7 @@ class CapitalMergeTestCase(common.TestCase):
|
||||
|
||||
def testDuration(self):
|
||||
# this matches track 11 end sector - track 1 start sector on
|
||||
# musicbrainz
|
||||
# MusicBrainz
|
||||
# compare to 3rd and 4th value in URL above
|
||||
self.assertEquals(self.table.getFrameLength(), 173530)
|
||||
self.assertEquals(self.table.duration(), 2313733)
|
||||
|
||||
Reference in New Issue
Block a user