You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### <aname="tags-and-metadata-format-rules"></a>Tags and metadata format rules <ahref="#toc"class="goToc">⇧</a>
351
+
352
+
If pre-tagging files manually, or modifying values in Liquidsoap, you _must_ adhere to some rules:
353
+
354
+
-_Float_ values typcially have a 2 decimals precision, peak values have 6 decimals.
355
+
- Do _not_ use _only a trailing period_ to indicate a _float_ (like `0.`, as is often done in Liquidsoap).
356
+
- The _decimal point_ is always a _period_, _never_ a _decimal comma_ as in some languages like German.
357
+
-_Integer_ values like `R128_TRACK_GAIN` must not be specified with a dot or any decimals.
358
+
-_Boolean_ values _must_ be either `true` or `false`, in all lowercase. We have no concept of "truthy" or "falsy" like some programming languages, so `True`, `TRUE`, `yes`, `1` or `1.00` for example _will not work_ as `true`.
359
+
-_Units_ should be written exactly as shown in above reference table, in the "Example" column. So _do_ use a blank between value and unit, and use the exact name and casing shown, like `dB`, not `db` or `DB`. This is not so much a requirement for Autocue and `cue_file`, but more for other software, especially for the ReplayGain metadata.
360
+
-_Do not_ save `R128_TRACK_GAIN` to non-Opus files, and _do not_ save `replaygain_*` tags to Opus files. `cue_file` will take care of the necessary conversions, but you could have accidentally provided these in a tagging program, JSON or Liquidsoap.
361
+
-_Never_ save `duration` as a tag. The file duration is determined by other means (calculated or taken from the header info in various file types). Again _cue_file_ takes care of it for its own calculations, but you could have set it elsewhere (tagging software, JSON).
0 commit comments