# How to get CD vs Digital Media?

**URL:** https://discourse.beets.io/t/how-to-get-cd-vs-digital-media/2032
**Category:** Help
**Created:** [February 23, 2022, 11:09pm UTC](https://discourse.beets.io/t/how-to-get-cd-vs-digital-media/2032 "2022-02-23T23:09:58Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![47West63rd](https://avatars.discourse-cdn.com/v4/letter/4/a183cd/32.png) [@47West63rd](https://discourse.beets.io/u/47West63rd)
#### Post date: [February 23, 2022, 11:09pm UTC](https://discourse.beets.io/t/how-to-get-cd-vs-digital-media/2032/1 "2022-02-23T23:09:58Z")

</div>

I have lots of CD Rips and lots of downloaded music form HD Tracks. When Beets is processing I can see CD and Digital Media, along with other attributes always in parenthesis but frequently different order.

I was thinking the CD vs Digital Media would be the albumtype but it is not. How can I consistently pull these values circled in the screen shot below?

Thanks!

 ![RoonNow](https://canada1.discourse-cdn.com/flex029/uploads/beets/original/1X/1e33afff45a9a110aa2cbedff17b0c97482b068c.jpeg)

---

<div class="post-metadata">

### Author: ![jackwilsdon](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/jackwilsdon/32/10_2.png) [@jackwilsdon](https://discourse.beets.io/u/jackwilsdon)
#### Post date: [February 23, 2022, 11:59pm UTC](https://discourse.beets.io/t/how-to-get-cd-vs-digital-media/2032/2 "2022-02-23T23:59:48Z")

</div>

The [`preferred` config option](https://beets.readthedocs.io/en/stable/reference/config.html#preferred) might be what you’re looking for - it can be used to tell beets to prefer matches with a specific format (called “media” in beets, “format” on MusicBrainz).

---

<div class="post-metadata">

### Author: ![47West63rd](https://avatars.discourse-cdn.com/v4/letter/4/a183cd/32.png) [@47West63rd](https://discourse.beets.io/u/47West63rd)
#### Post date: [February 24, 2022, 1:27pm UTC](https://discourse.beets.io/t/how-to-get-cd-vs-digital-media/2032/3 "2022-02-24T13:27:46Z")

</div>

Thanks you so much! Its so easy when you know the right “term”. For my test cases $media is getting me CD or Digital Media almost every time. I’m off to play with the preferred section as one of them comes in a 12" vinyl.
