Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions music_assistant_client/music.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
Track,
media_from_dict,
)
from music_assistant_models.provider import SyncTask

if TYPE_CHECKING:
from music_assistant_models.queue_item import QueueItem
Expand Down Expand Up @@ -575,10 +574,6 @@ async def start_sync(
"""
await self.client.send_command("music/sync", media_types=media_types, providers=providers)

async def get_running_sync_tasks(self) -> list[SyncTask]:
"""Return list with providers that are currently (scheduled for) syncing."""
return [SyncTask(**item) for item in await self.client.send_command("music/synctasks")]

async def search(
self,
search_query: str,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = ["aiohttp>=3.8.6", "music_assistant_models==1.1.115", "orjson>=3.9"]
dependencies = ["aiohttp>=3.8.6", "music_assistant_models==1.1.133", "orjson>=3.9"]
description = "Music Assistant Client"
license = {text = "Apache-2.0"}
name = "music_assistant_client"
Expand Down