ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > N.A.N.Y. 2009

NANY 2009 Release: Trout (audio player)

<< < (136/174) > >>

Armoured:
DDE = Dynamic Data Exchange
http://msdn.microsoft.com/en-us/library/ms648711(v=vs.85).aspx-Armoured (February 18, 2011, 04:21 PM)
--- End quote ---

Yes, I know what it is.  What do you want to do with it and Trout?
-skwire (February 18, 2011, 04:40 PM)
--- End quote ---

A program through the DDE protocol can send command and get information to/from the music player.
Is an useful feature, mIRC or another chat program with DDE could send commands and get informations about the played song from your player.  8)

skwire:
A program through the DDE protocol can send command and get information to/from the music player.
-Armoured (February 18, 2011, 05:18 PM)
--- End quote ---

Trout has a portion of the Winamp API built into it for this purpose.  Within mIRC, you should be able to use any of the Winamp
plugin stuff with Trout going and it should work.  The following messages are supported:

40001 - Close
40022 - Toggle repeat
40023 - Toggle shuffle
40029 - Add files box
40044 - Previous track
40045 - Play/Pause
40048 - Next track
40058 - Volumn up
40059 - Volume down
40144 - Seek backward
40148 - Seek forward
40155 - Add URL
40187 - Add folder box

You can use standard Windows SendMessage commands to control Trout in this way.  If there is a certain message within the Winamp API that you would like to see supported, let me know and I'll see if I can add it.  Furthermore, Trout is built with a classname of "Winamp v1.x" so any title-getting application/plugin will work to get the song info.  You can set up a custom titlebar format string in Trout's options.

Armoured:
A program through the DDE protocol can send command and get information to/from the music player.
-Armoured (February 18, 2011, 05:18 PM)
--- End quote ---

Trout has a portion of the Winamp API built into it for this purpose.  Within mIRC, you should be able to use any of the Winamp
plugin stuff with Trout going and it should work.  The following messages are supported:

40001 - Close
40022 - Toggle repeat
40023 - Toggle shuffle
40029 - Add files box
40044 - Previous track
40045 - Play/Pause
40048 - Next track
40058 - Volumn up
40059 - Volume down
40144 - Seek backward
40148 - Seek forward
40155 - Add URL
40187 - Add folder box

You can use standard Windows SendMessage commands to control Trout in this way.  If there is a certain message within the Winamp API that you would like to see supported, let me know and I'll see if I can add it.  Furthermore, Trout is built with a classname of "Winamp v1.x" so any title-getting application/plugin will work to get the song info.  You can set up a custom titlebar format string in Trout's options.
-skwire (February 18, 2011, 05:31 PM)
--- End quote ---

Ok this is useful if I want send a command to the player but if I want to get the title and the infos of a currently played song?

skwire:
Ok this is useful if I want send a command to the player but if I want to get the title and the infos of a currently played song?-Armoured (February 18, 2011, 05:45 PM)
--- End quote ---

To do it programatically, find the window with a classname of "Winamp v1.x" (without quotes) and read its title text.  You can format in most of the track info into the title bar using the provided tokens.  There's no way to query Trout directly for this info and I have no plans to add any sort of DDE support at this time.

Armoured:
Ok this is useful if I want send a command to the player but if I want to get the title and the infos of a currently played song?-Armoured (February 18, 2011, 05:45 PM)
--- End quote ---

To do it programatically, find the window with a classname of "Winamp v1.x" (without quotes) and read its title text.  You can format in most of the track info into the title bar using the provided tokens.  There's no way to query Trout directly for this info and I have no plans to add any sort of DDE support at this time.
-skwire (February 18, 2011, 06:04 PM)
--- End quote ---

And what is your opinion  about to implement a method based on the shared memory?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version