Automating .file_info File Creation For Plex Plug-in
Posted: 11 Mar 2018, 11:44
Hello all, I use Subzero (Plex Plug-in) to fetch my subtitles like so many others and with version 2.5 there's a new option to have Subzero look for a .file_info for extended attributives that Filebot supposedly can create, so I can score a 100% hit on subtitles search since I rename my files. It's not that I really want to rename my files, but I have to in order to keep up with Plex file naming standards. Subzero tells you to look at it's wiki, but that only confused me more than I was before. I'm wondering if anyone who uses Subzero + Filebot already set up such a system to create these .file_info files, because I have not a single clue how to do this, and my googles searches were non-conclusive to say the least.
Subzero Wiki section: https://github.com/pannal/Sub-Zero.bundle/wiki/Refiners
Now I did look into this a bit further and it seems these .file_info files can be created with the xattr command for Filebot, but I'm just not sure how to implement that in my current script, if it can be at all since I call my script from uTorrent for each complete torrent. I guess it might be possible to call a Windows .cmd file instead, but not really sure if the info is carried over from uTorrent that way.
This is my current Filebot command-line setup, hopefully someone has an idea how to do this:
Subzero Wiki section: https://github.com/pannal/Sub-Zero.bundle/wiki/Refiners
Now I did look into this a bit further and it seems these .file_info files can be created with the xattr command for Filebot, but I'm just not sure how to implement that in my current script, if it can be at all since I call my script from uTorrent for each complete torrent. I guess it might be possible to call a Windows .cmd file instead, but not really sure if the info is carried over from uTorrent that way.
This is my current Filebot command-line setup, hopefully someone has an idea how to do this:
Code: Select all
filebot.exe -script fn:amc --output "F:/Downloads" --action copy --conflict skip -non-strict "F:/!torrent" --log-file "F:/Downloads/amc.log" --def excludeList=amc.txt --def movieFormat="{genres.contains(/Documentary/) ? 'D:/Docus/' : 'D:/Movies/'}/{plex.name}/{plex.name}{'.'+vf}{'.'+vc}{'.'+ac}{'-'+group}" seriesFormat="{genres.contains(/Documentary/) ? 'D:/Docus/' : 'D:/TV Shows/'}{plex.tail}{'.'+source}{'.'+vf}{'.'+vc}{'.'+ac}{'-'+group}" animeFormat="D:/TV Shows/'}{plex.tail}{'.'+source}{'.'+vf}{'.'+vc}{'.'+ac}{'-'+group}" musicFormat="D:/Musik/{n}/{fn}" unsorted=y music=y extractFolder="F:/Downloads" artwork=n deleteAfterExtract=y clean=y reportError=y gmail=xxx:xxx --filter "age < 7 || !model.any{ it.age < 7 }" --def "ut_label=TV"