Edit .torrent files to add or change the trackers.
I am a user of transmission-remote and it seems it cannot edit the torrent files; does anyone know a way to edit the .torrent files in order to add or change trackers?
I looked around, but I got nothing; mktorrent seemed fine but it seems unable to edit existing torrents...
Thanks.
etb
my0pic wrote:
You can try TrackerModify http://publicbt.com/tracker_modify.pl
I have it working from a cron job that processes new torrents.
Totally forgotten until I saw this post.
(edit: I'm using rtorrent. Just tested this on an already running torrent and no need to restart torrents)
The script perfectly add torrents to the .torrent file.
But, how do I add trackers to a running torrent in rtorrent. I tried adding trackers to a .torrent file in .sessions folder of rtorrent but no success.
Similar Messages
-
I am trying to change the color and fonts of some of my web sites .gif files. Can I change the color to another hexadecimal color and change the fonts of the letters in Photoshop 13? I am using Windows 7 and heard that you could save the .gif file to another format, edit it, then change the file back to a .gif file. Is this true? If so, how do you do it? The file just has a solid color with the letters "Firm " on it. No animation.
You can edit a gif without changing the format, but once you save the file as a gif the text becomes part of the image, not text anymore, so you would need to clone or heal away the existing text and then create a new text layer and use save for web to create a new gif.
For access to the most editing tools, while the file is open in the editor go to image>mode and change it from index color to RGB. Saving as a gif will change it back to index mode. -
Edit .torrent files [solved]
Does anyone know of a cli app that cleanly handles editing .torrent files or is this doable in rtorrent somehow? rutorrent seems to handle it ok on my seedbox.
The reason I ask is, a site I'm a member of encourages long term seeding which is set by interval=n at the end of the tracker info, ie
https://xxxxxx.xx/announce.php?passkey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&interval=1
I've tried transmission which will edit the .torrent but it adds an id hash, shown in the top example below, whereas I want to be like the second example.
ftp://ftp.archlinux.org/iso/2009.08/archlinux-2009.08-netinstall-x86_64.iso90fe4805a22c8f8c.torrent
instead of
ftp://ftp.archlinux.org/iso/2009.08/archlinux-2009.08-netinstall-x86_64.iso.torrent
Last edited by rusty99 (2009-12-14 15:04:53)kazuo wrote:To parse bencode I use http://pypi.python.org/pypi/BitTorrent-bencode/5.0.8 is a python package, I use it interactively with ipython
That looks decent, thanks. -
In the Menu Bar, under File, then Open File, how do I change the selections?
I have Firefox 11.0 and Windows 5.1 (2007). In Firefox, I click on FILE in the Menu Bar, then OPEN FILE (Ctrl+O), and I see a small box; it says Look in: Mozilla Firefox. Below is a selection of files within the folder Mozilla Firefox. To the left is a column of four other folders: Downloads, My Computer, John, Lori. The last two are obviously two of the folders I've created on my computer, using Windows. But I don't know how they got here! I have no recollection of customizing this particular Firefox menu option by adding those folders, nor can I figure out what to do in order to further customize it. Can anyone tell me: (1) how can I change the original "Look in" option so that it opens with something other than "Mozilla Firefox" (which, after all, I never need to access)? (2) how can I add/delete/change the choices offered in the column on the left, so that different folders are listed? (Currently, if I want to access my Windows folders/files, I first have to minimize the Firefox screen; this seems to me a nice shortcut, but I'd like it to include shortcuts to the folders I use the most, which does not include "Mozilla Firefox"!) (3) Is this actually a Firefox feature, or is it a Windows feature? It does look like Windows (Windows style, Windows folders), but it appears only in the Firefox Menu Bar, along with Bookmarks, Tools, etc. Thanks!
This sounds like a Windows thing ( You can post a photo and I can tell you for certain). Those folders are Windows system created folders that your computer has had since it was installed, all Firefox does is use the Windows File picker, which is what you see when you open that window. So, to customize you'd have to do that from Windows Explorer (not Firefox).
The Window should however remember what folder you were in last. -
when editing info, how do i select multiple items to edit a group? For example, changing the artist name on multiple tracks at once?
Same way you select multipl items anywhere else.
Hold ctrl and click the items you want.
If they are in consecutive order, click the 1st then Shift click the last. -
Why, when I add or change the size of one cell, others cells of the page expand?
Why, when I add or change the size of one cell, others cells of the page expand?
Start with the links I provided in my first reply - From Tables to CSS Parts 1 and 2.
There are tons of free online tutorials available on the web.
SitePoint
Positioning is Everything - deals with fixes for well-known browser bugs.
Max Design - CSS Page Layouts
TJK Design - one HTML, many CSS layouts
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com -
Trying to edit a file in Acrobat, I select the image, right click-edit image. Opens in Photoshop, I make correction, but file updates back in Acrobat at a lower resolution
What was the resolution before and after?
-
I have a Adobe Creative Suite 6 Design Standard and Teacher Edition download for Windows, can I change the platform to Mac?
You can request to swap languages/platforms for a latest version product if you follow the instructions at the following link:
http://helpx.adobe.com/x-productkb/policy-pricing/order-product-platform-language-swap.htm l -
Extending OA tutorial - Task 3: Add or Change the Attribute Default Values
Hi,
I am trying to extend an existing EO (PurchaseOrderHeaderEO) and add some defaulting Logic. I'm trying to set a default value for the PaymentTermsCode.
When the code runs I am getting an error:
oracle.jbo.RowCreateException: JBO-25017: Error when creating a new entity line for mynamePurchaseOrderHeaderEO.
1. My new entity object extended PurchaseOrderHeaderEO
2. As outlined in the tutorial I also generated the create method.
3. I updated my java class (mynamePurchaseOrderHeaderEOImpl) with the following code.
public void create(AttributeList attributeList)
super.create(attributeList);
// Add or change the default values here. setPaymentTermsCode("NET_60");
4. I`ve added the EO substitution to the project.
Have I don anything wrong or missed anything?
ThanksHi Tapash,
Thanks for the valuable advise.
Before proceding on given suggestion i have one queries,
i.e the above error was coming when directly launching copied PoDescPG.xml from ExtendLab.jpr project but as suggested by you, it think i need to launch copied PoSummaryCreatePG.xml from ExtendLab.jpr?
Also I tried launching copied PoSummaryCreatePG.xml from ExtendLab.jpr and clicked on (B) "Create Purchase Order" but expected output (the defaulting of NET_60 for field "Payment Terms") is not found i.e. getting black value on the screen for field "Payment Terms".
But I have already applied the substitution in ExtendLab.jpr for using the custom EO object & custom EO is modified as below
public void create(AttributeList attributeList)
super.create(attributeList);
setPaymentTermsCode("NET_60");
Please help.
Thanks & Regards,
OA -
How can I add or change the Network I'D for the TouchPad?
Most devices on a network have names for the device for one reason or another. This helps to distinguish between connected devices and the legitimacy thereof.
So far I have been unable to add a Network ID to this TouchPad.
With the Amazon Kindle Fire had seen the network ID as "My Phone" which I really wanted to change, and fast. Did manage to change it with an Android app called Fing, which allowed me to use a rather unorthodox network identification name.
Would like to find another network utility that can do the same for the HP TouchPad. Any ideas as to a utility, or a more manual method? Fing via the Kindle Fire shows no network ID for my TouchPad.
Post relates to: HP TouchPad (WiFi)
This question was solved.
View Solution.Hello Xelkos,
What you're talking about is actually a feature of DHCP. When asking for an IP address, a client can send a hostname to the server so that it can be easily identified in a human-readable way.
By default, this is disabled on the TouchPad. To enable it, you're going to need to edit a text file on the device. There's lots of different ways to do this, so pick your favorite and then follow these insturctions.
Find /etc/dhclient.conf and open it
Find the line that starts with:
# send-hostname
Delete the "#" sign in front of the line and change the text inside the quotes. This text should be whatever you want your hostname to be:
send-hostname "TouchPad"
Once you've done that, save and close the file
Next, turn Wi-Fi off and then back on. You should now see your hostname show up on your Access Point / Router.
NOTE: Remember that in order to make these changes permanent, you must set the file system as read-write:
mount -o remount,rw /
You must also set it back to read-only when you're done:
mount -o remount,ro / -
How do I alter the bytes of a Class file to add calls to the methods?
If i had the bytes of a class file, and I wanted to alter the bytes that constitute each method for the class so that it included a call to the security manager, how would i do it?
1. How would I know which bytes were the opening of a method?
2. how would I know what the name of the method is?
3. How would I create bytes for something like:
SecurityManager sm = System.getSecurityManager().checkPermission(thismeth, subject);
4. I assume that if by some miracle I can do the above, then all I have to do is call defineClass(...) in ClassLoader and send it the new bytes, right?
Thanks to all!OK, if it will help anyone get me the answers here, I found a class on the internet that can read a class file and tell you where in the bytes a method occurs and what its name is, and how long it is. What I need now is how to convert a call into the correct manner of bytes.
For example, so I could add the bytes that would do:
System.out.println("Added!");
The class that reads a class file:
/* Inspector.java by Mark D. LaDue */
/* June 24, 1997 */
/* Copyright (c) 1997 Mark D. LaDue
You may study, use, modify, and distribute this example for any purpose.
This example is provided WITHOUT WARRANTY either expressed or implied. */
/* This Java application analyzes the entries in the constant pool and locates
the code arrays in a Java class file. Each entry in the constant pool
yields the following information:
Index Tag Reference(s)/Value(s)
where "Index" is its position within the class file's constant pool,
"Tag" is the official tag number for that type of entry, and
"Reference(s)/Value(s)" contains the constant pool information
according to the entry's type. (See Lindholm and Yellin's "The Java
Virtual Machine Specification" for details.) For each code array in
the class file, its starting byte, its total length, and the name of
the method in which it occurs are given. Combining this information
with the information yielded by the humble "javap" utility gives one
sufficient information to hack the code arrays in Java class files. */
import java.io.*;
class Inspector {
public static void main(String[] argv) {
int fpointer = 8; // Where are we in the class file?
int cp_entries = 1; // How big is the constant pool?
int Code_entry = 1; // Where is the entry that denotes "Code"?
int num_interfaces = 0; // How many interfaces does it use?
int num_fields = 0; // How many fields are there?
int num_f_attributes = 0; // How many attributes does a field have?
int num_methods = 0; // How many methods are there?
int num_m_attributes = 0; // How many attributes does a method have?
int[] tags; // Tags for the constant pool entries
int[] read_ints1; // References for some constant pool entries
int[] read_ints2; // References for some constant pool entries
long[] read_longs; // Values for some constant pool entries
float[] read_floats; // Values for some constant pool entries
double[] read_doubles; // Values for some constant pool entries
StringBuffer[] read_strings; // Strings in some constant pool entries
int[] method_index;
long[] code_start;
long[] code_length;
// How on earth do I use this thing?
if (argv.length != 1) {
System.out.println("Try \"java Inspector class_file.class\"");
System.exit(1);
// Start by opening the file for reading
try {
RandomAccessFile victim = new RandomAccessFile(argv[0], "r");
// Skip the magic number and versions and start looking at the class file
victim.seek(fpointer);
// Determine how many entries there are in the constant pool
cp_entries = victim.readUnsignedShort();
fpointer += 2;
// Set up the arrays of useful information about the constant pool entries
tags = new int[cp_entries];
read_ints1 = new int[cp_entries];
read_ints2 = new int[cp_entries];
read_longs = new long[cp_entries];
read_floats = new float[cp_entries];
read_doubles = new double[cp_entries];
read_strings = new StringBuffer[cp_entries];
//Initialize these arrays
for (int cnt = 0; cnt < cp_entries; cnt++) {
tags[cnt] = -1;
read_ints1[cnt] = -1;
read_ints2[cnt] = -1;
read_longs[cnt] = -1;
read_floats[cnt] = -1;
read_doubles[cnt] = -1;
read_strings[cnt] = new StringBuffer();
// Look at each entry in the constant pool and save the information in it
for (int i = 1; i < cp_entries; i++) {
tags[i] = victim.readUnsignedByte();
fpointer++;
int skipper = 0;
int start = 0;
int test_int = 0;
switch (tags) {
case 3: read_ints1[i] = victim.readInt();
fpointer += 4;
break;
case 4: read_floats[i] = victim.readFloat();
fpointer += 4;
break;
case 5: read_longs[i] = victim.readLong();
fpointer += 8;
i++;
break;
case 6: read_doubles[i] = victim.readDouble();
fpointer += 8;
i++;
break;
case 7:
case 8: read_ints1[i] = victim.readUnsignedShort();
fpointer += 2;
break;
case 9:
case 10:
case 11:
case 12: read_ints1[i] = victim.readUnsignedShort();
fpointer += 2;
victim.seek(fpointer);
read_ints2[i] = victim.readUnsignedShort();
fpointer += 2;
break;
// This is the critical case - determine an entry in the constant pool where
// the string "Code" is found so we can later identify the code attributes
// for the class's methods
case 1: skipper = victim.readUnsignedShort();
start = fpointer;
fpointer += 2;
victim.seek(fpointer);
for (int cnt = 0; cnt < skipper; cnt++) {
int next = victim.readUnsignedByte();
switch (next) {
case 9: read_strings[i].append("\\" + "t");
break;
case 10: read_strings[i].append("\\" + "n");
break;
case 11: read_strings[i].append("\\" + "v");
break;
case 13: read_strings[i].append("\\" + "r");
break;
default: read_strings[i].append((char)next);
break;
victim.seek(++fpointer);
victim.seek(start);
if (skipper == 4) {
fpointer = start + 2;
victim.seek(fpointer);
test_int = victim.readInt();
if (test_int == 1131373669) {Code_entry = i;}
fpointer = fpointer + skipper;
else {fpointer = start + skipper + 2;}
break;
victim.seek(fpointer);
// Skip ahead and see how many interfaces the class implements
fpointer += 6;
victim.seek(fpointer);
num_interfaces = victim.readUnsignedShort();
// Bypass the interface information
fpointer = fpointer + 2*(num_interfaces) + 2;
victim.seek(fpointer);
// Determine the number of fields
num_fields = victim.readUnsignedShort();
// Bypass the field information
fpointer += 2;
victim.seek(fpointer);
for (int j=0; j<num_fields; j++) {
fpointer += 6;
victim.seek(fpointer);
num_f_attributes = victim.readUnsignedShort();
fpointer = fpointer + 8*(num_f_attributes) + 2;
victim.seek(fpointer);
// Determine the number of methods
num_methods = victim.readUnsignedShort();
fpointer += 2;
// Set up the arrays of information about the class's methods
method_index = new int[num_methods];
code_start = new long[num_methods];
code_length = new long[num_methods];
//Initialize these arrays
for (int cnt = 0; cnt < num_methods; cnt++) {
method_index[cnt] = -1;
code_start[cnt] = -1;
code_length[cnt] = -1;
// For each method determine the index of its name and locate its code array
for (int k=0; k<num_methods; k++) {
fpointer += 2;
victim.seek(fpointer);
method_index[k] = victim.readUnsignedShort();
fpointer += 4;
victim.seek(fpointer);
// Determine the number of attributes for the method
num_m_attributes = victim.readUnsignedShort();
fpointer += 2;
// Test each attribute to see if it's code
for (int m=0; m<num_m_attributes; m++) {
int Code_test = victim.readUnsignedShort();
fpointer += 2;
// If it is, record the location and length of the code array
if (Code_test == Code_entry){
int att_length = victim.readInt();
int next_method = fpointer + att_length + 4;
fpointer += 8;
victim.seek(fpointer);
code_length[k] = victim.readInt();
code_start[k] = fpointer + 5;
fpointer = next_method;
victim.seek(fpointer);
// Otherwise just skip it and go on to the next method
else {
fpointer = fpointer + victim.readInt() + 4;
victim.seek(fpointer);
// Print the information about the Constant Pool
System.out.println("There are " + (cp_entries - 1) + " + 1 entries in the Constant Pool:\n");
System.out.println("Index\t" + "Tag\t" + "Reference(s)/Value(s)\t");
System.out.println("-----\t" + "---\t" + "---------------------\t");
for (int i = 0; i < cp_entries; i++) {
switch (tags[i]) {
case 1: System.out.println(i + "\t" + tags[i] + "\t" + read_strings[i].toString());
break;
case 3: System.out.println(i + "\t" + tags[i] + "\t" + read_ints1[i]);
break;
case 4: System.out.println(i + "\t" + tags[i] + "\t" + read_floats[i]);
break;
case 5: System.out.println(i + "\t" + tags[i] + "\t" + read_longs[i]);
break;
case 6: System.out.println(i + "\t" + tags[i] + "\t" + read_doubles[i]);
break;
case 7:
case 8: System.out.println(i + "\t" + tags[i] + "\t" + read_ints1[i]);
break;
case 9:
case 10:
case 11:
case 12: System.out.println(i + "\t" + tags[i] + "\t" + read_ints1[i] + " " + read_ints2[i]);
break;
System.out.println();
// Print the information about the methods
System.out.println("There are " + num_methods + " methods:\n");
for (int j = 0; j < num_methods; j++) {
System.out.println("Code array in method " + read_strings[method_index[j]].toString() + " of length " + code_length[j] + " starting at byte " + code_start[j] + ".");
System.out.println();
// All the changes are made, so close the file and move along
victim.close();
} catch (IOException ioe) {} -
System files on OSX Lion / Changing the bakround of Log-on screen
I found a guide to how to change the incredibly boring bakround in the log-on screen on OSX Lion, which was described really easy. And since its such a boring bakround and since i like to customize my stuff, was just about to go through the few basic steps to change it.
When i directly ran in to a problem.
In order to change the bakround, i need to find this location "/System/Library/Frameworks/AppKit.framework/Versions/C/Resources" and then the file "NSTexturedFullScreenBackgroundColor.png".
But, If i search in finder, it shows no results at all if i search for the filename, and no results shown when i search for any of the folders names...
Why??
I have done no changes since i bought my macbook pro 13.3", with OSX Lion on it a few weeks ago. I am the admin and only user of the macbook.
It is set to Swedish as the main language, could that result in the system files having different names?
Otherwise other ways to change the log-on screen's bakround will be appreciated as well.
As long as the tip is not "Ravissant", wich i have already looked at, but that would only make the log-on screen even uglier.
I found the tips on this site: http://http://t3kd.com/blog/2011/07/27/how-to-change-os-x-lion-login-screen-back ground/?pid=313
Even though i'm not asking for help to understand this "how to", i'm just asking why my computer can't find thoose files.
Help Appreciated /optifekkThat has never been a feature of Mac OS X, but I believe there was some kind of third-party software that could add that capability. i don't recall what its name is, but you must have had that installed, and it either isn't installed anymore (perhaps removed as incompatible?) or is not working properly in Mountain Lion.
-
Step incrementing of .ini file and check and changing the content within step
Hello I want to increment the [step002] automatically in the .ini file. If the steps are copied and pasted more times in already existing file, where by doing so the step numbers are doubled. For example if there exists [Step002] followed by content of it and then [Step001] and followed by contet of it and [Step002] followed by content of it. And if a person copies [Step002] with its content 80 times or n number of times then the last one should be automatically incremented to new number as [Step003] and [Step004] [Step005]. And then I want to arrange the content under each step. In my file I have a " Group_Start = Step001" and " Group_Name = OQ_004 set high port" as contents in each step. I want to arrange the group name.
What I want is, if in the newly copied [Step002] which would have already been incremented to [Step004], it would contain Group_Name = OQ_004 set high port which I have highlighted in italics, if this already exists some where in the file, then its corresponding Group_Start = Step001 which I have highlighted in italics should be given to the newly copied and incremented [Step004]. And in case the Group_Name = OQ_004 set high port which I have highlighted in italics does not match any where then its corresponding Group_Start will be as Group_Start = Step004. That means since the group name is new and it does not exist already in the file, the Group_Start should take its step number [Step004] which her I have highlighted in italics, as its Group_Start = Step004. Here with I attach my file and I also attach my steps which I had tried. It would be nice if solution is given or further step ideas from my steps to complete the task is given.
Thank you.
John
Attachments:
Config.ini 2 KB
Tried.vi 26 KBHello, Thank you for your reply. May be I break it into steps. Now where I am struck is that if there are say random numbers some repeated ones
example 001, 002, 002, 002, 004, 007, 006 etc.. I would like get sorted in ascending order and also the reapeated numbers should be in the running order. That means 001, 002, 003, 004, 005, 006 etc.. There should not be repeated numbers.if reapeatd then the repeated one should have to be incremented from the previous one. If this has been solved then I can explain the other part and shall aslo goahead. I had already tried one method but the loop seems to be not exactly matching. There are some numbers which come extra. You can use the same config file which I had sent earlier. Just copy and paste the steps below or inbetween and use it for testing. Thank you
Attachments:
change all stepst number.vi 14 KB -
What has happened!!??? Slideshow set up was so easy before...now I cannot change the music ..have looked at the instructions,,no good, does not work. WAS SO EASY BEFORE.
also, where are my EVENTS files???Moments in Photo are the new Events. There's a way to simulate events in Photos.
When the library was first migrated there was a folder created titled iPhoto Events and all migrated iPhoto Events are represented by an album in the folder. To open the sidebar if it's not open use the Option+Command+S key combination.
When new photos are imported into the Photos library go to the Last Import smart album, select all the photos and use the File ➙ New Album menu option or use the key combination Command+N. Name it as desired. It will appear just above the iPhoto Events folder where you can drag it into the iPhoto Events folder
When you click on the iPhoto Events folder you'll get a simulated iPhoto Events window.
The downside to the simulation is that the Album/Events can only be sorted automatically by Title. But they can be sorted manually. Ask Apple for more sorting options in Photos via https://www.apple.com/feedback/photos.html.
Now if you want to merge Album A into Album B click on Album A in the sidebar. Select all of the photos in A and drag them onto the Album B icon in the sidebar. Check to make sure all of the photos are in Album B and before deleting Album A. -
how do you change the format of a file.
Why do you think repeating yourself is going to make things clear?
Additional information that might help;
current format of file,
desired format of file,
application that created file
and applications file going to used in.
Allan
Maybe you are looking for
-
How do I create a One to many relationship page in Dreamweaver?
How do I create a page in dreamweaver that comes up after the user logs in from the log in page that will allow the user to: Add, change and delete in 2 tables that are in my MYSQL database that is a one to many relationship One thing that is confusi
-
Document not getting posted to G\L account
when i try to release the document to G/L account using vf02 by clicking flag getting error msg : account 800000 requires an assignment to CO object & when i use t-code vfx3 in the log file the msg is incomplete due to FI/CO interface now how to proc
-
Is there a built-in web service for FND_REQUEST.submit_request API?
This is with regards to EBS Concurrent Requests and their execution. I am doing a PoC around this EBS integration. In this regard, I needed some help. I would like to know, does EBS have any built-in mechanism that could expose the FND_REQUEST.sub
-
Hello guys, I have a very rare issue with my Mac App Store application. Whenever I want to make an update of a piece of software that I've bought, Angry Birds apears as if I had it, when I haven't. The thing is, I want angry birds to desappear from m
-
Make websites with .Mac on another server (problem!)
Hello. I have some problems with iWeb. When I start iWeb it pops up a .Mac popup, I click close and the theme chooser should be there so I can start make a homepage with iWeb. But I can't click the plus sign, neither can I select "New page" or "New s