search: also add artists without browseId to artists list (closes #187)

also fixed missing feedbackTokens for songs already in the library
This commit is contained in:
sigma67 2021-04-10 17:46:26 +02:00
commit 15e1b69698
No known key found for this signature in database
GPG key ID: 1545A01D4474BAF0
4 changed files with 15 additions and 9 deletions

View file

@ -102,7 +102,7 @@ class TestYTMusic(unittest.TestCase):
def test_get_album(self):
results = youtube_auth.get_album(sample_album)
self.assertEqual(len(results), 9)
self.assertGreaterEqual(len(results), 9)
self.assertTrue(results['tracks'][0]['isExplicit'])
self.assertIn('feedbackTokens', results['tracks'][0])
results = youtube.get_album("MPREb_BQZvl3BFGay")