Unfortunately, it looks like Mylar wants to create a file named after the magnet url. Apparently, it's too long.
Code: Select all
INFO :: mylar.searcher.3558 : SEARCH-QUEUE : Found DC Pride (2021) using LimeTorrents (torznab)
INFO :: mylar.torsend2client.971 : SEARCH-QUEUE : matched on DC Pride
INFO :: mylar.torsend2client.1135 : SEARCH-QUEUE : Got a magnet url from redirect.
ERROR :: mylar.searchforissue.3202 : SEARCH-QUEUE : Traceback (most recent call last):
File "/app/mylar3/mylar/search.py", line 3130, in searchforissue
foundNZB, prov = search_init(
File "/app/mylar3/mylar/search.py", line 520, in search_init
findit = NZB_SEARCH(
File "/app/mylar3/mylar/search.py", line 2440, in NZB_SEARCH
searchresult = searcher(
File "/app/mylar3/mylar/search.py", line 3936, in searcher
rcheck = rsscheck.torsend2client(
File "/app/mylar3/mylar/rsscheck.py", line 1300, in torsend2client
torrent_info = helpers.get_the_hash(filepath)
File "/app/mylar3/mylar/helpers.py", line 3440, in get_the_hash
torrent_file = open(filepath, "rb")
OSError: [Errno 36] Filename too long: 'magnet:?xt=urn:btih:F3DD27229E83B84984969DC2FA7731C26E836EDC&dn=DC+Pride+001+%282021%29+%28digital%29+%28Son+of+Ultron-Empire%29+cbr&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=udp%3A%2F%2Fretracker.lanta-net.ru%3A2710%2Fannounce&tr=udp%3A%2F%2Fopen.stealth.si%3A80%2Fannounce&tr=udp%3A%2F%2Ftracker.cyberia.is%3A6969%2Fannounce&tr=udp%3A%2F%2Fipv4.tracker.harry.lu%3A80%2Fannounce&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451%2Fannounce&tr=udp%3A%2F%2Fipv6.tracker.harry.lu%3A80%2Fannounce&tr=udp%3A%2F%2Fexodus.desync.com%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2F9.rarbg.to%3A2710%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.open-internet.nl%3A6969%2Fannounce&tr=udp%3A%2F%2Fopen.demonii.si%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.pirateparty.gr%3A6969%2Fannounce&tr=udp%3A%2F%2Fdenis.stalker.upeer.me%3A6969%2Fannounce&tr=udp%3A%2F%2Fp4p.arenabg.com%3A1337%2Fannounce'
Traceback (most recent call last):
File "/app/mylar3/mylar/search.py", line 3130, in searchforissue
foundNZB, prov = search_init(
File "/app/mylar3/mylar/search.py", line 520, in search_init
findit = NZB_SEARCH(
File "/app/mylar3/mylar/search.py", line 2440, in NZB_SEARCH
searchresult = searcher(
File "/app/mylar3/mylar/search.py", line 3936, in searcher
rcheck = rsscheck.torsend2client(
File "/app/mylar3/mylar/rsscheck.py", line 1300, in torsend2client
torrent_info = helpers.get_the_hash(filepath)
File "/app/mylar3/mylar/helpers.py", line 3440, in get_the_hash
torrent_file = open(filepath, "rb")
OSError: [Errno 36] Filename too long: 'magnet:?xt=urn:btih:F3DD27229E83B84984969DC2FA7731C26E836EDC&dn=DC+Pride+001+%282021%29+%28digital%29+%28Son+of+Ultron-Empire%29+cbr&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=udp%3A%2F%2Fretracker.lanta-net.ru%3A2710%2Fannounce&tr=udp%3A%2F%2Fopen.stealth.si%3A80%2Fannounce&tr=udp%3A%2F%2Ftracker.cyberia.is%3A6969%2Fannounce&tr=udp%3A%2F%2Fipv4.tracker.harry.lu%3A80%2Fannounce&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451%2Fannounce&tr=udp%3A%2F%2Fipv6.tracker.harry.lu%3A80%2Fannounce&tr=udp%3A%2F%2Fexodus.desync.com%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2F9.rarbg.to%3A2710%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.open-internet.nl%3A6969%2Fannounce&tr=udp%3A%2F%2Fopen.demonii.si%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.pirateparty.gr%3A6969%2Fannounce&tr=udp%3A%2F%2Fdenis.stalker.upeer.me%3A6969%2Fannounce&tr=udp%3A%2F%2Fp4p.arenabg.com%3A1337%2Fannounce'
For testing purposes I created a file named
Code: Select all
magnet:?xt=urn:btih:F3DD27229E83B84984969DC2FA7731C26E836EDC&dn=DC+Pride+001+%282021%29+%28digital%29+%28Son+of+Ultron-Empire%29+cbr&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce
So even if I found a way around the filename being too long it wouldn't help me.
Is there a way to configure Mylar to write .magnet files with the magnet url inside?
It's not a dealbreaking problem for me since I can always manually search for the files and add them from Jackett.