Page 1 of 1

[added: 120] Current song status shown ([Paused]/[Stopped])

PostPosted: August 30th, 2009, 9:11 am
by dragoon
I know there is a window title that shows the current song's information. I use this title to change my status on various IM programs, and would like the ability show whether or not Xion is paused, stopped, or currently playing a song..

Xion shows in the most recent version:
"Dj. Splash - Vocal session 2009 Spring"

But it could say:
"[Paused] Dj. Splash - Vocal session 2009 Spring"

I would prefer it in the front, but that's a user's choice, I guess. If it's at the end I could just do some string manipulation and work it out. It only really matters that it's there!
When it's playing it could have no prefix at all.

I use VB6 and I find Xion's song information like so:
FindWindow("XionWindowClass", vbNullString)


If there is an easier way to get the current song status let me know!

Re: Current song status shown ([Paused]/[Stopped])

PostPosted: August 31st, 2009, 7:05 pm
by Cliff Cawley
dragoon Wrote:I know there is a window title that shows the current song's information. I use this title to change my status on various IM programs, and would like the ability show whether or not Xion is paused, stopped, or currently playing a song..

Xion shows in the most recent version:
"Dj. Splash - Vocal session 2009 Spring"

But it could say:
"[Paused] Dj. Splash - Vocal session 2009 Spring"

I would prefer it in the front, but that's a user's choice, I guess. If it's at the end I could just do some string manipulation and work it out. It only really matters that it's there!
When it's playing it could have no prefix at all.

I use VB6 and I find Xion's song information like so:
FindWindow("XionWindowClass", vbNullString)


If there is an easier way to get the current song status let me know!


Eventually I'll be adding support for an API to externally grab information. I.e. SendMessage, get result.

I'll look at adding this small change with the prep-ended text for 120.

Cliff :)

PostPosted: September 1st, 2009, 4:26 am
by dragoon
Awesome, Cliff, thanks. I'm eagerly awaiting that next release!