topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday April 19, 2024, 2:06 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Armoured [ switch to compact view ]

Pages: [1]
1
N.A.N.Y. 2009 / Re: NANY 2009 Release: Trout (audio player)
« on: February 28, 2011, 10:47 PM »
Here you go, Armoured.

Website | Installer | Portable
v1.0.5 build 78 - 2011-02-25
    + Added hidden Write_File_INI and Write_File_XML settings.  Enabling either
      or both will cause Trout to write a track_info.ini and/or a track_info.xml
      file to Trout's folder with the tag data of the currently playing track.
      You can then read/parse this data for use in your own scripts.  (Thanks,
      Armoured)
      To enable these, add the following lines to the [Settings] section of
      Trout's config.ini file:
          Write_File_INI=1
          Write_File_XML=1  


Thanks!   :Thmbsup:

2
N.A.N.Y. 2009 / Re: NANY 2009 Release: Trout (audio player)
« on: February 22, 2011, 09:56 AM »
And what is your opinion  about to implement a method based on the shared memory?

Trout has a disabled feature that writes out the currently playing info to an XML file.  I can change it to a different format as well (such as INI).  Would this be good enough for your purposes?



Yes this is useful!
Can You add two settings in the preferences?

1) For enable or disable the writing of the file.
2) For change the output format to xml or ini.

Thanks  ;)

3
N.A.N.Y. 2009 / Re: NANY 2009 Release: Trout (audio player)
« on: February 20, 2011, 08:05 AM »
hi,
I think you haven't read my second question for you:
"And what is your opinion  about to implement a method based on the shared memory?"

4
N.A.N.Y. 2009 / Re: NANY 2009 Release: Trout (audio player)
« on: February 18, 2011, 06:46 PM »
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?

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.

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

5
N.A.N.Y. 2009 / Re: NANY 2009 Release: Trout (audio player)
« on: February 18, 2011, 05:45 PM »
A program through the DDE protocol can send command and get information to/from the music player.

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.

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?

6
N.A.N.Y. 2009 / Re: NANY 2009 Release: Trout (audio player)
« on: February 18, 2011, 05:18 PM »
DDE = Dynamic Data Exchange
http://msdn.microsof...648711(v=vs.85).aspx

Yes, I know what it is.  What do you want to do with it and Trout?

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)

7
N.A.N.Y. 2009 / Re: NANY 2009 Release: Trout (audio player)
« on: February 18, 2011, 04:21 PM »
Can you add the DDE support to your player?

I'm not sure I understand your request.  Can you provide me with more detail, please?

DDE = Dynamic Data Exchange
http://msdn.microsof...648711(v=vs.85).aspx

8
N.A.N.Y. 2009 / Re: NANY 2009 Release: Trout (audio player)
« on: February 17, 2011, 12:19 PM »
Hi,
Can you add the DDE support to your player?

Thanks.

Pages: [1]