# Export playlist does not work since upgrade to v2.89/2.89a

**URL:** <https://community.mp3tag.de/t/export-playlist-does-not-work-since-upgrade-to-v2-89-2-89a/42367>\
**Category:** Support\
**Created:** [July 17, 2018, 10:48am UTC](https://community.mp3tag.de/t/export-playlist-does-not-work-since-upgrade-to-v2-89-2-89a/42367 "2018-07-17T10:48:35Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![gsa999](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/c6cbf5/32.png) [@gsa999](https://community.mp3tag.de/u/gsa999)\
**Post date:** [July 17, 2018, 10:48am UTC](https://community.mp3tag.de/t/export-playlist-does-not-work-since-upgrade-to-v2-89-2-89a/42367/1 "2018-07-17T10:48:35Z")

</div>

Hi the below Export configuration has been working for years for me. It creates a playlist in each album folder. However since latest version upgrade it doesn't. It appears to run but no file is created in the folder

$filename(%\_folderpath%$replace($if($eql(%albumartist%,Various Artists) or $eql(%album artist%,Various Artists),$cutleft(%album%,6),%artist% - $cutleft(%album%,6)),/,-,:, -,",'').m3u8,utf-8)#EXTM3U  
#EXTART:$if($eql(%albumartist%,Various Artists),%albumartist%,%artist%)  
#EXTALB:%album%  
$loop(%track%)$loop(%\_filename\_ext%)#EXTINF:%\_length\_seconds%,%artist% - %title%  
%\_filename\_ext%  
$loopend()$loopend()

Note the reason I cut the first 6 characters of the album name is because I include the year of release in this tag and don't want that in the playlist name

Is this a bug that can be fixed please

Thanks  
G

---

<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:** [July 17, 2018, 11:11am UTC](https://community.mp3tag.de/t/export-playlist-does-not-work-since-upgrade-to-v2-89-2-89a/42367/2 "2018-07-17T11:11:50Z")

</div>

> [@gsa999](#):
>
> $replace($if($eql(%albumartist%,Various Artists) or $eql(%album artist%,Various Artists),$cutleft(%album%,6),%artist% - $cutleft(%album%,6)),/,-,:, -,",'')

Is this the tested statement from the export that worked before?  
I doubt that.  
If you combine $if statement with "or" it should be $or(). So at least

> [@gsa999](#):
>
> or $eql(%

is no valid syntax.  
Try your expression in the convert\>tag-Tag function to test the syntax (but don't execute it, just look at the preview)  
I think it should be  
`$if($or($eql(%albumartist%,'Various Artists'),$eql(%album artist%,'Various Artists')),1,0)`

insert the true action for "1" and the false action for "0"

---

<div class="post-metadata">

**Author:** ![gsa999](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/c6cbf5/32.png) [@gsa999](https://community.mp3tag.de/u/gsa999)\
**Post date:** [July 17, 2018, 11:43am UTC](https://community.mp3tag.de/t/export-playlist-does-not-work-since-upgrade-to-v2-89-2-89a/42367/3 "2018-07-17T11:43:02Z")

</div>

Thanks - you are absolutely correct re the syntax for the Various Artists albums. I must admit I have not had to create a playlist for one of these for some years, so had not picked this error up. It's not this bit of the code that is a problem though. I have taken this part out and run the code below and it still does not create a playlist in the album folder for a normal artist album:

$filename(%\_folderpath%$replace(%artist% - $cutleft(%album%,6)),/,-,:, -,",'').m3u8,utf-8)#EXTM3U  
#EXTART:%artist%  
#EXTALB:%album%  
$loop(%track%)$loop(%\_filename\_ext%)#EXTINF:%\_length\_seconds%,%artist% - %title%  
%\_filename\_ext%  
$loopend()$loopend()

---

<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:** [July 17, 2018, 11:50am UTC](https://community.mp3tag.de/t/export-playlist-does-not-work-since-upgrade-to-v2-89-2-89a/42367/4 "2018-07-17T11:50:35Z")

</div>

If you use  
`$replace(%artist% - $cutleft(%album%,6)),/,-,:, -,",'').m3u8`  
the preview shows:  
`",/,-,:, -,",').m3u8"`  
So there is still something wrong with the syntax.  
I suspect the `))` which should be just `)`

---

<div class="post-metadata">

**Author:** ![frangk](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/2bfe46/32.png) [@frangk](https://community.mp3tag.de/u/frangk)\
**Post date:** [July 27, 2018, 1:42pm UTC](https://community.mp3tag.de/t/export-playlist-does-not-work-since-upgrade-to-v2-89-2-89a/42367/5 "2018-07-27T13:42:05Z")

</div>

Hi,  
I seem to have the same problem. I can export a playlist by going to the export menu and choosing my playlist definition. For filename I use:  
%\_folderpath%$if($or($eql(%albumartist%,va),$eql(%albumartist%,Various)),v.a.,$replace(%artist%,/,~)$if($eql(%origyear%,),$if($eql(%year%,),, (%year%)), (%origyear%))) - $replace(%album%,/,~)$if($or($eql(%albumartist%,va),$eql(%albumartist%,Various)),$if($eql(%origyear%,),$if($eql(%year%,),, (%year%)), (%origyear%)),).m3u8  
For years this worked perfectly as (last) part of an action, but lately it stopped working. The whole action runs fine, except for the creation of a playlist.  
I can still export the playlist manually via the File/Export menu, but it doesn't work within an action... even when I create an action with only the 'export'-line and no other actions included.  
Did something change according to actions in v2.89?  
Thanks in advance.  
F

---

<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:** [July 27, 2018, 2:12pm UTC](https://community.mp3tag.de/t/export-playlist-does-not-work-since-upgrade-to-v2-89-2-89a/42367/6 "2018-07-27T14:12:33Z")

</div>

> [@frangk](#):
>
> I seem to have the same problem

I think that the problem of the OP was the use of an invalid syntax.  
You can test your syntax with the function Convert\>Tag-Tag  
i just tried your longish expression for a single file and got the filename  
Tekknos (2002) - Ritmo.m3u8  
which looks ok to me.

---

<div class="post-metadata">

**Author:** ![frangk](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/2bfe46/32.png) [@frangk](https://community.mp3tag.de/u/frangk)\
**Post date:** [July 27, 2018, 2:51pm UTC](https://community.mp3tag.de/t/export-playlist-does-not-work-since-upgrade-to-v2-89-2-89a/42367/7 "2018-07-27T14:51:11Z")

</div>

Yes, sorry, not exactly the same problem, because my syntax works fine when used via File/Export, but not when called by an action... I don't understand what the problem with that could be.  
Any idea? Or should I start a new topic?  
Thanks.

---

<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:** [July 27, 2018, 2:52pm UTC](https://community.mp3tag.de/t/export-playlist-does-not-work-since-upgrade-to-v2-89-2-89a/42367/8 "2018-07-27T14:52:53Z")

</div>

> [@frangk](#):
>
> should I start a new topic?

Yes, please, perhaps "Generate playlist via action fails"

---

<div class="post-metadata">

**Author:** ![frangk](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/2bfe46/32.png) [@frangk](https://community.mp3tag.de/u/frangk)\
**Post date:** [July 27, 2018, 2:55pm UTC](https://community.mp3tag.de/t/export-playlist-does-not-work-since-upgrade-to-v2-89-2-89a/42367/9 "2018-07-27T14:55:52Z")

</div>

OK, I'll do that.  
Thanks for your help.

---

<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 9, 2026, 12:27pm UTC](https://community.mp3tag.de/t/export-playlist-does-not-work-since-upgrade-to-v2-89-2-89a/42367/10 "2026-02-09T12:27:32Z")

</div>


