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

Error on vod download #468

Open
qsor27 opened this issue Oct 10, 2023 · 4 comments
Open

Error on vod download #468

qsor27 opened this issue Oct 10, 2023 · 4 comments

Comments

@qsor27
Copy link

qsor27 commented Oct 10, 2023

I'm getting an error when I try to download a vod.

192.168.1.1 - - [10/Oct/2023:20:35:46 +0000] "POST /api/v0/tools/vod_download HTTP/1.1" 400 65 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 Edg/117.0.2045.43"
2023-10-10T20:35:46.886Z | helper.execAdvanced Process 77 for download_vod_1943167440 exited with code 1
2023-10-10T20:35:45.507Z | vod.downloadVideo Download VOD 1943167440
2023-10-10T20:35:45.614Z | vod.downloadVideo Downloading VOD 1943167440...
2023-10-10T20:35:45.640Z | job.save Save job download_vod_1943167440 with PID 77 to /usr/local/share/twitchautomator/data/cache/pids/download_vod_1943167440.json
2023-10-10T20:35:45.630Z | helper.execAdvanced Spawned process 77 for download_vod_1943167440
2023-10-10T20:35:45.643Z | helper.execAdvanced Attached to all streams for process 77 for download_vod_1943167440
2023-10-10T20:35:46.884Z | job.clear Job download_vod_1943167440 removed from jobs list
2023-10-10T20:35:46.881Z | job.clear Clear job download_vod_1943167440 with PID 77
2023-10-10T20:35:46.888Z | http.api API error 400 returned: {"status":"ERROR","message":"Error downloading video: undefined"}

MrBrax added a commit that referenced this issue Oct 10, 2023
@MrBrax
Copy link
Owner

MrBrax commented Oct 10, 2023

i'm guessing this is because it's a subscriber only vod

@qsor27
Copy link
Author

qsor27 commented Oct 10, 2023

I've added my token to /config/twitch_oauth.txt is that supposed to allow it to work? I'm of course subscribed to the twitch channel as well.

@MrBrax
Copy link
Owner

MrBrax commented Oct 10, 2023

it is never applied to the vod download feature, but i should be able to implement that

MrBrax added a commit that referenced this issue Oct 11, 2023
@MrBrax
Copy link
Owner

MrBrax commented Oct 11, 2023

I just pushed an update to the dev branch, when that's done compiling there's a new config option "Enable VOD download auth" that needs to be enabled.

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

No branches or pull requests

2 participants