Your Digital Media Has Never Looked So Good

 
greubel
Topic Author
Posts: 708
Joined: Wed Feb 10, 2010 4:21 pm

Audio Player Seek() ????

Tue Aug 31, 2010 8:03 pm

I tried using the seek() function to position both forward and back in a song and either I'm doing it wrong or something is screwy.
Do you have to stop() or pause() before the seek() ? I tried it both ways and without either and it still doesn't function correctly.

I have it setup to forward and reverse seek with the remote keys. I'm trying to do a fast forward and reverse. Each click of the button bumps + or - 10 seconds from what I think is the current position and then do the seek() to that value. It does something but I don't know what.

If you go beyond the end of the song the audio stops, which it should. But shouldn't the next song pickup ?

I use the elapsed time to handle the progress bar and it functions correctly. So the elapsed time is correct and the total length of the song is correct. I have debug statements in that show the "current" location based on elapsed time of where I think the song is. But when it reaches about 50% of the total, the song ends. So I ran off the end !

Any thoughts ?
 
renojim
** Valued Community Member **
Posts: 3490
Joined: Mon Feb 15, 2010 1:35 pm

Re: Audio Player Seek() ????

Tue Aug 31, 2010 9:27 pm

It doesn't work on MP3s. There's a thread here someplace.

-JT
 
DeftOne
Posts: 630
Joined: Tue Nov 17, 2009 5:27 pm

Re: Audio Player Seek() ????

Tue Aug 31, 2010 9:55 pm

Roku2 XS (13A166000325) HDMI to LG 42" LCD 1080p (42LH30)
Roku XDS (K0A073000137)
Netgear WNDR3400 (all Rokus wireless)
25 Mbps

Who is online

Users browsing this forum: No registered users and 5 guests