Sha256: 151399c1774e3dc45da11cf492a6f942bf887d71d847347d2d421b9b2c1708f2

Contents?: true

Size: 1.38 KB

Versions: 1

Compression:

Stored size: 1.38 KB

Contents

# MovieCleaner
Removes media files where there already is a higher resolution

## Prerequisites

* ruby
* A movie library with sub-folders per movie containing different quality files of the movie
* Movie files must have the resolution in the filename (e.g. `It (2017) - 1080p.mkv`)

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'movie_cleaner'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install movie_cleaner

## Usage

`movie_cleaner [options]` 

| option | description | example |
|-|-| - |
|`-v`| verbose - omitting this results in a completely `\| bash`-able output of `rm` commands. | |
|`-d,--directory DIRECTORY`| Directory which contains all other movie folders | `-d /home/user/media/movies` |
|`-r,--resolutions res1,res2`| Comma-separated list of resolutions in order of priority | `-r 1080p,720p` |


## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run `bundle exec rake install`.

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/skius/movie_cleaner.

## License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
movie_cleaner-0.1.0 README.md