« get me outta code hell

--status-line + man for custom status lines - http-music - Command-line music player + utils (not a server!)
about summary refs log tree commit diff
path: root/src/loop-play.js
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2018-04-08 22:09:09 -0300
committerFlorrie <towerofnix@gmail.com>2018-04-08 22:09:09 -0300
commit9fa51e49dd113072d32b5467422a443bf744407a (patch)
tree8195f268adbbcda55c4a0685726ce8552ed55c85 /src/loop-play.js
parent8812c7a1ea343ce85f4c1cc8e379f6ab2c8bdaca (diff)
--status-line + man for custom status lines
Diffstat (limited to 'src/loop-play.js')
-rw-r--r--src/loop-play.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/loop-play.js b/src/loop-play.js
index 62e67fd..2fa7da7 100644
--- a/src/loop-play.js
+++ b/src/loop-play.js
@@ -719,7 +719,8 @@ module.exports = async function startLoopPlay(
     useConverterOptions = true,
     disablePlaybackStatus = false,
     startTrack = null,
-    trackDisplayFile = null
+    trackDisplayFile = null,
+    statusLineTemplate = undefined
   }
 ) {
   // Looping play function. Takes a playlist and an object containing general
@@ -764,7 +765,7 @@ module.exports = async function startLoopPlay(
 
   const playController = new PlayController({
     player, playlist, historyController, downloadController,
-    trackDisplayFile
+    trackDisplayFile, statusLineTemplate
   })
 
   Object.assign(playController, {useConverterOptions})