# Adding CD with TOC but without physical CD

**URL:** https://community.metabrainz.org/t/adding-cd-with-toc-but-without-physical-cd/210836
**Category:** MusicBrainz
**Created:** [February 12, 2017, 2:54pm UTC](https://community.metabrainz.org/t/adding-cd-with-toc-but-without-physical-cd/210836 "2017-02-12T14:54:05Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![sbin](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/s/9de053/32.png) [@sbin](https://community.metabrainz.org/u/sbin)
#### Post date: [February 12, 2017, 2:54pm UTC](https://community.metabrainz.org/t/adding-cd-with-toc-but-without-physical-cd/210836/1 "2017-02-12T14:54:06Z")

</div>

I have TOCs of CDs and Cover of front- and back-Cover. Can I add a release and/or search a CD with this information without having the physical CD. I think, can I do it like Picard but only without the CD?  
Thanks.

---

<div class="post-metadata">

### Author: ![Freso](https://community.metabrainz.org/user_avatar/community.metabrainz.org/freso/32/25_2.png) [@Freso](https://community.metabrainz.org/u/Freso)
#### Post date: [February 12, 2017, 3:38pm UTC](https://community.metabrainz.org/t/adding-cd-with-toc-but-without-physical-cd/210836/2 "2017-02-12T15:38:46Z")

</div>

There are certainly tools out there to generate DiscID (and DiscID submission URLs) if you have a full CD TOC (e.g., in a .cue file). I know libdiscid can do this, but that’s maybe step or two too low-level. 🙂

@JonnyJD maybe readily knows of some tool for this?

---

<div class="post-metadata">

### Author: ![ListMyCDs.com](https://community.metabrainz.org/user_avatar/community.metabrainz.org/listmycds.com/32/62_2.png) [@ListMyCDs.com](https://community.metabrainz.org/u/ListMyCDs.com)
#### Post date: [February 12, 2017, 3:43pm UTC](https://community.metabrainz.org/t/adding-cd-with-toc-but-without-physical-cd/210836/3 "2017-02-12T15:43:40Z")

</div>

If your CD rips have logs in EAC or XLD format you can use [http://eac-log-lookup.blogspot.fi/](http://eac-log-lookup.blogspot.fi/) for searching or for adding CD TOCs to MB.

---

<div class="post-metadata">

### Author: ![JonnyJD](https://community.metabrainz.org/user_avatar/community.metabrainz.org/jonnyjd/32/5966_2.png) [@JonnyJD](https://community.metabrainz.org/u/JonnyJD)
#### Post date: [February 12, 2017, 3:46pm UTC](https://community.metabrainz.org/t/adding-cd-with-toc-but-without-physical-cd/210836/4 "2017-02-12T15:46:45Z")

</div>

[https://www.kepstin.ca/projects/image-id/](https://www.kepstin.ca/projects/image-id/) should do that.

---

<div class="post-metadata">

### Author: ![SothoTalKer](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/s/839c29/32.png) [@SothoTalKer](https://community.metabrainz.org/u/SothoTalKer)
#### Post date: [February 12, 2017, 4:19pm UTC](https://community.metabrainz.org/t/adding-cd-with-toc-but-without-physical-cd/210836/5 "2017-02-12T16:19:29Z")

</div>

Additionally to the link from [ListMyCDs.com](http://ListMyCDs.com), there also exists a version in python to read a log/toc and open the attach toc page on MusicBrainz [https://gist.github.com/kolen/765526](https://gist.github.com/kolen/765526)

---

<div class="post-metadata">

### Author: ![sbin](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/s/9de053/32.png) [@sbin](https://community.metabrainz.org/u/sbin)
#### Post date: [February 14, 2017, 8:35pm UTC](https://community.metabrainz.org/t/adding-cd-with-toc-but-without-physical-cd/210836/6 "2017-02-14T20:35:48Z")

</div>

This link gives me the right direction to looking for.  
So I try the link from the python script and this link redirected me to [Log in - MusicBrainz](https://musicbrainz.org/cdtoc/attach?toc=)

- Now I add the toc with first the toc data length? always 1
- then number of tracks
- then last track offset
- then first track offset, second …  
This give the following link for “The Best of Anne-Sophie Mutter” CD 2: [Log in - MusicBrainz](https://musicbrainz.org/cdtoc/attach?toc=1%2011%20317597%20150%2039144%2072253%20115216%20145111%20177786%20219836%20236472%20275325%20294164%20304074)

Later when I add all Data I search with artist name in Picard so I can use the “tagger”.

---

<div class="post-metadata">

### Author: ![jesus2099](https://community.metabrainz.org/user_avatar/community.metabrainz.org/jesus2099/32/36_2.png) [@jesus2099](https://community.metabrainz.org/u/jesus2099)
#### Post date: [February 15, 2017, 8:47am UTC](https://community.metabrainz.org/t/adding-cd-with-toc-but-without-physical-cd/210836/7 "2017-02-15T08:47:21Z")

</div>

I have not really understood from what you want to build your TOC but please do not build up fake Disc ID based on ripped files or something like that.  
You will get inaccurate and/or rounded values.  
We base our trust on Disc ID, they come from CD and have milliseconds.  
If you do not have disc or trustworthy rip log, **just set track times** in the release editor, there is no need to add a fake CD TOC anyway, is it?  
Even from rip logs, I am not sure there are no problems if you have not first scanned for track gaps, etc.

---

<div class="post-metadata">

### Author: ![sbin](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/s/9de053/32.png) [@sbin](https://community.metabrainz.org/u/sbin)
#### Post date: [February 15, 2017, 1:19pm UTC](https://community.metabrainz.org/t/adding-cd-with-toc-but-without-physical-cd/210836/8 "2017-02-15T13:19:18Z")

</div>

I have **no** fake Disc ID!  
Situation is as followed:  
Friend of my ripped CD as flac. But have not time to tag the Files with Musicbrainz. So he send me the files and the TOC which he generate with “cd-discid --musicbrainz” ([https://github.com/taem/cd-discid](https://github.com/taem/cd-discid))  
Now I will tag this flac files wiht musicbrainz attributes. And the answer above was my solution.  
If you have a better one please tell me.  
The goal is that we don’t need to transport physical CDs but I can add releases to Musicbrainz.

---

<div class="post-metadata">

### Author: ![Freso](https://community.metabrainz.org/user_avatar/community.metabrainz.org/freso/32/25_2.png) [@Freso](https://community.metabrainz.org/u/Freso)
#### Post date: [February 15, 2017, 7:12pm UTC](https://community.metabrainz.org/t/adding-cd-with-toc-but-without-physical-cd/210836/9 "2017-02-15T19:12:29Z")

</div>

> [@sbin](#):
>
> which he generate with “cd-discid --musicbrainz” ([GitHub - taem/cd-discid: cd-discid is a backend utility to get CDDB discid information from a CD-ROM disc · GitHub](https://github.com/taem/cd-discid))

You may want to look into [libdiscid](https://musicbrainz.org/doc/libdiscid). This is the official DiscID library and @JonnyJD is making sure that it stays working as MusicBrainz changes (e.g., when we added support for hidden track one audio and trailing data track tracks). The DiscIDs produced by this are definitely sure to be proper MusicBrainz DiscIDs. 🙂 (Other tools in the wild have known to produce bad DiscIDs when encountering data tracks etc., hence the heads up. Your friend’s program may deal with this fine, I didn’t inspect the code!)

---

<div class="post-metadata">

### Author: ![Griomo](https://community.metabrainz.org/user_avatar/community.metabrainz.org/griomo/32/4414_2.png) [@Griomo](https://community.metabrainz.org/u/Griomo)
#### Post date: [July 3, 2017, 2:28pm UTC](https://community.metabrainz.org/t/adding-cd-with-toc-but-without-physical-cd/210836/10 "2017-07-03T14:28:02Z")

</div>

1. [quote=“Freso, post:9, topic:210836”]  
You may want to look into [libdiscid](https://musicbrainz.org/doc/libdiscid). This is the official DiscID library and @JonnyJD is making sure that it stays working as MusicBrainz changes (e.g., when we added support for hidden track one audio and trailing data track tracks). The DiscIDs produced by this are definitely sure to be proper MusicBrainz DiscIDs. […][/quote]  
How do I use it? I have the zip downloaded, no .exe there but “The interface of this library is new” – what interface?

2. [Database statistics](https://musicbrainz.org/statistics):  
Disc IDs: 702,757  
Releases with no disc IDs: 1,255,402 68.9%  
Mediums with no disc IDs: 1,387,495 67.7%

Can I do a search to find which existing CD Releases have no DiscID?

---

<div class="post-metadata">

### Author: ![aerozol](https://community.metabrainz.org/user_avatar/community.metabrainz.org/aerozol/32/116_2.png) [@aerozol](https://community.metabrainz.org/u/aerozol)
#### Post date: [September 27, 2017, 5:22am UTC](https://community.metabrainz.org/t/adding-cd-with-toc-but-without-physical-cd/210836/11 "2017-09-27T05:22:18Z")

</div>

I regularly do a search for this topic looking for this specific link:

> [@ListMyCDs.com](#):
>
> [http://eac-log-lookup.blogspot.fi/](http://eac-log-lookup.blogspot.fi/)

I’ve now bookmarked it, but still, here’s a bump with some key words so that google throws it up sooner instead of the slog it currently is.

musicbrainz create discid from log  
log to discid generator

---

<div class="post-metadata">

### Author: ![IvanDobsky](https://community.metabrainz.org/user_avatar/community.metabrainz.org/ivandobsky/32/11785_2.png) [@IvanDobsky](https://community.metabrainz.org/u/IvanDobsky)
#### Post date: [April 29, 2018, 1:34pm UTC](https://community.metabrainz.org/t/adding-cd-with-toc-but-without-physical-cd/210836/12 "2018-04-29T13:34:10Z")

</div>

> [@aerozol](#):
>
> [http://eac-log-lookup.blogspot.fi/](http://eac-log-lookup.blogspot.fi/)
> 
> I’ve now bookmarked it, but still, here’s a bump with some key words so that google throws it up sooner instead of the slog it currently is.
> 
> musicbrainz create discid from log
> 
> log to discid generator

This little page has been handy in the past, but I seem to be doing something wrong today. Is it just me or is the “lookup” button now missing? I can paste in the EAC logfile, but can’t see how to progress.

---

<div class="post-metadata">

### Author: ![aerozol](https://community.metabrainz.org/user_avatar/community.metabrainz.org/aerozol/32/116_2.png) [@aerozol](https://community.metabrainz.org/u/aerozol)
#### Post date: [May 1, 2018, 7:02am UTC](https://community.metabrainz.org/t/adding-cd-with-toc-but-without-physical-cd/210836/13 "2018-05-01T07:02:53Z")

</div>

Doesn’t seem to work for me either…  
I guess it was last update in 2011 haha: [https://gist.github.com/kolen/766668](https://gist.github.com/kolen/766668)  
Perhaps there’s an easy fix? I’m no coder though.

---

<div class="post-metadata">

### Author: ![IvanDobsky](https://community.metabrainz.org/user_avatar/community.metabrainz.org/ivandobsky/32/11785_2.png) [@IvanDobsky](https://community.metabrainz.org/u/IvanDobsky)
#### Post date: [May 1, 2018, 9:16am UTC](https://community.metabrainz.org/t/adding-cd-with-toc-but-without-physical-cd/210836/14 "2018-05-01T09:16:22Z")

</div>

The weird thing is I know I used this only a couple of months back. It worked well, but now I can’t remember how it operated. Which is why I am puzzled as to what is now missing.

The only other alternatives I am finding are all Linux based, which is a bit of a hassle.

---

<div class="post-metadata">

### Author: ![IvanDobsky](https://community.metabrainz.org/user_avatar/community.metabrainz.org/ivandobsky/32/11785_2.png) [@IvanDobsky](https://community.metabrainz.org/u/IvanDobsky)
#### Post date: [January 19, 2019, 8:16pm UTC](https://community.metabrainz.org/t/adding-cd-with-toc-but-without-physical-cd/210836/15 "2019-01-19T20:16:13Z")

</div>

Just to add this is working perfectly. The problem mention in my last post was only temporary.

---

<div class="post-metadata">

### Author: ![jesus2099](https://community.metabrainz.org/user_avatar/community.metabrainz.org/jesus2099/32/36_2.png) [@jesus2099](https://community.metabrainz.org/u/jesus2099)
#### Post date: [March 10, 2024, 1:28pm UTC](https://community.metabrainz.org/t/adding-cd-with-toc-but-without-physical-cd/210836/16 "2024-03-10T13:28:38Z")

</div>

> [@sbin](#):
>
> the TOC which he generate with “cd-discid --musicbrainz”

I know it’s an old topic, but I’m adding a warning everywhere I see cd-discid mentionned.  
It’s a pity because I really liked it, but **this nice little tool should not be used for MusicBrainz** , as [cd-discid is affected by 3 bugs and it produces wrong data](https://community.metabrainz.org/t/cant-download-title-and-artist-info/685170/6).

You should use a tool that uses the official libdiscid, like [musicbrainz-isrcsubmit](https://jonnyjd.github.io/musicbrainz-isrcsubmit/) or [MusicBrainz Picard tagger](https://picard.musicbrainz.org).
