Skip to content

Commit

Permalink
Fix potentially using content type of aborted listing for next listing
Browse files Browse the repository at this point in the history
  • Loading branch information
MoojMidge committed Oct 2, 2024
1 parent 53fd791 commit 448ba0d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
CONTAINER_FOCUS,
CONTAINER_ID,
CONTAINER_POSITION,
CONTENT_TYPE,
PLAYLIST_PATH,
PLAYLIST_POSITION,
PLUGIN_SLEEPING,
Expand Down Expand Up @@ -258,6 +259,7 @@ def run(self, provider, context, focused=None):
cache_to_disc = options.get(provider.RESULT_CACHE_TO_DISC, True)
update_listing = options.get(provider.RESULT_UPDATE_LISTING, False)
else:
ui.clear_property(CONTENT_TYPE)
succeeded = bool(result)
cache_to_disc = False
update_listing = True
Expand Down

0 comments on commit 448ba0d

Please sign in to comment.