blob: 301161f7a1cb13ff2e1b4690c6f4c45a9e2b6819 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# discidurl
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
discidurl | xargs -r xdg-open
```
|