Miserlou / Miserlou/SoundScrape
[Suggestions] Add an upper limit on length of song to filter out long mixes
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.4k
- Forks
- 143
- PR merge metrics
- No merged PRs in 30d
Description
I love having the ability to download all likes with a single command, but many likes are DJ sets that are one hour or longer and I do not want to include these when downloading the whole list. I suggest adding a tag to set the longest a song can be for the program to download it.
Example:
soundscrape itsvestige -l -timelimit 10:00
This would download all of Vestige's likes that are no more than 10 minutes long, avoiding the "SOULECTION" mix and possibly others.
Thanks for making an awesome utility! It's a huge time saver!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the soundscrape CLI entry point and trace how the -l option downloads a user's likes. Check how track duration is represented and where the likes list is filtered before downloading. Done means a time-limit option such as -timelimit 10:00 excludes tracks longer than the specified duration while leaving shorter likes downloadable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100