Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: customizing playback order (Read 1543 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

customizing playback order

hey. i got one question for you, hope someone will help. i have a 3 in 1 button, which switches between normal, shuffle and repeat playback order. i want to remove the repeat (2nd one), so it will toggle only between 2 items. i tried everything, but since my scripting knowledge is limited (this script comes from foonight skin), i can't do much with it. can anybody give me some advice? thanks a lot!

Code: [Select]
//------------Playback Order


    $if($isvisible_c(_Playback Order Shuffle),
        $imagebutton($add($get(play.button.left),$mul($add($get(play.button.x),$get(play.button.sep)),3)),$get(play.button.top),$get(play.button.x),$get(play.button.y),$get_ps_global(image.path)'/bt/pback/bt-random-off.png',$get_ps_global(image.path)'/bt/pback/bt-random-on.png',COMMAND:'Playback/Order/Repeat (track)';PANELSHOW:_Playback Order Default:0;PANELSHOW:_Playback Order Shuffle:0;PANELSHOW:_Playback Order Repeat:1;REFRESH,,)
    ,
        $imagebutton($add($get(play.button.left),$mul($add($get(play.button.x),$get(play.button.sep)),3)),$get(play.button.top),$get(play.button.x),$get(play.button.y),$get_ps_global(image.path)'/bt/pback/bt-repeat-off.png',$get_ps_global(image.path)'/bt/pback/bt-repeat-on.png',COMMAND:'Playback/Order/Repeat (playlist)';PANELSHOW:_Playback Order Default:1;PANELSHOW:_Playback Order Shuffle:0;PANELSHOW:_Playback Order Repeat:0;REFRESH,,)
    )
$if($isvisible_c(_Playback Order Default),
    $imagebutton($add($get(play.button.left),$mul($add($get(play.button.x),$get(play.button.sep)),3)),$get(play.button.top),$get(play.button.x),$get(play.button.y),$get_ps_global(image.path)'/bt/pback/bt-seq-off.png',$get_ps_global(image.path)'/bt/pback/bt-seq-on.png',COMMAND:'Playback/Order/Shuffle (tracks)';PANELSHOW:_Playback Order Default:0;PANELSHOW:_Playback Order Shuffle:1;PANELSHOW:_Playback Order Repeat:0;REFRESH,,)
,
)