";
+ imgUrl = "css/images/items/list/audio.png";
+ isDefault = true;
}
else if (item.MediaType == "Video" || item.Type == "Season" || item.Type == "Series") {
- html += "
";
+ imgUrl = "css/images/items/list/video.png";
+ isDefault = true;
}
else if (item.Type == "Person") {
- html += "
";
+ imgUrl = "css/images/items/list/person.png";
+ isDefault = true;
}
else if (item.Type == "Artist") {
- html += "
";
+ imgUrl = "css/images/items/list/audiocollection.png";
+ isDefault = true;
}
else if (item.MediaType == "Game") {
- html += "
";
+ imgUrl = "css/images/items/list/game.png";
+ isDefault = true;
}
else {
- html += "
";
+ imgUrl = "css/images/items/list/collection.png";
+ isDefault = true;
}
- html += '' + LibraryBrowser.getFiveStarRatingHtml(item) + '
'; @@ -152,6 +162,50 @@ return html; }, + getSongTableHtml: function (items) { + + var html = ''; + + html += '| '; + html += ' | Track | '; + html += 'Duration | '; + html += ''; + + html += ' |
|---|---|---|---|
| ' + (num || "") + ' | '; + + html += '' + (item.Name || "") + ' | '; + + var time = DashboardPage.getDisplayText(item.RunTimeTicks || 0); + + html += '' + time + ' | '; + + html += '' + LibraryBrowser.getUserDataIconsHtml(item) + ' | '; + + html += '