Page 1 of 1

Little help with next/previous.

Posted: Sat Jul 05, 2008 7:58 am
by zomgheals
This is probably so simple im blind as i cant see any posts / etc. about this subject.

I've just got into HLDJ TODAY and ive started to bind stuff etc.

one bind is "bind RIGHTARROW hldjn" - Meaning my right arrow should be doing next song. What it is doing though is making it queue up to be the next song. I have to actually press 'f1' to stop and start to play it. Is there anyway for me to be able to press right arrow and it auto goes to next song? TY!

Re: Little help with next/previous.

Posted: Sun Jul 06, 2008 12:24 am
by Renegade

Code: Select all

bind RIGHTARROW "hldjn; hs; playaudio"
hldjn = next
hs = halfsec (gives the song about half a second to load up)
playaudio = plays the audio
; = allows you to separate multiple commands on one line

Re: Little help with next/previous.

Posted: Sun Jul 06, 2008 5:49 am
by zomgheals
doesnt seem to work :\

it just pauses the music (well stops). when i press again it skips to song 3

**FIXED: just added another ; hs; playaudio

Re: Little help with next/previous.

Posted: Sun Jul 06, 2008 12:59 pm
by Renegade
the above was assuming the music was already stopped while switching. If you want a command to stop the music first, switch, then start it again:

Code: Select all

bind <key> "hldjn; hs; playaudio_off; playaudio_on"