Services

class tube.services.video_services.VideoServices[source]

Bases: object

A class that provides services for video processing.

static get_pathes_from_result(result)[source]

Get the path, file name and subtitles files from the result of the yt-dlp command.

Parameters:

result – The result of the yt-dlp command.

Returns:

The path to the previous file, the path to the subtitles file and the file name.

Return type:

tuple