Miserlou / Miserlou/SoundScrape

[Suggestions] Add an upper limit on length of song to filter out long mixes

Open
#175 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.