# Multiple cover import to multiple songs

**URL:** <https://community.mp3tag.de/t/multiple-cover-import-to-multiple-songs/45498>\
**Category:** Support\
**Created:** [May 21, 2019, 8:26am UTC](https://community.mp3tag.de/t/multiple-cover-import-to-multiple-songs/45498 "2019-05-21T08:26:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jpv](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/d9b06d/32.png) [@jpv](https://community.mp3tag.de/u/jpv)\
**Post date:** [May 21, 2019, 8:26am UTC](https://community.mp3tag.de/t/multiple-cover-import-to-multiple-songs/45498/1 "2019-05-21T08:26:40Z")

</div>

In a particular Folder I have 7 mp3 files and 7 cover jpg files named JJ0,JJ1,JJ2,JJ3,JJ4,JJ5,JJ6 and I would like to assign JJ0 to the first (alphabetical) mp3 file, JJ1 to the second, and so on. I have tried 2 actions:

1. JJ$num(%\_counter,1).jpg \> marking the 7 mp3 files this action results in cover JJ0 being assigned to ALL files
2. JJ$num($add(%\_counter,1),1).jpg \> marking the 7 mp3 files this action results in cover JJ1 being assigned to ALL files

Which would be the correct syntax to use?

---

<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:** [May 21, 2019, 8:32am UTC](https://community.mp3tag.de/t/multiple-cover-import-to-multiple-songs/45498/2 "2019-05-21T08:32:10Z")

</div>

> [@jpv](#):
>
> Which would be the correct syntax to use?

the counter is called %\_counter% and not %\_counter

As %\_counter% always starts with the value 1, I think that  
JJ$sub(%\_counter%,1) would lead to JJ0

---

<div class="post-metadata">

**Author:** ![jpv](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/d9b06d/32.png) [@jpv](https://community.mp3tag.de/u/jpv)\
**Post date:** [May 21, 2019, 8:46am UTC](https://community.mp3tag.de/t/multiple-cover-import-to-multiple-songs/45498/6 "2019-05-21T08:46:45Z")

</div>

Is there a way to explicitly specify which one the first jpg file is? For ex. JJ0 or JJ1 or JJ7 ?

---

<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:** [May 21, 2019, 8:51am UTC](https://community.mp3tag.de/t/multiple-cover-import-to-multiple-songs/45498/7 "2019-05-21T08:51:50Z")

</div>

Do you mean some kind of offset?  
Then use the $add() function in which you add offset-1.

---

<div class="post-metadata">

**Author:** ![jpv](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/d9b06d/32.png) [@jpv](https://community.mp3tag.de/u/jpv)\
**Post date:** [May 21, 2019, 9:05am UTC](https://community.mp3tag.de/t/multiple-cover-import-to-multiple-songs/45498/8 "2019-05-21T09:05:00Z")

</div>

Thanks again. I get it, everything works now the way I want.

---

<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:** [June 20, 2019, 9:05am UTC](https://community.mp3tag.de/t/multiple-cover-import-to-multiple-songs/45498/9 "2019-06-20T09:05:04Z")

</div>

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