laharah / deluge-filebottool Goto Github PK
View Code? Open in Web Editor NEWA plugin to integrate simple FileBot functionality into Deluge
License: GNU General Public License v3.0
A plugin to integrate simple FileBot functionality into Deluge
License: GNU General Public License v3.0
Hello. I'm having a problem. Here is the explanation. The expression that I'm using is this: {n}/{n} Season {s}/{n} S{s.pad(2)}E{e.pad(2)} - {t} and it should move the correctly renamed files and folder to D:\TV. Unfortunately, it seems to be doing the following:
It will move the original files and original folder to D:\TV as indicated in the video clip above. But it will also correctly create a properly renamed folder and files into the same location on D:\TV as indicated in the video clip above. Unfortunately it also adds an extra subfolder for some reason I've yet to comprehend. I do not need either the extra subfolder OR the original files and folders after the torrent is downloaded and correctly renamed and relocated to D:\TV. Can you help?!
I'm running Ubuntu 14.04 and Deluge 1.3.13. Whenever I set a profile name in "Profile to Use", then click OK in the preferences dialog, when I re-open preferences the "Profile to Use" has reset to null - I.e. It's not saving the option. Therefore the auto-renaming function isn't working at all for me.
Any help appreciated!
Running Python 2.7
Hi, thanks for the plugin.
I am getting "Filebot not found", and the plugin turns off in the preferences on each system restart.
I am running my setup on an armv7 NAS, so to avoid dealing with compilation, I run Deluge as a container and Filebot as another container. The filebot
command in the Deluge container is aliased to run filebot
in the Filebot container (by binding with host machine's Docker process). So running filebot -version
from inside the Deluge container gives a few seconds lag, but other than that there's no difference from running it natively (AFAIK). Now, I'm not sure how find_executable
works, so I tried to dupe the plugin by appending PATH with a fake path, gave more privileges to deluged — still, my limited knowledge of Linux is insufficient to solve this.
Is it possible to make this setup work?
Here's my deluge image:
FROM lsioarmhf/deluge
RUN apk update
RUN apk add docker
RUN apk update
RUN apk add openrc --no-cache
RUN rc-update add docker boot
RUN echo 'alias filebot="docker exec filebot filebot"' >> ~/.bashrc
CMD export PATH=$PATH:$ADDITIONAL_PATH; /bin/echo -e "ADDITIONAL_PATH is $ADDITIONAL_PATH\nPATH is $PATH"
RUN chown root:root /usr/bin/deluge
RUN chmod 4755 /usr/bin/deluge
Docker-compose:
version: '2'
services:
filebot:
image: filebot
command: tail -F anything
volumes:
- /share/Kevin:/Kevin
deluge:
image: deluged:latest
privileged: true
command: tail -F anything
volumes:
- f966a27a1b07c155350094f94e986c07faef0746c3638455a63165f22ffad30f:/config
- 6ddcd2b08cfa8025b0a2b3ed1dc9fd51dd44f26afa9caf66b0a5ee69080d0c29:/downloads
- /share/Kevin:/Kevin
- "/var/run/docker.sock:/var/run/docker.sock"
#environment:
#- ADDITIONAL_PATH=/usr/bin/filebot
ports:
- "1791:1791"
- "1792:1792"
- "1776:58846"
- "58946:58946"
- "8112:8112"
Hey again
Been using the plugin flawlessly for a while now and haven't run into any significant bugs -- always recommending your work to those looking for filebot integration.
I am just working on setting up a fully automated solution with this plugin, but something preventing me from moving forward is how the torrent pauses during processing. I can see how this would be necessary if your are looking to copy or move the file as part of the process -- in order to make sure the file can be moved, we need to ensure that it is not currently being accessed by deluge (highly likely if a torrent JUST finished downloading). However, is this behavior necessary for torrents we request to be symlinked or hardlinked? I would like to not lose out on upload because the torrent paused immediately after download because after resuming other peers may already be finished downloading or simply not be reconnected again.
I understand if this may be too difficult to implement but would just like to throw it out there as a possibility.
Thanks!
FilebotRuntimeError error on torrent 4cdc60aec43c98c27999083bf297556e713e857d:
FILEBOT OUTPUT DUMP:
Rename episodes using [TheTVDB]
Failure (°_°)
This occurs whenever a Filebot task is attempted through FilebotTool. No matter what database is attempting to rename, etc. Filebot runs fine manually on the same exact file, but any jobs sent through FilebotTool pulls this error, both in automation and in dry-run.
It's FileBot 4.7.9 (r4984) / OpenJDK Runtime Environment 1.8.0_131 / Linux 4.8.0-45-generic (amd64)
So on many (if not almost all) torrents you have the classic text files advertising the people that made it. Well, in the renaming and moving process, nothing I do will make it overwrite or skip that file. I've tried all the "On Conflict" settings, it refuses to continue.
I am using the 2.6 egg and when I right click a download to test it tells me that FileBot Not Found. I have it installed and working. Is it looking for it in a specific place? Thanks
Filebot from the command line can notify kodi on after rename operation to rescan the media library - would be great the plugin could do this too!
Hi
I got an windows 7 computer with the latest version of Deluge, Java, Filebot and FilebotTool plugin for Deluge. But I still get the message "Filebot not found". Filebot -version is working, and I can start Filebot.
What am I doing wrong??
FilebotRuntimeError error on torrent ----: FILEBOT OUTPUT DUMP: Rename music using [ID3 Tags] IOException: MediaInfo failed to open file: D:\Raw_download\SKR_WBERRiES.FUNR_iSRS VOL.3\05 Kºultr∆ynin.mp3 java.io.IOException: MediaInfo failed to open file: D:\Raw_download\SKR_WBERRiES.FUNR_iSRS VOL.3\05 Kºultr∆ynin.mp3 at net.filebot.web.ID3Lookup.lookup(ID3Lookup.java:36) at net.filebot.cli.CmdlineOperations.renameMusic(CmdlineOperations.java:521) at net.filebot.cli.CmdlineOperations.rename(CmdlineOperations.java:108) at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:79) at net.filebot.Main.main(Main.java:169) Failure (°_°)
Deluge screwed up the special chars first and it gave the same error, filebot is able to process the files when manually sorted.
I would email you directly but I thought this might be useful for other users.
How do you move a torrent after it is done and renamed but keep it seeding? I would like the finished torrent moved to its final destination and be renamed but have it still be seedable. This way I never have two copies of the same file. Is this even possible with filebot and your plugin? I am pretty new to this so maybe I am just totally missing something. Thanks
Would it be possible to add the possibility to execute a script/cmd after FBT does it thing? Sort of how the AMC script from FB has --def exec command
I have installed the tool correctly on a Synology NAS. I have right-clicked on a torrent and tested my formatting, both dry runs, and actual renaming. That works. I then set up rules and filebot did it's thing upon completion of the torrent.
My question is, what is the location of any log files that I can review?
i.e. what torrents finished last night? did it process and hardlink successfully or did it abort due to not matching the file to a movie on themoviedb?
Hello,
I have a Raspberry Pi 4 B (4GB RAM) running an up-to-date version of Buster.
The RPi is running Deluge 1.3.6 as well as FileBot, PlexMediaServer.
Deluge has the FileBotTool plugin (with a valid 1 yr license) installed alongside Labels, AutoRemovePlus, and YaRSS2.
New torrents are downloaded to a USB HDD and then sorted by FileBotTool to a different directory on the same drive.
When I tried to connect to deluge via my browser I was met with this error message:
https://imgur.com/a/tSo27F6
As far as I can tell, a recent download has finished and FileBotTool crashed Deluge before sorting the newly completed torrent.
Usually FileBotTool works flawlessly but something similar to this has happened once before. Rebooting the RPi fixed the issue in both instances however I'm wondering if there is anything I can do to prevent this from happening again.
Any input is welcome. Thanks.
I'm having some trouble with torrents that do not contain recognizable files, most of my torrents moves fine, but here is an example of a movie with extra files included beyond that video file and nfo.
This one contains a Screenshots folder with example screenshots of the video quality, as well as a cover image and a txt file with details on the video such as the format, bit rate, etc..
Is there a way to handle this? I've looked around through all the documentation here and couldn't find anything.
Deluge info:
Server: 1.3.15
libtorrent: 1.1.11.0
FileBot plugin version: 1.2.7
FileBot plugin error:
Deluge info:
```Client: 1.3.15
Server: 1.3.15
libtorrent: 1.1.11.0
FileBot plugin version: 1.2.7
FileBot plugin error:
FilebotRuntimeError error on torrent 1f08***********************88c2:
FILEBOT OUTPUT DUMP:
Rename movies using [TheMovieDB]
No media files: [/path/torrnet_name/MediaInfo.txt, /path/torrnet_name/Screenshots/01.png, /path/torrnet_name/Screenshots/02.png, /path/torrnet_name/Screenshots/03.png, /path/torrnet_name/Screenshots/04.png, /path/torrnet_name/Screenshots/05.png, /path/torrnet_name/Screenshots/06.png, /path/torrnet_name/Screenshots/07.png, /path/torrnet_name/Screenshots/08.png, /path/torrnet_name/cover.png]
Failure (×_×)⌒☆
stderr:
format expression: {kodi}
I am running unraid and would love to use your plugin as everything else seems to be a clunky mess. Any way you could work on that. I would be willing to test it and work with you. I have deluge set as a docker and filebot is a plugin. The only access to deluge is through the webui.
Need to refine the bulk rename configurations.
When I run the Filebot tool it tells me that Filebot is unregistered. I have paid for the software and activated it. It works fine when I run the desktop app, just not when I use the plugin. The error is below. Any help would be appreciated.
FilebotRuntimeError error on torrent 056c500947f119604488b6658293e3e796bc37c2:
FILEBOT OUTPUT DUMP:
License Error: UNREGISTERED
Hi,
First, thanks for the great plugin, I've used it a lot over the years.
Recently I was fiddling around trying to make my installation a bit more portable, and tried using relative save paths (rather than absolute paths) for my torrents. This means my save path looks something like "media/SHOW/episode.mkv".
You can easily do this by adding any torrent and leaving the leading slash off the save location.
What it will do (under linux at least) is put in in your home directory, ie ~/media/SHOW/episode.mkv
When I tried to use FileBotTool on such a torrent, I get the message "Unhandled error in Deferred: " on the console of the deluged process, and diving into the log what I see is:
[INFO ] 15:54:33 pluginmanagerbase:158 Plugin FileBotTool enabled..
[INFO ] 15:55:09 core:214 [FileBotTool] No movements for 9516ebcf7ce96705e325d9b79d8
[ERROR ] 15:55:16 core:235 [FileBotTool] could not find index for /home/user/media/SHOW/episode.mkv in the torrent, problem with movement matching.
So it appears to be looking for the (actually correct) absolute path, but doesn't find it in the state files.
The file does get renamed, but the plugin just hangs forever (spinning wheel) trying to update the torrent state files to reflect the new name.
Just to check this isn't some problem deep in Deluge/libtorrent, I tried renaming these files using the "BatchRenamerRegEx" plugin instead, and that worked fine both renaming the files and updating the state files. I looked at the state files themselves and torrents.state does contain relative paths (I haven't completely figured out how this works in the binary torrents.fastresume yet, which does seem to contain absolute paths, but that's another story).
Anyway, is there perhaps code in the FileBotTool plugin that assumes absolute paths in torrents.state? It would be great if you could update the plugin to either handle the state file update properly or refuse to rename torrents with a relative path name. Currently it leaves the torrent in a broken state where you have to manually go back and rename the files.
Thanks again for all your hard work in developing and sharing this plugin.
Hello
i'm using deluge rpi
when i try to use filebot tool i get
[ERROR ] 20:05:23 rpcserver:304 Exception calling RPC request: 'CorePlugin.Fil eBotTool'
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/deluge-1.3.13-py2.7.egg/deluge/co re/rpcserver.py", line 299, in dispatch
ret = self.factory.methods[method](*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/deluge-1.3.13-py2.7.egg/deluge/co re/core.py", line 538, in enable_plugin
self.pluginmanager.enable_plugin(plugin)
File "/usr/local/lib/python2.7/dist-packages/deluge-1.3.13-py2.7.egg/deluge/co re/pluginmanager.py", line 82, in enable_plugin
super(PluginManager, self).enable_plugin(name)
File "/usr/local/lib/python2.7/dist-packages/deluge-1.3.13-py2.7.egg/deluge/pl uginmanagerbase.py", line 151, in enable_plugin
component.start([instance.plugin._component_name])
File "/usr/local/lib/python2.7/dist-packages/deluge-1.3.13-py2.7.egg/deluge/co mponent.py", line 290, in start
if self.components[name]._component_depend:
KeyError: 'CorePlugin.FileBotTool'
any idea ?
thank
So i got a torrent that comes in a rar format and filebottool wont do anything with it if it isnt extracted. So i turned on the extrator but you have to choose a location to extract. But this location is not the files folder. Would there be a way to have some sort of setting to take charge of the unrar location ?
I tried using this on a partially downloaded torrent (i.e. a season pack of a TV show with some episoded set to "Do Not Download"). It seems that the plugin tries to operate on all the files, wether they are downloaded or not, which throws an error for the files not present on disk.
Is it possible to make it check for the actual downloaded files instead of all the files listed in the torrent? If it's not possible to determine wether the files are actually on disk or not, maybe it could see which ones are set to "Do Not Download" and skip those?
Also, even when marking a file as "Do Not Download" – Deluge might download a small piece of the file anyway because of how the BitTorrent protocol works (i.e. downloading a piece that belongs to 2 files). With this in mind, it would be great if the plugin could also skip files that are under a certain size (even if they have the extension of a media file), say 1MB or whatever the maximum viable piece size is nowadays. (this wouldn't be a problem if Deluge had an option for appending a ".part" extension to incomplete files, like e.g. Transmission, or if it could clean up unwanted files when the download is finished and before FileBotTool is run)
I have a portable version of FileBot.
Is there any way I can make the tool work with this? Is there a way to specify the FileBot folder location?
Hello
a small question
i try to rename the manga "dragon ball", not dragon ball z, not dragon ball super, not the movie
just
https://www.themoviedb.org/tv/12609-dragon-ball
dragon ball similar as themoviedb
https://image.noelshack.com/fichiers/2017/06/1486551786-sans-titre.png
i put dragon ball, themoviedb , and its dont find the good
on the real filebot executable gui i can choose différents dragon ball
does it possible with filebottool gui ?
sorry for my english
and thank for your reply :)
Addon is installed and enabled. Right click menu works but when the dialog comes up it states that Filebot is not found. However, FileBot is, in fact, installed.
Windows 10 x64. Deluge 1.3.11. FileBotTool Beta 0.8.3.
As it is now, the plugin doesn't currently support deluge 2.0.
Updating the plugin is a priority, but will take some time as a few things are required:
There are likely some edge cases the move to deluge 2.0 may have changed. I'm open pull requests for any of these issues, but I accept that the code may not be particularly collaborator friendly.
I'm planning to start work once there are installers for deluge 2.0 on windows and on osx.
Is it possible to call this script inside the filebot tool for deluge. The reason I ask is so I can get some notification via Pushover, and trigger library refreshes on plex.
Hi,
I'd like to suggest an enhancement, a filemode called, say, "new", that makes it easier to deal with season packs and/or do cross-seeding (seed the same torrents on multiple sites) when you are adding new torrent files.
Let's say for example there is a currently playing season of 26 episodes which you are downloading every week.
You define a Format Expression, something like "{s00e00} {t.colon(' - ')}" to get rid of any scene tags etc and start saving those files according to this format.
At the end of a season, the individual episode torrents are typically deleted from the server and a season pack/batch torrent is released. You want to continue to seed the whole season without re-downloading everything, so you add this batch torrent in the paused state, and want to point it at your previously downloaded but already re-named episodes.
The logic for "new" filemode would be:
"Update the filename in state/torrents.fastresume according to the Format Expression"
So in this mode FileBotTool would perform the same operation as manually going to the "Files" tab for the season pack/batch torrent in the lower window of deluge and renaming all the files one by one.
Currently if you try to do this with FileBotTool is will fail because it can't find the old filename. I've played around with the current "filemode" and "on conflict" options and can't seem to find a workflow to easily accomplish this without having a lot of symlinks around.
After running filebottool in this mode, the user would simply "recheck" this new batch torrent and un-pause to start seeding.
Not only would this be useful for handling season packs, but also if you want to cross-seed a batch torrent on multiple torrent sites in cases where the uploader has already renamed all the files according to their own taste. The only way to do this currently is to painstakingly rename the files one-by-one when you add the batch torrent. Or you could use a plugin like "batch renamer" but this doesn't have all the nice hooks into TVDB etc.
Sorry if there is a workflow that already accomplishes this, but I did play around quite a bit and couldn't find a simple way to do it.
EDIT - I understand with the way this plugin depends on FileBot, doing this in FileBotTool may not be possible. But I thought I'd ask anyway :)
mac OS10.15.3
https://image.noelshack.com/fichiers/2017/09/1488444780-567.png
https://image.noelshack.com/fichiers/2017/09/1488444776-123.png
Hello, small problem when i try to rename a movie :-)
i think the problem is the "ûlé" on the name ?
any idea ?
thank you :)
Hello there,
i've been playing around with the autoexecute function of filebottool without too much success.
It works perfectly when manually kicked but it's not trapping anything either using the label or tracker field
then i've tried those rules in order
i've tried many settings with no success , but again , when i launch filebottool manually select the TV shows profile it works great .
any help would be apprectiated
( running on Raspbian jessie, using filebot 4.7.5 )
I'll start this off by saying that I have tried mostly everything.
Deluge-Daemon Setup
Deluge
Client: 1.3.13
Server: 1.3.13-6 installed from the synology package manager
Synology DSM 6.0.2-8451 Update 9
Python 2.7
FileBotTool-1.1.4-py2.7.egg installed both client and server
FileBot 4.7.7 (r4678) / OpenJDK Runtime Environment 1.8.0_101 / Linux 3.10.77 (amd64)
Deluge Error Log
[ERROR ] 01:04:53 common:52 [FilebotTool] Filebot cannot be found!
I am able to ssh in and run filebot -version just fine
sudo -u deluge /usr/local/bin/filebot -version runs fine as well.
All sym links in
usr/bin/
usr/local/bin
exist
I even compiled from git directly on the server and used the created egg but it didn't run so I had to revert.
Issue with deluge plugins:
No config option show in the daemon
any help would be appreciated
When deploying FileBot from Ubuntu's software center then FileBot is installed into to /snap/bin folder. Therefore the plugin is incorrectly trying to start it from /usr/bin folder.
Workaround:
Create a symlink between /usr/bin/flexget and /snap/bin/flexget.
I am testing out FileBotTool with deluge 2.0, since I saw you released some support for it, however the dialog does not seem to show up from the right-click menu. The "Debug Info" button also doesn't display anything and only stays greyed out when clicked.
I turned on some logging and nothing seems out of the ordinary (included at the bottom with slight redactions).
I'm running on arch linux with LXDE (not sure if that would matter). If there's any other logs that might help, let me know, it's pretty easy to reproduce.
08:08:34.054 [DEBUG ][deluge.core.rpcserver :310 ] RPC dispatch filebottool.get_rename_dialog_info
08:08:34.054 [DEBUG ][filebottool.common :847 ] [FileBotTool] dialog info requested, packing dialog info.
08:08:34.055 [DEBUG ][filebottool.common :863 ] [FileBotTool] sending dialog info to client: {'torrent_ids': ('0fb273b1b512609c0ed23e2d14c05e066db52d43',), 'torrent_save_path': "", 'files': [{'index': 0, 'path': "*****", 'size': 1149316487, 'offset': 0}], 'filebot_version': b'FileBot 4.7.9 (r4984) / OpenJDK Runtime Environment 1.8.0_292 / Linux 5.12.1-arch1-1 (amd64)', 'rename_dialog_last_settings': {'database': 'TheMovieDB', 'download_subs': False, 'encoding': 'UTF-8', 'episode_order': None, 'format_string': "{ny}/{ny}{' CD'+pi}", 'handler_name': None, 'language_code': '', 'on_conflict': None, 'output': '', 'query_override': None, 'rename_action': 'move', 'show_advanced': True, 'subs_language': ''}, 'saved_handlers': {'Anime': {'database': 'AniDB', 'download_subs': False, 'encoding': 'UTF-8', 'episode_order': None, 'format_string': "{n}/{'Season '+s}/{n} - {e00} - {t}", 'language_code': 'EN', 'on_conflict': None, 'output': '*****', 'query_override': '', 'rename_action': 'move', 'show_advanced': True, 'subs_language': ''}, 'Movies': {'database': 'TheMovieDB', 'download_subs': False, 'encoding': 'UTF-8', 'episode_order': None, 'format_string': "{ny}/{ny}{' CD'+pi}", 'language_code': '', 'on_conflict': None, 'output': '', 'query_override': '', 'rename_action': 'move', 'show_advanced': True, 'subs_language': ''}, 'TV': {'database': 'TheTVDB', 'download_subs': False, 'encoding': 'UTF-8', 'episode_order': None, 'format_string': "{n}/{'Season '+s}/{n} - {s00e00} - {t}", 'language_code': '', 'on_conflict': None, 'output': '***', 'query_override': '', 'rename_action': 'move', 'show_advanced': True, 'subs_language': ''}}, 'valid_databases': [None, 'TheTVDB', 'Tvmaze', 'AniDB', 'OpenSubtitles', 'TheMovieDB', 'TheMovieDB::TV', 'OMDb', 'AcoustID', 'ID3 Tags'], 'valid_rename_actions': [None, 'move', 'copy', 'duplicate', 'keeplink', 'symlink', 'reflink', 'hardlink', 'test'], 'valid_on_conflicts': [None, 'override', 'skip', 'auto', 'index', 'fail'], 'valid_episode_orders': [None, 'dvd', 'airdate', 'absolute']}
08:08:34.075 [DEBUG ][deluge.core.rpcserver :310 ] RPC dispatch filebottool.get_filebot_valid_values
The logs for the "Debug Info" button also seem to be perfectly fine:
08:16:53.289 [DEBUG ][deluge.core.rpcserver :310 ] RPC dispatch filebottool.get_filebot_debug
08:16:53.289 [DEBUG ][filebottool.common :903 ] [FileBotTool] Received request for FileBot debug info...
08:16:55.865 [DEBUG ][filebottool.common :909 ] [FileBotTool] FileBot debug info retrieved.
The plugin cannot find filebot. I looked at the troubleshooting and tried the solutions but they didn't work. Any help?
After having followed the installation instructions I do not see any "FileBotTool" in the web interface (right-clicking on a torrent opens a popup with only "Force Recheck" and "Move Storage" in the bottom section).
Is this compatible with the web interface?
Hello. I am really interested in using this plugin because it fits my needs perfectly, but I am running into a problem where when issueing a move command, the files are moved correctly to my movie folder, but deluge still has the "Save Path" as the old location, so seeding no longer works. It seems to be a little intermittent, as some torrents work correctly.
I'm not doing anything too out of the ordinary, the only thing I can think of that would be different than the standard setup is the default save location is a network drive Q:\download, and I have it trying to sort into Q:\Movies\Example (year).
More specifically, what happens is a torrent will finish, be set to paused, the file will be moved, and the save path is never updated and the torrent remains paused. This also occurs if I run the tool manually.
Any ideas or any other info I can provide?
Deluge Daemon 1.3.15
Deluge Client 1.3.15
Filebot 4.9.2 (r8046)
OpenJDK 11.0.8
Linux 5.4.0
Getting error when I do a dry run. Execute functions normally.
stderr:
Oct 10, 2020 8:54:16 PM net.sf.ehcache.Cache <clinit>
SEVERE: Unable to set localhost. This prevents creation of a GUID. Cause was: deluge: deluge: Name or service not known
java.net.UnknownHostException: deluge: deluge: Name or service not known
at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1642)
at net.sf.ehcache.Cache.<clinit>(Cache.java:222)
at net.filebot.DiskStore.lambda$getCache$0(Unknown Source)
at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1133)
at net.filebot.DiskStore.getCache(Unknown Source)
at net.filebot.Cache.getCache(Unknown Source)
at net.filebot.media.ReleaseInfo.lambda$resource$29(Unknown Source)
at net.filebot.MemoizedResource.get(Unknown Source)
at net.filebot.media.ReleaseInfo.getAnidbIndex(Unknown Source)
at net.filebot.Parallelism.lambda$async$1(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.net.UnknownHostException: deluge: Name or service not known
at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.base/java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:929)
at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1515)
at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:848)
at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1505)
at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1637)
... 13 more
HI!
I use deluged and deluge-web.
I have FileBotTool 1.1.5 enabled via the web plugins , but I do not see any menu items when I right click on a torrent or in the Preferences menu list.
I have put both FileBotTool-1.1.5-py2.7.egg and FileBotTool-1.1.5-py2.6.egg in the plugins folder.
File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 299, in dispatch
ret = self.factory.methods[method](*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/deluge/core/core.py", line 524, in enable_plugin
self.pluginmanager.enable_plugin(plugin)
File "/usr/lib/python2.7/dist-packages/deluge/core/pluginmanager.py", line 82, in enable_plugin
super(PluginManager, self).enable_plugin(name)
File "/usr/lib/python2.7/dist-packages/deluge/pluginmanagerbase.py", line 151, in enable_plugin
component.start([instance.plugin._component_name])
File "/usr/lib/python2.7/dist-packages/deluge/component.py", line 290, in start
if self.components[name]._component_depend:
KeyError: CorePlugin.FileBotTool
Any tips appreciated.
Hello there
Not sure where to open it ( feature request or issue ) so here i go
i installed the standalone filebot package on my raspberry pi with Deluge-daemon . Now both are working properly when used separately. I wanted to use your plugin to automate things a bit but when i install the plugin and try to run it against a movie or Tv-show , the plugin can't find the filebot package
I'm probably doing something wrong but i have followed all instructions on both sites .
Is there a way to specify where filebot resides in the plugin configuration or any py file ?
thanks
The renamer works great but we end up with lots of extra files like ".txt", ".nfo" etc. in the newly created folder.
It would be nice if we could just move the video files, without the additional garbage.
FileBot do this in their UI, not sure what the command used it.
I'd like to have support to filter out some of the files that would be applied to Filebot. I would want it to be able to filter only the media files and/or subtitles. Not sure if that is entirely possible.
Enhancement / Question
After spending some time on the Filebot forums, it seems like you are able to use the IMDb database but specify that you're only interested in TV show results by appending --db TheMovieDB::TV
onto the CLI input.
Would it be possible to incorporate IMDb::TV into the FilebotTool database list?
Or is there a way to correctly pass in arguments such as --db TheMovieDB::TV
when using FilebotTool?
Thank you.
If FileBotTool creates a new folder, at least on my system, it creates them with a mask of 770 (rwxrwx---). As a result, my Plex instance couldn't see any of the new files because it couldn't access them.
As a suggestion, maybe you could implement an option window that would allow a user to specify the value that would be used to chmod the newly created directory.
For now, I worked around this issue by making my plex user part of the group it needs to to be able to parse the files.
Is it supported or is it only the default label system that is supported?
Hi there,
Love the plugin and what you've done with it -- excellent addition to Deluge and very nice interface to make dealing with filebot easier.
I have a request when it comes to renaming files. The tool renames the file and moves/hardlinks/symlinks whatever to the specified location -- however at the same time it also changes the seeding location and torrent name in Deluge. Is there a way to add an option so that seeding torrents are not disturbed in Deluge and the file is simply hardlinked isntead? For the sake of my organization I like to keep my torrent clients and library folder separate. This makes things much easier in the even that I move servers
I am unable to move files to my NAS (mounted as CIFS) using the tool, for what appears to be a java error. After some searching, it appears the FileUtilities.moveRename() method cannot move files across drives (or to mounted shares). Would you be able to make the tool detect that the destination is on a different drive, and have Move mode copy and then delete the source files?
Error output below:
FILEBOT OUTPUT DUMP:
Rename episodes using [TheTVDB]
Auto-detected query: [Archer]
Fetching episode data for [Archer]
Fetching episode data for [Archer (2009)]
[MOVE] Rename [/home/lucas/Torrents/Archer - S07E03 - Deadly Prep.mkv] to [/media/Media/Television/Archer (2009)/Season 7/Archer (2009) - S07E03 - Deadly Prep.mkv]
[MOVE] Failed to rename [/home/lucas/Torrents/Archer - S07E03 - Deadly Prep.mkv]
Processed 0 files
/media/Media/Television/Archer (2009)/Season 7/Archer (2009) - S07E03 - Deadly Prep.mkv: Operation not permitted
java.nio.file.FileSystemException: /media/Media/Television/Archer (2009)/Season 7/Archer (2009) - S07E03 - Deadly Prep.mkv: Operation not permitted
at net.filebot.util.FileUtilities.moveRename(FileUtilities.java:84)
at net.filebot.StandardRenameAction$1.rename(StandardRenameAction.java:23)
at net.filebot.cli.CmdlineOperations.renameAll(CmdlineOperations.java:621)
at net.filebot.cli.CmdlineOperations.renameSeries(CmdlineOperations.java:255)
at net.filebot.cli.CmdlineOperations.rename(CmdlineOperations.java:110)
at net.filebot.cli.ArgumentProcessor.runCommand(ArgumentProcessor.java:89)
at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:25)
at net.filebot.Main.main(Main.java:124)
Failure (°_°)
error on torrent 64f8d4d26268cd41d0754e857691a208a1e60575:
FILEBOT OUTPUT DUMP:
Rename episodes using [TheTVDB]
Auto-detected query: [Archer]
Fetching episode data for [Archer]
Fetching episode data for [Archer (2009)]
[MOVE] Rename [/home/lucas/Torrents/Archer - S07E03 - Deadly Prep.mkv] to [/media/Media/Television/Archer (2009)/Season 7/Archer (2009) - S07E03 - Deadly Prep.mkv]
[MOVE] Failed to rename [/home/lucas/Torrents/Archer - S07E03 - Deadly Prep.mkv]
Processed 0 files
/media/Media/Television/Archer (2009)/Season 7/Archer (2009) - S07E03 - Deadly Prep.mkv: Operation not permitted
java.nio.file.FileSystemException: /media/Media/Television/Archer (2009)/Season 7/Archer (2009) - S07E03 - Deadly Prep.mkv: Operation not permitted
at net.filebot.util.FileUtilities.moveRename(FileUtilities.java:84)
at net.filebot.StandardRenameAction$1.rename(StandardRenameAction.java:23)
at net.filebot.cli.CmdlineOperations.renameAll(CmdlineOperations.java:621)
at net.filebot.cli.CmdlineOperations.renameSeries(CmdlineOperations.java:255)
at net.filebot.cli.CmdlineOperations.rename(CmdlineOperations.java:110)
at net.filebot.cli.ArgumentProcessor.runCommand(ArgumentProcessor.java:89)
at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:25)
at net.filebot.Main.main(Main.java:124)
Failure (°_°)
I'm getting an error when clicking on Execute Filebot button:
FILEBOT OUTPUT DUMP:
error on torrent 8877c33a6cb9201466846b3cf616f44d570b1d98:
FILEBOT OUTPUT DUMP:
In the deluge log file:
[ERROR ] 12:21:49 common:52 [FilebotTool] FILEBOT ERRORFILEBOT OUTPUT DUMP:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.