Skip to content

Commit d904ea9

Browse files
committed
Fix missing artist in play notification.
1 parent 228bfc1 commit d904ea9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/actions/play.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def main():
1717
artist = os.environ.get('ALFRED_MPD_ARTIST')
1818
if artist:
1919
query_args += ['albumartist', artist]
20-
variables['albumartist'] = artist
20+
variables['artist'] = artist
2121

2222
track = os.environ.get('ALFRED_MPD_TRACK')
2323
if track:

src/filters/query.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def main():
4747

4848
artist = os.environ.get('ALFRED_MPD_ARTIST')
4949
if artist:
50-
query_args += ['artist', artist]
50+
query_args += ['albumartist', artist]
5151

5252
print(json.dumps({
5353
'items': [

0 commit comments

Comments
 (0)