How to change Deluge's Version Number
Posted: Sun Oct 18, 2009 9:09 pm
Because there are lots of trackers who don't allow Deluge Beta or RC versions, or Deluge alltogheter, here's what you need to do:
Find file core.py (located in /usr/lib/modules/python2.5/deluge/core, or replace python2.5 with whatever version of python you have, for linux, or C:\Program Files (x86)\Deluge\Deluge-Python\deluge-<version>.egg\deluge\core for Windows)
Find:
Replace with:
(In this exampled I changed deluge 1.2.0-rc1-dev to report as 1.1.9)
Find file core.py (located in /usr/lib/modules/python2.5/deluge/core, or replace python2.5 with whatever version of python you have, for linux, or C:\Program Files (x86)\Deluge\Deluge-Python\deluge-<version>.egg\deluge\core for Windows)
Find:
Code: Select all
# Set the user agent
self.settings = lt.session_settings()
self.settings.user_agent = "Deluge %s" % deluge.common.get_version()
Code: Select all
# Set the user agent
self.settings = lt.session_settings()
# self.settings.user_agent = "Deluge %s" % deluge.common.get_version()
self.settings.user_agent = "Deluge 1.1.9"