d-fi / releases

194 stars 12 forks source link

can i make it work like SMLoadr used to ? #45

Open aniel300 opened 2 years ago

aniel300 commented 2 years ago

is there a way to download from "downloadLinks.txt" and replicate download structure (naming, etc) from SMLoadr?

nkeor commented 2 years ago

Yes, to download from a file d-fi -a links.txt. To replicate the SMLoadr structure you could edit d-fi.config.json, section downloadLayout. Not sure what the structure is so can't tell you more

aniel300 commented 2 years ago

thank you for answering, i was able to use d-fi -a links.txt, as for the downloading structure/ naming i was able to use this

"saveLayout": { "track": "Music/{ART_NAME}/{ALB_TITLE}/{SNG_TITLE}", "album": "Music/{ART_NAME}/{ALB_TITLE}/{SNG_TITLE}", "artist": "Music/{ART_NAME}/{ALB_TITLE}/{SNG_TITLE}", "playlist": "Playlist/{TITLE}/{SNG_TITLE}"

but it still doesn't match SMLoadr quite yet in other words is possible to make how it was including downloading ".lrc" ?

screenshots of SMLoadr folder and naming structure: https://imgur.com/a/W1IO4x8

nkeor commented 2 years ago

Downloading .lrc files is planned but not supported yet.

As for the layout, this should match yours:

"saveLayout": {
  "track": "Music/{ART_NAME}/{ALB_TITLE} (Single)/{SNG_TITLE}",
  "album": "Music/{ART_NAME}/{ALB_TITLE} (Album)/{SNG_TITLE}",
  "artist": "Music/{ART_NAME}/{ALB_TITLE}/{SNG_TITLE}",
  "playlist": "Playlist/{TITLE}/{SNG_TITLE}"
},
aniel300 commented 2 years ago

ok i will give it a try, thanks again.

aniel300 commented 2 years ago

i went ahead and tried it but is not quite there: https://i.imgur.com/voGjoUu.png

nkeor commented 2 years ago

Ah so you want it to be POSITION TITLE instead of POSITION - TITLE...

This is currently not configurable, but I might be able to add it to the config after the upcoming refactor. No ETA yet but sometime next month.

sayem314 commented 2 years ago

TRACK_NUMBER can be used for tracks and for playlist TRACK_POSITION should be used. This should work.

"saveLayout": {
  "track": "Music/{ART_NAME}/{TRACK_NUMBER} - {ALB_TITLE} (Single)/{SNG_TITLE}",
  "album": "Music/{ART_NAME}/{TRACK_NUMBER} - {ALB_TITLE} (Album)/{SNG_TITLE}",
  "artist": "Music/{ART_NAME}/{TRACK_NUMBER} - {ALB_TITLE}/{SNG_TITLE}",
  "playlist": "Playlist/{TITLE}/{TRACK_POSITION} - {SNG_TITLE}"
},

For a list of available props check this file. https://github.com/d-fi/d-fi-core/blob/4ff25adeaa26408788e42836f3449636af9c1d16/src/types/tracks.ts#L23-L95

aniel300 commented 2 years ago

can we take a look here to see if we can try to replicate the file structure? if i remember correctly SMLoadr would create the nested file structure whether or not i gave it a artist, album or track link. https://git.telekem.net/nik/SMLoadr/commit/6e620ae5996651c1908206d1cfcc9dbf982b2a1e https://git.telekem.net/nik/SMLoadr/commit/07b703ea03087a9145579e6e3dbfa2079c01dcc6?style=split

sayem314 commented 2 years ago

You can configure the structure however you want. Take a look at available props here

aniel300 commented 1 year ago

hey, hope u doing ok, does this tool still being developed?

nkeor commented 1 year ago

I'm still maintaining d-fi, yes

aniel300 commented 1 year ago

thank you i really appreciate it

aniel300 commented 8 months ago

@nkeor @sayem314 hi, hope u guys doing ok. how can i replicate this? image