sn0opy/MPD-Webinterface — Issue #2: Track list does not show streams while not playing
Author: Luzifer
Created: 2011-11-02 13:55:03+00:00
State: open

As the artist and track data is not available for a stream while it's not playing the playlist entries are not displayed in this case.

This code should fix that issue by taking the Name of the entry.

As even the name is not available before the first play the filename (stream URL) is used to display this entry.

```
diff --git a/tpl/main.tpl.php b/tpl/main.tpl.php
index 798fc47..6b09eb2 100755
--- a/tpl/main.tpl.php
+++ b/tpl/main.tpl.php
@@ -44,7 +44,21 @@

-
+
+

+ x
+
+ ()
+
+

+
+

+ x
+
+
+
+

+

```