aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..6402eb5
--- /dev/null
+++ b/README.md
@@ -0,0 +1,11 @@
+# pdiscidurl
+
+This program prints the `discid` submission URL to `STDOUT`. _That's it_.
+
+It's a trimmed down version of [libdiscid/examples/discid.c](https://github.com/metabrainz/libdiscid/blob/fa13fb499755ef63e4cd0bfde426aec1904e3f5f/examples/discid.c).
+
+When paired with something like `xdg-open`, the submission page of the current disc opens in the preferred browser:
+
+``` sh
+pdiscidurl | xargs -r xdg-open
+```