Small panel to fix failed matches/watch the logs:
Matches your movies/tvshows files against TheMovieDB API and downloads their metadata+images+places them in a human readable format (plex compatible). If a bigger size version of an existing media is received, it will replace the existing one.
Having the following structure:
c:\completed_downloads
- The Walking Dead S05E03 720p HDTV x264-ASAP[ettv].mkv
- Hercules (2014) 1080p BrRip H264 - YIFY.avi
- Visit my website click here!!.url
- D4wn.0f.th3.Pl4n3t.0f.th3.4p3s.2014.HDRip.XViD-EVO.mp4
- SUPER IMPORTANT, README.txt
After running media-identifier
will result in:
c:\completed_downloads
c:\collection
- media.db (sqlite db containing the list of all medias present in the folder)
- \series\Walking Dead\media.json (tvshow metadata like, name, year, actors, etc..)
- \series\Walking Dead\poster.jpg
- \series\Walking Dead\backdrop.jpg
- \series\Walking Dead\5\5x03.mkv
- \movies\Hercules\media.json (movie metadata like, name, year, actors, etc..)
- \movies\Hercules\poster.jpg
- \movies\Hercules\backdrop.jpg
- \movies\Hercules\Hercules.avi
c:\failed_match
- D4wn.0f.th3.Pl4n3t.0f.th3.4p3s.2014.HDRip.XViD-EVO.mp4
- node >= v8
- TheMovieDB API app (https://www.themoviedb.org/settings/api/new)
- Windows? (not tested on linux)
- Change your torrent downloader behaviour to move the finished downloads to a separate folder. So
media-identifier
won't move/work with unfinished downloads git clone https://github.com/tetreum/media-identifier.git
or download the zipnpm install
cp conf.demo.js conf.js
- Modify conf.js data
node index.js
(if i were you i would point its output somewhere as it maybe useful)
Media identifier will automatically detect new files added to directoryToParse
and will attempt to match them against the metadata provider.
- Matched content will be moved to
destinationDirectory
you set onconf.js
- If it fails to match any content, it will be moved to
failedMatchDirectory
folder, so you can rename the file for better matching & it's not checked on each/parse
call - To force a match, rename the file to its media
mediaType-idm
. Example: movie-2622.avi => Die Hard
Visit http://localhost:3000/
(ex: http://localhost:3000/parse
)
/parse
: Processes completed downloads folder (directoryToParse
)/retry
: Reprocesses failed matches (failedMatchDirectory
)/replace
: Replaces aword
with the givenreplacement
over all file names in failed matches directory (so you can faster remove domains and other junk from their name)