Copyright © 2001-2019 MultiMedia Soft

CastingWmaSetTag method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets a tag for the WMA casting session.

 

Further information about management of casting sessions can be found inside the How to use the control as a source for streaming servers like SHOUTcast tutorial.

 

 

Syntax

 

[Visual Basic]

control.CastingWmaSetTag (

nCastingUniqueID as Long,

strTagName as String,

strTagText as String

) as enumErrorCodes


 

[C++]

short control.CastingWmaSetTag (

long nCastingUniqueID,

LPCTSTR strTagName,

LPCTSTR strTagText

);


 

 

Parameter

Description

 

 

nCastingUniqueID

Unique identifier of the casting session returned by a previous call to CastingCreateFromStreamMixer, CastingCreateFromPlayer, CastingWmaPubPointOpenForStreamMixer, CastingWmaPubPointOpenForPlayer, CastingWmaNetworkOpenForStreamMixer or CastingWmaNetworkOpenForPlayer methods.

strTagName

String containing the name of the tag.

Typical tags for WMA are the following:

String content

Meaning

Title

Title of the song

Author

Author of the song

Description

Description of the song

Copyright

Copyright message

Rating

Song rating

WM/AlbumTitle

Title of the album containing the song

WM/AlbumCoverURL

URL pointing to the picture of the album cover

WM/PromotionURL

URL pointing to a promotional web page

WM/Year

Year of publication

WM/Genre

Song genre

strTagText

String containing the tag's content

 

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.NOERROR (0)

The method call was successful