Permalink
Browse files

Fix for music thumbnails not working over LAN

  • Loading branch information...
1 parent 8b2b4c6 commit 339aa57a75f028940f511f995bbbad00518100a3 @elan elan committed Nov 13, 2008
Showing with 8 additions and 0 deletions.
  1. +6 −0 xbmc/FileItem.cpp
  2. +2 −0 xbmc/VideoInfoScanner.cpp
View
6 xbmc/FileItem.cpp
@@ -562,6 +562,12 @@ bool CFileItem::IsInternetStream() const
if (strProtocol.size() == 0)
return false;
+ // PMS files always count as streams (needed for
+ // thumbnails on LAN, strangely enough).
+ //
+ if (url.GetPort() == 32400)
+ return true;
+
if (IsOnLAN())
return false;
View
2 xbmc/VideoInfoScanner.cpp
@@ -181,6 +181,8 @@ namespace VIDEO
bool CVideoInfoScanner::DoScan(const CStdString& strDirectory, SScanSettings settings)
{
+ CLog::Log(LOGINFO, "DoScan(%s)", strDirectory.c_str());
+
if (m_bUpdateAll)
{
if (m_pObserver)

0 comments on commit 339aa57

Please sign in to comment.