Nero_burn_flag_cd_text

vbimport

#1

Would anyone be able to explain to me how this flag works?
I’ve tried burning neroaudiotracks using the
nerodrive.burnisoaudioCD function to make audio CDs. However, it does not take or store my track title/artist, cd title/artist into the CDTEXT. Does anyone know how i could do that??

Help would be greatly appreciated. I’ve run into a huge roadblock for the past few days! Thanks guys!
Any response would be just fantastic.


#2

Using NERO_BURN_FLAG_CD_TEXT should do it. Does your recorder support writing cd text?

Can you post some relevant code portion?


#3

Hi, this is my code: It’s a modified version of the sample NEROCOM code:

Private Sub Burn_Click()
On Error GoTo handle_error
btnAbort.Enabled = True
Browse.Enabled = False
Burn.Enabled = False
Timer1.Enabled = True
Dim ds, e
Dim DeviceExist As Boolean
Dim Artist As String
Dim Title As String

Set Folder = New NeroFolder
Dim drives As INeroDrives
Set drives = nero.GetDrives(NERO_MEDIA_CDR)
Set drive = drives(AvailableDevices.ListIndex)

Dim MusicTrack() As NeroAudioTrack
ReDim MusicTrack(intNumOfFiles - 1)
'Set MusicTrack = New NeroAudioTrack '!!!ERROR HERE!!!
Dim list As NeroAudioTracks
Set list = New NeroAudioTracks
Dim a As Integer

Set ds = CreateObject("scripting.filesystemobject")
For Each e In ds.drives
    If Left(e, 1) = "F" Then DeviceExist = True
Next
    
If DeviceExist <> True Then
    MsgBox "Specified Device not Present"
    Exit Sub
'writeErrorCode
End If

FilesToBurn.Col = 0
    
For a = 1 To intNumOfFiles - 1
FilesToBurn.Row = a
Set MusicTrack(a) = New NeroAudioTrack
MusicTrack(a).FileName = FilesToBurn.Text
MusicTrack(a).Title = a & NameFromPath(FilesToBurn.Text)
If audioFormat = "mp3" Then
    MusicTrack(a).TrackType = NERO_AUDIO_TRACK_FILE_MP3
Else
    If audioFormat = "wma" Then
        MusicTrack(a).TrackType = NERO_AUDIO_TRACK_FILE_WMA
    Else
        MusicTrack(a).TrackType = NERO_AUDIO_TRACK_FILE_WAV
    End If
End If
list.Add MusicTrack(a)
Next

'Dim isotrack As NeroISOTrack
'Set isotrack = New NeroISOTrack
'isotrack.Name = "TestTrack"
'isotrack.RootFolder = Folder
'Dim file(2) As NeroFile

'For a = 0 To 2
'Set isotrack(a) = New NeroISOTrack
'Set file(a) = New NeroFile
'Folder.Files.Add file(a)
'file(a).Name = a & NameFromPath(edtFileName.Text)
'file(a).SourceFilePath = edtFileName.Text
'Next
'isotrack.BurnOptions = NERO_BURN_OPTION_CREATE_ISO_FS + NERO_BURN_OPTION_USE_JOLIET

'drive.BurnIsoAudioCD "Sloan", "Pretty Together", 0, Nothing, list, Nothing, NERO_BURN_FLAG_SIMULATE + NERO_BURN_FLAG_WRITE + NERO_BURN_FLAG_BUF_UNDERRUN_PROT, 52, NERO_MEDIA_CD
'drive.BurnIsoAudioCD "Custom CD", "Various Artists", 0, Nothing, list, Nothing, NERO_BURN_FLAG_SIMULATE + NERO_BURN_FLAG_BUF_UNDERRUN_PROT, 4, NERO_MEDIA_CD
Artist = "Various Artists"
Title = "Custom CD"
'drive.CDInfo (NERO_READ_CD_TEXT)
If (totalTime <= 4320000) Then
    startTime = Now
    drive.BurnIsoAudioCD Artist, Title, 0, Nothing, list, Nothing, NERO_BURN_FLAG_WRITE + NERO_BURN_FLAG_BUF_UNDERRUN_PROT + NERO_BURN_FLAG_CD_TEXT, 52, NERO_MEDIA_CD
    'drive.BurnIsoAudioCD Artist, Title, 0, Nothing, list, Nothing, NERO_BURN_FLAG_SIMULATE + NERO_BURN_FLAG_BUF_UNDERRUN_PROT, 4, NERO_MEDIA_CD
Else
    MsgBox ("The selected songs will not fit on the CD")
    Burn.Enabled = True
End If

Alternatively, would it be possible to use NeroCom to add a Volume Label?? I was looking through the documentation and couldnt’ figure it out.

Thanks for the response by the way.


#4

Try adding NERO_BURN_FLAG_DAO flag for Disc-at-once mode.


#5

Alex,

Hmm…still doesn’t work.
Any other ideas?
Do you know if it’s possible to give a volume label to an audio CD??

Thanks.


#6

Have you checked that your recorder supports writing cd text?

No, an audio cd cannot have a volume label. You can specify an Artist/Title instead.

For data cd use Name property of NeroISOTrack.


#7

Alex,

Ok, let me know if I’m right.
For audio cds, you can not specify a volume label. It will always say AudioCD in windows epxlorer right?? And also, the tracks will always be labeled Track1.cda etc… right?

The Artist/TItle that can be specified should be viewable in Windows Explorer??and/or Windows Media Player (or any other player??).

Thanks.

Ryan

PS. My Burner is from AOPEN and says that it supports:
“CD Text (Nero Required)”


#8

For audio cds, you can not specify a volume label. It will always say AudioCD in windows epxlorer right?? And also, the tracks will always be labeled Track1.cda etc… right?
As far as Windows Explorer goes, yes it is true!

The Artist/TItle that can be specified should be viewable in Windows Explorer??and/or Windows Media Player (or any other player??).
Windows Explorer does not display this information and I would not know about WMP but for instance, CDex does display the cd text info.

Try and see if Nero’s Disc Info displays Artist/Title cd text information. If it does, then cd text is definitely there.


#9

Hi Alex,

I’ve downloaded CDEX and it still displays the tracks as “Track01” etc… And it is unable to find the title, artist etc…

Do you think there is a problem with the cdtext not being written properly??

Ryan


#10

You can also try:

NeroCMD --cdinfo --drivename [b]g[/b]

where g is your drive letter.

If cd text info exists, it will be displayed by NeroCMD. If not, it was not written to the disc in the first place. Alternatively, you can use Nero’s Disc Info as I said earlier.


#11

Alex,

Hmm…I tried the NERO info tool and it lists ‘N/A’ for the Title and artist of the CD. I thought that my code to set that information - “drive.burnisoaudiocd” was correct??

Ryan