Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix the song title for autoplay songs; DBus didn't have titles before

  • Loading branch information...
commit 33e0d2db9f4d6f947f5aec3462859a30a92b01d6 1 parent 121ae59
@danopia authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  dbus-interface.rb
View
2  dbus-interface.rb
@@ -14,7 +14,7 @@ def initialize client, path
dbus_method :now_playing, "out res:s" do
info = @@client.now_playing
next "No song is playing" unless info
- "#{info['Name']} - #{info['ArtistName']} - #{info['AlbumName']}"
+ "#{info['SongName'] || info['Name']} - #{info['ArtistName']} - #{info['AlbumName']}"
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.