# WSS Options: Choose which tag to search

**URL:** https://community.mp3tag.de/t/wss-options-choose-which-tag-to-search/41334
**Category:** General Discussion
**Created:** [April 5, 2018, 12:10am UTC](https://community.mp3tag.de/t/wss-options-choose-which-tag-to-search/41334 "2018-04-05T00:10:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)
#### Post date: [April 5, 2018, 12:10am UTC](https://community.mp3tag.de/t/wss-options-choose-which-tag-to-search/41334/1 "2018-04-05T00:10:17Z")

</div>

Hopefully, I can make it clear what could be done here.

Currently, I have 5 scripts for example with 99% the same code written and I would like to have one script with search options.

Beatport by &stevehero v4.3#RELEASE Search by &Filename.src  
Beatport by &stevehero v4.3#RELEASE Search by (Album)Artist + &Release.src  
Beatport by &stevehero v4.3#RELEASE Search by (Album)Artist + &Title.src  
Beatport by &stevehero v4.3#RELEASE Search by Relea&Se.src  
Beatport by &stevehero v4.3#RELEASE Search by Titl&E.src  
Beatport by &stevehero v4.3#RELEASE Search by &Artist.src

The _only_ difference in them is this line.  
`[SearchBy]=[ARTIST for RELEASE]%artist%`

Which vary throughout those 5 scripts.

I would love if this was an option to assign these to the following inside the scripts.  
`[SearchBy1]=[FILENAME Search]%_filename%`  
`[SearchBy2]=[ARTIST & ALBUM Search]%artist% %album%`  
`[SearchBy3]=[ARTIST & TITLE Search]%artist% %title%`  
`[SearchBy4]=[TITLE Search]%title`  
`[SearchBy5]=[ARTIST Search]%artist%`

Notice the `SearchBy1` `SearchBy2` with increments.

So then, this is where a drop-down box comes in once that script fires up.  
It displays the 5 items in a listbox, fills the relevant data in the editbox for user editability as normal and runs that particular search once the user presses **Next**.

The default would obviously be `SearchBy1`.

This would really cut down on editing every single script to make a small change for users plus giving users flexibility and ease of use with more options available.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [October 8, 2019, 1:21pm UTC](https://community.mp3tag.de/t/wss-options-choose-which-tag-to-search/41334/2 "2019-10-08T13:21:41Z")

</div>

I've added this with Mp3tag v2.98 which now supports includes for web sources via

> **`[Include]`** This key references another web source description file which is included into this file. The keys from the referenced file overwrite the keys from the referencing file. Examples of this feature can be found with the standard Discogs.src which references Discogs.inc to reduce code duplication.

---

<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: [November 7, 2019, 1:21pm UTC](https://community.mp3tag.de/t/wss-options-choose-which-tag-to-search/41334/3 "2019-11-07T13:21:44Z")

</div>

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