Coder Social home page Coder Social logo

dredkin / deluge-rbb Goto Github PK

View Code? Open in Web Editor NEW
26.0 26.0 4.0 266 KB

This plugin adds "Browse" button to Add torrent dialog in client-server mode

License: GNU General Public License v2.0

Python 89.93% JavaScript 4.09% Shell 0.85% Batchfile 5.13%

deluge-rbb's People

Contributors

dredkin avatar mattie432 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

deluge-rbb's Issues

Plugin could not be activated

Nothing happens when checking plugin active after installation. OS: KDE Neon. Deluge is used as a remote to deluged. Terminal error output:

[ERROR   ] 22:00:15 client:391 RPCError Message Received!
--------------------------------------------------------------------------------
RPCRequest: core.enable_plugin(browsebutton)
--------------------------------------------------------------------------------
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 301, in dispatch
    ret = self.factory.methods[method](*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/core.py", line 540, 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.browsebutton
--------------------------------------------------------------------------------
Unhandled error in Deferred:


Traceback (most recent call last):
Failure: deluge.ui.client.DelugeRPCError: <deluge.ui.client.DelugeRPCError object at 0x7f6e3e042d10>

Duplication of Move Storage context menu item when connecting between multiple daemons.

I'm running v1.3.12 on all systems, my windows gtk client, local and hosted linux based seedboxes.

When the Browse Button plugin is enabled on all systems, the Move Storage item in a torrent's context menu gets duplicated each time I use the the connection manager to switch between different deluge hosts. This results in the Move Sorage item appearing in the context menu over 8 times in my testing.

See it: http://imgur.com/SnQk5UJ

With the plugin disabled, this issue does not occur. But, then I do not have a browse button :(

select drive and remember last directory used.

Once I get to the root directory of the drive (C) I cannot continue up to select another drive. It would be good to be able to go up another level, or to have a text input box at the top for manual entry.

Also a nice feature would be to remember the last location used, or to grab the location from the inbuilt location box as the starting directory.

Support for py3.8?

Thanks for the update (#21)! πŸ‘

Can you add a py3.8.egg plugin file?

Br, niXta

Version v.0.1.10 crashes GTK-UI

I've been using the browsebutton-0.1.9-py2.7.egg successfully on my client and server. When I attempted to install browsebutton-0.1.10-py2.7.egg my GTK GUI crashes. This has happened with multiple setups now. I've double checked that I have the right python version installed on client and server. I can give you some logs if I could figure out where to find them.

Option to go to current torrent directory instead of the root directory when moving

Would be nice if such an option existed to get straight away to the directory of the torrent instead of having to dig through all the directories starting from the defined Root directory when moving.

Like for example:
root directory=/Torrents
Folder that I want to move= /Torrents/LinuxISO_Tracker/Debian_Based_Installations/2020/Debian.iso
so when I press the button to move, I wish I'm straight away in the /Torrents/.../2020/ folder instead of having to dig my way down there.
I'd most usually use it to move the shows I watched from the "unwatched" folder... and yeah, I have a bit complicated folder structure and I'm half proud of it!

Can't traverse into a directory with local characters

I can't traverse into directories which contains character č (and possibly other character like Δ‡ΕΎΕ‘Δ‘).. These are croatian local characters.. By trying to double click onto the folder nothing happens
Using deluged 1.3.15 on Ubuntu 18.04, libtorrent 1.1.13 as daemon, python 2.7
Using Deluge 1.3.15 on Windows 10, browsebutton 0.1.10 as client

Install error when I try to install the 2.7 egg on Deluge 1.3.15

I get this error when I try to install the 2.7 egg on Deluge 1.3.15:

[ERROR   ] 05:19:29 pluginmanagerbase:146 Unable to instantiate plugin!
[ERROR   ] 05:19:29 pluginmanagerbase:147 u'deluge_browsebutton/data/browse_button.js.glade'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge-1.3.15-py2.7.egg/deluge/pluginmanagerbase.py", line 144, in enable_plugin
    instance = cls(plugin_name.replace("-", "_"))
  File "build/bdist.linux-x86_64/egg/deluge_browsebutton/__init__.py", line 58, in __init__
    from .webui import WebUI as _plugin_cls
  File "build/bdist.linux-x86_64/egg/deluge_browsebutton/webui.py", line 47, in <module>
  File "build/bdist.linux-x86_64/egg/deluge_browsebutton/webui.py", line 49, in WebUI
  File "build/bdist.linux-x86_64/egg/deluge_browsebutton/common.py", line 23, in get_resource
    return resource_filename(__package__, os.path.join('data', filename + ext))
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1145, in resource_filename
    self, resource_name
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1744, in get_resource_filename
    return self._extract_resource(manager, zip_path)
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1765, in _extract_resource
    timestamp, size = self._get_date_and_size(self.zipinfo[zip_path])
KeyError: u'deluge_browsebutton/data/browse_button.js.glade'

I've tried doing the server restart that the README suggests, but to no avail. I've also tried building the egg myself for python 2.7 (which is what I'm running), but that also didn't fix the issue.

Local problem

browsebutton crahes on daemon with the next error:

[ERROR ] 17:16:56 rpcserver:303 Exception calling RPC request: encode() argument 1 must be string, not None
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 298, in dispatch
ret = self.factory.methods[method](*args, **kwargs)
File "/var/lib/deluge/.config/deluge/plugins/browsebutton-0.1.5-py2.7.egg/browsebutton/core.py", line 119, in get_folder_list
folder = folder.encode(CURRENT_LOCALE)
TypeError: encode() argument 1 must be string, not None

My locale is:
root@seedbox:/# locale
LANG=es_ES.UTF-8
LANGUAGE=
LC_CTYPE="es_ES.UTF-8"
LC_NUMERIC="es_ES.UTF-8"
LC_TIME="es_ES.UTF-8"
LC_COLLATE="es_ES.UTF-8"
LC_MONETARY="es_ES.UTF-8"
LC_MESSAGES="es_ES.UTF-8"
LC_PAPER="es_ES.UTF-8"
LC_NAME="es_ES.UTF-8"
LC_ADDRESS="es_ES.UTF-8"
LC_TELEPHONE="es_ES.UTF-8"
LC_MEASUREMENT="es_ES.UTF-8"
LC_IDENTIFICATION="es_ES.UTF-8"
LC_ALL=

It's an freshly installed Ubuntu machine. LANGUAGE seems empty, but that shouldn't be a problem, as it just overrides other values.

Define Top level folder / directory

Hey there, amazing addition - literally the reason I switched to Deluge.

Just to make it easier for less technical users (ie the wife), can we add an option preference (perhaps in browserbuttton.conf) to define a new root folder - ie I want to restrict users to the download drive, without access to put things into system folder.

Or does this exist undocumented already?

Cheers.

New plugin eggs?

Can we get new eggs for Python 3.12?
Been using your plugin for a long time, it's making Deluge usable

Support for Python 3.9

Well it's been a year! If there's any chances you haven't abandoned the plugin, I really hope that giving us a support for Python 3.9 won't be a big trouble for you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.