# Convert SFV and Playlist Files to lowercase

**URL:** https://community.mp3tag.de/t/convert-sfv-and-playlist-files-to-lowercase/2451
**Category:** General Discussion
**Created:** [November 3, 2005, 5:42pm UTC](https://community.mp3tag.de/t/convert-sfv-and-playlist-files-to-lowercase/2451 "2005-11-03T17:42:07Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![dropkicknu](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/8e7dd6/32.png) [@dropkicknu](https://community.mp3tag.de/u/dropkicknu)
#### Post date: [November 3, 2005, 5:42pm UTC](https://community.mp3tag.de/t/convert-sfv-and-playlist-files-to-lowercase/2451/1 "2005-11-03T17:42:07Z")

</div>

Hi I was wondering if there is already a way to either set the default filename for sfv file to all lowercase, and also the same for the playlist filename? Because I prefer to have my mp3 files in an album directory to have the filename format of "00-artist\_name-track\_name.com" (all lowercase with no spaces), and have the tags be mixed case. The actions function works great with allowing me to rename the files to the format I want while leaving the tags in mixed case, but I want the sfv and m3u file too look like "00-album\_name-2005.sfv, & .m3u" so that they will match the mp3 filenames.

here's what i mean, right i'm ending up with directories that look like this:

```
00-Swisha House - Northside 8-1998.m3u
00-Swisha House - Northside 8-1998.sfv
01-archie_lee-intro.mp3
02-derrick_lee-take_it_like_a_playa.mp3
03-derrick_lee-boys_be_hatin.mp3
04-archie_lee-whats_going_on.mp3
05-slim_thug_lil_mario-make_em_say_ugh.mp3
06-slim_thug_lil_mario-the_man_right_chea.mp3
07-unknown_artist-freestyle.mp3
08-unknown_artist-freestyle.mp3
09-archie_lee,pic,_lestor_roy-p.w.a..mp3

```

when i want them to look like this:

```
00-swisha_house-northside_8-1998.m3u
00-swisha_house-northside_8-1998.sfv
01-archie_lee-intro.mp3
02-derrick_lee-take_it_like_a_playa.mp3
03-derrick_lee-boys_be_hatin.mp3
04-archie_lee-whats_going_on.mp3
05-slim_thug_lil_mario-make_em_say_ugh.mp3
06-slim_thug_lil_mario-the_man_right_chea.mp3
07-unknown_artist-freestyle.mp3
08-unknown_artist-freestyle.mp3
09-archie_lee,pic,_lestor_roy-p.w.a..mp3

```

and what would be even more ideal would be:

```
00-swisha_house-northside_8-1998.jpg
00-swisha_house-northside_8-1998.m3u
00-swisha_house-northside_8-1998.nfo
00-swisha_house-northside_8-1998.sfv
01-archie_lee-intro.mp3
02-derrick_lee-take_it_like_a_playa.mp3
03-derrick_lee-boys_be_hatin.mp3
04-archie_lee-whats_going_on.mp3
05-slim_thug_lil_mario-make_em_say_ugh.mp3
06-slim_thug_lil_mario-the_man_right_chea.mp3
07-unknown_artist-freestyle.mp3
08-unknown_artist-freestyle.mp3
09-archie_lee,pic,_lestor_roy-p.w.a..mp3

```

know what i'm sayin?

Is there a way that I can do this now? If not, could you please add it?

I love mp3tag, this would make me love it even more 🕶

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [November 3, 2005, 6:09pm UTC](https://community.mp3tag.de/t/convert-sfv-and-playlist-files-to-lowercase/2451/2 "2005-11-03T18:09:54Z")

</div>

Take a file renamer, Mp3tag only renames audio files.

But if you create m3u and sfv with Mp3tag, you can use $lower() function.

---

<div class="post-metadata">

### Author: ![dropkicknu](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/8e7dd6/32.png) [@dropkicknu](https://community.mp3tag.de/u/dropkicknu)
#### Post date: [November 3, 2005, 7:24pm UTC](https://community.mp3tag.de/t/convert-sfv-and-playlist-files-to-lowercase/2451/3 "2005-11-03T19:24:10Z")

</div>

> [@](#):
>
> Take a file renamer, Mp3tag only renames audio files.
> 
> But if you create m3u and sfv with Mp3tag, you can use $lower() function.
> 
> \<{POST\_SNAPBACK}\>

Thanks for the lower function thing. That still won't replace spaces with "\_" for me but that's ok.

Oh also since I just updated to v.2.33a from v.2.16 my sfv.mte export file still has the old placeholders in it. Can someone please tell me what to put in my

"[EXPORTRECORD]  
RECORDLINE01=%o %x"

in place of %o and %x? thanks!!

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [November 3, 2005, 7:41pm UTC](https://community.mp3tag.de/t/convert-sfv-and-playlist-files-to-lowercase/2451/4 "2005-11-03T19:41:30Z")

</div>

Ok for the spaces you can use $replace()

The new names, I had the same question long [time ago](https://community.mp3tag.de/t/738/1)

Also look in the help [F1] for complete function / placeholder lists.

---

<div class="post-metadata">

### Author: ![dropkicknu](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/8e7dd6/32.png) [@dropkicknu](https://community.mp3tag.de/u/dropkicknu)
#### Post date: [November 3, 2005, 9:29pm UTC](https://community.mp3tag.de/t/convert-sfv-and-playlist-files-to-lowercase/2451/5 "2005-11-03T21:29:36Z")

</div>

> [@](#):
>
> Ok for the spaces you can use $replace()
> 
> The new names, I had the same question long [time ago](https://community.mp3tag.de/t/738/1)
> 
> Also look in the help [F1] for complete function / placeholder lists.
> 
> \<{POST\_SNAPBACK}\>

Thanks a lot for all the help dano!

---

<div class="post-metadata">

### Author: ![dropkicknu](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/8e7dd6/32.png) [@dropkicknu](https://community.mp3tag.de/u/dropkicknu)
#### Post date: [November 4, 2005, 1:53am UTC](https://community.mp3tag.de/t/convert-sfv-and-playlist-files-to-lowercase/2451/6 "2005-11-04T01:53:54Z")

</div>

i ended up using this string to get exactly what i wanted:

$lower($replace(00-%album%-%year%.sfv, ,\_))

and

$lower($replace(00-%album%-%year%.m3u, ,\_))

works like a charm! thanks again! 😉
