Sort in folder based on genre?
-
- Donor
- Posts: 80
- Joined: 21 Dec 2014, 01:29
Sort in folder based on genre?
Hello, is there a way to sort my movie folders into parent folders based on genre?
Thanks,
vballrican
Thanks,
vballrican
Re: Sort in folder based on genre?
Yes, just use the {genre} in your destination path format.
e.g.
e.g.
Code: Select all
/path/to/Movies/{genre}/{plex.tail}
-
- Donor
- Posts: 80
- Joined: 21 Dec 2014, 01:29
Re: Sort in folder based on genre?
Ahh.. thanks for the prompt response! 
Update: Ok, i did this
and ended up with a dir called {genre}
any ideas?

Update: Ok, i did this
Code: Select all
filebot -rename -r E:/Test --output "E:/Test Movies/{genre}/" --format "{n} ({y})/{n} ({y}) - {[certification, genre]}" --db TheMovieDB --action copy --def subtitles=en --def artwork=y
any ideas?
Re: Sort in folder based on genre?
--output expects a folder path while --format expects a format expression:
You seem to be mixing amc script options into your command-line call. Note that they won't have any effect.
Code: Select all
--output "E:/Test Movies" --format "{genre}/{n} ({y})/{n} ({y}) - {[certification, genre]}"

-
- Donor
- Posts: 80
- Joined: 21 Dec 2014, 01:29
Re: Sort in folder based on genre?
Ok.. So how can i move/copy movies already renamed into genre folders? Using command-line or amc? I'm so confused... sorryrednoah wrote: ↑17 Aug 2017, 16:22 --output expects a folder path while --format expects a format expression:Code: Select all
--output "E:/Test Movies" --format "{genre}/{n} ({y})/{n} ({y}) - {[certification, genre]}"
You seem to be mixing amc script options into your command-line call. Note that they won't have any effect.
-
- Donor
- Posts: 80
- Joined: 21 Dec 2014, 01:29
Re: Sort in folder based on genre?
Ok. so i did
and it move the movie over to a subdir called Action which is the right genre but i also get this:
Failed to set xattr: E:\Test Movies\Action\Big Game (2014)\Big Game (2014) - [PG-13, Action].mp4:net.filebot.metadata
Code: Select all
--format "{genre}/{n} ({y})/{n} ({y}) - {[certification, genre]}"
Failed to set xattr: E:\Test Movies\Action\Big Game (2014)\Big Game (2014) - [PG-13, Action].mp4:net.filebot.metadata
-
- Donor
- Posts: 80
- Joined: 21 Dec 2014, 01:29
Re: Sort in folder based on genre?
PS: I fixed it.. but i still get: Failed to set xattr: E:\Test Movies\Action\Big Game (2014) - [PG-13, Action]\Big Game (2014).mp4:net.filebot.metadata
Re: Sort in folder based on genre?
That's just a warning that your E drive filesystem doesn't support extended attributes:
https://en.wikipedia.org/wiki/Extended_file_attributes
You won't be able to fix that unless you use NTFS or enable EAs on your SMB share if it's a network drive.
https://en.wikipedia.org/wiki/Extended_file_attributes
You won't be able to fix that unless you use NTFS or enable EAs on your SMB share if it's a network drive.
-
- Donor
- Posts: 80
- Joined: 21 Dec 2014, 01:29
Re: Sort in folder based on genre?
Hmm.. it is NTFS. I wouldn't be able to have such large files like 10GB.rednoah wrote: ↑18 Aug 2017, 02:27 That's just a warning that your E drive filesystem doesn't support extended attributes:
https://en.wikipedia.org/wiki/Extended_file_attributes
You won't be able to fix that unless you use NTFS or enable EAs on your SMB share if it's a network drive.

Thanks, I can live with it...
Re: Sort in folder based on genre?
can't you just change:
to# use NTFS extended attributes for storing metadata
-DuseExtendedFileAttributes=true
in the ini file ?-DuseExtendedFileAttributes=false
Re: Sort in folder based on genre?
That would just disable xattr, same as setting -no-xattr on the command-line. It would not solve the underlying issue of xattr not being set, and just disable the warnings.