Skip to content
Snippets Groups Projects
Commit 38483da6 authored by David Trattnig's avatar David Trattnig
Browse files

Pass fallback filename to Python.

parent fb551f36
No related branches found
No related tags found
No related merge requests found
......@@ -116,9 +116,10 @@ def fallback_create(~skip=true, name, requestor)
# Tell the system when a new track is played
def do_meta(meta) =
filename = meta["filename"]
artist = meta["artist"]
title = meta["title"]
system('#{list.assoc("install_dir", ini)}/guru.py --adapt-trackservice-title "|+|+|#{artist}|+|+|#{title}|+|+|"')
system('#{list.assoc("install_dir", ini)}/guru.py --adapt-trackservice-title "|+|+|#{filename}|+|+|#{artist}|+|+|#{title}|+|+|"')
end
source = on_metadata(do_meta, source)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment