Music Source Paused state

Topics for the MainLobby 4 client
chuck99z28
Intermediate
Intermediate
Posts: 346
Joined: Mon Aug 27, 2012 2:10 pm
Contact:

Music Source Paused state

Postby chuck99z28 » Tue Dec 10, 2013 4:27 am

When using music_source{{id}}_stopped, _paused and _playing variables I see that when playing is stopped both _stopped and _paused is true.

So how do I tell if a source is stopped or paused? for example I want the paused button to be highlighted when paused, but it ends up highlighted in the stopped state as well.

Also
music_source{{id}}_status always shows as playing.

What is the proper way to use these variables?

User avatar
CinemarDave
Site Admin
Site Admin
Posts: 10535
Joined: Fri Feb 07, 2003 8:56 am
Location: Planet Earth
Contact:

Re: Music Source Paused state

Postby CinemarDave » Tue Dec 10, 2013 1:31 pm

That's because in my warped logic if a song was stopped it would therefore also be paused. I just released a version of MusicLobby with slightly less warped logic.

chuck99z28
Intermediate
Intermediate
Posts: 346
Joined: Mon Aug 27, 2012 2:10 pm
Contact:

Re: Music Source Paused state

Postby chuck99z28 » Tue Dec 10, 2013 4:04 pm

Thanks.
:D


Return to “MainLobby 4 Client”

Who is online

Users browsing this forum: No registered users and 1 guest