Based on feature request from #63, add a top-level CLI flag to tidal-wave. This flag, --no-flatten, is a no-op for everything but playlists and mixes.
By default (and, up to this point), when a playlist or mix URL is passed to tidal-wave, the program retrieves all the tracks and/or videos specified by the mix/playlist and then moves all the media to a subdirectory of either Playlists or Mixes which itself is a subdirectory of the output directory passed to tidal-wave. Then, the media that have just been moved are renamed, specifying the order that they appear in the playlist, padded to three digits. For example, take this mix generated by TIDAL
The first track, "Where You Are" is the first track in its album, "Where You Are", so the track is originally downloaded to ~/Music/John Summit/Where You Are [278684344] [2023]/01 - Where You Are [CD].flac. Whereas the default Mix behavior is to move this track to ~/Music/Mixes/My Daily Discovery [016dccd302e9ac6132d8334cfbc022]/001 - Where You Are [CD].flac, this pull request adds the option to leave the track where it was downloaded first.
Based on feature request from #63, add a top-level CLI flag to
tidal-wave
. This flag,--no-flatten
, is a no-op for everything but playlists and mixes.By default (and, up to this point), when a playlist or mix URL is passed to![image](https://github.com/ebb-earl-co/tidal-wave/assets/11299014/07ce22e0-e304-45b0-97a8-86a31aecc9dd)
tidal-wave
, the program retrieves all the tracks and/or videos specified by the mix/playlist and then moves all the media to a subdirectory of eitherPlaylists
orMixes
which itself is a subdirectory of the output directory passed totidal-wave
. Then, the media that have just been moved are renamed, specifying the order that they appear in the playlist, padded to three digits. For example, take this mix generated by TIDALThe first track, "Where You Are" is the first track in its album, "Where You Are", so the track is originally downloaded to
~/Music/John Summit/Where You Are [278684344] [2023]/01 - Where You Are [CD].flac
. Whereas the default Mix behavior is to move this track to~/Music/Mixes/My Daily Discovery [016dccd302e9ac6132d8334cfbc022]/001 - Where You Are [CD].flac
, this pull request adds the option to leave the track where it was downloaded first.