Sorrow446 / Nugs-Downloader

Nugs downloader written in Go.
101 stars 15 forks source link

anyway to exclude formats? #18

Closed live-music-guy closed 1 year ago

live-music-guy commented 1 year ago

thanks for very useful tool

would like to DL in flac16 where available as opposed to 24bitMQA

however some links are available in HLS-only, where AAC is the only option

is it possible to specify FLAC16 as default with AAC as a fallback, without 24bit MQA being an option

another great feature would be the ability to append format to folder name

.FLAC16 or .AAC, etc.
Sorrow446 commented 1 year ago

You're welcome. They actually only had AAC for HLS-only tracks when I last checked.

Yep, you can change these lines starting from line 87:

var trackFallback = map[int]int{
    1: 2,
    2: 5,
    3: 2,
    4: 3,
}

to:


var trackFallback = map[int]int{
    1: 5,
    2: 5,
    3: 2,
    4: 3,
}

The format templates could be done, have done templates for many of my other tools before.

live-music-guy commented 1 year ago

thanks, but it seems all the stuff available in AAC only is HLS? it still does track failed for me

Sorrow446 commented 1 year ago

We can talk about that over Discord.