![]() |
|
| HALi HALi is an Actixe X interface that allow more advanced programming with HAL. Search this forum on how to create HALi Apps as well as find apps that others have already created. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Advanced Senior Member
Join Date: Jul 2003
Location: Goldcoast, Australia
Posts: 1,208
|
Anyone used the DMC features of HALi?
I'm trying to add support for DMC into MyServant, and not sure of some of the events. There's a OnDMCNowPlaying event, but I'm not sure what the provided string is... is it just the song title, or does it also include album, artist, etc? There's a OnDMCAction event, and I presume it's provided string indicates the last action performed, but does someone have an official list of these actions, with the exact wording (so i can match) ? There's a OnDMCAlbumCover event.. no idea how to utilise this?
__________________
Regards, Vincent B Check out my ultimate HAL plugin - MyServant v6.0 www.futuretouch.com.au/MyServant.asp |
|
|
|
|
|
#2 |
|
Super Moderator
Join Date: Jul 2003
Location: NJ
Posts: 3,050
|
I thought I sent you a copy of the v4 HALi doc???? Not sure what your refering to with the On prefix. I have them as just DMCNowPlaying and DMCAction. the cover art is not in the doc I'll have to ask, but if I had to guess I would think it returns the full path to the cover art filename of the song playing.
DMCNowPlaying Event Description Event occurs when the DMC player starts playing a new song. Syntax Sub control_DMCNOWPlaying(sUserData As String) The event parameters are: Parameter Description sUserData A string expression that returns the SongName,. Artist, Album, Genre, Year & Comment from the ID3 Tag of the song. DMCAction Event Description Event occurs when the DMC player state changes. Syntax Sub control_DMCAction(sUserData As String) The event parameters are: Parameter Description sUserData A string expression that specifies the new state of the device. Return Values The values for sUserData are: String Description “PLAY” The DMC Player started playing. “STOP” The DMC Player stopped playing. “PAUSE” The DMC Player was paused. “CONT” The DMC has continued playing from pause “NEXT” The DMC Player advanced to the next song. “PREV” The DMC Player moved to the previous song. “VOL “MUTE” The DMC Mute button was pressed. “UNMUTE” The DMC Player was unmuted. “CLOSE” The DMC Player was closed “QUIT” The DMC Player user quit “R-ON” The DMC Repeat toggled on. “R-OFF” The DMC Repeat toggled off. “C-ON” The DMC Continuous toggled on. “C-OFF” The DMC Continuous toggled off. “LOCHANGE:<data>” The DMC Location changed. <data> = New Location
__________________
DISCLAIMER: Use my advice at your own risk. If you are not familiar with how to safely accomplish a task HIRE A PROFESSIONAL. Improper use/installation can cause damage to equipment, fire, electrical problems and in some cases death. |
|
|
|
|
|
#3 |
|
Advanced Senior Member
Join Date: Jul 2003
Location: Goldcoast, Australia
Posts: 1,208
|
thanks Jim... and no i never received the manual.
By the way, the 'On' prefix is a default Visual Studio thing whenever an event hndler is added to an Active-X event. Sorry, didn't mean to include it in my explanation. By the way, I've done very little testing on the new camera option in HALi. I'll ge stuck into that over te next cople of weeks (I'm going away next week though, for 1 week).
__________________
Regards, Vincent B Check out my ultimate HAL plugin - MyServant v6.0 www.futuretouch.com.au/MyServant.asp |
|
|
|
|
|
#4 |
|
Super Moderator
Join Date: Jul 2003
Location: NJ
Posts: 3,050
|
Sorry I thought I sent it to you. I'll send it now. I hope its vacation, enjoy.
I sent it to your Sales email address.
__________________
DISCLAIMER: Use my advice at your own risk. If you are not familiar with how to safely accomplish a task HIRE A PROFESSIONAL. Improper use/installation can cause damage to equipment, fire, electrical problems and in some cases death. Last edited by JimMcGowanInlet; 07-30-2008 at 06:23 PM. |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -6. The time now is 12:41 AM.
|
|