Last active
August 15, 2020 11:41
-
-
Save Dinir/c5e4c5cb28441c9ec00588d62e44ab36 to your computer and use it in GitHub Desktop.
My format for 'Now Playing Simple' foobar2000 plugin.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$if( | |
%isplaying%, | |
$if(%ispaused%,Ⅱ,▶) | |
$if(%album%, %album%$crlf() ) | |
$if(%artist%, %artist%$crlf() ) | |
$if(%title%, %title% , %filename%) | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$if( | |
%isplaying%, | |
$if( | |
%ispaused%, | |
Ⅱ, | |
$puts(remaining,%playback_time_remaining_seconds%) | |
$puts(length,%length_seconds%) | |
$puts(eighth,$div($get(length),8)) | |
$select( | |
$add( | |
1, | |
$ifgreater($get(remaining), $mul($get(eighth),1),1,0), | |
$ifgreater($get(remaining), $mul($get(eighth),2),1,0), | |
$ifgreater($get(remaining), $mul($get(eighth),3),1,0), | |
$ifgreater($get(remaining), $mul($get(eighth),4),1,0), | |
$ifgreater($get(remaining), $mul($get(eighth),5),1,0), | |
$ifgreater($get(remaining), $mul($get(eighth),6),1,0), | |
$ifgreater($get(remaining), $mul($get(eighth),7),1,0) | |
), | |
█,▛,▜,▀,▙,▌,▚,▘ | |
) | |
) | |
$if(%album%, %album%$crlf() ) | |
$if(%artist%, %artist%$crlf() ) | |
$if(%title%, %title% , %filename%) | |
) |
Author
Dinir
commented
Apr 1, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment