Skip to content

Releases: Cyanistic/mpdtrackr

v2.1.2

12 Dec 01:01
e954f51
Compare
Choose a tag to compare

Bug Fixes

  • Fixed duration being surrounded by double quotes when using print
  • Fixed times listened field being calculated incorrectly

v2.1.1

01 Dec 04:34
981fe0e
Compare
Choose a tag to compare

Bug Fixes

  • Fixed bug where songs table would be created with duration in fourth column and inserted in sixth column, causing print functionality to completely break

v2.1.0

30 Nov 22:39
5868ecf
Compare
Choose a tag to compare

Features

  • Support for grouping entries by artist, album, title, and genre

Bug Fixes

  • JSON option now properly prints entries as an array of JSON objects

v2.0.0

09 Nov 03:55
e50a290
Compare
Choose a tag to compare

Rewrite

When I first wrote this as my first rust project, it felt like it was good enough. Looking back on it now, a few months later I fell that this application was rather lackluster. The entire codebase was littered with calls to unwrap() and was prone to panicking easily, there was a lot of unnecessary code and buggy abstractions, and the application was very limited in its stats tracking capabilities. I decided to completely rewrite the application from scratch now that I have 6 more months of experience and it feels much cleaner and feature packed than before. It now uses SQLite instead of MongoDB, tracks listening time by day, allows for sorting and grouping stats in a variety of ways when printing to stdout, is significantly less error and crash prone, and more resource efficient.

Features

  • Keeps track of which songs are playing, how long they have been playing each day, and maintains historical playtime data to view trends over time.
  • Prints database of stats to stdout
    • Stats can be grouped by time periods such as day, week, month, year, and all-time
    • Stats can also be sorted in by multiple parameters
  • Easily transfer stats across devices using software like syncthing due to the fact that stats are saved in a SQLite database

1.2.0

03 Jun 16:47
Compare
Choose a tag to compare

New Features

  • Added basic logging functionality for when mptrackr starts, new songs/artists are added into collection, and entries are modified

1.1.2

28 May 03:55
Compare
Choose a tag to compare

Bug Fixes

  • Fixed crash when no song is playing (when status = stopped)

1.1.1

27 May 17:29
Compare
Choose a tag to compare

Bug Fixes

  • Fixed crash when no title or artist is found
    • Falls back to parsing the file name to attempt to missing attributes
    • Fixed issue where the path to the file would be included in the artist name

1.1.0

14 May 17:04
Compare
Choose a tag to compare

New Features

  • Added importing and exporting features
    • Exports go to a directory and output a .json file for each MongoDB collection
    • Imports import into a collection based on the name of the .json file being imimported
    • When importing into a collection, if the entry already exists then the time is incremented, otherwise a new entry is added.

Initial

13 May 20:43
Compare
Choose a tag to compare

Current Features

  • Prints database of songs to stdout
  • Keeps track of which songs are playing and how long they have been playing
  • Allows for easy configuration of mpd and mongodb ports in the config file (~/.config/mpdtrackr/config.json on Linux or %appdata%\mpdtrackr\config.json on Windows (probably won't work on windows tho))