diff options
author | Florrie <towerofnix@gmail.com> | 2018-02-16 11:02:51 -0400 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2018-02-16 11:02:53 -0400 |
commit | 1b5d6f8f96baae53367a7a7d0f9485a42029eaa3 (patch) | |
tree | c5eeedd7e0bac198c4070c3cb688a5dfadc8fa77 /src/play.js | |
parent | e249bda854212d9ba29015b0c895b72aa2ee3cad (diff) |
Make --track-display-file show SOURCE path to track
This also means we're keeping track of the source item of items, which is sure to be useful more later.
Diffstat (limited to 'src/play.js')
-rwxr-xr-x | src/play.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/play.js b/src/play.js index a3481ea..d5df591 100755 --- a/src/play.js +++ b/src/play.js @@ -158,7 +158,9 @@ async function main(args) { // ..And finally, we have to update the playlist format again, since // processSmartPlaylist might have added new (un-updated) items: - const finalPlaylist = updatePlaylistFormat(processedPlaylist) + const finalPlaylist = updatePlaylistFormat(processedPlaylist, true) + // We also pass true so that the playlist-format-updater knows that this + // is the source playlist. sourcePlaylist = finalPlaylist |