# Discogs and 1st blank spaces in titles of songs

**URL:** https://community.mp3tag.de/t/discogs-and-1st-blank-spaces-in-titles-of-songs/70715
**Category:** Support
**Created:** [February 17, 2026, 2:06pm UTC](https://community.mp3tag.de/t/discogs-and-1st-blank-spaces-in-titles-of-songs/70715 "2026-02-17T14:06:42Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![TAHGOG](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/dbc845/32.png) [@TAHGOG](https://community.mp3tag.de/u/TAHGOG)
#### Post date: [February 17, 2026, 2:06pm UTC](https://community.mp3tag.de/t/discogs-and-1st-blank-spaces-in-titles-of-songs/70715/1 "2026-02-17T14:06:42Z")

</div>

Hi i use Win10. I tried the discogs lookup feature and i works somewhat for certain things.

However, i have two questions as a new user of mp3tag. So forgive me for maybe asking noob questions. I lookup up mostly housemusic songs, so sometimes it is 1 song of many on a vinyl.

1. The first space of my (song)title is a blank for many songs in my listingfolder how can i remove this blank automatically without it deleting the first character of a title that has no blank space.

2. When i look up songs in discogs, if the song is there i get the list. So far so good, although i have to check it when the result in mp3 tag is negative and sometimes discogs does find a result on their website… However sometimes the song i have is not the first song on the found result. It might be a number that is not the first song. When i then choose the record to be used in mpstag it changes the titlename into the first song. I tried clicking on the song i have but it keeps importing the first song as titlename. I tried clicking, selecting the song, it changes in the top right panel, but importing it changes back again to the first song. Or do i just have to declick the title so it don’t import? Thank you for giving tips.

---

<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: [February 17, 2026, 2:18pm UTC](https://community.mp3tag.de/t/discogs-and-1st-blank-spaces-in-titles-of-songs/70715/2 "2026-02-17T14:18:03Z")

</div>

Please give us a real example from discogs for your #1.  
And a [screenshot](https://community.mp3tag.de/t/hints-for-asking-support-requests/56190#p-168842-use-screenshots-to-exemplify-the-issue-2) or two would help to better understand your #2.

Could this be a solution for your #2?

> [@When I use discogs scan, it always sets the file as the track 1 of the album](https://community.mp3tag.de/t/when-i-use-discogs-scan-it-always-sets-the-file-as-the-track-1-of-the-album/59896/2):
>
> You need to align your local file with the one you get from the Websource: Press the Move up or Move down-Buttons on the right side to adjust the position of your local file to the matching one from Discogs.

---

<div class="post-metadata">

### Author: ![TAHGOG](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/dbc845/32.png) [@TAHGOG](https://community.mp3tag.de/u/TAHGOG)
#### Post date: [February 17, 2026, 3:06pm UTC](https://community.mp3tag.de/t/discogs-and-1st-blank-spaces-in-titles-of-songs/70715/3 "2026-02-17T15:06:33Z")

</div>

![mp3tag example](https://community.mp3tag.de/uploads/default/original/3X/4/e/4ec8943cd88c06fced933eb2f75d0ca7a5f4b6f8.jpeg)

Hi thx for the reply in the image green line and arrow have no first blank, red line and arrow do. I’ll try moving the arrow up and down to see what it does for the second problem. Thx

---

<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: [February 17, 2026, 3:26pm UTC](https://community.mp3tag.de/t/discogs-and-1st-blank-spaces-in-titles-of-songs/70715/4 "2026-02-17T15:26:17Z")

</div>

Thank you for the screenshot.  
Could you please provide the direct discogs link to this album on the (online) source?  
(The one that you have marked with a red line an the leading spaces).

We can try to reproduce the behaviour with this link.

---

<div class="post-metadata">

### Author: ![TAHGOG](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/dbc845/32.png) [@TAHGOG](https://community.mp3tag.de/u/TAHGOG)
#### Post date: [February 17, 2026, 3:33pm UTC](https://community.mp3tag.de/t/discogs-and-1st-blank-spaces-in-titles-of-songs/70715/5 "2026-02-17T15:33:49Z")

</div>

I think it is because me splitting up the original filename into artist and title not because using the discogs tool which i started using just now. Never the less i want to delete those blank spaces if they are there and prefer not to do it manually for approx 32k songs. The tip you give with the arrow works for discogs now. Thanks for that. However i see in the metadata that there is a difference between genre and style when grabbing the metadata from discogs. Is there a way to show the style instead of genre, this is more clear for me what type of music it is than a generic division between general music styles. I know it is a lot to ask, but thanks for your time and knowledge.

---

<div class="post-metadata">

### Author: ![TAHGOG](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/dbc845/32.png) [@TAHGOG](https://community.mp3tag.de/u/TAHGOG)
#### Post date: [February 17, 2026, 3:38pm UTC](https://community.mp3tag.de/t/discogs-and-1st-blank-spaces-in-titles-of-songs/70715/6 "2026-02-17T15:38:07Z")

</div>

Anyway i started back in the beginning of my file list trying to grab the metadata from discogs for all the songs. I know not all the songs will be on discogs but at least it will fix that problem of blank spaces partially i think.

---

<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: [February 17, 2026, 3:40pm UTC](https://community.mp3tag.de/t/discogs-and-1st-blank-spaces-in-titles-of-songs/70715/7 "2026-02-17T15:40:15Z")

</div>

> [@TAHGOG](#):
>
> I think it is because me splitting up the original filename into artist and title not because using the discogs tool which i started using just now. Never the less i want to delete those blank spaces if they are there and prefer not to do it manually for approx 32k songs.

Thanks for clarifying.  
If you want to "clean/delete" the leading space you can use the `$trim()` command:  
`$trim(%TITLE%)`  
One way to use it is Convert -\> Tag - Tag:

 ![image](https://community.mp3tag.de/uploads/default/original/3X/5/8/586ca8a8773f1ae65d130fbcc6c0397b5a77b49c.png)

From the [documentation](https://docs.mp3tag.de/scripting/#string-functions):  
`$trim(x,c)`  
trims all leading and trailing whitespace from the string x. The optional second parameter c specifies the character to trim.

---

<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: [February 17, 2026, 3:44pm UTC](https://community.mp3tag.de/t/discogs-and-1st-blank-spaces-in-titles-of-songs/70715/8 "2026-02-17T15:44:36Z")

</div>

> [@TAHGOG](#):
>
> However i see in the metadata that there is a difference between genre and style when grabbing the metadata from discogs. Is there a way to show the style instead of genre, this is more clear for me what type of music it is than a generic division between general music styles.

Please start a new thread for this additional question.  
This makes it easier to follow and search for later.

---

<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 24, 2026, 3:45pm UTC](https://community.mp3tag.de/t/discogs-and-1st-blank-spaces-in-titles-of-songs/70715/9 "2026-02-24T15:45:23Z")

</div>

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