« get me outta code hell

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:
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})