Przeglądaj źródła

Show if source is stopped. (Issue 1487)


git-svn-id: http://svn.dmdirc.com/trunk@4640 00569f92-eb28-0410-84fd-f71c24880f
tags/0.6.3m1rc1
Shane Mc Cormack 16 lat temu
rodzic
commit
09b6216f7e

+ 3
- 1
src/com/dmdirc/addons/nowplaying/NowPlayingCommand.java Wyświetl plik

@@ -111,7 +111,9 @@ public final class NowPlayingCommand extends ChatCommand implements IntelligentC
111 111
                 data[i][0] = source.getAppName();
112 112
                 
113 113
                 if (source.isRunning()) {
114
-                    if (source.isPlaying()) {
114
+                    if (source.isStopped()) {
115
+                        data[i][1] = "stopped";
116
+                    } else if (source.isPlaying()) {
115 117
                         data[i][1] = "playing";
116 118
                     } else {
117 119
                         data[i][1] = "paused";

Ładowanie…
Anuluj
Zapisz