Project

General

Profile

Feature #314 » XBMChttp.cpp.patch

dandar3, 18/08/2014 08:30 PM

View differences:

xbmc/lib/libGoAhead/XBMChttp.cpp (working copy)
// options include the type, and pathsonly boolean
int iStart = 0;
int iEnd = 4;
int iEnd = 5;
bool bShowType = true;
bool bShowName = true;
......
iEnd = 4;
bShowType = false;
}
else if (paras[0].Equals("programs"))
{
iStart = 4;
iEnd = 5;
bShowType = false;
}
else
numParas = 0;
}
......
}
CStdString strOutput;
enum SHARETYPES { MUSIC, VIDEO, PICTURES, FILES };
enum SHARETYPES { MUSIC, VIDEO, PICTURES, FILES, PROGRAMS };
for (int i = iStart; i < iEnd; ++i)
{
CStdString strType;
......
pShares = &g_settings.m_fileSources;
}
break;
case PROGRAMS:
{
strType = "programs";
pShares = &g_settings.m_programSources;
}
break;
}
if (!pShares)
(2-2/2)