Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davorg/pickanartist
Find an artist to list to
https://github.com/davorg/pickanartist
Last synced: 12 days ago
JSON representation
Find an artist to list to
- Host: GitHub
- URL: https://github.com/davorg/pickanartist
- Owner: davorg
- Created: 2021-05-21T10:02:14.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-06T10:38:21.000Z (6 months ago)
- Last Synced: 2024-05-06T11:52:34.372Z (6 months ago)
- Language: Perl
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
pickanartist
============I listen to a lot of music - particularly while I'm working.
My default mode is to just ask my Google Home to play music by a particular
artist. But I've noticed recently that I tend to gravitate to a very small
set of artists and I wanted to expand that a bit.This program is an attempt to fix that. It looks at my all-time listening
stats on [Last.FM](https://www.last.fm/user/davorg/library/artists), gets
a list of the artists I've listened to between 500 and 1,000 times and
then picks one of those at random.That way I hope to get artists that I like (so I've listened to them
over 500 times) but that I don't listen to a lot.For more details, see [this blog post](https://dev.to/davorg/solving-simple-problems-4p2f).
## Command line options
* `-user` : Last.fm username (defaults to "davorg")
* `-min` : The minimum number of plays to consider (default 500)
* `-max` : The maximum number of plays to consider (default 1000)