Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documented option “-h” does not display help #115

Closed
jesus2099 opened this issue Jan 2, 2017 · 4 comments
Closed

Documented option “-h” does not display help #115

jesus2099 opened this issue Jan 2, 2017 · 4 comments

Comments

@jesus2099
Copy link
Contributor

I tried with both isrcsubmit.bat and isrcsubmit.py but none of those displayedd any kind of help:

  • -h — as documented on the site and in the README
  • /d — DOS style
  • --help — UNIX style
  • -H — UNIX style
@Freso
Copy link
Collaborator

Freso commented Nov 1, 2018

~/D/M/musicbrainz-isrcsubmit (master)> ./isrcsubmit.py -h
isrcsubmit 2.0.1 by JonnyJD for MusicBrainz

Usage: isrcsubmit.sh [options] [user] [device]
       isrcsubmit.sh -h

Options:
  --version             show program's version number and exit
  -h                    Short usage help
  --help                Complete help for the script
  -u USERNAME, --user=USERNAME
                        MusicBrainz username, if not given as argument.
  -d DEVICE, --device=DEVICE
                        CD device with a loaded audio cd, if not given as
                        argument. The default is /dev/cdrom.
  --release-id=RELEASE_ID
                        Optional MusicBrainz ID of the release. This will be
                        gathered if not given.
  -b PROGRAM, --backend=PROGRAM
                        Force using a specific backend to extract ISRCs from
                        the disc. Possible backends are: mediatools,
                        media_info, cdrdao, libdiscid, discisrc. They are
                        tried in this order otherwise.
  --browser=BROWSER     Program to open URLs. This will be automatically
                        detected for most setups, if not chosen manually.
  --force-submit        Always open TOC/disc ID in browser.
  --server=SERVER       Server to send ISRCs to. Default: musicbrainz.org
  --debug               Show debug messages. Currently shows some backend
                        messages.
  --keyring             Use keyring if available.
  --no-keyring          Disable keyring.

Works for me. Can you give some more details about your setup?

@jesus2099
Copy link
Contributor Author

Thanks @Freso, I will try again and see.

@cdlm
Copy link

cdlm commented May 5, 2019

In my case I did pip install isrcsubmit. Seems like that isn't enough to install the binary dependencies, and I don't think pip reported a problem during the install; isrcsubmit.py -h would fail with a stack trace indicating one of the .so could not be found. After installing the libs through pacman, it seems to work.

@jesus2099
Copy link
Contributor Author

@Freso @JonnyJD
I found the issue, I think it’s specific to my computer.
I either manually associated .py files with python.exe or its installation is flawed.
In the regedit I found this:

HKEY_USERS\<some_user_id>\Software\Classes\Applications\python.exe\shell\open\command = "C:\Python34\python.exe" "%1"

And I then changed it to: "C:\Python34\python.exe" "%1" %* and now everything is super great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants