Closed DarthGandalf closed 9 years ago
Reported by blaze on 02 Dec 2012 12:16:53 UTC Example 1:
exec (" mocp -i ") { %output = $1 %artist = $str.rightfromfirst($str.grep("^Artist",%output,"r"),": ") %title = $str.rightfromfirst($str.grep("^SongTitle",%output,"r"),": ") echo %artist }
Works as expected.
Example 2:
exec (" mocp -i ") { %output = $1 %artist = $str.rightfromfirst($str.grep("^Artist",%output,"r"),": ") %title = $str.rightfromfirst($str.grep("^SongTitle",%output,"r"),": ") echo %artist %title }
Creates multiline output with a bunch of empty lines.
Migrated from: https://svn.kvirc.de/kvirc/ticket/1344
Try
mocp -i > somefile.txt
in a terminal and post it here.
Reported by blaze on 02 Dec 2012 12:16:53 UTC Example 1:
Works as expected.
Example 2:
Creates multiline output with a bunch of empty lines.
Migrated from: https://svn.kvirc.de/kvirc/ticket/1344