Skip to content

Option to ignore non-video files and specific folders #42

@doriuf

Description

@doriuf

Feature Request

I’d like to request two new options for webtorrent-mpv-hook to improve how it selects which file to play from a torrent, especially when multiple video files are present.

Problem

Some torrents contain extra folders like Featurettes, Extras, or Behind the Scenes, and files such as:

  • Sample clips
  • Short extras
  • Non-video files like .nfo, .jpg, .txt, etc.

Currently, webtorrent-mpv-hook starts playing the first file it finds, which is often not the main movie or episode.

Proposed Solution

Add two new options in script-opts/webtorrent.conf:

ignoreFolders=Featurettes,Extras,Behind the Scenes
videoOnly=true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions