aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Montellese <sascha.montellese@gmail.com>2015-09-14 09:20:42 +0200
committerSascha Montellese <sascha.montellese@gmail.com>2015-09-14 09:20:42 +0200
commit1dc0a91e1e030069f286db03a4f42aedf5ada87e (patch)
tree5288242b6d282590442a2bc3aa69f53e8ee34700
parentea6eeea841c2927c2ac839c77b8f98f6372aaa4e (diff)
parentdcf023729f0e2d1a0387c241f21d226fce1d5d5f (diff)
Merge pull request #8044 from Montellese/fix_setdetailsforseason_allseasons
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