{"id":29375378,"url":"https://github.com/brittojo7n/spotify-sequentialplaylistliker","last_synced_at":"2025-07-09T20:37:35.246Z","repository":{"id":266847542,"uuid":"899537407","full_name":"brittojo7n/Spotify-SequentialPlaylistLiker","owner":"brittojo7n","description":"Sequentially add the playlist songs to Liked Songs in the exact same order as the playlist","archived":false,"fork":false,"pushed_at":"2025-06-24T05:22:47.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-24T05:34:42.887Z","etag":null,"topics":["playlist-manager","spotify","spotify-api","spotify-hack","spotify-hack-tool","spotify-library","spotify-like","spotify-liked-songs","spotify-playlist","spotify-playlist-liker","spotify-playlists","spotify-tool","spotify-tools","spotify-web-api"],"latest_commit_sha":null,"homepage":"https://britto.is-a.dev","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brittojo7n.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-06T13:25:16.000Z","updated_at":"2025-06-24T05:22:51.000Z","dependencies_parsed_at":"2025-03-28T15:38:07.804Z","dependency_job_id":null,"html_url":"https://github.com/brittojo7n/Spotify-SequentialPlaylistLiker","commit_stats":null,"previous_names":["brittojo7n/spotify-playlist-liker","brittojo7n/spotify-playlistliker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brittojo7n/Spotify-SequentialPlaylistLiker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brittojo7n%2FSpotify-SequentialPlaylistLiker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brittojo7n%2FSpotify-SequentialPlaylistLiker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brittojo7n%2FSpotify-SequentialPlaylistLiker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brittojo7n%2FSpotify-SequentialPlaylistLiker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brittojo7n","download_url":"https://codeload.github.com/brittojo7n/Spotify-SequentialPlaylistLiker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brittojo7n%2FSpotify-SequentialPlaylistLiker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264503003,"owners_count":23618676,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["playlist-manager","spotify","spotify-api","spotify-hack","spotify-hack-tool","spotify-library","spotify-like","spotify-liked-songs","spotify-playlist","spotify-playlist-liker","spotify-playlists","spotify-tool","spotify-tools","spotify-web-api"],"created_at":"2025-07-09T20:37:34.238Z","updated_at":"2025-07-09T20:37:35.216Z","avatar_url":"https://github.com/brittojo7n.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spotify Sequential Playlist Liker\n\nA Python script to like all songs in a Spotify playlist in the same order as they appear. This project uses the Spotify Web API to automate the process of liking songs while preserving the playlist's original sequence.\n\n## Features\n- Fetches all songs from a Spotify playlist (supports playlists with over 100 tracks).\n- Likes songs in the exact playlist order.\n- Includes retry logic for failed requests.\n- Logs progress to ensure transparency and ease of debugging.\n\n---\n\n## Prerequisites\n\n1. **Spotify Developer Account**:\n   - Register at [Spotify for Developers](https://developer.spotify.com/dashboard/).\n   - Create a new app to get your `Client ID` and `Client Secret`.\n\n2. **Python 3.8 or Later**:\n   - Ensure you have Python installed. Download it from [python.org](https://www.python.org/) if needed.\n\n---\n\n## Installation\n\n1. **Clone the Repository**:\n   ```bash\n   git clone https://github.com/yourusername/spotify-playlist-liker.git\n   cd spotify-playlist-liker\n   ```\n\n2. **Install Dependencies**:\n   Use `pip` to install the required packages:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n4. **Set Up Environment Variables**:\n   - Create a `.env` file in the project directory with the following content:\n     ```plaintext\n     SPOTIFY_CLIENT_ID=your_client_id\n     SPOTIFY_CLIENT_SECRET=your_client_secret\n     SPOTIFY_REDIRECT_URI=http://localhost:8888/callback/\n     ```\n   - Replace `your_client_id` and `your_client_secret` with the credentials from your Spotify Developer account.\n\n---\n\n## Usage\n1. **Edit index.py.\n   Open index.py with any editor such as notepad and edit the below line with the playlist id. You can get your playlist id by copying the playlist url.\n   ```bash\n   # Playlist ID (replace with your playlist ID)\n   PLAYLIST_ID = \"\u003cplaylist_id\u003e\"\n   ```   \n   Example: If playlist URL is `https://open.spotify.com/playlist/24kH4QpTd1ha5AyiWR3rOs?si=9ecf8ae8812b4207` then playlist ID is `24kH4QpTd1ha5AyiWR3rOs`.\n\n3. **Run the Script**:\n   Execute the Python script to like the songs in your playlist:\n   ```bash\n   python index.py\n   ```\n\n4. **Verify**:\n   - Check your Spotify account to confirm the liked songs.\n   - The script logs each track as it processes them.\n\n---\n\n## Notes\n\n- **Rate Limits**: The script introduces a delay (`time.sleep(0.2)`) between requests to avoid exceeding Spotify’s rate limits. You can adjust this delay if needed.\n- **Unavailable Tracks**: Tracks unavailable in your region or marked as local files in the playlist will be skipped.\n\n---\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrittojo7n%2Fspotify-sequentialplaylistliker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrittojo7n%2Fspotify-sequentialplaylistliker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrittojo7n%2Fspotify-sequentialplaylistliker/lists"}