Code: Select all
FileBot 4.6.1 (r3315) / Java(TM) SE Embedded Runtime Environment 1.8.0_71 (headless)

An example of the output result is shown with red arrow.
As you may have noticed, the output of the parameter $moviesStringOnly2 is on line 107.
The filenames to be renamed can be like
Code: Select all
Journey.to.the.Center.of.the.Earth.3D.2008.1080p.HSBS.x264
Journey.to.the.Center.of.the.Earth.3D.2008.1080p.HOU.x264
Journey.to.the.Center.of.the.Earth.3D.2008.1080p.H-OU.x264
Journey to the Center of the Earth 2 (2012) [3D] [SBS] [1080p]
Journey to the Center of the Earth 2 (2012) [3D] [H-SBS] [1080p]
Journey to the Center of the Earth 2 (2012) [3D] [H-OU] [1080p]
Journey.to.the.Center.of.the.Earth.2.2012.3D.SBS.1080p.BluRay.x264
Journey.to.the.Center.of.the.Earth.2.2012.3D.HOU.1080p.BluRay.x264
The script works just fine. The only problem is, in my media server software Plex, it detects 3D movies by their filename if the endings are just like this one:

Otherwise I just can't switch to mode 3D on my Samsung TV's Plex app.