Permalink
Browse files

Update least.

  • Loading branch information...
Raynes committed Apr 19, 2013
1 parent ed812bb commit 66cbac5cf99dd6771046bcb7193431e3fe645044
Showing with 4 additions and 4 deletions.
  1. +1 −1 project.clj
  2. +3 −3 src/lazybot/plugins/lastfm.clj
View
@@ -30,7 +30,7 @@
[findfn "0.1.3"]
[me.raynes/laser "0.1.16"]
[hiccup "1.0.2"]
- [me.raynes/least "0.1.2"]]
+ [me.raynes/least "0.1.3"]]
:uberjar-name "lazybot.jar"
:main lazybot.run
:copy-deps true
@@ -38,12 +38,12 @@
[:recenttracks :track]))]
(format "%s %s: %s - %s [%s]"
user
- (if (= "true" (get-in latest [(keyword "@attr") :nowplaying]))
+ (if (= "true" (get-in latest [:attr :nowplaying]))
"is listening to"
"last listened to")
- (get-in latest [:artist :#text])
+ (get-in latest [:artist :text])
(:name latest)
- (get-in latest [:album :#text])))))
+ (get-in latest [:album :text])))))
(defplugin
(:cmd

0 comments on commit 66cbac5

Please sign in to comment.