Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pbrisbin/mvtv
Move TV shows into a media collection
https://github.com/pbrisbin/mvtv
Last synced: 10 days ago
JSON representation
Move TV shows into a media collection
- Host: GitHub
- URL: https://github.com/pbrisbin/mvtv
- Owner: pbrisbin
- Created: 2014-01-03T21:50:21.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-11T23:16:43.000Z (about 11 years ago)
- Last Synced: 2024-11-09T07:47:28.697Z (2 months ago)
- Language: Haskell
- Homepage:
- Size: 164 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mvtv
Find and move TV show files into a media collection.
## Usage
```
$ mvtv [--watch]
```Find video files in the current directory. For each file found:
* Find a show under `$TV_SHOWS` which matches the file
* Parse a season number out of the file
* Move the file to `$TV_SHOWS/show/season/basename`If a show cannot be found, `mvtv` will error and skip that file. If a
season cannot be parsed, it will be copied in at show-level. If a season
directory does not yet exist, one will be created.`TV_SHOWS` can be set as an environment variable and defaults to
`/mnt/media/TV_shows`.If `--watch` is used, wait and execute the above whenever files are
created in the current directory.## Installation
```
$ git clone https://github.com/pbrisbin/mvtv
$ cd mvtv
$ cabal install
```