probably not the best scripted, but it gets the work done for me at least. 8) scripted this 0400-0500 one morning, so it might be some strange stuffs in there.
mp3.cfg
comments and input is welcome.
//--- B I N D S ---\\
bind KP_SLASH "" //
bind KP_STAR "" //
bind KP_HOME "_mp3_repeat" // toggle mp3 repeat on/off
bind KP_UPARROW "mp3_play" // play mp3
bind KP_PGUP "_mp3_shuffle" // toggle mp3 shuffle on/off
bind KP_MINUS "_mp3vol-" // decrease mp3 volume
bind KP_LEFTARROW "_mp3_prev" // previous track
bind KP_5 "mp3_songinfo" // show song info
bind KP_RIGHTARROW "_mp3_next" // next track
bind KP_PLUS "_mp3vol+" // increase mp3 volume
bind KP_END "_mp3_playlist" // choose playlist
bind KP_DOWNARROW "mp3_pause" // pause mp3
bind KP_PGDN "mp3_playlist" // show playlist
bind KP_INS "" //
bind KP_DEL "_mp3_playtrack_01" // choose track# to play
bind KP_ENTER "mp3_startwinamp" // start winamp
//--- P L A Y L I S T S ---\\ - THESE SHOULD BE CHANGED
set _mp3_playlist_name_01 "rock & metal" // this should be changed: <filename>.m3u in <winamp_dir>
set _mp3_playlist_name_02 "pop" // this should be changed: <filename>.m3u in <winamp_dir>
set _mp3_playlist_name_03 "hiphop & rnb" // this should be changed: <filename>.m3u in <winamp_dir>
set _mp3_playlist_name_04 "trance & dance" // this should be changed: <filename>.m3u in <winamp_dir>
//--- S C R I P T S E T T I N G S ---\\
set _mp3_playtrack# 0
//--- A L I A S E S ---\\
alias _mp3_orgbind "unbind KP_SLASH;unbind KP_STAR;bind KP_HOME _mp3_repeat;bind KP_UPARROW mp3_play;bind KP_PGUP _mp3_shuffle;bind KP_MINUS _mp3vol-;bind KP_LEFTARROW _mp3_prev;bind KP_5 mp3_songinfo;bind KP_RIGHTARROW _mp3_next;bind KP_PLUS _mp3vol+;bind KP_END _mp3_playlist;bind KP_DOWNARROW mp3_pause;bind KP_PGDN mp3_playlist;unbind KP_INS;bind KP_DEL _mp3_playtrack_01;bind KP_ENTER mp3_startwinamp"
alias _mp3_next "mp3_next;mp3_songinfo"
alias _mp3_prev "mp3_prev;mp3_songinfo"
alias _mp3vol+ "if $mp3_volume > 0.9 then mp3_volume 1 else mp3_volume +0.1;echo Ãð³ öïìõÃåº $mp3_volume"
alias _mp3vol- "if $mp3_volume < 0.1 then mp3_volume 0 else mp3_volume -0.1;echo Ãð³ öïìõÃåº $mp3_volume"
alias _mp3_shuffle "_mp3_shuffle_off"
alias _mp3_shuffle_on "mp3_shuffle on;alias _mp3_shuffle _mp3_shuffle_off"
alias _mp3_shuffle_off "mp3_shuffle off;alias _mp3_shuffle _mp3_shuffle_on"
alias _mp3_repeat "_mp3_repeat_off"
alias _mp3_repeat_on "mp3_repeat on;alias _mp3_repeat _mp3_repeat_off"
alias _mp3_repeat_off "mp3_repeat off;alias _mp3_repeat _mp3_repeat_on"
alias _mp3_playtrack_01 "_mp3_playtrack_bind;bind kp_del _mp3_playtrack_02;echo åîôåò ôòáãë îõÃâåò¬ ôèåî ðòåóó kp_del áçáéî"
alias _mp3_playtrack_02 "mp3_playtrack $_mp3_playtrack#;_mp3_orgbind;echo ðìáùéîç ôòáãëº #$_mp3_playtrack#;set _mp3_playtrack# 0"
alias _mp3_playtrack_bind "bind KP_0 _mp3_playtrack_bind_00;bind KP_1 _mp3_playtrack_bind_01;bind KP_2 _mp3_playtrack_bind_02;bind KP_3 _mp3_playtrack_bind_03;bind KP_4 _mp3_playtrack_bind_04;bind KP_5 _mp3_playtrack_bind_05;bind KP_6 _mp3_playtrack_bind_06;bind KP_7 _mp3_playtrack_bind_07;bind KP_8 _mp3_playtrack_bind_08;bind KP_9 _mp3_playtrack_bind_09"
alias _mp3_playtrack_bind_00 "set _mp3_playtrack# $_mp3_playtrack#0;echo ôòáãë #$_mp3_playtrack# ðòåóó kp_del ôï ðìáù"
alias _mp3_playtrack_bind_01 "set _mp3_playtrack# $_mp3_playtrack#1;echo ôòáãë #$_mp3_playtrack# ðòåóó kp_del ôï ðìáù"
alias _mp3_playtrack_bind_02 "set _mp3_playtrack# $_mp3_playtrack#2;echo ôòáãë #$_mp3_playtrack# ðòåóó kp_del ôï ðìáù"
alias _mp3_playtrack_bind_03 "set _mp3_playtrack# $_mp3_playtrack#3;echo ôòáãë #$_mp3_playtrack# ðòåóó kp_del ôï ðìáù"
alias _mp3_playtrack_bind_04 "set _mp3_playtrack# $_mp3_playtrack#4;echo ôòáãë #$_mp3_playtrack# ðòåóó kp_del ôï ðìáù"
alias _mp3_playtrack_bind_05 "set _mp3_playtrack# $_mp3_playtrack#5;echo ôòáãë #$_mp3_playtrack# ðòåóó kp_del ôï ðìáù"
alias _mp3_playtrack_bind_06 "set _mp3_playtrack# $_mp3_playtrack#6;echo ôòáãë #$_mp3_playtrack# ðòåóó kp_del ôï ðìáù"
alias _mp3_playtrack_bind_07 "set _mp3_playtrack# $_mp3_playtrack#7;echo ôòáãë #$_mp3_playtrack# ðòåóó kp_del ôï ðìáù"
alias _mp3_playtrack_bind_08 "set _mp3_playtrack# $_mp3_playtrack#8;echo ôòáãë #$_mp3_playtrack# ðòåóó kp_del ôï ðìáù"
alias _mp3_playtrack_bind_09 "set _mp3_playtrack# $_mp3_playtrack#9;echo ôòáãë #$_mp3_playtrack# ðòåóó kp_del ôï ðìáù"
alias _mp3_playlist "unbind kp_home;unbind kp_uparrow;unbind kp_pgup;unbind kp_5;unbind kp_rightarrow;unbind kp_del;bind kp_leftarrow _mp3_playlist_bind_04;bind kp_end _mp3_playlist_bind_01;bind kp_downarrow _mp3_playlist_bind_02;bind kp_pgdn _mp3_playlist_bind_03;echo ðòåóó ôï ìïáäº $_mp3_playlist_name_01;echo ðòåóó ôï ìïáäº $_mp3_playlist_name_02;echo ðòåóó ôï ìïáäº $_mp3_playlist_name_03;echo ðòåóó ôï ìïáäº $_mp3_playlist_name_04"
alias _mp3_playlist_bind_01 "set _mp3_playlist# $qt ($_mp3_playlist_name_01)$qt;mp3_loadplaylist $_mp3_playlist_name_01;_mp3_orgbind;echo ðìáùìéóô ìïáäåä¬ $_mp3_playlist# ðòåóó kp_pgdn ôï öéå÷"
alias _mp3_playlist_bind_02 "set _mp3_playlist# $qt ($_mp3_playlist_name_02)$qt;mp3_loadplaylist $_mp3_playlist_name_02;_mp3_orgbind;echo ðìáùìéóô ìïáäåä¬ $_mp3_playlist# ðòåóó kp_pgdn ôï öéå÷"
alias _mp3_playlist_bind_03 "set _mp3_playlist# $qt ($_mp3_playlist_name_03)$qt;mp3_loadplaylist $_mp3_playlist_name_03;_mp3_orgbind;echo ðìáùìéóô ìïáäåä¬ $_mp3_playlist# ðòåóó kp_pgdn ôï öéå÷"
alias _mp3_playlist_bind_04 "set _mp3_playlist# $qt ($_mp3_playlist_name_04)$qt;mp3_loadplaylist $_mp3_playlist_name_04;_mp3_orgbind;echo ðìáùìéóô ìïáäåä¬ $_mp3_playlist# ðòåóó kp_pgdn ôï öéå÷"
bind KP_SLASH "" //
bind KP_STAR "" //
bind KP_HOME "_mp3_repeat" // toggle mp3 repeat on/off
bind KP_UPARROW "mp3_play" // play mp3
bind KP_PGUP "_mp3_shuffle" // toggle mp3 shuffle on/off
bind KP_MINUS "_mp3vol-" // decrease mp3 volume
bind KP_LEFTARROW "_mp3_prev" // previous track
bind KP_5 "mp3_songinfo" // show song info
bind KP_RIGHTARROW "_mp3_next" // next track
bind KP_PLUS "_mp3vol+" // increase mp3 volume
bind KP_END "_mp3_playlist" // choose playlist
bind KP_DOWNARROW "mp3_pause" // pause mp3
bind KP_PGDN "mp3_playlist" // show playlist
bind KP_INS "" //
bind KP_DEL "_mp3_playtrack_01" // choose track# to play
bind KP_ENTER "mp3_startwinamp" // start winamp
//--- P L A Y L I S T S ---\\ - THESE SHOULD BE CHANGED
set _mp3_playlist_name_01 "rock & metal" // this should be changed: <filename>.m3u in <winamp_dir>
set _mp3_playlist_name_02 "pop" // this should be changed: <filename>.m3u in <winamp_dir>
set _mp3_playlist_name_03 "hiphop & rnb" // this should be changed: <filename>.m3u in <winamp_dir>
set _mp3_playlist_name_04 "trance & dance" // this should be changed: <filename>.m3u in <winamp_dir>
//--- S C R I P T S E T T I N G S ---\\
set _mp3_playtrack# 0
//--- A L I A S E S ---\\
alias _mp3_orgbind "unbind KP_SLASH;unbind KP_STAR;bind KP_HOME _mp3_repeat;bind KP_UPARROW mp3_play;bind KP_PGUP _mp3_shuffle;bind KP_MINUS _mp3vol-;bind KP_LEFTARROW _mp3_prev;bind KP_5 mp3_songinfo;bind KP_RIGHTARROW _mp3_next;bind KP_PLUS _mp3vol+;bind KP_END _mp3_playlist;bind KP_DOWNARROW mp3_pause;bind KP_PGDN mp3_playlist;unbind KP_INS;bind KP_DEL _mp3_playtrack_01;bind KP_ENTER mp3_startwinamp"
alias _mp3_next "mp3_next;mp3_songinfo"
alias _mp3_prev "mp3_prev;mp3_songinfo"
alias _mp3vol+ "if $mp3_volume > 0.9 then mp3_volume 1 else mp3_volume +0.1;echo Ãð³ öïìõÃåº $mp3_volume"
alias _mp3vol- "if $mp3_volume < 0.1 then mp3_volume 0 else mp3_volume -0.1;echo Ãð³ öïìõÃåº $mp3_volume"
alias _mp3_shuffle "_mp3_shuffle_off"
alias _mp3_shuffle_on "mp3_shuffle on;alias _mp3_shuffle _mp3_shuffle_off"
alias _mp3_shuffle_off "mp3_shuffle off;alias _mp3_shuffle _mp3_shuffle_on"
alias _mp3_repeat "_mp3_repeat_off"
alias _mp3_repeat_on "mp3_repeat on;alias _mp3_repeat _mp3_repeat_off"
alias _mp3_repeat_off "mp3_repeat off;alias _mp3_repeat _mp3_repeat_on"
alias _mp3_playtrack_01 "_mp3_playtrack_bind;bind kp_del _mp3_playtrack_02;echo åîôåò ôòáãë îõÃâåò¬ ôèåî ðòåóó kp_del áçáéî"
alias _mp3_playtrack_02 "mp3_playtrack $_mp3_playtrack#;_mp3_orgbind;echo ðìáùéîç ôòáãëº #$_mp3_playtrack#;set _mp3_playtrack# 0"
alias _mp3_playtrack_bind "bind KP_0 _mp3_playtrack_bind_00;bind KP_1 _mp3_playtrack_bind_01;bind KP_2 _mp3_playtrack_bind_02;bind KP_3 _mp3_playtrack_bind_03;bind KP_4 _mp3_playtrack_bind_04;bind KP_5 _mp3_playtrack_bind_05;bind KP_6 _mp3_playtrack_bind_06;bind KP_7 _mp3_playtrack_bind_07;bind KP_8 _mp3_playtrack_bind_08;bind KP_9 _mp3_playtrack_bind_09"
alias _mp3_playtrack_bind_00 "set _mp3_playtrack# $_mp3_playtrack#0;echo ôòáãë #$_mp3_playtrack# ðòåóó kp_del ôï ðìáù"
alias _mp3_playtrack_bind_01 "set _mp3_playtrack# $_mp3_playtrack#1;echo ôòáãë #$_mp3_playtrack# ðòåóó kp_del ôï ðìáù"
alias _mp3_playtrack_bind_02 "set _mp3_playtrack# $_mp3_playtrack#2;echo ôòáãë #$_mp3_playtrack# ðòåóó kp_del ôï ðìáù"
alias _mp3_playtrack_bind_03 "set _mp3_playtrack# $_mp3_playtrack#3;echo ôòáãë #$_mp3_playtrack# ðòåóó kp_del ôï ðìáù"
alias _mp3_playtrack_bind_04 "set _mp3_playtrack# $_mp3_playtrack#4;echo ôòáãë #$_mp3_playtrack# ðòåóó kp_del ôï ðìáù"
alias _mp3_playtrack_bind_05 "set _mp3_playtrack# $_mp3_playtrack#5;echo ôòáãë #$_mp3_playtrack# ðòåóó kp_del ôï ðìáù"
alias _mp3_playtrack_bind_06 "set _mp3_playtrack# $_mp3_playtrack#6;echo ôòáãë #$_mp3_playtrack# ðòåóó kp_del ôï ðìáù"
alias _mp3_playtrack_bind_07 "set _mp3_playtrack# $_mp3_playtrack#7;echo ôòáãë #$_mp3_playtrack# ðòåóó kp_del ôï ðìáù"
alias _mp3_playtrack_bind_08 "set _mp3_playtrack# $_mp3_playtrack#8;echo ôòáãë #$_mp3_playtrack# ðòåóó kp_del ôï ðìáù"
alias _mp3_playtrack_bind_09 "set _mp3_playtrack# $_mp3_playtrack#9;echo ôòáãë #$_mp3_playtrack# ðòåóó kp_del ôï ðìáù"
alias _mp3_playlist "unbind kp_home;unbind kp_uparrow;unbind kp_pgup;unbind kp_5;unbind kp_rightarrow;unbind kp_del;bind kp_leftarrow _mp3_playlist_bind_04;bind kp_end _mp3_playlist_bind_01;bind kp_downarrow _mp3_playlist_bind_02;bind kp_pgdn _mp3_playlist_bind_03;echo ðòåóó ôï ìïáäº $_mp3_playlist_name_01;echo ðòåóó ôï ìïáäº $_mp3_playlist_name_02;echo ðòåóó ôï ìïáäº $_mp3_playlist_name_03;echo ðòåóó ôï ìïáäº $_mp3_playlist_name_04"
alias _mp3_playlist_bind_01 "set _mp3_playlist# $qt ($_mp3_playlist_name_01)$qt;mp3_loadplaylist $_mp3_playlist_name_01;_mp3_orgbind;echo ðìáùìéóô ìïáäåä¬ $_mp3_playlist# ðòåóó kp_pgdn ôï öéå÷"
alias _mp3_playlist_bind_02 "set _mp3_playlist# $qt ($_mp3_playlist_name_02)$qt;mp3_loadplaylist $_mp3_playlist_name_02;_mp3_orgbind;echo ðìáùìéóô ìïáäåä¬ $_mp3_playlist# ðòåóó kp_pgdn ôï öéå÷"
alias _mp3_playlist_bind_03 "set _mp3_playlist# $qt ($_mp3_playlist_name_03)$qt;mp3_loadplaylist $_mp3_playlist_name_03;_mp3_orgbind;echo ðìáùìéóô ìïáäåä¬ $_mp3_playlist# ðòåóó kp_pgdn ôï öéå÷"
alias _mp3_playlist_bind_04 "set _mp3_playlist# $qt ($_mp3_playlist_name_04)$qt;mp3_loadplaylist $_mp3_playlist_name_04;_mp3_orgbind;echo ðìáùìéóô ìïáäåä¬ $_mp3_playlist# ðòåóó kp_pgdn ôï öéå÷"
mp3.cfg
comments and input is welcome.