Search found 7 matches

by d3x
01 Jun 2013, 00:35
Forum: Scripting and Automation
Topic: Parsing filenames
Replies: 3
Views: 3233

Re: Parsing filenames

matchMovie() failed on most of my movie colleciton. detectMovie() had a 100% success rate.

Are detectSeriesName() and parseEpisodeNumber() the equivalent to matchMovie() or detectMovie()?
by d3x
26 May 2013, 00:01
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1003
Views: 536194

Re: How about sharing your CLI scripts?

I am doing TMDb.searchMovie() because I would like to pull a couple more details but I think I will just write the movie name to file then use a more reasonable language to do the rest like I had originally planned. import groovy.json.JsonBuilder args.getFiles{ it.isVideo() }.each{ def f = new File(...
by d3x
25 May 2013, 17:27
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1003
Views: 536194

Re: How about sharing your CLI scripts?

args.getFiles{ it.isVideo() } .each{ def movieName = detectMovie(it, false) println movieName def movieInfo = TheMovieDB.searchMovie(movieName.name, _args.locale) println movieInfo println movieInfo.sortBySimilarity(movieName.toString(), {it.name}) } Kiss Kiss Bang Bang (2005) [Kiss Kiss... Bang Ba...
by d3x
25 May 2013, 07:38
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1003
Views: 536194

Re: How about sharing your CLI scripts?

args.getFiles{ it.isVideo() } .each{ def movieName = detectMovie(it, false) def movieInfo = TheMovieDB.searchMovie(movieName.name, _args.locale).sortBySimilarity(movieName.name, {it.name})[0] println movieInfo } Seems to be working okay except Kiss.Kiss.Bang.Bang.2005.DVDRip.x264.AC3-SiC.mp4 is bei...
by d3x
25 May 2013, 06:48
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1003
Views: 536194

Re: How about sharing your CLI scripts?

I can read the scripts no problem I just can't write changes very well as my Java is weak and Groovy is non existent.

Code: Select all

options = options.sortBySimilarity(query, { it.name })
Where is sortBySimilarity defined? Does it.name really need the { and } around it?
by d3x
25 May 2013, 04:00
Forum: Scripting and Automation
Topic: Parsing filenames
Replies: 3
Views: 3233

Parsing filenames

I really only need filebot to convert "American.Beauty.1999.480p.BRRip.XviD.AC3-ViSiON" to "American Beauty (1999)"

Is there an easy way to make use of the filebot parse engine?
by d3x
25 May 2013, 03:58
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1003
Views: 536194

Re: How about sharing your CLI scripts?

http://filebot.net/scripts/artwork.tmdb.groovy

I have all my movies in one folder. I am trying to modify the script to work with my setup but am failing horribly. I also only want the XML information and a single poster for each both (named the same as the movie just with .xml and .jpg extensions.)