mopidy/tests
Martins Grunskis 159831c6e7 mopidy-scan fails if track has no artist name
stack trace:

    Traceback (most recent call last):
      File ./scan, line 27, in <module>
        for a in tracks_to_tag_cache_format(tracks):
      File /home/martins/source/mopidy/mopidy/frontends/mpd/translator.py, line 138, in tracks_to_tag_cache_format
        _add_to_tag_cache(result, *tracks_to_directory_tree(tracks))
      File /home/martins/source/mopidy/mopidy/frontends/mpd/translator.py, line 151, in _add_to_tag_cache
        _add_to_tag_cache(result, *entry)
      File /home/martins/source/mopidy/mopidy/frontends/mpd/translator.py, line 156, in _add_to_tag_cache
        track_result = dict(track_to_mpd_format(track))
      File /home/martins/source/mopidy/mopidy/frontends/mpd/translator.py, line 28, in track_to_mpd_format
        ('Artist', artists_to_mpd_format(track.artists)),
      File /home/martins/source/mopidy/mopidy/frontends/mpd/translator.py, line 88, in artists_to_mpd_format
        return u', '.join([a.name for a in artists if a])
    TypeError: sequence item 0: expected string or Unicode, NoneType found
2011-02-09 18:48:15 +02:00
..
backends Fix a bunch of pylint errors/warnings in test suite 2011-01-23 18:39:05 +01:00
data Add albumartist to musicbrainz test 2010-11-02 20:20:01 +01:00
frontends mopidy-scan fails if track has no artist name 2011-02-09 18:48:15 +02:00
mixers Fix a bunch of pylint errors/warnings in test suite 2011-01-23 18:39:05 +01:00
outputs Fix a bunch of pylint errors/warnings in test suite 2011-01-23 18:39:05 +01:00
utils mopidy --list-settings fails on fresh install 2011-02-09 17:05:29 +02:00
__init__.py Fix a bunch of pylint errors/warnings in test suite 2011-01-23 18:39:05 +01:00
__main__.py Replace CoverageTestRunner with nosetests 2010-03-23 23:54:49 +01:00
models_test.py Fix a bunch of pylint errors/warnings in test suite 2011-01-23 18:39:05 +01:00
scanner_test.py Add albumartistid to scanner 2010-11-02 01:00:00 +01:00
version_test.py Special case get_version() to include git revision id if we're running from a git repo 2011-01-25 22:03:28 +01:00