# Codec in exports

**URL:** <https://community.mp3tag.de/t/codec-in-exports/59773>\
**Category:** Support\
**Created:** [January 23, 2023, 7:28pm UTC](https://community.mp3tag.de/t/codec-in-exports/59773 "2023-01-23T19:28:59Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![afcchris](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/53a042/32.png) [@afcchris](https://community.mp3tag.de/u/afcchris)\
**Post date:** [January 23, 2023, 7:28pm UTC](https://community.mp3tag.de/t/codec-in-exports/59773/1 "2023-01-23T19:28:59Z")

</div>

Hi all. Been away from the tool for a long time and seem to have lost my old config file for exporting. I have selected Codec in my columns to display but when i export i can't see any codec information in the CSV file. Can someone give me a simple config file which shows all the main columns and i can edit it accordingly?

---

<div class="post-metadata">

**Author:** ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)\
**Post date:** [January 23, 2023, 7:42pm UTC](https://community.mp3tag.de/t/codec-in-exports/59773/2 "2023-01-23T19:42:42Z")

</div>

Please have a look at [Editing Export Configurations](https://docs.mp3tag.de/export/#editing-export-configurations). You can start with a copy of the built-in CSV export and extend it to include all the fields that are relevant for you (e.g., [`%_codec%`](https://docs.mp3tag.de/format/#technical-information)).

---

<div class="post-metadata">

**Author:** ![afcchris](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/53a042/32.png) [@afcchris](https://community.mp3tag.de/u/afcchris)\
**Post date:** [January 23, 2023, 7:47pm UTC](https://community.mp3tag.de/t/codec-in-exports/59773/3 "2023-01-23T19:47:04Z")

</div>

Thanks Florian. I actually did what you mentioned but that is where i am not seeing the codec info in the output. Let me try again and see if i made a mistake.

---

<div class="post-metadata">

**Author:** ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)\
**Post date:** [January 23, 2023, 7:50pm UTC](https://community.mp3tag.de/t/codec-in-exports/59773/4 "2023-01-23T19:50:00Z")

</div>

You can also post what you have here (enclosed in triple backticks ````` to make it appear correctly formatted) and we can have a look if you don't find it.

---

<div class="post-metadata">

**Author:** ![afcchris](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/53a042/32.png) [@afcchris](https://community.mp3tag.de/u/afcchris)\
**Post date:** [January 23, 2023, 8:06pm UTC](https://community.mp3tag.de/t/codec-in-exports/59773/5 "2023-01-23T20:06:43Z")

</div>

[quote="Florian, post:4, topic:59773"]

```auto
$filename(csv,utf-16)Filename;Title;Artist;Album;Album Artist;Track;Discnumber;Codec;Bitrate;Frequency;Length;Size;Last Modified;Path;
$loop(%_filename_ext%)%title%;%artist%;%album%;%album artist%;%track%;%discnumber%;%_codec%;%_bitrate%;%frequency%;%_length_seconds%;%_file_size%;%_file_mod_date%;%_folderpath%;%_filename_ext%;
$loopend()build on %_date% with %_app% - the universal Tag editor - http://www.mp3tag.de/en/

```

---

<div class="post-metadata">

**Author:** ![afcchris](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/53a042/32.png) [@afcchris](https://community.mp3tag.de/u/afcchris)\
**Post date:** [January 23, 2023, 8:07pm UTC](https://community.mp3tag.de/t/codec-in-exports/59773/6 "2023-01-23T20:07:33Z")

</div>

There you go. I just want the most simple csv file which i can view in Excel and sort easily.

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [January 23, 2023, 8:14pm UTC](https://community.mp3tag.de/t/codec-in-exports/59773/7 "2023-01-23T20:14:45Z")

</div>

I notice that you have

> [@afcchris](#):
>
> `Filename`

as column heading but you do not export that property in the $loop() section - you start with

> [@afcchris](#):
>
> `%title%;`

I would have excpected  
`%_filename_ext%;%title%`  
Also, you use %album artist% where %albumartist% is more the usual fieldname.  
%frequency% looks like a user-defined field.

---

<div class="post-metadata">

**Author:** ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)\
**Post date:** [January 23, 2023, 8:32pm UTC](https://community.mp3tag.de/t/codec-in-exports/59773/8 "2023-01-23T20:32:04Z")

</div>

> [@afcchris](#):
>
> i am not seeing the codec info in the output.

I see this for my example output with `%_codec%`  
 ![image](https://community.mp3tag.de/uploads/default/original/2X/2/2044bff1c78dae7937594bc424b1f372ff711226.png)  
What type of files have you selected? mp3? FLAC? Something else?

> [@afcchris](#):
>
> i can view in Excel and sort easily.

You can sort in Mp3tag too:

[Sorting (from the documentation:)](https://docs.mp3tag.de/getting-started/main-window/#sorting)

> You can sort the files by clicking on the column header of the respective column. An additional click on the current sort column inverses the sort order. You can sort by multiple criteria by holding the Shift key down when clicking on the additional sort columns.

---

<div class="post-metadata">

**Author:** ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)\
**Post date:** [January 23, 2023, 8:48pm UTC](https://community.mp3tag.de/t/codec-in-exports/59773/9 "2023-01-23T20:48:38Z")

</div>

The export configuration is looking good, except for three things:

- You've probably moved the `Filename;` to the front of the line, but forgot to also move the `%_filename_ext%;` in the second line.

These might be intentional and already pointed out by @ohrenkino :

- Instead of `%frequency%` you probably want to use `%_samplerate%`
- Instead of `%album artist%` (with the blank) you probably want to use `%albumartist%`

```auto
$filename(csv,utf-16)Filename;Title;Artist;Album;Album Artist;Track;Discnumber;Codec;Bitrate;Frequency;Length;Size;Last Modified;Path;
$loop(%_filename_ext%)%_filename_ext%;%title%;%artist%;%album%;%albumartist%;%track%;%discnumber%;%_codec%;%_bitrate%;%_samplerate%;%_length_seconds%;%_file_size%;%_file_mod_date%;%_folderpath%;
$loopend()

```

You can also post an example output (again enclosed in triple backticks ````` for proper formatting) and describe where it doesn't seem right to you.

---

<div class="post-metadata">

**Author:** ![afcchris](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/53a042/32.png) [@afcchris](https://community.mp3tag.de/u/afcchris)\
**Post date:** [January 23, 2023, 8:52pm UTC](https://community.mp3tag.de/t/codec-in-exports/59773/10 "2023-01-23T20:52:55Z")

</div>

i know i can sort in Mp3tag but it's purely preference about sorting in Excel. I want to be able to filter on things which i find much easier in Excel.

On the type of files i have selected it's a combination of mp3 and flac. In the tool i can see the rows i exported have FLAC but the column in the exported file is blank for Codec.

---

<div class="post-metadata">

**Author:** ![afcchris](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/53a042/32.png) [@afcchris](https://community.mp3tag.de/u/afcchris)\
**Post date:** [January 23, 2023, 8:53pm UTC](https://community.mp3tag.de/t/codec-in-exports/59773/11 "2023-01-23T20:53:14Z")

</div>

thanks. will amend and try again

---

<div class="post-metadata">

**Author:** ![afcchris](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/53a042/32.png) [@afcchris](https://community.mp3tag.de/u/afcchris)\
**Post date:** [January 23, 2023, 8:53pm UTC](https://community.mp3tag.de/t/codec-in-exports/59773/12 "2023-01-23T20:53:52Z")

</div>

thanks...will correct now and try again.

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [January 23, 2023, 9:01pm UTC](https://community.mp3tag.de/t/codec-in-exports/59773/13 "2023-01-23T21:01:52Z")

</div>

> [@afcchris](#):
>
> I want to be able to filter on things which i find much easier in Excel.

I see a certain gap between the ease to create an export, import that data in excel and then filter and sort and the actual ease of clicking on a column header in MP3tag to sort and a straightforward filter syntax.  
So I would invest in a look at the documentation

> **[Filter and Search – Mp3tag Documentation](https://docs.mp3tag.de/filter/)**
>
> Documentation on Filter and Search and keywords to form complex filter expressions. Mp3tag is the universal Tag Editor.

and see that  
`%_codec% HAS Free Lossless Audio Codec OR %_codec% HAS MPEG`  
is just as easy to apply as the filter dialogue in Excel - but without the hustle of export/import etc.

---

<div class="post-metadata">

**Author:** ![afcchris](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/53a042/32.png) [@afcchris](https://community.mp3tag.de/u/afcchris)\
**Post date:** [January 24, 2023, 5:12pm UTC](https://community.mp3tag.de/t/codec-in-exports/59773/14 "2023-01-24T17:12:38Z")

</div>

thanks for the support but with all respect i am really wanting to use Excel. I'm an older person....i stick with what makes me more comfortable 😀

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [January 24, 2023, 5:59pm UTC](https://community.mp3tag.de/t/codec-in-exports/59773/15 "2023-01-24T17:59:26Z")

</div>

Even though you have apparently already made your choice, I would still like you to have a look at the program features in MP3tag:  
A click on a colum header in Excel does not sort by that column AFAIK. In Mp3tag it does.  
A filter in Excel requires going through an extra dialogue - in MP3tag you can enter the crtieria directly.  
And any changes that you want to make can be entered directly for the files that you see while in Excel you first have to identify the file, either edit the data there and then re-import it into MP3tag or go to MIp3tag, enter search criteria there to find the file and go on with the editing or open the Windows Explorer with the file path, drag&drop the file into MP3tag and commence with editing.  
All these detours would not make me very comfortable.  
Also, I don't understand why an

> [@afcchris](#):
>
> older person

should not be able to learn something new.

---

<div class="post-metadata">

**Author:** ![MotleyG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/motleyg/32/440_2.png) [@MotleyG](https://community.mp3tag.de/u/MotleyG)\
**Post date:** [January 24, 2023, 6:22pm UTC](https://community.mp3tag.de/t/codec-in-exports/59773/16 "2023-01-24T18:22:45Z")

</div>

Just to confirm, this Export configuration works as expected. It includes the codec and all other fields in the config.

 ![image](https://community.mp3tag.de/uploads/default/original/2X/4/44842ed1b20e87c029e3158d31d2c692f726a426.png)

---

<div class="post-metadata">

**Author:** ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)\
**Post date:** [January 24, 2023, 6:29pm UTC](https://community.mp3tag.de/t/codec-in-exports/59773/17 "2023-01-24T18:29:57Z")

</div>

Yep and these are some of the possible Codecs:

![image](https://community.mp3tag.de/uploads/default/original/2X/e/e43475e264dee8ccb2b41945184fb7da0f2c25ad.png)

---

<div class="post-metadata">

**Author:** ![afcchris](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/53a042/32.png) [@afcchris](https://community.mp3tag.de/u/afcchris)\
**Post date:** [January 24, 2023, 7:37pm UTC](https://community.mp3tag.de/t/codec-in-exports/59773/18 "2023-01-24T19:37:44Z")

</div>

They wouldn't make you comfortable but you're not the one choosing to do it. It's me that wants to do it, i am happy doing it, i don't mind the "detours", and i am not ignoring the features of the tool. This seems to be going from some honest (and appreciated) help on the features of the tool to something which is getting annoying to me now. As you said i have made up my mind and that is very true. It's just personal preference. I wouldn't try so hard to get you to do something against your personal preferences so please don't do it to me.

---

<div class="post-metadata">

**Author:** ![afcchris](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/53a042/32.png) [@afcchris](https://community.mp3tag.de/u/afcchris)\
**Post date:** [January 24, 2023, 7:38pm UTC](https://community.mp3tag.de/t/codec-in-exports/59773/19 "2023-01-24T19:38:48Z")

</div>

Thanks all for the help. I managed to change the export config and now it's fine and i can see what I wanted to see. 👏

---

<div class="post-metadata">

**Author:** ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)\
**Post date:** [February 23, 2023, 7:39pm UTC](https://community.mp3tag.de/t/codec-in-exports/59773/20 "2023-02-23T19:39:35Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
