An open API service indexing awesome lists of open source software.

https://github.com/srevinsaju/scrob

Universal last.fm scrobbler
https://github.com/srevinsaju/scrob

lastfm rust scrobble scrobbler

Last synced: 8 months ago
JSON representation

Universal last.fm scrobbler

Awesome Lists containing this project

README

          


scrob

🎶 Scrob


Universal last.fm scrobbler


Report bug
·
Request feature

[![forthebadge made-with-rust](http://ForTheBadge.com/images/badges/made-with-rust.svg)](https://rust.org/)

[![GitHub followers](https://img.shields.io/github/followers/srevinsaju?label=Follow%20me&style=social)](https://github.com/srevinsaju) [![GitHub stars](https://img.shields.io/github/stars/srevinsaju/scrob?style=social)](https://github.com/srevinsaju/scrob/stargazers)

## Getting started

Download a binary from the releases for your appropriate architecture
and OS. Currently, only Windows and Linux are supported.

```bash
scrob login
```
Login with your `last.fm` username and password.

## Usage

To scrobble your songs to last.fm, just do
```bash
scrob
```

The tool will output the track name, artist and album name
to stdout. By default, `scrob` scrobbles all songs it
detects from the active player, and sets Discord Rich
Presence. It is possible to disable either of this
using the `--no-discord` or `--no-scrobble` parameters.
The latter is very useful when you need to debug scrob
without having it to mess up your last.fm scrobbles.

## Build
`scrob` is built on Rust, and uses `cargo`.

```bash
cargo build
target/debug/scrob --help
```

![Discord Lollypop](./docs/img/discord_lollypop.png) ![Discord Youtube music](./docs/img/discord_ytmusic.png)
![Command line](./docs/img/cli.png)

## License
[This repository](https://github.com/srevinsaju/scrob) is licensed
under the MIT license. For more information, see [LICENSE](./LICENSE).