Skip to content

Instantly share code, notes, and snippets.

Avatar

Martin Hertz mhertz

View GitHub Profile
@mhertz
mhertz / core.patch
Created Jul 28, 2018
NoFolder v0.2 fixed to work with magnets too.
View core.patch
--- a/nofolder/nofolder/core.py 2018-07-28 02:25:57.360794842 +0200
+++ b/nofolder/nofolder/core.py 2018-07-28 02:27:42.743746681 +0200
@@ -44,6 +44,7 @@
from deluge.core.rpcserver import export
import os
import re
+from time import sleep
DEFAULT_PREFS = {
"dontaddfolder": False,
@mhertz
mhertz / core.patch
Last active Jul 22, 2018
LabelPlus v0.3.2.2 fixed to work with magnets too.
View core.patch
--- a/deluge-labelplus/labelplus/core/core.py 2018-07-22 21:52:18.126482042 +0200
+++ b/deluge-labelplus/labelplus/core/core.py 2018-07-22 21:53:29.439466952 +0200
@@ -39,6 +39,7 @@
import datetime
import logging
import os
+from time import sleep
import twisted.internet
@mhertz
mhertz / magnet2torrent.py
Created Jul 20, 2018
Fixes an issue with magnets without fallback trackers.
View magnet2torrent.py
#!/usr/bin/env python
'''
Created on Apr 19, 2012
@author: dan, Faless
GNU GENERAL PUBLIC LICENSE - Version 3
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
@mhertz
mhertz / magnet2torrent.py
Created Jul 20, 2018
Fixes an issue with magnets without fallback trackers + loads directly into standard client defined for torrent files(xdg-open).
View magnet2torrent.py
#!/usr/bin/env python
'''
Created on Apr 19, 2012
@author: dan, Faless
GNU GENERAL PUBLIC LICENSE - Version 3
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or