aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmarshallnz <jcmarsha@gmail.com>2014-06-15 17:31:29 +1200
committerJonathan Marshall <jmarshall@xbmc.org>2014-06-15 17:32:19 +1200
commit741d6146aab7d9bd7d76a3a2e8c2ad49d1f91c8f (patch)
treeb56255436561b63ae7079fc1638eb0a3e6ae3248
parentd0b15835210cdd1ff0496bf65a0afe2f6150b91a (diff)
Merge pull request #4895 from jmarshallnz/kill_unknown_nodetype_log
[log] remove 'Unknown nodetype' logs - they're not really useful
-rw-r--r--xbmc/filesystem/MusicDatabaseDirectory.cpp2
-rw-r--r--xbmc/filesystem/VideoDatabaseDirectory.cpp2
2 files changed, 0 insertions, 4 deletions
diff --git a/xbmc/filesystem/MusicDatabaseDirectory.cpp b/xbmc/filesystem/MusicDatabaseDirectory.cpp
index 34e38ec943..dc93304703 100644
--- a/xbmc/filesystem/MusicDatabaseDirectory.cpp
+++ b/xbmc/filesystem/MusicDatabaseDirectory.cpp
@@ -225,7 +225,6 @@ bool CMusicDatabaseDirectory::GetLabel(const CStdString& strDirectory, CStdStrin
strLabel = "";
break;
default:
- CLog::Log(LOGWARNING, "%s - Unknown nodetype requested %d", __FUNCTION__, pNode->GetChildType());
return false;
}
}
@@ -304,7 +303,6 @@ CStdString CMusicDatabaseDirectory::GetIcon(const CStdString &strDirectory)
case NODE_TYPE_ALBUM_COMPILATIONS:
return "DefaultMusicCompilations.png";
default:
- CLog::Log(LOGWARNING, "%s - Unknown nodetype requested %s", __FUNCTION__, strDirectory.c_str());
break;
}
diff --git a/xbmc/filesystem/VideoDatabaseDirectory.cpp b/xbmc/filesystem/VideoDatabaseDirectory.cpp
index c2cd170121..fdb535191d 100644
--- a/xbmc/filesystem/VideoDatabaseDirectory.cpp
+++ b/xbmc/filesystem/VideoDatabaseDirectory.cpp
@@ -221,7 +221,6 @@ bool CVideoDatabaseDirectory::GetLabel(const CStdString& strDirectory, CStdStrin
case NODE_TYPE_EPISODES: // Episodes
strLabel = g_localizeStrings.Get(20360); break;
default:
- CLog::Log(LOGWARNING, "%s - Unknown nodetype requested %d", __FUNCTION__, pNode->GetChildType());
return false;
}
}
@@ -289,7 +288,6 @@ CStdString CVideoDatabaseDirectory::GetIcon(const CStdString &strDirectory)
case NODE_TYPE_MUSICVIDEOS_ALBUM: // Music Videos - Albums
return "DefaultMusicAlbums.png";
default:
- CLog::Log(LOGWARNING, "%s - Unknown nodetype requested %s", __FUNCTION__, strDirectory.c_str());
break;
}