nudebomb


Namenudebomb JSON
Version 0.3.6 PyPI version JSON
download
home_pagehttps://github.com/ajslater/nudebomb
SummaryStrip unused languages from mkv files en mass
upload_time2024-02-19 01:03:31
maintainer
docs_urlNone
authorAJ Slater
requires_python>=3.10,<4.0
licenseGPL-3.0-only
keywords mkv movie video srt audio subtitles
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Nudebomb

The Nudebomb recursively strips matroska media files of unwanted audio and
subtitle tracks.

## News

You may find user focused nudebomb changes in the
[NEWS file](https://github.com/ajslater/nudebomb/tree/NEWS.md).

## Requirements

- MKVToolNix
- Python3

## Install

    pip install

## Usage

### Posix

    nudebomb -rl eng,fre /mnt/movies

### Windows

    nudebomb -b C:\\Program/ Files\MKVToolNix\mkvmerge.exe -rl eng,jap \\nas\movies

## Config

You may configure Nudebomb options via the command, a yaml config file and
environment variables.

### Environment variable format

Prefix environment variables with `NUDEBOMB_NUDEBOMB__` and enumerate lists
elements:

```sh
NUDEBOMB_NUDEBOMB__RECURSE=True
NUDEBOMB_NUDEBOMB__LANGUAGES__0=und
NUDEBOMB_NUDEBOMB__LANGUAGES__1=eng
```

## Lang Files

While you may have a primary language, you probably want videos from other
countries to keep their native language as well. Lang files let you do this.

Lang files are persistent files on disk that nudebomb parses to keep to all
languages in them in the mkvs in the current directory and all mkvs in sub
directories.

Valid lang file names are: 'lang', 'langs', '.lang', or '.langs' They include
comma separated list of languages to keep like the `-l` option.

e.g. You may have an entire collecttion of different TV shows with a root lang
file containing the `eng` language. Under that directory you may have a specific
TV show directory with lang file containing `jpn`. All mkvs in season
directories under that would then keep both the `eng` and `jpn` languages, while
other TV shows would keep only `eng` languages.

For each mkv file, nudebomb looks up the directory tree for each parent lang
file and uses the union of all languages found to determine what languages to
keep.

### APIs

Langfiles would be obsolete if nudebomb could deterimining native languages for
mkv files by polling and caching results from major online media databases. It's
the right thing to do, but I don't care to implement it. Patches or forks
welcome.

## Inspiration

Nudebomb is a radical fork of [mkvstrip](https://github.com/willforde/mkvstrip).
It adds recursion, lang files, timestamps and more configuration to mkvstrip and
fixes some minor bugs.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ajslater/nudebomb",
    "name": "nudebomb",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10,<4.0",
    "maintainer_email": "",
    "keywords": "mkv,movie,video,srt,audio,subtitles",
    "author": "AJ Slater",
    "author_email": "aj@slater.net",
    "download_url": "https://files.pythonhosted.org/packages/08/7b/87239753355b4c922af6e1f121ce007fe50bb534baf0d893cfb8be1a3ee4/nudebomb-0.3.6.tar.gz",
    "platform": null,
    "description": "# Nudebomb\n\nThe Nudebomb recursively strips matroska media files of unwanted audio and\nsubtitle tracks.\n\n## News\n\nYou may find user focused nudebomb changes in the\n[NEWS file](https://github.com/ajslater/nudebomb/tree/NEWS.md).\n\n## Requirements\n\n- MKVToolNix\n- Python3\n\n## Install\n\n    pip install\n\n## Usage\n\n### Posix\n\n    nudebomb -rl eng,fre /mnt/movies\n\n### Windows\n\n    nudebomb -b C:\\\\Program/ Files\\MKVToolNix\\mkvmerge.exe -rl eng,jap \\\\nas\\movies\n\n## Config\n\nYou may configure Nudebomb options via the command, a yaml config file and\nenvironment variables.\n\n### Environment variable format\n\nPrefix environment variables with `NUDEBOMB_NUDEBOMB__` and enumerate lists\nelements:\n\n```sh\nNUDEBOMB_NUDEBOMB__RECURSE=True\nNUDEBOMB_NUDEBOMB__LANGUAGES__0=und\nNUDEBOMB_NUDEBOMB__LANGUAGES__1=eng\n```\n\n## Lang Files\n\nWhile you may have a primary language, you probably want videos from other\ncountries to keep their native language as well. Lang files let you do this.\n\nLang files are persistent files on disk that nudebomb parses to keep to all\nlanguages in them in the mkvs in the current directory and all mkvs in sub\ndirectories.\n\nValid lang file names are: 'lang', 'langs', '.lang', or '.langs' They include\ncomma separated list of languages to keep like the `-l` option.\n\ne.g. You may have an entire collecttion of different TV shows with a root lang\nfile containing the `eng` language. Under that directory you may have a specific\nTV show directory with lang file containing `jpn`. All mkvs in season\ndirectories under that would then keep both the `eng` and `jpn` languages, while\nother TV shows would keep only `eng` languages.\n\nFor each mkv file, nudebomb looks up the directory tree for each parent lang\nfile and uses the union of all languages found to determine what languages to\nkeep.\n\n### APIs\n\nLangfiles would be obsolete if nudebomb could deterimining native languages for\nmkv files by polling and caching results from major online media databases. It's\nthe right thing to do, but I don't care to implement it. Patches or forks\nwelcome.\n\n## Inspiration\n\nNudebomb is a radical fork of [mkvstrip](https://github.com/willforde/mkvstrip).\nIt adds recursion, lang files, timestamps and more configuration to mkvstrip and\nfixes some minor bugs.\n",
    "bugtrack_url": null,
    "license": "GPL-3.0-only",
    "summary": "Strip unused languages from mkv files en mass",
    "version": "0.3.6",
    "project_urls": {
        "Documentation": "https://github.com/ajslater/nudebomb",
        "Homepage": "https://github.com/ajslater/nudebomb",
        "Issues": "https://github.com/ajslater/nudebomb/issues",
        "Source": "https://github.com/ajslater/nudebomb"
    },
    "split_keywords": [
        "mkv",
        "movie",
        "video",
        "srt",
        "audio",
        "subtitles"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e6dd82ee02dfc57a22c5fcb22c3f1740e4446e764206eac9d7d6599cfc4143f6",
                "md5": "489d11ff1171b07aa22cc17c04c31e69",
                "sha256": "d7c610fa960a2ec14182a6381354d787cb7dd270e3ff9d5f24a88cf7bcd5d4e3"
            },
            "downloads": -1,
            "filename": "nudebomb-0.3.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "489d11ff1171b07aa22cc17c04c31e69",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10,<4.0",
            "size": 24622,
            "upload_time": "2024-02-19T01:03:29",
            "upload_time_iso_8601": "2024-02-19T01:03:29.874012Z",
            "url": "https://files.pythonhosted.org/packages/e6/dd/82ee02dfc57a22c5fcb22c3f1740e4446e764206eac9d7d6599cfc4143f6/nudebomb-0.3.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "087b87239753355b4c922af6e1f121ce007fe50bb534baf0d893cfb8be1a3ee4",
                "md5": "856baf1b93c9dac5939efca1358ffb51",
                "sha256": "4ef900af0ab7e317d0cb2d36ae5eb2e69560af0972a6d388d871f6b4c62ba657"
            },
            "downloads": -1,
            "filename": "nudebomb-0.3.6.tar.gz",
            "has_sig": false,
            "md5_digest": "856baf1b93c9dac5939efca1358ffb51",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10,<4.0",
            "size": 5120357,
            "upload_time": "2024-02-19T01:03:31",
            "upload_time_iso_8601": "2024-02-19T01:03:31.830341Z",
            "url": "https://files.pythonhosted.org/packages/08/7b/87239753355b4c922af6e1f121ce007fe50bb534baf0d893cfb8be1a3ee4/nudebomb-0.3.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-19 01:03:31",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ajslater",
    "github_project": "nudebomb",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "circle": true,
    "lcname": "nudebomb"
}
        
Elapsed time: 0.19417s