From d7cba3ffc067ae1d5c1b09b76d1fe2e91a2a3094 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 22 Feb 2021 18:43:18 +0100 Subject: [PATCH] Fixed play-mp3.ps1 --- Scripts/play-m3u.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/play-m3u.ps1 b/Scripts/play-m3u.ps1 index a5081913..52f67270 100644 --- a/Scripts/play-m3u.ps1 +++ b/Scripts/play-m3u.ps1 @@ -25,7 +25,7 @@ try { write-output "Playing '$Line' ..." $FullPath = (get-childItem "$Line").fullname do { - $MediaPlayer.open("$Line") + $MediaPlayer.open($FullPath) $Duration = $MediaPlayer.NaturalDuration.TimeSpan.TotalMilliseconds } until ($Duration) $MediaPlayer.Volume = 1