Commit 27508952 authored by David Trattnig's avatar David Trattnig
Browse files

Convert filepath as late as possible.

parent 91bda47e
......@@ -733,7 +733,9 @@ class SoundSystem():
self.logger.info(SimpleUtil.pink("playlist.push('%s', '%s'" % (channel, uri)))
self.enable_transaction()
result = self.__send_lqc_command__(self.client, channel, "playlist_push", uri)
audio_store = self.config.get("audiofolder")
filepath = EngineUtil.uri_to_filepath(audio_store, uri)
result = self.__send_lqc_command__(self.client, channel, "playlist_push", filepath)
self.logger.info("%s.playlist_push result: %s" % (channel, result))
self.disable_transaction()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment