-
Couldn't load subscription status.
- Fork 181
improving HDT #224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improving HDT #224
Conversation
adding torrent edit function
modding torrent instead of downloading from site.
updating to correct source flag
|
Please let me double check this works ok before merging as someone reported an issue |
updating config with personal announce url field
|
this can be merged. works on all my tests. Admins want the description updated. I will take care of that next week. @sirius-sama can you check again its working for you. I never updated the example config with the my_announce field and thats why it failed for you |
was looking for hash from meta but meta does not contain has if not passed when l4g is ran
Commented out download torrent function
|
Sorry, I didn't reply here before. All are working fine. (In case L4G is waiting for my response before approval) |
|
Sorry, I've been really busy. What's the reasoning behind adding my_announce_url to the config vs using the announce_url that seems to exist in the config already? |
These are different. Unlike other trackers where you can upload a torrent with your personal announce url(with passkey) in it on HDT that will result in an error. You need to upload with the generic announce_url and then you can add your announce+passkey to the torrent in your client or download the torrent from HDT with your personal announce url(with passkey). Make sense? theres is a few options i could think of here.
i dont mind what you choose or if you think of a better way. |
|
@swannie-eire Just took a second look and it seems like the announce_url config value is not used. Can we use this value with what you have as my_announce_url, or just require passkey? Also description updates were mentioned, feel free to throw them in with these or make a new PR later. Thanks for your continued contributions and putting up with me being extra slow. |
|
@L4GSP1KE announce_url It is used in the edit_torrent function which is called from the HDT module on line 118. you use that function to create all torrents for upload. Unfortunately for HDT you have to create with generic announce and then add your own announce afterwards. I wont have time to look at the description for a few weeks at the earliest so i would go ahead and merge this. I have been having a few weeks of hell with raid array dying days after i deleted all backups off g-drive as i was trying to get within their new storage limits. When it rains it pours. In future if i add trackers do you want me to try to keep custom functions like "add_tracker_torrent" in the tracker module. Im just trying to follow your lead by putting it in common since thats where you have torrent edit functions. I only started to teach myself to code last year so dont really have any professional experience. I just try to copy what i see others do whether thats right or wrong i dont know. |

fixing source flag
updating module to mod existing torrent instead of downloading as a lot less can go wrong.