# Seeding Recordings

**URL:** https://community.metabrainz.org/t/seeding-recordings/188972
**Category:** Development
**Tags:** userscripts, recording, musicbrainz
**Created:** [January 4, 2017, 6:46am UTC](https://community.metabrainz.org/t/seeding-recordings/188972 "2017-01-04T06:46:01Z")
**Posts on this page:** 1
**Showing post:** 13

<div class="post-metadata">

### Author: ![derat](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/d/71c47a/32.png) [@derat](https://community.metabrainz.org/u/derat)
#### Post date: [November 7, 2022, 12:02pm UTC](https://community.metabrainz.org/t/seeding-recordings/188972/13 "2022-11-07T12:02:25Z")

</div>

In case it helps anyone else, I finally figured out how to seed URL relationships for standalone recordings!

The relevant GET query parameters are e.g. `edit-recording.url.0.text` and `edit-recording.url.0.link_type_id`.

I found the names in a regular expression in [root/static/scripts/edit/externalLinks.js](https://github.com/metabrainz/musicbrainz-server/blob/master/root/static/scripts/edit/externalLinks.js):

```auto
      // Terribly get seeded URLs
      if (MB.formWasPosted) {
        // [omitted]
      } else {
        const seededLinkRegex = new RegExp(
          '(?:\\?|&)edit-' + sourceType +
            '\\.url\\.([0-9]+)\\.(text|link_type_id)=([^&]+)',
          'g',
        );

```

---

_[View the full topic](https://community.metabrainz.org/t/seeding-recordings/188972)._
