Fix tag reading exceptions (#157)
authorHans Oischinger <hans.oischinger@gmail.com>
Wed, 8 Sep 2021 14:22:24 +0000 (16:22 +0200)
committerGitHub <noreply@github.com>
Wed, 8 Sep 2021 14:22:24 +0000 (16:22 +0200)
commita698b81b694dcf5f20fcce977d60636442e40c37
tree063b79f6b6a8678cb9463e62b6c8d918ec07338c
parent83286bc774b1985a037ac66d754d4d00d71e4a37
Fix tag reading exceptions (#157)

The disc and track numbers are often stored as strings containing e.g.
"1/16" which leads to exceptions.
Also taglib sometimes returns empty lists which also produces an
exception.

This fix avoids some common exceptions.
music_assistant/providers/file/__init__.py