Menu

Error in .toc file

Help
Anonymous
2000-10-30
2000-11-05
  • Anonymous

    Anonymous - 2000-10-30

    Hi, got the following toc file and get the ERROR: encounter7.toc:36: syntax error at "CD_TEXT" missing  Integer
    -------
    // Track 1
    TRACK AUDIO
    FILE "04 Al Green - Let's Stay Together.wav"

    // track specific CD-TEXT data
    CD_TEXT {
         LANGUAGE "9" {
        // if an item is defined for one track it should be defined for all tracks
        TITLE "Let's Stay Together"

        PERFORMER  "Al Green"
        ISRC "US-EN7-01-10300"

        ARRANGER "encounter7"
        SONGWRITER ""
        MESSAGE ""  
       }
    }
    ------

    What is the problem ?

     
    • Andreas Mueller

      Andreas Mueller - 2000-11-05

      You'll have to omit the " around the language number,
      correct:

        LANGUAGE 0 { ...}

      BTW, the valid range for the language number is 0..7.
      You have to define the language mapping in the global
      CD_TEXT block, e.g.:

      CD_TEXT {
        LANGUAGE_MAP {
          0: 9
        }
        LANGUAGE 0 {
          TITLE "..."
          PERFORMER "..."
        }
      }

      Andreas

       

Log in to post a comment.