RIP freedb.org -- Add notes/todos re migrating to MusicBrainz master
authorSteve Youngs <steve@steveyoungs.com>
Sat, 20 Feb 2021 02:41:06 +0000 (12:41 +1000)
committerSteve Youngs <steve@steveyoungs.com>
Sat, 20 Feb 2021 02:41:06 +0000 (12:41 +1000)
* zcdrip.in: Add todo item and FIXMEs for MusicBrainz migration.
(usage): RIP freedb.org.

* zdiscid.c: Add todo item for migrating to MusicBrainz.

Signed-off-by: Steve Youngs <steve@steveyoungs.com>
zcdrip.in
zdiscid.c

index d0e9743..6312876 100644 (file)
--- a/zcdrip.in
+++ b/zcdrip.in
@@ -5,7 +5,7 @@
 ## Author:        Steve Youngs <steve@steveyoungs.com>
 ## Maintainer:    Steve Youngs <steve@steveyoungs.com>
 ## Created:       <2006-08-08>
-## Time-stamp:    <Saturday Feb 20, 2021 10:42:08 steve>
+## Time-stamp:    <Saturday Feb 20, 2021 12:38:28 steve>
 
 ## Redistribution and use in source and binary forms, with or without
 ## modification, are permitted provided that the following conditions
@@ -45,7 +45,8 @@
 ##    o Partial album ripping.  Specify track numbers or a range of
 ##      track numbers to only rip/encode those tracks.
 ##
-##    o Ripping from music DVDs
+##    o Rewrite online metadata retrieval to use MusicBrainz instead
+##      of freedb.org as the latter no longer exists.
 ##
 
 ### Bugs:
@@ -164,6 +165,11 @@ Options:
   -O
   --online
         Attempt to grab the track info from freedb.freedb.org.
+        DO NOT USE.
+
+        freedb.org no longer exists.  The plan is for zcdrip to
+       use MusicBrainz instead of freedb.org but it is not yet
+       implemented.
 
   -p PLAYLISTFILE
   --playlist=PLAYLISTFILE
@@ -268,6 +274,11 @@ Environment Variables:
 
 Example Usage:
 -------------
+  ## Note:
+  Currently, online metadata retrieval is not possible because freedb.org
+  no longer exists.  We will be converting to MusicBrainz but that is yet
+  to be implemented.  In the meantime, the examples below that use the
+  '-O' option are presently not valid.
 
   Probably the most common usage would be to encode to Ogg/Vorbis
   format using track info obtained from freedb.freedb.org.  Like
@@ -339,6 +350,7 @@ fnamefix ()
     done
 }
 
+### FIXME: freedb.org no longer exists. Convert to MusicBrainz.
 ### freedb magic
 _freedb_login ()
 {
@@ -366,6 +378,7 @@ _freedb_login ()
     return 0
 }
 
+### FIXME: freedb.org no longer exists. Convert to MusicBrainz.
 _parse_cddb ()
 {
     local various=yes
@@ -426,6 +439,7 @@ _parse_cddb ()
     
 }
 
+### FIXME: freedb.org no longer exists. Convert to MusicBrainz.
 _freedb_read ()
 {
     if [[ -z $1 ]]; then
@@ -444,6 +458,7 @@ _freedb_read ()
     
 }
 
+### FIXME: freedb.org no longer exists. Convert to MusicBrainz.
 _freedb_query ()
 {
     if [[ -z $1 ]]; then
@@ -512,6 +527,7 @@ _freedb_query ()
     esac
 }
 
+### FIXME: freedb.org no longer exists. Convert to MusicBrainz.
 do_online ()
 {
     autoload -U tcp_open
index cb17989..1d3afcf 100644 (file)
--- a/zdiscid.c
+++ b/zdiscid.c
@@ -1,7 +1,7 @@
 /* zdiscid.c -- Print the CDDB disc ID for an audio CD  */
 
 /* 
- * Copyright (C) 2006 - 2011 Steve Youngs
+ * Copyright (C) 2006 - 2021 Steve Youngs
  */
 
 /* 
  * Commentary:
  *  
  *   Print the CDDB disc ID for an audio CD.
+ *
+ * Todo:
+ *
+ *   o Rewrite to return a MusicBrainz MBID.
+ *     Because freedb.org is dead and we need to switch to MusicBrainz
  */
 
 /* Code: */