# Can You Create A Genre Import Only Script For Discogs For Me?

**URL:** https://community.mp3tag.de/t/can-you-create-a-genre-import-only-script-for-discogs-for-me/56162
**Category:** Support
**Created:** [February 1, 2022, 3:34pm UTC](https://community.mp3tag.de/t/can-you-create-a-genre-import-only-script-for-discogs-for-me/56162 "2022-02-01T15:34:50Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![817payday](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/8/47e85d/32.png) [@817payday](https://community.mp3tag.de/u/817payday)
#### Post date: [February 1, 2022, 3:34pm UTC](https://community.mp3tag.de/t/can-you-create-a-genre-import-only-script-for-discogs-for-me/56162/1 "2022-02-01T15:34:50Z")

</div>

I've Been Trying To Create A Genre Only Script For Discogs But I Really Have No Idea What I'm Doing. I've Tried Searching Here To Find A Script That Does What I'm Looking For And The Only Article I Found Is This One From 2007 .... [Genre Import Only](https://community.mp3tag.de/t/genre-import-only/4359)

Its Not Working Probably Because Everything In The Script Is Outdated. I Tried Updating It But Like I Said I Really Don't Know What I'm Doing So That Didn't Work.

What I'm Looking For Is To Import The Genre Only For Multiple Tracks That Have Multiple Different Genres. I Want It To Search By The Artist Only, And For It To Select Whatever The 1st Album Is In The Search (Mainly Because Most Artist Do Songs In The Same Genre). I Want I To Be Able To Overwrite Whatever Is Currently In The Genre Field. It Also Doesn't Have To Be Discogs, It Can Be Itunes Or Even Spotify. Whatever Is Easiest.

I'm Doing This Because I Have A Few Hundred Thousand Songs In My Serato That Say "Other" For The Genre And I Gotta Clean It Up. Please Help! 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: [February 1, 2022, 3:41pm UTC](https://community.mp3tag.de/t/can-you-create-a-genre-import-only-script-for-discogs-for-me/56162/2 "2022-02-01T15:41:43Z")

</div>

Perhaps you have more luck with this:

> [@\[WS\] Beatport.com by stevehero \[Release, Single Track & Artwork tagging\]](https://community.mp3tag.de/t/beatport-com-wss-by-stevehero-release-single-track-artwork-tagging/12568):
>
> [image] [[pngegg]](https://revolut.me/stephen147)[[62977a08e01809629f113557]](https://paypal.me/3dit) Mp3tag ver required Mac ver 1.8.4 / Win ver 3.26 (or Newer) Last updated 2024.10.08 Reading time 2 mins Scripts download [beatport by stevehero v6.007 Scripts.zip](https://community.mp3tag.de/uploads/short-url/uO5kfE9rqviqb6HZbBFR6nBxfkZ.zip) (45.5 KB) INSTALL + USE THE SCRIPTS Download the .zip file above ([donate here](https://revolut.me/stephen147), for a beer_mug or three) and extract it to the %appdata%\mp3tag\data\sources directory. See [this post](https://community.mp3tag.de/t/freedb-and-web-sources/2748/3) for more info. Load your files into the Mp3tag UI, sel…

It has a genre only script.

---

<div class="post-metadata">

### Author: ![817payday](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/8/47e85d/32.png) [@817payday](https://community.mp3tag.de/u/817payday)
#### Post date: [February 1, 2022, 4:07pm UTC](https://community.mp3tag.de/t/can-you-create-a-genre-import-only-script-for-discogs-for-me/56162/3 "2022-02-01T16:07:13Z")

</div>

Thanks But [Beatport.com](http://Beatport.com) Won't Work Because They Classify Some Hip-Hop Songs As Trap. That Won't Work With My Current Classifications Because I Need Hip-Hop Songs To Say Hip Hop Or Rap.

---

<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: [February 1, 2022, 4:10pm UTC](https://community.mp3tag.de/t/can-you-create-a-genre-import-only-script-for-discogs-for-me/56162/4 "2022-02-01T16:10:42Z")

</div>

> [@817payday](#):
>
> Trap. ...Because I Need Hip-Hop Songs To Say Hip Hop Or Rap.

Wouldn't it be easy in an action to replace Trap with Hip Hop or rap?  
TBH: the response to requests like "could someone write me a web source script?" is usually nil.  
See e.g. this collection:

> [@Web Source Script for mygreek.fm](https://community.mp3tag.de/t/web-source-script-for-mygreek-fm/40774):
>
> Hello, Can someone help me to make a script for mygreek.fm

Perhaps you are lucky that someone has mercy this time - if in the end you have no customized script, then you still have to find another way... like an existing script plus customizing actions.

---

<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 1, 2022, 4:24pm UTC](https://community.mp3tag.de/t/can-you-create-a-genre-import-only-script-for-discogs-for-me/56162/5 "2022-02-01T16:24:46Z")

</div>

@817payday  
First you have to find a Websource Script which delivers the Genre as you need it (together with many more tags you don't want). Then you have 2 ways to achieve what you request:  
a) You can modify a copy of your script by yourself. Just omitting unwanted tags is easy and only need some `set` commands at the end of the script  
**or**  
b) as @ohrenkino already wrote: You can use the existing script and then delete unwanted tags or modify exisiting tag content with Mp3tag actions.

---

<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 1, 2022, 4:33pm UTC](https://community.mp3tag.de/t/can-you-create-a-genre-import-only-script-for-discogs-for-me/56162/6 "2022-02-01T16:33:38Z")

</div>

Just as a side note:

> [@817payday](#):
>
> They classify some Hip-Hop songs as Trap.

Found [online:](https://festivalpeak.com/rap-or-trap-f6aadd3f1b10)

> To be clear, **rap** is the delivery used in hip-hop music and **trap** is a sub-genre of hip-hop music. Therefore, out of the two, only trap is a genre. Trap derives from hip-hop, an urban-based genre from New York City.

---

<div class="post-metadata">

### Author: ![817payday](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/8/47e85d/32.png) [@817payday](https://community.mp3tag.de/u/817payday)
#### Post date: [February 1, 2022, 4:52pm UTC](https://community.mp3tag.de/t/can-you-create-a-genre-import-only-script-for-discogs-for-me/56162/7 "2022-02-01T16:52:23Z")

</div>

> [@ohrenkino](#):
>
> Wouldn't it be easy in an action to replace Trap with Hip Hop or rap?

> [@LyricsLover](#):
>
> Just as a side note:

For My Setup, All Of My Music Classified As Trap Is EDM Trap Music. Your Solution To Convert Them All Back To Hip-Hop Might Work In Small Batches, But I Have A Few Hundred Thousand Files I Need To Correct The Genre On. If I Ran The Script I Would Have Hip Hop Songs Labelled Trap And EDM Songs Also Labelled As Trap. I Need These 2 Groups To Stay Seperated Because I'm Moving All My EDM Music To A Seperate Drive. Currently Right Now I Have Hip-Hop Songs With The Genre As "Other" And Also Some EDM Trap Songs Labelled As "Other" And Theres No Real Way To Seperate The 2 Out So You See My Dilemma.

> [@ohrenkino](#):
>
> TBH: the response to requests like "could someone write me a web source script?" is usually nil.

I'm At A Point Where Im Willing To Pay For This So Hopefully Thats An Incentive To Get Someone With The Skills I Need.

---

<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: [February 1, 2022, 5:46pm UTC](https://community.mp3tag.de/t/can-you-create-a-genre-import-only-script-for-discogs-for-me/56162/8 "2022-02-01T17:46:24Z")

</div>

> [@817payday](#):
>
> Might Work In Small Batches

I am not sure what you expect from a web source script.  
I think that the biggest chunk of files that can be processed in 1 go is an album.  
There is no function available for which you select let's say 10 artists and the web source script then retrieves a genre for each artist.  
If you really have such huge amounts of files without the genre that you consider to be the proper one, I fear that this will take a lot of time if it boils down to treat each title indvidually.

---

<div class="post-metadata">

### Author: ![817payday](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/8/47e85d/32.png) [@817payday](https://community.mp3tag.de/u/817payday)
#### Post date: [February 1, 2022, 6:17pm UTC](https://community.mp3tag.de/t/can-you-create-a-genre-import-only-script-for-discogs-for-me/56162/9 "2022-02-01T18:17:50Z")

</div>

Oh Boy 😥 Well The Search Continues......

---

<div class="post-metadata">

### Author: ![817payday](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/8/47e85d/32.png) [@817payday](https://community.mp3tag.de/u/817payday)
#### Post date: [February 1, 2022, 6:25pm UTC](https://community.mp3tag.de/t/can-you-create-a-genre-import-only-script-for-discogs-for-me/56162/10 "2022-02-01T18:25:33Z")

</div>

Is There Someplace I Could Learn To Write The Scrips On My Own? I've Searched Youtube For Videos On Writing MP3tag Scripts With No Luck. I've Even Tried To See If There Is A Masterclass Or Something On It....

---

<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: [February 1, 2022, 6:28pm UTC](https://community.mp3tag.de/t/can-you-create-a-genre-import-only-script-for-discogs-for-me/56162/11 "2022-02-01T18:28:21Z")

</div>

> [@817payday](#):
>
> I'm Doing This Because I Have A Few Hundred Thousand Songs In My Serato That Say "Other" For The Genre And I Gotta Clean It Up. Please Help! Thanks

This will be no easy task for a library of songs this big with no defined genre already.

> [@817payday](#):
>
> Thanks But [Beatport.com](http://Beatport.com) Won't Work Because They Classify Some Hip-Hop Songs As Trap. That Won't Work With My Current Classifications Because I Need Hip-Hop Songs To Say Hip Hop Or Rap.

Wouldn't this be better than "Other" looks right now?

> [@817payday](#):
>
> Oh Boy 😥 Well The Search Continues......

Other than the existing options that were provided, I'm not sure there are many other "easy" ways to do this. Again if the effort is to eliminate the genre of "Other" and place something of value, I would at least use one of the methods above.

---

<div class="post-metadata">

### Author: ![817payday](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/8/47e85d/32.png) [@817payday](https://community.mp3tag.de/u/817payday)
#### Post date: [February 1, 2022, 7:15pm UTC](https://community.mp3tag.de/t/can-you-create-a-genre-import-only-script-for-discogs-for-me/56162/12 "2022-02-01T19:15:11Z")

</div>

> [@MotleyG](#):
>
> Wouldn't this be better than "Other" looks right now?

I'm Trying To Test It Out Right Now To See If There's A Way I Could Work Around It. The Issue I'm Running Into With The Beatport Script Is That It Doesn't "Artist Search" By Itself For Its "Genre Only" Tag Searches. So I'm Trying To Tweak It To See If I Can Get It To Search Only By Artist And Import Only The Genre For Each Track. Wish Me Luck

---

<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:29pm UTC](https://community.mp3tag.de/t/can-you-create-a-genre-import-only-script-for-discogs-for-me/56162/13 "2026-02-09T12:29:39Z")

</div>


