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

New into MPV #12

Closed
hellishvictor opened this issue Dec 2, 2022 · 3 comments
Closed

New into MPV #12

hellishvictor opened this issue Dec 2, 2022 · 3 comments

Comments

@hellishvictor
Copy link

hellishvictor commented Dec 2, 2022

Hi, I'm new into MPV and more to lua script, so I need some help. I've downloaded a twitch vod, and also its chat on a txt file. Both have the same name, with their respective extensions (VOD.mp4 and VOD.txt). I'm on Win 7 x64 btw. I've created the folders "scripts" and "script-opts" inside MPV, then I've renamed the script from "main.lua" to "Twitch-chat.lua", and put it on the "script" folder. Seems that I need to put a config file on the "script-opts" file, but a example will be appreciated.
Cheers.

@CrendKing
Copy link
Owner

If your question is how to use this script to show chat replay for downloaded files, the answer is no, this script is not design for that purpose. It is for online only.

If your question is how to use this script for its intended environment, all you need to do is install the script (as how you install any mpv plugin) and turn on subtitle when you watch a Twitch VOD URL. The only gimmick is that you need to provide valid Twitch API client ID, which you need to find out yourself.

@hellishvictor
Copy link
Author

If your question is how to use this script to show chat replay for downloaded files, the answer is no, this script is not design for that purpose. It is for online only.

Too bad.

you need to provide valid Twitch API client ID, which you need to find out yourself.

Ok, you killed me with that. I'm on the wrong place. Ty anyway.

@CrendKing
Copy link
Owner

CrendKing commented Dec 3, 2022

Too bad.

Because I believed nobody downloads the whole VOD to disk and then watch. It's not practical.

Ok, you killed me with that. I'm on the wrong place. Ty anyway.

For legal reason. Twitch does not allow anybody except themselves to access the chat replay (as I mentioned before). Which brings me to this question:

I've downloaded a twitch vod, and also its chat on a txt file.

How do you download the chat into a txt file in the first place? If you did it by scraping the page, I suggest you stay with www.twitch.tv. Otherwise, you should already have known the client ID to use.

@CrendKing CrendKing closed this as not planned Won't fix, can't repro, duplicate, stale Dec 3, 2022
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

2 participants