Michele0303 / tiktok-live-recorder

🎥✨ A TikTok live streaming recorder tool written in Python. Capture and relive your favorite TikTok moments effortlessly. 🎥✨
MIT License
352 stars 93 forks source link

Change the frequency of automatic recordings #93

Open Necrow51 opened 7 months ago

Necrow51 commented 7 months ago

Hi, The frequency of automatic recordings is set to 5 minutes by default, is it possible to change the value?

Rustbeard86 commented 1 week ago

I realize this is an old question, but here is the answer. tiktok-live-recorder\src\utils\enums.py -> That file has the logic you want.

`class TimeOut(IntEnum): """ Enumeration that defines timeout values. """

def __mul__(self, operator):
    return self.value * operator

ONE_MINUTE = 60
AUTOMATIC_MODE = 5
CONNECTION_CLOSED = 2`

AUTOMATIC_MODE = 1

Or something similar.