aboutsummaryrefslogtreecommitdiff
path: root/xbmc/epg/EpgDatabase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/epg/EpgDatabase.cpp')
-rw-r--r--xbmc/epg/EpgDatabase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/epg/EpgDatabase.cpp b/xbmc/epg/EpgDatabase.cpp
index 21e42b8c33..97854ed305 100644
--- a/xbmc/epg/EpgDatabase.cpp
+++ b/xbmc/epg/EpgDatabase.cpp
@@ -383,7 +383,7 @@ int CEpgDatabase::Persist(const CEpgInfoTag &tag, bool bSingleUpdate /* = true *
if (iBroadcastId < 0)
{
- strQuery = FormatSQL("INSERT INTO epgtags (idEpg, iStartTime, "
+ strQuery = FormatSQL("REPLACE INTO epgtags (idEpg, iStartTime, "
"iEndTime, sTitle, sPlotOutline, sPlot, iGenreType, iGenreSubType, sGenre, "
"iFirstAired, iParentalRating, iStarRating, bNotify, iSeriesId, "
"iEpisodeId, iEpisodePart, sEpisodeName, iBroadcastUid) "