Skip to content

Commit

Permalink
Provider filter: remove provider mappings when deleting shows.
Browse files Browse the repository at this point in the history
  • Loading branch information
UweTrottmann committed Feb 16, 2024
1 parent a4a970c commit 49d9f32
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ class ShowTools2 @Inject constructor(
rowsUpdated = database.sgShow2Helper().deleteShow(showId)
if (rowsUpdated == -1) return@withContext SgResult.ERROR

database.sgWatchProviderHelper().deleteShowMappings(showId)

SeriesGuideDatabase.rebuildFtsTable(context)
SgResult.SUCCESS
}
Expand Down

0 comments on commit 49d9f32

Please sign in to comment.