[MovieName].nfo

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
michou
Posts: 1
Joined: 07 Jun 2013, 10:50

[MovieName].nfo

Post by michou »

Hi,

I was wondering if there was an easy way to modify the htpc.groovy script to use movieFormat from amc.groovy script to name the .nfo file?
Basically I would like my structure to look like this:

Movies
+- [MovieName]
+- [MovieName].nfo
+- [MovieName].mkv
+- folder.jpg
+- fanart.jpg

Where the folder name, the nfo and the movie file (mkv, avi, mp4) is named identically (except for the extension).

Everything else of my structure is working correctly except for the [MovieName].nfo, which currently as specified in the htpc.groovy is movie.nfo.

Also I tried to add a scrape for studio{i.studio} to my movie .Nfo file and noticed that it is not currently possible, is there any plans to implement that in the future?
User avatar
rednoah
The Source
Posts: 22984
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [MovieName].nfo

Post by rednoah »

Just run a second script over the amc output that renames the files, e.g. rename folder.jpg files to <parent folder name>.jpg, Maybe you can make the filename find & replace script work for you, anyway, new script for that is like 1-2 lines.

There's no studio bindings. Is that even in the data? No idea.
:idea: Please read the FAQ and How to Request Help.
Post Reply