I'm trying to configure so that movies and TV gets treated per AMC standard with renaming, fanart and all but with music files only move them (and delete clutterfiles) to a different folder for processing by another function. Is it possible to make this happen with AMC script? Example:
Movie and TV gets the full treatment and goes to /share/MEDIA
Music goes untouched but clutter removed to /local/tempMusic
Oh man, it's just to weird for me this groovy stuff.. Could you please give a hint on what/where I should this in the script? Once I got that sorted I could do a grep or something on a daily downloaded script and store it locally.
Hmm, it is acting up really strange (with not yet edited script). The script seems to search for the helper scripts htpc and cleaner relatively from the location of amc.groovy.. The renaming goes through but I get errors and remaning clutter.
I get this:
FileNotFoundException: /usr/share/filebot/bin/lib/htpc.groovy (No such file or directory)
...renaming & moving...
FileNotFoundException: /usr/share/filebot/bin/cleaner.groovy (No such file or directory)
java.io.FileNotFoundException: /usr/share/filebot/bin/cleaner.groovy (No such file or directory)
at net.sourceforge.filebot.cli.ArgumentProcessor$DefaultScriptProvider.fetchScript(ArgumentProcessor.java:206)
at net.sourceforge.filebot.cli.ScriptShell.runScript(ScriptShell.java:94)
at net.sourceforge.filebot.cli.ScriptShell.runScript(ScriptShell.java:89)
at Script2.executeScript(Script2.groovy:268)
at Script3.run(Script3.groovy:361)
at net.sourceforge.filebot.cli.ScriptShell.evaluate(ScriptShell.java:102)
at net.sourceforge.filebot.cli.ScriptShell.runScript(ScriptShell.java:95)
at net.sourceforge.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:125)
at net.sourceforge.filebot.Main.main(Main.java:183)
I have not edited the amc.groovy script yet, simply doing dry runs.
Ok, no biggie, just wanted to be sure I haven't found a bug. I'm struggling with the naming of my music files as well, the logic is a bit hard for me.
I'm trying to make it structured like "MUSIC/Artist/Artist - Year - AlbumTitel/01. Artist - First song.mp3
When running amc on default I get pretty much that except the Year and Titel for the album. I have tried "MUSIC/{n} - [{y}] - {t}/{n} - {fn}" but the file name ends up like "Artist 01 First song.mp3" and I get no parent/artist directory so the album ends up direclty under MUSIC. If I do "MUSIC/{n}/{n} - [{y}] - {t}/{n} - {fn}" I get all songs in individual directories named after the album convention. This is not easy..