@ -94,7 +94,7 @@ same = n,Set(p=#) # Sets the P variable
same = n(hax),Background(${aa}/${t}) # Plays back file. Hax label. Entry point from * land.
same = n(hax),Background(${aa}/${t}) # Plays back file. Hax label. Entry point from * land.
same = n(next),Set(t=$[${t} + 1]) # Increase track count
same = n(next),Set(t=$[${t} + 1]) # Increase track count
same = n,GoToIf($[${t} < ${tt}]?hax) # Look at track count compared to total. Go back to hax if not done.
same = n,GoToIf($[${t} < ${tt}]?hax) # Look at track count compared to total. Go back to hax if not done.
same = n,Goto(${c},s,goodbye) # Done. Stop wasting my money/
same = n,Goto(${c},s,goodbye) # Done. Stop wasting my money
exten = 1,1,GoToIf($["${t}" = "1"]?wait) # Track back. Check to see if we can go back. Just skip if we can't.
exten = 1,1,GoToIf($["${t}" = "1"]?wait) # Track back. Check to see if we can go back. Just skip if we can't.
same = n,Set(t=$[${t} - 1]) # Subtract 1 from T.
same = n,Set(t=$[${t} - 1]) # Subtract 1 from T.
@ -126,6 +126,6 @@ the "hax" label was an early hold-over from testing the leading 0 routine; origi
Though we call specific extensions in the context; once we're in we don't. The number you pass as an extension just configures the number of tracks. Once we have that, we don't need
Though we call specific extensions in the context; once we're in we don't. The number you pass as an extension just configures the number of tracks. Once we have that, we don't need
it. This is why the playback controls and "over 10" make a call to double-0...specifically double-zero hax label. We just need to get back in to the proper set of logic. Calling ext
it. This is why the playback controls and "over 10" make a call to double-0...specifically double-zero hax label. We just need to get back in to the proper set of logic. Calling ext
00 from outside the playback context would likely result in the first file playing and then ending immedately. In fact...brainstorm. Pass the number of tracks and track selection as
00 from outside the playback context would likely result in the first file playing and then ending immedately. ~~In fact...brainstorm. Pass the number of tracks and track selection as
a four digit extension. Set number of tracks to 00 with track number to get single track playback; pass number of tracks with track number 00 to play an album. That might be the next
a four digit extension. Set number of tracks to 00 with track number to get single track playback; pass number of tracks with track number 00 to play an album. That might be the next
major revision to the asterisk jukebox if I can figure out how to handle the leading 0 BS.
major revision to the asterisk jukebox if I can figure out how to handle the leading 0 BS.~~##### Wait? What? This doesn't even make any sense now. I gotta stop writing stuff at 3AM.