Package: licchart
LICCHARTA CLI tool to makeLast.fmbar chart race animationsInstallationLinuxMake sure you havePythonandpip(use your own package manager!):sudo apt install python3Installffmpeg:sudo apt install ffmpegInstall/update LICCHART:pip install --upgrade licchartmacOSInstallHomebrewpackage manager:/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Make sure you havePythonandpip:brew install pythonInstallffmpeg:brew install ffmpegInstall/update LICCHART:pip install --upgrade licchartWindowsInstallPython:Make sure to tick a box "Add Python to PATH"Installffmpeg:Downloadlatest buildUnzip a folder you find inside to yourC:\drive and rename the extracted folder toffmpegMake sure that your path toffmpeg.exeisC:\ffmpeg\bin\ffmpeg.exeRuncmdas administratorRun the following command:setx /m PATH "C:\ffmpeg\bin;%PATH%"InstallVisual C++ with Build Tools:Downloadlatest installerand run itMake sure to tick a box "Desktop development with C++" and installRestart your PCInstall/update LICCHART:pip install --upgrade licchartPlease, refer totroubleshootingsection at the bottom of this README file if you have difficulties installingChances are you can delete Visual C++ / Build Tools after LICCHART was succesfully installed. It hasn't been tested, though. If it doesn't bother you, I suggest leaving it installedSetting API keyIn order to fetch scrobbles from Last.fm, you need tocreate a Last.fm API keyYou can specify what API key LICCHART should use with:licchart --api KEYYour key file will be stored in a current directory!UsageUsing LICCHART is straightforward, just pass in yourLast.fmusername! LICCHART will generate a chart with default settings for youlicchart USERNAMEOnce it's complete, you will see your generated video and CSV in a current directoryCSV file reduces time of your next data fetchYou can make a better chart by customizing it to your likingCustomizationYou can add arguments to your command to customize your chart generation, for example:licchart USERNAME -d -s 06/30/2022 -e July 1st 2022 --bars 10 --fps 60 -l 3.5Command above generates a chart that:Processes each day (-d)Shows scrobbles from 06/30/22 til 07/01/22 (-s 06/30/2022 -e July 1st)Has 10 artists max (--bars 10)Has 60 FPS (--fps 60)Lasts 3.5 minutes (-l 3.5)List of all optional argumentsOptionDescriptionValue typeDefault-h, --helpShows help message in terminal and exitsNoneNone-v, --versionPrints out current version and exitsNoneNone-aKEY, --apiKEYChanges API key and exitsStringNone-m, --monthsTakes less time to generate, but gives a less accurate resultNoneYes-d, --daysTakes quite a while to generate, but gives a very accurate resultNoneNo-sDATE, --startDATESets starting date (month goes first)Date StringYour first scrobble-eDATE, --endDATESets ending date (month goes first)Date StringYour last scrobble-bAMOUNT, --barsAMOUNTSets how many artists will be visible on the chartInteger20-lMIN, --lengthMINSets how long your animation will beDecimalDynamic value-fFPS, --fpsFPSMore frames take more time to generate, but provide a smoother animationInteger30UninstallingUninstall LICCHARTpip uninstall licchartUninstall dependencies with package manager you used to install themTroubleshootingIn rare cases you might get an error while installing LICCHART on Windows. To troubleshoot this:OpenBuild Tools installeragainUninstall Visual Studio Build ToolsFind Visual Studio Community in "Available" tabSelect Python and C++ options and install it