Skip to content

Commit 945ad16

Browse files
committed
Update format
1 parent 6ad40d3 commit 945ad16

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

source/_components/media_extractor.markdown

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,23 @@ media_extractor:
4141
music: bestaudio[ext=mp3]
4242
```
4343
44-
This configuration sets query for all service calls like: ```{"entity_id": "media_player.my_sonos", "media_content_id": "https://soundcloud.com/bruttoband/brutto-11", "media_content_type": "music"}``` to 'bestaudio' with mp3 extension.
44+
This configuration sets query for all service calls like to 'bestaudio' with the mp3 extension:
45+
46+
```json
47+
{
48+
"entity_id": "media_player.my_sonos",
49+
"media_content_id": "https://soundcloud.com/bruttoband/brutto-11",
50+
"media_content_type": "music"
51+
}
52+
```
4553

4654
Query examples with explanations:
47-
* **bestvideo** - best video only stream
48-
* **best** - best video + audio stream
49-
* **bestaudio[ext=m4a]** - best audio stream with m4a extension
50-
* **worst** - worst video + audio stream
51-
* **bestaudio[ext=m4a]/bestaudio[ext=ogg]/bestaudio** - best m4a audio, otherwise best ogg audio and only then any best audio
55+
56+
* **bestvideo**: Best video only stream
57+
* **best**: Best video + audio stream
58+
* **bestaudio[ext=m4a]**: Best audio stream with m4a extension
59+
* **worst**: Worst video + audio stream
60+
* **bestaudio[ext=m4a]/bestaudio[ext=ogg]/bestaudio**: Best m4a audio, otherwise best ogg audio and only then any best audio
5261

5362
More info about queries [here](https://github.com/rg3/youtube-dl#format-selection)
5463

0 commit comments

Comments
 (0)