瀏覽代碼

Linux spotify media source gets details right now

The dashes! They burn!

Change-Id: I61b79e992338b32b6abfc03a124603970f12364f
Reviewed-on: http://gerrit.dmdirc.com/344
Reviewed-by: Gregory Holmes <greboid@dmdirc.com>
Tested-by: Gregory Holmes <greboid@dmdirc.com>
tags/0.6.3
Chris Smith 14 年之前
父節點
當前提交
0c0193b203
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/com/dmdirc/addons/mediasource_linux_title/TitleMediaSourcePlugin.java

+ 1
- 1
src/com/dmdirc/addons/mediasource_linux_title/TitleMediaSourcePlugin.java 查看文件

49
                     "Options\"|\"Diagnostics\"|\"last\\.?fm\"|\"Share\"|\\(has no " +
49
                     "Options\"|\"Diagnostics\"|\"last\\.?fm\"|\"Share\"|\\(has no " +
50
                     "name\\)):' | sed -r 's/^[^\"]*?\"(.*)\": \\(\"last\\.?fm.*$/\\1/g'", "Last.fm"));
50
                     "name\\)):' | sed -r 's/^[^\"]*?\"(.*)\": \\(\"last\\.?fm.*$/\\1/g'", "Last.fm"));
51
         sources.add(new TitleMediaSource("grep '\": (\"spotify.exe' | cut -d '\"' -f 2 | "
51
         sources.add(new TitleMediaSource("grep '\": (\"spotify.exe' | cut -d '\"' -f 2 | "
52
-                    + "cut -d '-' -f 2- | sed -r 's/^\\s+|\\s+$//g' | sed -r 's/–/-/g'", "Spotify"));
52
+                    + "cut -d '-' -f 2- | sed -r 's/^\\s+|\\s+$//g' | sed -r 's/-/–/g'", "Spotify"));
53
     }
53
     }
54
 
54
 
55
     /** {@inheritDoc} */
55
     /** {@inheritDoc} */

Loading…
取消
儲存