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

Playlist numbering only feature #2275

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open

Conversation

AdyStudios
Copy link

@AdyStudios AdyStudios commented Jan 13, 2025

Description

Added new feature, which is a stripped down version of the playlist numbering. This only changes the index of the song, sets it to the same as in the playlist.

Usage

Just like any other feature add the --playlist-numbering-only flag after your command. This will make the "number" attribute of the song be the no. in the playlist provided.

Motivation and Context

Added feature because it helps with created playlists on offline devices, where the m3u file is unusable (eg. Winamp).

Issues

Currently does not wok with saved songs.

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project, mostly
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have read the CONTRIBUTING document
  • I have read the CODE OF CONDUCT document
  • I have added tests to cover my changes
  • All new and existing tests passed

Excuse

I'm not a very experinced developer in this envrioment, so I was unable to do everything from the checklist, if you think this feature is good, I appriciate your help, but this was made mostly for myself.

@Shashwat-Darshan
Copy link

Hey just saw your PR has the same feature i was searching for so can you tell me how to use your version of spotipy locally

@AdyStudios
Copy link
Author

AdyStudios commented Feb 2, 2025

Hey just saw your PR has the same feature i was searching for so can you tell me how to use your version of spotipy locally

Yeah no worries. You go to my fork of the repo, and download it. Then you need to compile. Run the following commands, from the root of the downloaded reop. First run
python scripts/build.py bdist_wheel sdist
then
pip install .
This will overwrite the existing install of spotdl. If you have any issues, then write back here, or drop me dm on discord (.adyendre). Enjoy!

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

Successfully merging this pull request may close these issues.

2 participants