clapper: Skip default cache location set at item construction

It is already NULL for newly created media item and otherwise
debug printing for this property being changed to NULL for each
media item is confusing
This commit is contained in:
Rafał Dzięgiel
2025-11-23 11:03:22 +01:00
parent 5eb2cf2eb8
commit f351005d7c

View File

@@ -770,6 +770,9 @@ clapper_media_item_update_from_parsed_playlist (ClapperMediaItem *self, GListSto
void
clapper_media_item_set_cache_location (ClapperMediaItem *self, const gchar *location)
{
if (!self->cache_uri && !location)
return; // No change (called during construction)
g_clear_pointer (&self->cache_uri, g_free);
if (location)