Browse Source

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 years ago
parent
commit
0c0193b203

+ 1
- 1
src/com/dmdirc/addons/mediasource_linux_title/TitleMediaSourcePlugin.java View File

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…
Cancel
Save