PDA

View Full Version : Question on callback function after playlist command:Still confused



Tom Weilenmann
2003-11-12, 15:46
Hi Dean

Thanks for the fast anwer. I'm sorry to say, but somehow I'm still a confused.

The last few hours I tried several ways to find out wether a song (I only wnat to play one file) is still playing or if it has allready ended. I tried to check several different variables in the SliMP3:Client package and I also made several attempts the check values which are returned be different subs in the SliMP3:Playlist package. For some reason none of my different attempts worked! Now I really feel a bit confused.

Can you make a suggestion (maybe 1 or 2 lines of code) how to determine wether a specific file is still plying or wether it has allredy ended?

In your previous answer you also mentioned that I could check song time (I allready tried the function songtime in SliMP3::Playlist, but it did not work) and/or Playback status (Tried Variable playmode in SliMP3::Client, but it did also not work). What did you exactly mean to check?

Thanks and best regards

Tom

dean
2003-11-12, 16:29
I hadn't thought it through completely.

Tell me about what you are trying to accomplish and we'll figure out
what the best approach is.

-dean

On Nov 12, 2003, at 2:46 PM, Tom Weilenmann wrote:

> Hi Dean
>
> Thanks for the fast anwer. I'm sorry to say, but somehow I'm still a
> confused.
>
> The last few hours I tried several ways to find out wether a song (I
> only wnat to play one file) is still playing or if it has allready
> ended. I tried to check several different variables in the
> SliMP3:Client package and I also made several attempts the check
> values which are returned be different subs in the SliMP3:Playlist
> package. For some reason none of my different attempts worked! Now I
> really feel a bit confused.
>
> Can you make a suggestion (maybe 1 or 2 lines of code) how to
> determine wether a specific file is still plying or wether it has
> allredy ended?
>
> In your previous answer you also mentioned that I could check song
> time (I allready tried the function songtime in SliMP3::Playlist, but
> it did not work) and/or Playback status (Tried Variable playmode in
> SliMP3::Client, but it did also not work). What did you exactly mean
> to check?
>
> Thanks and best regards
>
> Tom
>