Code Monkey home page Code Monkey logo

torrent-file-editor's Introduction

Crowdin Version

Torrent File Editor

Qt based GUI tool designed to create and edit .torrent files

Author: Ivan Romanov <[email protected]>
License: GNU General Public License v3.0 or later
Homepage: https://torrent-file-editor.github.io
Sources: https://github.com/torrent-file-editor/torrent-file-editor
Crowdin translations: https://crowdin.com/project/torrent-file-editor

Build Instructions

Need to have

  • CMake >= 3.5
  • Qt4 or Qt5 or Qt6
  • Sparkle only for Mac OS X

To choose Qt version use QT*_BUILD=ON cmake cache entry. Or QT_QMAKE_EXECUTABLE=/path/to/qmake. Actually QT_QMAKE_EXECUTABLE added for autodecting in Qt Creator. Qt Creator adds this enty for each project. If no any from above will be used Qt5.

Linux

Should works for any Linux distribution which has CMake and Qt.

Qt4

mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DQT4_BUILD=ON ..
make

Qt5

mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DQT5_BUILD=ON ..
make

If building Qt5 version on Ubuntu 18.04+, install required Qt5LinguistTools from qttools5-dev package.

Qt6

mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DQT6_BUILD=ON ..
make

If cmake report some Qt6 requirements missing on Ubuntu, install them.

sudo apt install qt6-tools-dev libqt6core5compat6-dev

Mac OS X

Only Qt5 version

mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
make dmg # to build dmg package

I use macOS Mojave 10.14.4 with Qt 5.5.1 and Sparkle 1.20.0.

Windows

Windows version can be build with official MinGW Qt and Qt Creator. For build Qt6 version need to install Qt5Compat module. Building with MSVC studio not tested and may not work.

I use Fedora 31 MinGW to build Windows versions. Furthermore I build portable static versions. Package mingw-qt4 modified with some patch to fix building. See build.sh for details.

How Can I Help?

The Project is translated from English to several languages. I would be glad if you add new translations. You can translate the project to your native language with Crowdin. It is not difficult and no special knowledges are required. Or you can correct my English. I know it is not good. Anyway you can always email <[email protected]> me.

Also feel free to open an issue on GitHub or send me pull requests.

Translations

Afrikaans - Afrikaans
العربية - Arabic
বাংলা - Bengali
简体中文 - Chinese Simplified
繁體中文 - Chinese Traditional
Čeština - Czech
Nederlands - Dutch
English - English
Suomi - Finnish
Français - French
Deutsch - German
עברית‎ - Hebrew
Magyar - Hungarian
Indonesia - Indonesian
Italiano - Italian
日本語 - Japanese
한국어 - Korean
Polski - Polish
Português (Brasil) - Portuguese (Brazil)
Română - Romanian
Русский - Russian
Español - Spanish
Türkçe - Turkish
Tiếng Việt - Vietnamese
Украї́нська - Ukrainian

torrent-file-editor's People

Contributors

aapo avatar atalanttore avatar baack avatar danfe avatar danieldeankon avatar drizt avatar felixonmars avatar keschercode avatar qwerty258 avatar venusgirl 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  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  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  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  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  avatar  avatar

torrent-file-editor's Issues

A few English grammer suggestions

