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

Fixes LQS error because of missing CLI command. Reason for broken Socket pipes.

parent 955ef8cf
No related branches found
No related tags found
No related merge requests found
......@@ -129,6 +129,7 @@ class Guru():
self.parser.add_argument("-snf", "--set-next-file-for", action="store", dest="set_file_for", default=False, metavar=("PLAYLISTTYPE", "FILE"), nargs=2, help="For which type you wanna SET a next audio file?")
self.parser.add_argument("-np", "--now-playing", action="store_true", dest="now_playing", default=False, help="Which source is now playing")
self.parser.add_argument("-ip", "--init-player", action="store_true", dest="init_player", default=False, help="Reset liquidsoap volume and mixer activations?")
self.parser.add_argument("-ts", "--adapt-trackservice-title", action="store_true", dest="update_trackservice", default=False, help="Update the name of a track due to fallback")
if len(sys.argv) == 1:
raise ValueError("No Argument passed!")
......
......@@ -117,7 +117,7 @@ def fallback_create(~skip=true, name, requestor)
# is played
source = on_metadata(fun (meta) ->
# log("ON_METADATA_DISABLED"),
system('#{list.assoc("install_dir", ini)}/guru.py --adapt-trackservice name'),
system('#{list.assoc("install_dir", ini)}/guru.py --adapt-trackservice-title'),
source)
log("channel created")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment