Copyright © 2001-2019 MultiMedia Soft

LrcIdTagGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains a specific ID tag, if any, from the loaded LRC file.

 

See the How to manage lyrics coming from LRC files section for further details about LRC files.

 

 

Syntax

 

[Visual Basic]

control.LrcIdTagGet (

nPlayer as Integer,

nTagType as enumLrcFileIdTags

) as String


 

[C++]

LPCTSTR control.LrcIdTagGet (

short nPlayer,

short nTagType

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

nTagType

Tag type.

Supported values are the following:

Mnemonic constant

Value

Meaning

LRC_FILE_ID_TAG_TITLE

0

Title

LRC_FILE_ID_TAG_ARTIST

1

Artist

LRC_FILE_ID_TAG_AUTHORS

2

Authors

LRC_FILE_ID_TAG_ALBUM

3

Album

LRC_FILE_ID_TAG_CREATOR

4

Creator

LRC_FILE_ID_TAG_PROGRAM

5

Program used to create the LRC file

LRC_FILE_ID_TAG_VERSION

6

Version of the program used to create the LRC file

 

 

Return value

 

String containing the requested ID tag: an empty string means that the requested ID tag is not available inside the LRC file.