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

[feature request] command to make a clip #8

Open
Lyfhael opened this issue Aug 29, 2022 · 0 comments
Open

[feature request] command to make a clip #8

Lyfhael opened this issue Aug 29, 2022 · 0 comments

Comments

@Lyfhael
Copy link

Lyfhael commented Aug 29, 2022

Sometime channels disable clips. I thought it would be interesting while you record a stream, to have a command to make a clip.

Also, a bug if stream is live and I start recording, but that there's no VOD, program won't start recording.

➜  ~ twitch_utils record --oauth=add_oauth pommed0r12345 -j 2
Traceback (most recent call last):
  File "/usr/local/bin/twitch_utils", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.7/dist-packages/twitch_utils/__init__.py", line 29, in main
    record_main(argv)
  File "/usr/local/lib/python3.7/dist-packages/twitch_utils/record.py", line 292, in main
    v = api.find_vod(channel)
  File "/usr/local/lib/python3.7/dist-packages/twitch_utils/twitch.py", line 46, in find_vod
    return stream['archiveVideo']['id']
TypeError: 'NoneType' object is not subscriptable

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

1 participant