diff --git a/live/js/live/createHtml.js b/live/js/live/createHtml.js index 8d8beda5..4856921e 100644 --- a/live/js/live/createHtml.js +++ b/live/js/live/createHtml.js @@ -43,7 +43,7 @@ function addTime(s, time) { function addScraperImageTitle(s, image, pt, title, seasonEpisode, runtime, date, lf) { // pt: "pt" if m_s_image.width <= m_s_image.height, otherwise= "" // seasonEpisode: e.g. 3E8 (we will add the missing S ...) - s.a += '
>(cToSvConcat<255> &s, con return first->scraperReleaseDate() < second->scraperReleaseDate(); } +/* int RecordingsItemPtrCompare::compareLC(const char *first, const char *second, int *numEqualChars) { // if numEqualChars != NULL: Add the number of equal characters to *numEqualChars bool fe = !first || !first[0]; // is first string empty string? @@ -447,6 +448,7 @@ template void StringAppendFrameParams>(cToSvConcat<255> &s, con if (*first ) return 1; return 0; } +*/ tCompRec RecordingsItemPtrCompare::getComp(eSortOrder sortOrder) { switch (sortOrder) { diff --git a/recman.h b/recman.h index 8d7eaa88..ad0fb081 100644 --- a/recman.h +++ b/recman.h @@ -165,7 +165,7 @@ template static bool ByAscendingNameSort(const RecordingsItemDirPtr & first, const RecordingsItemDirPtr & second); static bool BySeason(const RecordingsItemDirPtr & first, const RecordingsItemDirPtr & second); // helpers - static int compareLC(const char *first, const char *second, int *numEqualChars = NULL); // as std::compare, but compare lower case +// static int compareLC(const char *first, const char *second, int *numEqualChars = NULL); // as std::compare, but compare lower case static int FindBestMatch(RecordingsItemRecPtr &BestMatch, const std::vector::const_iterator & First, const std::vector::const_iterator & Last, const RecordingsItemRecPtr & EPG_Entry); static tCompRec getComp(eSortOrder sortOrder);