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

Feature Request: Keep the playlist order #37

Open
deepakmahakale opened this issue Sep 23, 2020 · 1 comment
Open

Feature Request: Keep the playlist order #37

deepakmahakale opened this issue Sep 23, 2020 · 1 comment

Comments

@deepakmahakale
Copy link
Contributor

deepakmahakale commented Sep 23, 2020

Issue:
After downloading a playlist the order of the songs changes because of the file name.
We should add an option to keep the order of songs in the playlist?

Possible Solution:
We are already getting/downloading the songs in order. We can just add number prefix in front of the song name

Example:

Fot the following list
Instead of dynamite.mp3 make it 01-dynamite.mp3 so it remains at the first place.

https://github.com/vishaltelangre/music-dl/blob/master/lib/provider.js#L40

We can add a flag to make this behavior optional.

Album/Playlist: International Top 50 (/home/deepak/Music/2020/international-top-50)
→ (1/50) Dynamite
✓
→ (2/50) Savage Love (Laxed - Siren Beat)
✓
→ (3/50) Bella Ciao (HUGEL Remix)
✓
→ (4/50) Yummy
✓
→ (5/50) OMG What's Happening
✓
@vishaltelangre
Copy link
Owner

@deepakmahakale Sounds good to me. If you would like to work on it, please send a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants