You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, passing the -BLU/--BLU argument works very well for copying the torrent description from BLU (I don't have access to PTP or HDB, so can't speak for those).
I noticed in this fork also has the options for other Unit3D trackers (AITHER, LST, OE+) mentioned in the help section. However, from my limited testing, it doesn't do anything.
As an example, I ran python upload.py movie.mkv -LST site_ID and it didn't parse anything, nor was there any error displayed. Here are the relevant parts of the output:
Gathering info for movie.mkv
No ID found in meta for BLU, searching by file name
Searching BLU by file name: movie.mkv
No valid data found on BLU
No matches found on any trackers.
Edition After Manual Edition:
Repack after Checks:
Skipping upload because images are already uploaded to imgbb. Existing images: 0, Required: 0
Prep material saved to Upload-Assistant/tmp/movie.mkv
So neither did it automatically find the torrent on the tracker, nor with my exact input of the torrent ID on the site (as it works with BLU).
I wouldn't mind implementing/fixing this myself, but from looking at the code, I'm not exactly sure why it's not working 😅
So, in src/prep.py, we have the gather_prep function which has
ifnotmeta.get('image_list'):
# \\\ifsearch_term:
# \\\ifspecific_tracker:
# \\\console.print(f"[blue]Processing only the {specific_tracker} tracker based on meta.[/blue]")
elifspecific_tracker=='BLU'andstr(self.config['TRACKERS'].get('BLU', {}).get('useAPI')).lower() =="true":
blu=BLU(config=self.config)
meta, match=awaitself.update_metadata_from_tracker('BLU', blu, meta, search_term, search_file_folder)
ifmatch:
found_match=True# \\\elifspecific_tracker=='LST'andstr(self.config['TRACKERS'].get('LST', {}).get('useAPI')).lower() =="true":
lst=LST(config=self.config)
meta, match=awaitself.update_metadata_from_tracker('LST', lst, meta, search_term, search_file_folder)
ifmatch:
found_match=True
Which looks analogous for BLU and LST (and the other mentioned Unit3D trackers) for manual calling.
But then, it also continues with
else:
# Process all trackers if no specific tracker is set in metadefault_trackers=self.config['TRACKERS'].get('default_trackers', "").split(", ")
# \\\if"BLU"indefault_trackersandnotfound_match:
ifstr(self.config['TRACKERS'].get('BLU', {}).get('useAPI')).lower() =="true":
blu=BLU(config=self.config)
meta, match=awaitself.update_metadata_from_tracker('BLU', blu, meta, search_term, search_file_folder)
ifmatch:
found_match=True
with only the original 3 trackers from L4G's original repo (PTP, BLU and HDB).
There's also this part in the actual gen_desc function
which I don't fully understand. Especially the last part, where the BLU description is tied to PTP being empty.
As for the specific tracker configs in src/trackers/ and their search_existing functions, they look pretty much identical, so I don't think the problem's there.
The text was updated successfully, but these errors were encountered:
Feel free to push extra sites for ID searching, but I'm not keen on any other sites being auto searched unless they are known for quality descriptions.
Currently, passing the
-BLU
/--BLU
argument works very well for copying the torrent description from BLU (I don't have access to PTP or HDB, so can't speak for those).I noticed in this fork also has the options for other Unit3D trackers (AITHER, LST, OE+) mentioned in the help section. However, from my limited testing, it doesn't do anything.
As an example, I ran
python upload.py movie.mkv -LST site_ID
and it didn't parse anything, nor was there any error displayed. Here are the relevant parts of the output:So neither did it automatically find the torrent on the tracker, nor with my exact input of the torrent ID on the site (as it works with BLU).
I wouldn't mind implementing/fixing this myself, but from looking at the code, I'm not exactly sure why it's not working 😅
So, in
src/prep.py
, we have thegather_prep
function which hasWhich looks analogous for BLU and LST (and the other mentioned Unit3D trackers) for manual calling.
But then, it also continues with
with only the original 3 trackers from L4G's original repo (PTP, BLU and HDB).
There's also this part in the actual
gen_desc
functionwhich I don't fully understand. Especially the last part, where the BLU description is tied to PTP being empty.
As for the specific tracker configs in
src/trackers/
and theirsearch_existing
functions, they look pretty much identical, so I don't think the problem's there.The text was updated successfully, but these errors were encountered: