Simple Python script to calculate total album and track playtime for MusicBee
First you must enable MusicBee > Preferences > Library > [Check] export the library as an iTunes formatted XML file
The file will be created in C:\Users\USER\Music\MusicBee\iTunes Music Library.xml
Set this value as XML_PATH in the playtime.py
.
Install pipenv if you haven't already with pip install pipenv
.
Run the program with pipenv run python playtime.py
.
The ALIAS_DICT is used for artists that go by multiple names. The key is the name they should be grouped under, and the value is a list of aliases. Make sure the key is itself in the list of aliases.
Python3+
Pipenv