Skip to content

Commit

Permalink
do not try to store dynamic urls in last played
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelveldt committed May 14, 2024
1 parent 81b1ada commit 261a282
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions music_assistant/server/controllers/music.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,11 @@ async def mark_item_played(
else:
prov_key = provider_instance_id_or_domain

# do not try to store dynamic urls (e.g. with auth token etc.),
# stick with plaun uri/urls only
if "http" in item_id and "?" in item_id:
return

# update generic playlog table
await self.database.insert(
DB_TABLE_PLAYLOG,
Expand Down

0 comments on commit 261a282

Please sign in to comment.