Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aniel300 opened this issue Mar 23, 2022 · 13 comments
Open

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

aniel300 opened this issue Mar 23, 2022 · 13 comments
Labels
help wanted Extra attention is needed

Comments

@aniel300
Copy link

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

@nkeor
Copy link

nkeor commented Mar 24, 2022

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
Copy link
Author

aniel300 commented Mar 24, 2022

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
Copy link

nkeor commented Mar 24, 2022

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
Copy link
Author

ok i will give it a try, thanks again.

@aniel300
Copy link
Author

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

@nkeor
Copy link

nkeor commented Mar 25, 2022

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
Copy link
Member

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

@sayem314 sayem314 added the help wanted Extra attention is needed label Mar 25, 2022
@aniel300
Copy link
Author

aniel300 commented Mar 26, 2022

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
Copy link
Member

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

@aniel300
Copy link
Author

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

@nkeor
Copy link

nkeor commented Jan 19, 2023

I'm still maintaining d-fi, yes

@aniel300
Copy link
Author

thank you i really appreciate it

@aniel300
Copy link
Author

aniel300 commented Mar 14, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants