Comments (5)
Looks like deluge 3 raises an actual exception on duplicate torrents being added. I've stopped duplicate torrents being downloaded and added some error handling for pre-exsisting torrents.
Give the new version a try and let me know if it solves the issue.
from redlist.
Traceback (most recent call last):
File "/home/bober/redlist/lib/python3.8/site-packages/redlist/__main__.py", line 220, in entry_point
results.append(loop.run_until_complete(main(splist, options.yes)))
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/home/bober/redlist/lib/python3.8/site-packages/redlist/__main__.py", line 133, in main
for torrent in set(downloads.values())
TypeError: unhashable type: 'dict'
from redlist.
Sorry, can't really test on my phone, give that a try.
from redlist.
Looks patched, is it possible to not have it try the duplicates, by removing them before the REDAPI calls are made https://github.com/Laharah/redlist/blob/master/redlist/__main__.py#L59 here?
I don't know enough python to attempt this on my own.
matched = list(set(matched)) #maybe?
from redlist.
I incorporated your suggestion. I couldn't prune the duplicates that early, it had to be after the tracks were matched to torrents on redacted. You can see the actual change here: 135fe84
I was able to get to a laptop and test properly, so version 0.2.4 should work as intended. Give it a shot, and if you run into any more issues let me know. I'm gonna mark this as closed for now, but feel free to re-open if you run into the same problem again.
Thanks for your help improving the tool!
from redlist.
Related Issues (10)
- ERROR:redlist:program pinentry could not be found in path HOT 2
- Only downloads 10 torrents at once HOT 5
- All Tracks require an artist and a track HOT 6
- Escape slashes in playlistnames HOT 1
- -y option still prompting user for password HOT 3
- some playlist are failing HOT 1
- Song matching with wrong artists HOT 3
- Can we also do local m3u to Spotify? HOT 1
- Use the album_id and track_id information in Beets instead of searching
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redlist.