In "Main" Tab Change "Url" to "URL" (that's the correct spelling)
In "Main" Tab Change Creation time to Date created (A more common term)
In "Files" Tab Change Make torrent to Calculate pieces hashes (Maybe it will confuse users between it and between save as).
In "Files" Tab Change Base folder to Parent folder (it's a more common term).

Permissions related issue

When you try to save a file and you don't have the permissions to save it, the app doesn't tell you to run it as administrator or there's a permissions related problem. Please fix it.
In other words: Show warning if file wasn't successfully saved.

Can't save torrent

How do I save the torrent? I need to remove some files. I loaded my torrent, went to the files tab, removed the files, and saved the torrent but nothing has changed. I gave the torrent a new name so it is saving the torrent, just not any changed I made to it.

[REQ] Save dialogue new form

The save dialogue would be better if it's like: Save - Don't Save - Cancel (like Microsoft Notepad). And The X button and ESC is for closing the dialogue without changing anything (like Microsoft Notepad).
For more information see Microsoft Notepad save dialogue.

'Tree' tab related issues and requests

In 'Tree' tab the 'Type' drop-down list would be better if the list items are chosen after a single click (currently you need to click it then click on a blank space). Also, the combo list containing the data types isn't displayed correctly. See:
http://i.imgur.com/eP84adZ.png
Also, The dictionary type isn't showing completely
http://i.imgur.com/lW0gfZ3.png
So, the combo list needs to be resized.
Edit:
Added a new fixed screen (Windows visual effects settings were changed back then)

SIGSEGV right after start

gdb reveals

(gdb) set args /tmp/059E48D8F106144CFFB61CE9A72C4C39A0F67C34.meta.torrent 
(gdb) run
Starting program: /mnt/data/sources/torrent-file-editor/torrent-file-editor /tmp/059E48D8F106144CFFB61CE9A72C4C39A0F67C34.meta.torrent 
warning: the debug information found in "/lib64/ld-2.24.so" does not match "/lib64/ld-linux-x86-64.so.2" (CRC mismatch).

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe87b7700 (LWP 18360)]
[New Thread 0x7fffe73c7700 (LWP 18361)]
[New Thread 0x7fffe6040700 (LWP 18362)]
[New Thread 0x7fffd6aba700 (LWP 18369)]
[New Thread 0x7fffd62b9700 (LWP 18370)]

Thread 1 "torrent-file-ed" received signal SIGSEGV, Segmentation fault.
0x00005555555aa074 in Bencode::integer() const ()
(gdb) bt
#0  0x00005555555aa074 in Bencode::integer() const ()
#1  0x00005555555a7341 in BencodeModel::files() const ()
#2  0x00005555555864b5 in MainWindow::updateFiles() ()
#3  0x0000555555582f02 in MainWindow::open(QString const&) ()
#4  0x00005555555800c5 in main ()

The content of 059...torrent:

d4:infod13:meta_downloadi1e4:name45:059E48D8F106144CFFB61CE9A72C4C39A0F67C34.meta6:pieces20:�H����L�����,L9��|4e10:magnet-uri52:magnet:?xt=urn:btih:AWPERWHRAYKEZ75WDTU2OLCMHGQPM7BU22:rtorrent_meta_downloadd8:commandsle9:print_logi0e5:starti1eee

github.com fails to upload a zip archive containing it. I hope you can reconstruct the file and reproduce the issue, if not I'll try to get you the file through another channel.

experienced with v0.3.1-2-g39ba415 on Ubuntu 16.10

E-mail

Hi,

I´ve translated the localization file, but the attempt to use the adresse [email protected] was unsuccessful, marked as: You message for [email protected] from 2015/05/18 could not be delivered.

It's attached below. Reason:

4.4.0 smtp; 185.79.118.237: Socket connect timeout

Failure after calculate piece hash

Version: v0.3.1 (2016/12/28)
After calculating progress dialog, always reported can't read from last file.
The last file i can open by WinRAR, and test OK.

image

image

image

image

Allow copying multiple file names

When you select a file and click Ctrl+C its name will be copied to clipboard. But if you select multiple files and click Ctrl+C only one file will be copied.

I made a Spanish translation :D

Please, review it 🙏

My mother language is spanish, but I'm tired and we all make mistakes 😝
Therefore, any feedback is appreciated!

Scroll to bottom after adding files or folders

After you add files or folders scroll into view of it to confirm that it was added successfully.
In other words: Scroll to bottom when you add files or folders to confirm that it was added successfully.

Test new version

Hello @zeromido.

I done some changes and improvments for Torrent File Editor. So I ask you to check these changes. New beta version you can download here.

Please check English translations and design. Was added Replace/Search dialog in Tree tab. Also fixed some your issues.

[REQ] Drag & Drop support

Hi,
Please, can you add Drag & Drop support.
I hope feature requests are here. Sorry if it's not.
Regards

Crash while Calculating piece hashes

The app crashes while Calculating piece hashes. I don't know why. It happens on different occasions.
Try to add C:\Windows\Media folder then click make torrent if it doesn't crash do it again.
I'm using Windows 7 Ultimate.
Details:
Problem signature:
Problem Event Name: APPCRASH
Application Name: torrent-file-editor-0.2.2-x32.exe
Application Version: 0.0.0.1
Application Timestamp: 575123fc
Fault Module Name: torrent-file-editor-0.2.2-x32.exe
Fault Module Version: 0.0.0.1
Fault Module Timestamp: 575123fc
Exception Code: c00000fd
Exception Offset: 0094e323
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1033
Additional Information 1: 70a2
Additional Information 2: 70a29c7dec019d62e3033da7e12ab1cc
Additional Information 3: 069d
Additional Information 4: 069daa85d06a699e03c018d40d6b8e74

Czech localization update

Hi, first I've updated the Transifex version - then reused .qph library to complete the latest Git version localization file. (If I remember,
torrentfileeditor_cs.tar.gz

there is some other translation service, where I could upload it.)

