osefaces.blogg.se

Download last fm collage generator
Download last fm collage generator










download last fm collage generator

cp systemd-service/* ~/.config/systemd/user/ You will have to change the command executed with the systemd service ( ExecStart option) and the working directory ( WorkingDirectory option). Lastfm_cg -username USER,USER2 -rows 3 -columns 30 -timeframe overall lastfm_cg -u USER,USER2 -t overall -r 3 -c 30 Generate collages for the users USER and USER2 of the size 3x30 for all their listening history. Generate a top 100 collage for the user USER for all its listening history. Generate a collage for the user USER of the size 10x8 for the last year. Generate a collage for the user USER of the size 5x5 for the last 7 days (default values). Output filename (optional, example: output.png) API_KEY API_KEY Lastfm API key (optional) Usernames to extract, separated by comma.

download last fm collage generator

Number of columns (Default : number of rows). rows ROWS, -r ROWS Number of rows (Default : 5). Timeframe (Accepted values : 7day, 1month, 3month,Ħmonth, 12month, overall. h, -help show this help message and exit Ĭreate lastfm album collage for one or several lastfm users. Second method (installing the lastfm_cg package with pipenv) git clone Run from source First method (installing the lastfm_cg package) git clone If you are an Archlinux user, you can install the AUR package lastfm_cg-git. RequirementsĬlassic installation : pip install lastfm_cg You will have to change them to match your configuration, more specifically the WorkingDirectory and ExecStart directive.

download last fm collage generator

Some systemd service are also available in the systemd-service directory to run the lastfm_cg script at a given time. You can see them in action on my own Twitter and Mastodon accounts. If you don't want the script to create an sqlite file in your ~/.local/share/lastfm_cg/ directory, you will have to launch the script with the -d/-disable_cache flag.Ī twitter bot and a mastodon bot are also available in the bot_lastfm_cg folder. It also caches the image files downloaded thanks to the requests-cache library. You can also use the -API_KEY and -API_SECRET argument to set your lastfm API key. This utility needs a valid config file with your lastfm API keys (get them at last.fm/api.) in ~/.config/lastfm_cg/config.ini (the config file will be created at first launch, you can also see config_sample.ini for an example). All album covers belong to their respective owners.Generate covers collage from albums listened by a lastfm user. This project is not affiliated with or endorsed by Last.fm in any way. This project is licensed under the Mozilla Public License 2.0. Ignore all warnings and proceed using default valuesĬontributions, issues, and forks are welcome. Auto only updates the images if settings areĬhanged or if the downloaded images are over a week Whether to fetch updated albums and images from the












Download last fm collage generator