PMS Rebuild - Question about losing users (My Home & Friends)

GUI? Whats a GUI?

Here is what I am using form the CLI:

/usr/bin/filebot -no-xattr -rename --db TheMovieDB -non-strict --log-file /root/filebot.log --format /mount/media/Movies/“{genres.contains(‘Comedy’) ? ‘Comedy’ : genres.contains(‘Animation’) ? ‘Animation’ : genres.contains(‘Science Fiction’) ? ‘Sci-Fi’ : genres.contains(‘War’) ? ‘War’ : genres.contains(‘Documentary’) ? ‘Documentary’ : genres.contains(‘Fantasy’) ? ‘Fantasy’: genres.contains(‘Sport’) ? ‘Sport’: genres.contains(‘Horror’) ? ‘Horror’: genres[0]}/{n} ({y})/{n} ({y})” /mount/media/pre-process/*

But there are a LOT of my moves (maybe several hundred) that so not have Genres set in theMovieDB (I know, I checked manually) so all get dumped into a Genre of their own name. So for example (made up example):

Bob Goes Home Tonight (2002)

turns into:

/mount/media/Movies/Bob Goes Home Tonight (2002)/Bob Goes Home Tonight (2002).mkv

So I manually moved all of them to a NoGenre folder, but it would be nice if I could figure out how to do that with the script. I did try the {any{genre}{‘NoGenre’}} but could not make it work correctly!

GUI = Graphical User Interface :smiley:

FileBot is not constrained to command line only. It can do ‘drag and drop’ from the Desktop Manager.

If you would like help with that and use the Gnome desktop, I have what you need.

I placed filebot in /usr/local/bin/filebot.d to make upgrading by hand and backing up easier.

The .desktop file is located and looks like

[chuck@lizum /usr.125]$ cd local/share/applications
[chuck@lizum applications.126]$ cat filebot.desktop 
# Custom Filebot Launcher:  Gnome 3.8  and above
# -----------------------------------------------------------------------------

[Desktop Entry]
Name=FileBot
GenericName=FileBot
Comment=Media file information retriever and renamer
Exec=filebot
Terminal=false
Type=Application
Encoding=UTF-8
Icon=/usr/local/bin/filebot.d/filebot.logo.png
Categories=Multimedia;
X-Desktop-File-Install-Version=0.21
[chuck@lizum applications.127]$

A slight embellishment allows me some options of my choosing without interfering with desktop launch.
These can be augmented to suit your needs. Yes, it’s dated. I’ve not used the command line mode in a long time (no use of -amc)

The default is to launch filebot in graphical mode.

[chuck@lizum applications.127]$ cat /usr/local/bin/filebot
#!/bin/tcsh

# if option 1 = '-manual'  then override defaults
if ("x$1" == "x-manual") then
 set dir=`pwd`
 shift
 cd /usr/local/bin/filebot.d
 ./filebot.sh $*
endif

if ("x$1" == "x-movie") then
 set dir=`pwd`
 cd /usr/local/bin/filebot.d
 shift
 ./filebot.sh -rename --db TheMovieDB --format '/media/movies/{n} ({y})' "${dir}/$*"
endif

if ("x$1" == "x-tv") then
 set dir=`pwd`
 cd /usr/local/bin/filebot.d
 shift 
 ./filebot.sh -rename --db TheTVDB --format '/media/tv/{n}/s {s}/{n}.{s00e00}.{t}' "${dir}/$*"
endif

if ("x$1" == "x") then
 cd /usr/local/bin/filebot.d
 ./filebot.sh
endif
[chuck@lizum applications.128]$

Yeah my systems that run and manage all of my media are server installs with no X, etc. Everything I do is via scripting!

hummm…I seem to have lost my ability to add pictures to my posts…even after restarting chrome…is this an issue with the forum do you think?

sometimes chrome doesn’t exit fully… and the forum might just be 8-} again

Shut chrome down, wait 30 sec, from a shell pkill chrome (Die With A Vengeance) …then start

@ChuckPa said:
sometimes chrome doesn’t exit fully… and the forum might just be 8-} again

Shut chrome down, wait 30 sec, from a shell pkill chrome (Die With A Vengeance) …then start

Actually shut down, rebooted and still problem exists. The entire menu is visible but clicking on anything does nothing at all. Actually tried Firefox, Chrome and Safari - same result in all three browsers!

Weird - I was going to post a picture of my (now very large) Movie Libraries list in plex!

That’s the forum then. It seems to be going on strike, regionally, since just before the holidays. They (forum provider) fixes it and two days later… it’s stupid again.

Update: Issue reported.

It’s been suggested to try and ‘drag & drop’ to add attachments. It will help to see where the ‘javascript’ error is.
grumbles at the stupid thing that’s worse than 3 day old coffee

I tried the drag & drop, in my case Chrome thinks I want to open that image instead of drop it into the post!

That’s what I needed to hear thank you. Forwarded on

I’m told JPG / jpg should be accepted whereas there is a problem with JPEG / jpeg.

Can you try that as well please?

None are accepted. None of the menus work at all regardless of which platform or browser I am using! Very weird!

When I click on the menu items, nothing happens at all. Usually a box opens up allowing me to select a file but now nothing at all.

@ChuckPa @Peter_W

Thank you both for all of your help on this issue. Last night I completed the upgrade of the primary hard drive in my Plex system (aptly named Cinaplex) from spinning media to the new Samsung 960 Pro NVMe M.2 Drive (hdparm shows 3+GB/s). This should speed things up just a little bit. I completely reinstalled Ubuntu 16.04.1 LTS and PMS from scratch and reconfigured Plex and got it back up and running and happy.

I moved my spinning media to my rsync backup drive. I also took your suggestions and broke my ~4500 movies into Genere based Libraries utilizing filebot, so now instead of a single “Movie” library I have 20 different Movie Libraries. I think I will narrow those down a little bit over time depending on what is in each Library, but it is a good place to start for right now.

I routinely have 10 to 12 transcoding sessions going on so next time that happens I will have to take a look at everything again and see how it is working.

But again, I really wanted to thank you guys for being patient with me and helping with all of your great ideas and suggestions. Plex is awesome, but the community around it is what really makes it shine!

Sounds great, glad to have been of help!

As a side note, this is ultimately the post-processing script that I came up with for dealing with my movies. I tried and tried but I was unable to get the one I wanted to work so I ended up having to dump it down to this:

DIR_TO_CHECK=“/mount/media/pre-process”

if [ $(find $DIR_TO_CHECK -maxdepth 0 -type d -empty 2>/dev/null) ]; then
:
else
/usr/bin/filebot -script fn:amc -no-xattr -rename --db TheMovieDB --def artwork=y -non-strict “/mount/media/pre-process” --log-file /root/filebot/filebot_amc.log --output “/mount/media” --def movieFormat=“Movies/{genres.contains(‘Comedy’) ? ‘Comedy’ : genres.contains(‘Animation’) ? ‘Animation’ : genres.contains(‘Science Fiction’) ? ‘Sci-Fi’ : genres.contains(‘War’) ? ‘War’ : genres.contains(‘Documentary’) ? ‘Documentary’ : genres.contains(‘Fantasy’) ? ‘Fantasy’: genres.contains(‘Sport’) ? ‘Sport’: genres.contains(‘Horror’) ? ‘Horror’: any{genre}{‘NoGenre’}} /{n} ({y})/{n} ({y}){’ CD’+pi}” --def plex=10.200.50.2:XxXxxXxXXxxXXxxXX --def excludeList=/root/filebot/amc.txt
fi

Then I just added it to my cron to run every 5 minutes. If the directory is empty, nothing happens, if it is not, then it processes what is there with filebot and notifies Plex.