freyr-js icon indicating copy to clipboard operation
freyr-js copied to clipboard

Weird case when downloading a playlist with track that exists in another directory

Open miraclx opened this issue 3 years ago • 1 comments

As mentioned in https://github.com/miraclx/freyr-js/pull/350#issuecomment-1250316825

An unintended side effect here is with playlist generation, if a file exists in a check dir, but not the output directory and downloading was skipped, it doesn't get included in the playlist.

Opening this issue for visibility.

miraclx avatar Sep 18 '22 23:09 miraclx

Options are:

  1. Use the first match we find in the playlist.
  2. Create a link to the first match we find in the output directory, and use the link in the playlist.
  3. Leave it up to the users to decide, by providing flags like --playlist-link-alt or --playlist-use-alt.

miraclx avatar Sep 18 '22 23:09 miraclx