Laharah / redlist

Convert Spotify playlists to local m3u's and fill the gaps!
33 stars 5 forks source link

-y option still prompting user for password #5

Closed lbesnard closed 3 years ago

lbesnard commented 3 years ago

Hi, I only discovered your script recently and absolutely love it. I've been wanting this for a long time.

I have a script calling redlist to update all my playlists. However, redlist always ask for some user input even with the -y option. Here is my config:

beets_library: /.../musiclibrary2.blb
torrent_directory: .
m3u_directory: /.../playlists_navidrome
pinentry: yes
enable_deluge: no
restrict_album: no
overwrite_m3u: yes

Basically, it tries to connect to [REDACTED] (i'm still confused about what redacted is, is it jackett? or something similar?). But since in my config, I disabled deluge, I don't expect any music search to happen on various trackers. But redlist is prompting me for a username/password.

Connecting to [REDACTED]...
[REDACTED] Username:
Search Canceled.
ERROR:asyncio:Unclosed client session

How can I disable this?

(EDIT: found what redacted is, makes more sense now)

Laharah commented 3 years ago

That's a use case I hadn't anticipated. I can probably add a disable_redacted_search: false option that you can set to true that will stop redacted from being touched. If you give me a day or two I could probably put it in.

Laharah commented 3 years ago

Turned out to be easier than expected, so I added it just now. Just add this to the end of your config:

redacted:
  disable: yes

Let me know if you get the behavior you're expecting now.

lbesnard commented 3 years ago

awesome! that's perfect :) cheers!