I've set up a NAS on my raspberry pi and have added a ton of movies to it. Now I would like to sort them out.
I've been following this blog post http://www.handmadepixels.co.uk/blog/ra ... pberry-pi/ and followed everything it said, but it doesn't seem to work, the way i'd like it to.
I've created a script:
Code: Select all
#!/bin/bash
DATE_STAMP=` date +%d-%m-%Y-%T`
echo ${DATE_STAMP}
/opt/share/filebot/bin/filebot.sh -rename /share/Multimedia/Videos/* –format “/share/Multimedia/Serien/{n}/Season {s}/{n} – {sxe} – {t}” –db thetvdb -non-strict
1. Rename the files to their correct name
2. Create a Folder with the Name of the series in my folder "Serien"
3. Move the file with the now changed name into the folder "Serien/*Name of series*/"
4. I have chosen to only use theTVDB, as I only want series to be moved into the series folder
This is what happens when I execute that code:
Code: Select all
26-04-2015-16:17:09
Filename pattern: [0.07] SxE, [0.07] CWS
Rename movies using [TheMovieDB]
Failed to grep IMDbID: das.salz.der.erde.2014.german.subbed.doku.720p.bluray.x264-doucement.nfo
Failed to grep IMDbID: encounters-dknmferien_1080p.nfo
Failed to grep IMDbID: w-dbss-1080p.nfo
Failed to grep IMDbID: owg-die.toedliche.mission.der.apostel.s01e01.720p.nfo
Failed to grep IMDbID: owg-die.toedliche.mission.der.apostel.s01e01.720p.nfo
Failed to grep IMDbID: tvs-downton-dd20-sed-dl-7p-bd-x264-503.nfo
Apr 26, 2015 4:17:17 PM net.filebot.web.TMDbClient getMovieInfo
WARNING: Movie data not found: null (0000) [-1 / 1606375]
java.io.FileNotFoundException: Resource not found: http://api.themoviedb.org/3/movie/tt1606375?language=en&api_key=66308fb6e3fd850dde4c7d21df2e8306
at net.filebot.web.TMDbClient.request(TMDbClient.java:369)
at net.filebot.web.TMDbClient.getMovieInfo(TMDbClient.java:188)
at net.filebot.web.TMDbClient.getMovieInfo(TMDbClient.java:179)
at net.filebot.web.TMDbClient.getMovieDescriptor(TMDbClient.java:158)
at net.filebot.media.MediaDetection.grepMovie(MediaDetection.java:1258)
at net.filebot.cli.CmdlineOperations.renameMovie(CmdlineOperations.java:365)
at net.filebot.cli.CmdlineOperations.rename(CmdlineOperations.java:144)
at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:75)
at net.filebot.Main.main(Main.java:169)
NullPointerException: java.lang.NullPointerException
java.lang.NullPointerException
at net.filebot.web.TMDbClient.getMovieDescriptor(TMDbClient.java:159)
at net.filebot.media.MediaDetection.grepMovie(MediaDetection.java:1258)
at net.filebot.cli.CmdlineOperations.renameMovie(CmdlineOperations.java:365)
at net.filebot.cli.CmdlineOperations.rename(CmdlineOperations.java:144)
at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:75)
at net.filebot.Main.main(Main.java:169)
Failure (°_°)
I want to thank everybody in advance for helping me.