Writing plugins for Deluge 2
Posted: Mon Feb 12, 2024 12:46 am
Now I'm certainly in new territory in the Python space - most of my programming experience has been with Java.
That being said, I can't seem to find a clear definition of what is required for creating a Deluge 2 plugin. I found the instructions that discuss how to convert a version 1 plugin to a version 2, which seemed only to address the UI requirements but nothing else.
I don't want to make a plugin that uses the UI ...
When I installed Deluge 2 on an Ubuntu VM, I followed the instructions https://dev.deluge-torrent.org/wiki/Dev ... 1.3/Plugin and the instructions work in version 2 ... where you use the script to create the folder structure and files for you - then you edit core.py then run the script that compiles the plugin into an egg ... pretty straight forward, except two things:
1) The structure of the plugins is identical to version 1 - which seems suspicious
2) The resulting plugin will not work on Deluge 2. When I install the egg file, the Settings in the UI acts like I gave it nothing and nothing shows up in the .config folder either.
So I searched for documentation that might be specific for Deluge 2 in terms of what exactly is required but I have found nothing and as you can even see in the link I provided above, it has 1.3 in the URL ... where's the 2.x version of that same page?
I am compiling the egg file with Python version 3.6.15 and I tried 3.8.18
If someone just wanted to know the base requirement for making a plugin for Deluge 2 - where they had no prior knowledge about making plugins for Deluge at all ... what resource should they be looking at to understand how to do it?
Thank you,
Mike
That being said, I can't seem to find a clear definition of what is required for creating a Deluge 2 plugin. I found the instructions that discuss how to convert a version 1 plugin to a version 2, which seemed only to address the UI requirements but nothing else.
I don't want to make a plugin that uses the UI ...
When I installed Deluge 2 on an Ubuntu VM, I followed the instructions https://dev.deluge-torrent.org/wiki/Dev ... 1.3/Plugin and the instructions work in version 2 ... where you use the script to create the folder structure and files for you - then you edit core.py then run the script that compiles the plugin into an egg ... pretty straight forward, except two things:
1) The structure of the plugins is identical to version 1 - which seems suspicious
2) The resulting plugin will not work on Deluge 2. When I install the egg file, the Settings in the UI acts like I gave it nothing and nothing shows up in the .config folder either.
So I searched for documentation that might be specific for Deluge 2 in terms of what exactly is required but I have found nothing and as you can even see in the link I provided above, it has 1.3 in the URL ... where's the 2.x version of that same page?
I am compiling the egg file with Python version 3.6.15 and I tried 3.8.18
If someone just wanted to know the base requirement for making a plugin for Deluge 2 - where they had no prior knowledge about making plugins for Deluge at all ... what resource should they be looking at to understand how to do it?
Thank you,
Mike