Skip to content

antlafarge/media-downloads-organizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Media Downloads Organizer

Move your movies / series from a downloads directory to your movies / series directory.
Rename your downloaded movies by following a pattern.
Download movie poster.
Get movie informations (title, year, synopsis, director, etc...).

Implemented providers

  • Allocine.fr (French)

Patterns

Output syntax examples :

  • Movies :
    <Title> (<Year>) <Language> <VideoCodec> <VideoQuality> <AudioCodec> <AudioQuality>.<Extension>
  • Series :
    <Title>/Saison <SeasonNumber> (<Year>)/<Title> S<SeasonNumber>E<EpisodeNumber> <EpisodeFinal> <EpisodeTitle> <Language> <VideoCodec> <VideoQuality> <AudioCodec> <AudioQuality>.<Extension>

You can find the field names list in the project resource files :

Docker

Compose

services:
    mdo:
        image: antlafarge/media-downloads-organizer:latest
        container_name: mdo
        user: 1000:100
        volumes:
            - "/hdd/Downloads/:/usr/src/app/downloads/"
            - "/hdd/Movies/:/usr/src/app/movies/"
            - "/hdd/Series/:/usr/src/app/series/"
        environment:
            MovieProvider: "allocineMovieProvider"
            SerieProvider: "allocineSerieProvider"
            ScanFileExtensions: "mkv|avi|mp4|m4[vp]|og[gv]|flv|wmv|webm|mov|avchd|ts|mpe?g|3gp"
            OutputMoviePattern: "<Title> (<Year>) <Language> <VideoCodec> <VideoQuality> <AudioCodec> <AudioQuality>.<Extension>"
            OutputSeriePattern: "<Title>/Saison <SeasonNumber> (<Year>)/<Title> S<SeasonNumber>E<EpisodeNumber> <EpisodeFinal> <EpisodeTitle> <Language> <VideoCodec> <VideoQuality> <AudioCodec> <AudioQuality>.<Extension>"
            MinLogLevel: "LOG" # NOTHING, TEMP, DEBUG, LOG, INFO, WARNING or ERROR

Run

docker run -d \
    --user 1000:100 \
    -v "/hdd/Downloads/:/usr/src/app/downloads/" \
    -v "/hdd/Movies/:/usr/src/app/movies/" \
    -v "/hdd/Series/:/usr/src/app/series/" \
    -e MovieProvider="allocineMovieProvider" \
    -e SerieProvider="allocineSerieProvider" \
    -e ScanFileExtensions="mkv|avi|mp4|m4[vp]|og[gv]|flv|wmv|webm|mov|avchd|ts|mpe?g|3gp" \
    -e OutputMoviePattern="<Title> (<Year>) <Language> <VideoCodec> <VideoQuality> <AudioCodec> <AudioQuality>.<Extension>" \
    -e OutputSeriePattern="<Title>/Saison <SeasonNumber> (<Year>)/<Title> S<SeasonNumber>E<EpisodeNumber> <EpisodeFinal> <EpisodeTitle> <Language> <VideoCodec> <VideoQuality> <AudioCodec> <AudioQuality>.<Extension>" \
    -e MinLogLevel="LOG" \
    --name mdo \
antlafarge/media-downloads-organizer:latest

Releases

No releases published

Packages

No packages published