Parcourir la source

fix emby logo again maybe? again 3

mgomon il y a 1 an
Parent
commit
b838a43ca7
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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){