diff options
author | montellese <montellese@xbmc.org> | 2015-04-21 08:47:45 +0200 |
---|---|---|
committer | montellese <montellese@kodi.tv> | 2015-09-13 18:47:29 +0200 |
commit | dcf023729f0e2d1a0387c241f21d226fce1d5d5f (patch) | |
tree | df2444b38c9fc547e6bc1bce3f006baa738d2809 | |
parent | 8f5435d430ca4bb48aa4877c4be3bf7ea81bfcce (diff) |
videodb: allow calling SetDetailsForSeason() for "All seasons"
-rw-r--r-- | xbmc/video/VideoDatabase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/video/VideoDatabase.cpp b/xbmc/video/VideoDatabase.cpp index 0b2a378a1e..5c4c2cd200 100644 --- a/xbmc/video/VideoDatabase.cpp +++ b/xbmc/video/VideoDatabase.cpp @@ -2343,7 +2343,7 @@ bool CVideoDatabase::UpdateDetailsForTvShow(int idTvShow, const CVideoInfoTag &d int CVideoDatabase::SetDetailsForSeason(const CVideoInfoTag& details, const std::map<std::string, std::string> &artwork, int idShow, int idSeason /* = -1 */) { - if (idShow < 0 || details.m_iSeason < 0) + if (idShow < 0 || details.m_iSeason < -1) return -1; try |