mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-25 22:55:56 -05:00
Removed genre from songlist.
This commit is contained in:
parent
ad0455d09a
commit
610f507ada
@ -1976,7 +1976,7 @@ Rico.LiveGridBuffer.prototype = {
|
||||
$A(ajaxResponse.responseXML.getElementsByTagName('dmap.listingitem')).each(function (el) {
|
||||
var row = [];
|
||||
//,dmap.itemid,,dmap.itemname']
|
||||
['dmap.itemname','daap.songtime','daap.songartist','daap.songalbum','daap.songgenre'].each(function (name) {
|
||||
['dmap.itemname','daap.songtime','daap.songartist','daap.songalbum'].each(function (name) {
|
||||
if ('daap.songtime' == name) {
|
||||
var time = parseInt(Element.textContent(el.getElementsByTagName(name)[0]));
|
||||
time = Math.round(time / 1000);
|
||||
@ -1984,7 +1984,7 @@ Rico.LiveGridBuffer.prototype = {
|
||||
seconds = (seconds < 10) ? '0'+seconds : seconds;
|
||||
row.push(Math.floor(time/60)+ ':' + seconds);
|
||||
} else {
|
||||
row.push(Element.textContent(el.getElementsByTagName(name)[0]).truncate(10));
|
||||
row.push(Element.textContent(el.getElementsByTagName(name)[0]));
|
||||
}
|
||||
});
|
||||
newRows.push(row);
|
||||
|
@ -35,6 +35,13 @@
|
||||
font: icon;
|
||||
width: 25ex;
|
||||
display: none;
|
||||
}
|
||||
#songs_data {
|
||||
table-layout: fixed;
|
||||
}
|
||||
#songs_data td {
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
</style>
|
||||
<div id="search_div">
|
||||
@ -87,19 +94,17 @@ Album<br />
|
||||
<div id="songs_div" style="float: left; width:549px;">
|
||||
<table id="songs" style="width:530px;" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<th style="width: 140px;">Song</th>
|
||||
<th style="width: 240px;">Song</th>
|
||||
<th style="width: 50px;">Time</th>
|
||||
<th style="width: 120px;">Artist</th>
|
||||
<th style="width: 120px;">Album</th>
|
||||
<th style="width: 100px;">Genre</th>
|
||||
</tr>
|
||||
</table>
|
||||
<table id="songs_data" style="width:530px;" border="0" cellspacing="0" cellpadding="0">
|
||||
<col style="width: 140px;" />
|
||||
<col style="width: 240px;" />
|
||||
<col style="width: 50px;" />
|
||||
<col style="width: 120px;" />
|
||||
<col style="width: 120px;" />
|
||||
<col style="width: 100px;" />
|
||||
<tr><td> </td><td></td><td></td><td></td><td></td></tr>
|
||||
<tr><td> </td><td></td><td></td><td></td><td></td></tr>
|
||||
<tr><td> </td><td></td><td></td><td></td><td></td></tr>
|
||||
|
Loading…
Reference in New Issue
Block a user