add eml + lrc
This commit is contained in:
parent
4c6c4013cf
commit
17e0203d51
2 changed files with 99 additions and 0 deletions
43
technology/files/Electronic Mail File.md
Normal file
43
technology/files/Electronic Mail File.md
Normal file
|
@ -0,0 +1,43 @@
|
|||
---
|
||||
obj: concept
|
||||
aliases: ["eml"]
|
||||
---
|
||||
|
||||
# Electronic Mail File
|
||||
An EML (Electronic Mail) file is a standard file format used to store [email](../internet/eMail.md) messages. It's a plain text file that follows specific conventions to encapsulate the content, metadata, and attachments of an [email](../internet/eMail.md) message.
|
||||
|
||||
## Structure
|
||||
**Header Section**: The header section contains metadata about the [email](../internet/eMail.md) message, such as:
|
||||
- `From`: The sender's [email](../internet/eMail.md) address.
|
||||
- `To`: The recipient(s) [email](../internet/eMail.md) address(es).
|
||||
- `Subject`: The subject of the [email](../internet/eMail.md).
|
||||
- `Date`: The date and time when the [email](../internet/eMail.md) was sent.
|
||||
- `CC` (Carbon Copy): Additional recipients who receive a copy of the [email](../internet/eMail.md).
|
||||
- `BCC` (Blind Carbon Copy): Additional recipients who receive a copy of the [email](../internet/eMail.md) without other recipients being aware of it.
|
||||
- `Message-ID`: A unique identifier for the message.
|
||||
- `MIME-Version`: The [MIME](MIME.md) (Multipurpose Internet Mail Extensions) version used for the message.
|
||||
- `Content-Type`: The type of content in the message (e.g., `text/plain` for plain text, `text/html` for [HTML](../internet/HTML.md) content).
|
||||
- `Content-Transfer-Encoding`: The encoding method used for the message body.
|
||||
- Other optional header fields.
|
||||
|
||||
**Blank Line**: After the header section, there is usually a blank line that separates the header from the body of the [email](../internet/eMail.md).
|
||||
|
||||
**Body Section**: The body section contains the main content of the [email](../internet/eMail.md) message. This can be plain text, [HTML](../internet/HTML.md), or a combination of both, depending on the Content-Type specified in the header. If the Content-Type is `text/plain`, the body will be plain text. If the Content-Type is `text/html`, the body will contain [HTML](../internet/HTML.md)-formatted content.
|
||||
|
||||
**Attachments (Optional)**: If the [email](../internet/eMail.md) message contains attachments, they are typically encoded and included in the EML file after the body section. Attachments can be of various types, such as images, documents, or multimedia files. The attachments are usually encoded using [MIME](MIME.md) encoding techniques like [Base64](Base64.md).
|
||||
|
||||
**Boundary Delimiters**: If there are multiple parts in the message (such as text and [HTML](../internet/HTML.md) versions), or if there are attachments, boundary delimiters are used to separate these parts. These delimiters are specified in the Content-Type header field.
|
||||
|
||||
## Example
|
||||
```eml
|
||||
From: D-O-double-G <dogg@snoop.com>
|
||||
To: My Homie <homie@x.com>
|
||||
Subject: Let's Roll, Dawg!
|
||||
|
||||
Yo,
|
||||
|
||||
I've been sniffin' around and heard 'bout this chill spot where dogs can kick it. How 'bout we roll there together?
|
||||
|
||||
Hit me up if you're down,
|
||||
D-O-double-G 🐾
|
||||
```
|
56
technology/files/LRC.md
Normal file
56
technology/files/LRC.md
Normal file
|
@ -0,0 +1,56 @@
|
|||
---
|
||||
obj: concept
|
||||
wiki: https://en.wikipedia.org/wiki/LRC_(file_format)
|
||||
---
|
||||
|
||||
# LRC (Timed Lyrics)
|
||||
**LRC** (short for LyRiCs) is a computer file format that synchronizes song lyrics with an audio file. When an audio file is played with certain music players on a computer or on modern digital audio players, the song lyrics are displayed. The lyrics file generally has the same name as the audio file, with a different filename extension. For example, _**song.mp3**_ and _**song.lrc**_. The LRC format is text-based and similar to subtitle files.
|
||||
|
||||
## Format
|
||||
The Line Time Tags are in the format **\[mm:ss.xx]** where **mm** is minutes, **ss** is seconds and **xx** is hundredths of a second.
|
||||
|
||||
**Basic example:**
|
||||
```lrc
|
||||
[00:12.00]Line 1 lyrics
|
||||
[00:17.20]Line 2 lyrics
|
||||
|
||||
[00:21.10][00:45.10]Repeating lyrics (e.g. chorus)
|
||||
...
|
||||
[mm:ss.xx]last lyrics line
|
||||
```
|
||||
|
||||
**ID tags** may appear before the lyrics, although some players may not recognize or simply ignore this.
|
||||
```lrc
|
||||
[ar:_Lyrics artist_]
|
||||
[al:_Album where the song is from_]
|
||||
[ti:_Lyrics (song) title_]
|
||||
[au:_Creator of the Songtext_]
|
||||
[length:_How long the song is_]
|
||||
[by:_Creator of the LRC file_]
|
||||
[offset:_+/- Overall timestamp adjustment in milliseconds, + shifts time up, - shifts down i.e. a positive value causes lyrics to appear sooner, a negative value causes them to appear later_]
|
||||
|
||||
[re:_The player or editor that created the LRC file_]
|
||||
[ve:_version of program_]
|
||||
```
|
||||
|
||||
**Example with ID tags:**
|
||||
```lrc
|
||||
[ar:Beatles, The]
|
||||
[al:Hits Of The 60's - Vol. 2]
|
||||
[ti:Twisted]
|
||||
[au:Written by Kal Mann / Dave Appell, 1961]
|
||||
[length: 2:23]
|
||||
|
||||
[00:12.00]Naku Penda Piya-Naku Taka Piya-Mpenziwe
|
||||
[00:15.30]Some more lyrics ...
|
||||
...
|
||||
```
|
||||
|
||||
## Common tags
|
||||
- `ti` — Title
|
||||
- `ar` — Artist
|
||||
- `al` — Album
|
||||
- `lr` — Lyricist. Unclear whether that's part of
|
||||
- `length` — Stated as `m:ss` or `mm:ss` (runtime 10min+) or sometimes also `sss,ms` (hours and minutes factored all into the seconds amount)
|
||||
- `by` — Person/organization that authored the LRC file
|
||||
- `tool` — Software used to create LRC file, sometimes also with the software version number and/or a [URL](../internet/URL.md)
|
Loading…
Reference in a new issue