trying to fix the auto test
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Fri, 11 Sep 2020 21:13:52 +0000 (23:13 +0200)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Fri, 11 Sep 2020 21:13:52 +0000 (23:13 +0200)
.github/workflows/test.yml
music_assistant/providers/webplayer/__init__.py

index d08553350d90fcab2d2eb66252e4796405e6707d..f44c611e06e74612fd762fb774e10ca4dac6cb14 100644 (file)
@@ -24,6 +24,7 @@ jobs:
           python-version: ${{ matrix.python-version }}
       - name: Install dependencies
         run: |
+          apt-get install -y --no-install-recommends libsndfile1 libtag1v5 libtag1-dev
           python -m pip install --upgrade pip
           pip install tox tox-gh-actions pre-commit
           pre-commit install-hooks
index 112942a966ca4a6e944952df37ebf351d39d4435..528913e369b21cebb0f9b22ea2d658fd0fb00735 100644 (file)
@@ -61,6 +61,10 @@ class WebPlayerProvider(PlayerProvider):
         )
         self.mass.add_job(self.async_check_players())
 
+    async def async_on_stop(self):
+        """Handle correct close/cleanup of the provider on exit. Called on shutdown."""
+        # nothing to do ?
+
     async def async_handle_mass_event(self, msg, msg_details):
         """Handle received event for the webplayer component."""
         if msg == EVENT_WEBPLAYER_REGISTER: