aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormontellese <montellese@xbmc.org>2015-04-21 08:47:45 +0200
committermontellese <montellese@kodi.tv>2015-09-13 18:47:29 +0200
commitdcf023729f0e2d1a0387c241f21d226fce1d5d5f (patch)
treedf2444b38c9fc547e6bc1bce3f006baa738d2809
parent8f5435d430ca4bb48aa4877c4be3bf7ea81bfcce (diff)
videodb: allow calling SetDetailsForSeason() for "All seasons"
-rw-r--r--xbmc/video/VideoDatabase.cpp2
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