Open z9xx7o0 opened 6 months ago
Did you try the above and specify a track/album/artist to download on the command line? For me all of the above works fine.
Did you try the above and specify a track/album/artist to download on the command line? For me all of the above works fine.
Oh, after specifying a track, it worked. Is there a way to make that directory the permanent path for all downloads? And why is --skip-previously-downloaded not working? Am I using it wrong?
zotify --skip-previously-downloaded=True
Edit the config and you should be able to set it there. The song archive that skip-previously-downloaded is only generated when that option is enabled. You can also have it skip ones that already exist. If you need to create a fresh .song_archive file you can do so by combining all of the .song_id files that are scattered around. Something like this worked for me.
find . -name '.song_ids' -exec cat {} \; > .song_archive
If the config isn't working then feel free to post it here and I'll look.
Edit the config and you should be able to set it there. The song archive that skip-previously-downloaded is only generated when that option is enabled. You can also have it skip ones that already exist. If you need to create a fresh .song_archive file you can do so by combining all of the .song_id files that are scattered around. Something like this worked for me.
find . -name '.song_ids' -exec cat {} \; > .song_archive
If the config isn't working then feel free to post it here and I'll look.
OK, after a lot (sooooooooo much) of fiddling around with the config file, everything works. Thanks for the advice it really helped.
With Python on windows you either use \ or / for path separation. \ all by itself has special meaning in Python and you have to escape it if you are going to use that. / on the other hand works regardless of the platform.
On Sun, Jun 9, 2024, 2:02 PM farmaher @.***> wrote:
I have the same issue here. I want to set a permanent path in config.json file. I put the following strings but this will break the functionality of the program completely:
"ROOT_PATH": "E:\Spotify", "ROOT_PODCAST_PATH": "E:\Spotify\Podcasts",
I am not sure if I have missed something here.
— Reply to this email directly, view it on GitHub https://github.com/zotify-dev/zotify/issues/94#issuecomment-2156720961, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB7XDMIWDC4HQ7V5OMI7WLZGSKETAVCNFSM6AAAAABJBCJU6GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWG4ZDAOJWGE . You are receiving this because you commented.Message ID: @.***>
I've set up the program on termux and want to change the download path so that it is easily accessible
zotify --root-path /data/data/com.termux/files/home/storage/music/
It didn't change the path. Instead, it gave me a search option.
I tried changing ROOT_PATH from the config file, but that broke the entire program, and I had to re install termux, python3, ffmpeg, git, pip, pipx and zotify
I also tried --output, but it gave me the same result.
Edit: This issue is not only for root path, I tried to configure --skip-previously-downloaded, and it just didn't work and gave me "enter search: " and when I edit the config file the program breaks (now i have to re install everything😫)