Просмотр исходного кода

fix emby logo again maybe? again 3

mgomon 10 месяцев назад
Родитель
Сommit
b838a43ca7
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      js/functions.js

+ 2 - 0
js/functions.js

@@ -7138,6 +7138,8 @@ function buildMetadata(array, source){
                 }
             }
         } catch(e) {}
+        // Normalize to lowercase to avoid casing issues like 'Emby'
+        itemSource = (itemSource || '').toString().toLowerCase();
 		var hasActor = (typeof v.metadata.actors !== 'string') ? true : false;
 		var hasGenre = (typeof v.metadata.genres !== 'string') ? true : false;
 		if(hasActor){