Remember the last folder feature is a bit buggy

My English is kinda broke here :p so if you don't understand anything please tell me.
Remember the last folder feature is a bit buggy. I can't explain it to you, but here's the detailed steps to find the bugs I'm talking about:
Click "Open" and select a file.
Navigate to "Files" tab and click "Add folder" and select a folder.
Click "Open" again. As you can see, the last folder has changed to the folder you added to the files list.
Click "Add folder" again. As you can see, it's the root (parent) of the folder you selected not the folder itself.
Note: If you clicked "Open" again the path in "Add folder" will remain as it is.
In other words: "Add folder" last folder changes "Open" last folder and "Open" doesn't change "Add folder" last folder. Tricky, huh? LOL
Also, remembering the last folder you dragged-and-dropped a file from it won't be so bad either.

Add progress bar when viewing "Raw" tab

Add progress bar when viewing "Raw" tab (It takes a while to load especially with large torrents. So, add it to inform users that the app is working)
Also, when navigating between "Raw" and other tabs the app goes not responding (especially when it's still loading), so, try to rewrite the code make it easy to cancel and resume loading raw data.

info-hash regardless of it being invalid

Editor sorts info dictionary upon save. Without any changes at all to original info dictionary it is always sorted upon save. Editing and making changes outside of info should not change original hash.

http://bittorrent.org/beps/bep_0003.html

...20-Oct-2012 ([email protected]), clarified that info-hash is the digest of en bencoding found in .torrent file...

trackers

Tracker GET requests have the following keys:
info_hash
The 20 byte sha1 hash of the bencoded form of the info value from the metainfo file. Note that this is a substring of the metainfo file. The info-hash must be the hash of the encoded form as found in the .torrent file, regardless of it being invalid...

transmission/transmission#129 (comment)

It's true that bencoded dictionary keys MUST be sorted.
However, when some 'private trackers' started to generate erroneous .torrents, the chosen resolution was to hash the unsorted info dict as it is. BEP3 has been updated to reflect this.

[REQ] Change dragging function in 'Files' tab

In "Files" tab it would be better if dragging a file causes it to move it up or down not select, and to select files dragging the mouse pointer to create a selection around the outside of all the items (like windows explorer) and you can do that by leaving blank spaces between rows.
That's the dragging selection I meant
http://i.imgur.com/PYVHL9P.png
In other words:
See how windows explorer selects and moves files? That's what I'm asking you to do :)

Unicode characters are unsupported

Hi,
Torrent File Editor doesn't support Unicode characters as it displayed "小鸡快跑(国英双语)£圣城打佛"
as "С������(��Ӣ˫��)��ʥ�Ǵ���"

[REQ] Sorting files list

Sorting the files list by clicking on a column header would be helpful to determine the largest/smallest file by one click.
Also, a new column (like #) to reset sorting to default (something like the little square on the top left that selects all files) might be good too.

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.