Skip to content

Simple way to scrobble tracks from a BBC Sounds programme to Last.fm

License

Notifications You must be signed in to change notification settings

abers/lastsounds

Repository files navigation

Lastsounds

Scrobble tracks from a BBC Sounds episode to Last.fm via the command line. The application takes a URL for a BBC Sounds episode as an argument and scrobbles the tracks assuming the user finished listening at runtime.

Basic usage -

python sounds_scrobble.py [OPTIONS] [URL]

Note: If Python 3 is not the default on your system you'll need to run python3 ... instead.

By default, lastsounds scrobbles all tracks from the episode. To scrobble only a range of tracks, pass the option --partial or -p when running the command -

python sounds_scrobble.py --partial [URL]

Example output

Dependencies

Lastsounds depends on BeautifulSoup, Click, Requests, Colorama, and pylast.

All dependencies can be installed using pipenv by running pipenv install in the git repository.

Setup

Lastsounds requires an API key & a shared secret that are specific to your account. These can be created here. Only the "Application name" field needs to be filled and the rest can be left blank.

After creating the key and secret, create a copy of details and rename it to .details. Then edit it to add values for your API key, shared secret, and username.

About

Simple way to scrobble tracks from a BBC Sounds programme to Last.fm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages