-
Notifications
You must be signed in to change notification settings - Fork 3
/
status_list.html
executable file
·67 lines (67 loc) · 4.99 KB
/
status_list.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<div class="draggableSong selectorMarker[% IF noPlaylistCover %]itemWithoutCover[% END %] [% IF item.currentsong %]currentSong[% END %]" id="playlistSong[% item.num %]" onmouseover="Main.playlist.Highlighter.highlight(this);"><div class="selector_topRight"><div class="selector_topLeft"><div class="selector_bottomRight"><div class="selector_bottomLeft">
<div class="browsedbListItem [% IF !noPlaylistCover %]itemWithCover[% END %]">
[%# Plugins can provide their own songinfo links %]
[% info_link = item.plugin_meta.info_link || 'songinfo.html' %]
[% IF noPlaylistCover %]
<a href="[% webroot _ info_link %]?item=[% item.itemobj.id %]&player=[% playerURI %]" target="browser" class="browseItemLink">[% item.title | html %]</a>
[% IF item.includeAlbum && item.itemobj.album && item.itemobj.album.title != item.noAlbum && item.itemobj.album.title != "" %]
[% "FROM" | string %]
<a href="[% webroot %]clixmlbrowser/clicmd=browselibrary+items&mode=albums&linktitle=[% 'ALBUM' | string %]%20([% item.itemobj.album.title | uri %])&album_id=[% item.itemobj.album.id %]&player=[% playerURI %]/index.html?index=0" target="browser" class="browseItemLink">[% item.itemobj.album.title | html %]</a>
[% END %]
[% IF item.includeArtist && item.artist && item.artist != item.noArtist; PROCESS artistsAsHTML.html itemobj = item.itemobj; END %]
[%# current_title is for radio streams %]
[% IF item.current_title %]
<br />
[% item.current_title | html %]
[% END %]
[% ELSE %]
<span class="playlistCover">
[% IF item.itemobj.album.id %]<a href="[% webroot %]clixmlbrowser/clicmd=browselibrary+items&mode=albums&linktitle=[% 'ALBUM' | string %]%20([% item.itemobj.album.title | uri %])&album_id=[% item.itemobj.album.id %]&player=[% playerURI %]/index.html?index=0" target="browser">[% END %]
[% IF item.plugin_meta.cover || item.plugin_meta.icon %]
[%# Display plugin cover or icon %]
[% IF item.plugin_meta.cover %]
<img src="[% item.plugin_meta.cover | resizeimage(50, 50) %]" width="50" height="50" onLoad="resize(this, 50)">
[% ELSIF item.plugin_meta.icon %]
<img src="[% item.plugin_meta.icon | resizeimage(50, 50, resizeParam) %]" onLoad="resize(this, 50)">
[% END %]
[% ELSE %]
<img src="[% ("/music/" _ (item.itemobj.coverid || item.artwork_track_id || 0) _ "/cover") | resizeimage(50, 50) %]" onLoad="resize(this, 50)">
[% END %]
[% IF item.itemobj.album.id %]</a>[% END %]
</span>
<div class="playlistSongDetail">
<a href="[% webroot _ info_link %]?item=[% item.itemobj.id %]&player=[% playerURI %]" target="browser" class="browseItemLink"><span>[% (item.plugin_meta.title || item.title) | html %]</span></a>
</div>
[%# current_title is for radio streams %]
[% IF item.current_title %]
<div class="playlistSongDetail">
[% item.current_title | html %]
</div>
[% END %]
[% IF item.includeAlbum && (item.itemobj.album || item.plugin_meta) && (item.itemobj.album.title || item.plugin_meta.album) != item.noAlbum && (item.itemobj.album.title || item.plugin_meta.album) != "" %]
<div class="playlistSongDetail">
[% IF item.itemobj.album %]
<a href="[% webroot %]clixmlbrowser/clicmd=browselibrary+items&mode=albums&linktitle=[% 'ALBUM' | string %]%20([% item.itemobj.album.title | uri %])&album_id=[% item.itemobj.album.id %]&player=[% playerURI %]/index.html?index=0" target="browser" class="browseItemLink"><span>[% (item.itemobj.album.title || item.plugin_meta.album) | html %]</span></a>
[% ELSE; item.plugin_meta.album; END %]
</div>
[% END %]
<div class="playlistSongDetail">
[% IF item.includeArtist;
IF item.artist && item.artist != item.noArtist;
PROCESS artistsAsHTML.html itemobj = item.itemobj noby = 1;
ELSIF item.plugin_meta && item.plugin_meta.artist && item.plugin_meta.artist != item.noArtist;
item.plugin_meta.artist;
END;
END %]
</div>
[% END %]
<div class="playlistControls">
<img onclick="SqueezeJS.UI.setProgressCursor();Main.playlist.request('index', 'playlistSong[% item.num %]')" src="[% webroot %]html/images/b_play.gif" width="[% cmdLinkIconSize %]" height="[% cmdLinkIconSize %]" alt="[% "PLAY" | string %]" title="[% "PLAY" | string %]">
<img onclick="SqueezeJS.UI.setProgressCursor();Main.playlist.request('delete', 'playlistSong[% item.num %]')" src="[% webroot %]html/images/b_delete.gif" width="[% cmdLinkIconSize %]" height="[% cmdLinkIconSize %]" alt="[% "REMOVE_FROM_PLAYLIST" | string %]" title="[% "REMOVE_FROM_PLAYLIST" | string %]"></a>
<a href="[% webroot _ info_link %]?item=[% item.itemobj.id %]&player=[% playerURI %]" target="browser" class="browseItemLink">
<img src="[% webroot %]html/images/b_mmmix.gif" width="[% cmdLinkIconSize %]" height="[% cmdLinkIconSize %]" alt="[% "MORE" | string %]" title="[% "MORE" | string %]">
</a>
[% IF item.currentsong %]<img src="[% webroot %]html/images/spacer.gif" class="nowPlayingIcon"/>[% END %]
</div>
</div>
</div></div></div></div></div>