pyratelog

personal blog
git clone git://git.pyratebeard.net/pyratelog.git
Log | Files | Refs | README

commit e16759657ca8173b62415fb5b762e8b39c78b9ac
parent 91342d2bf62a5312c91de77f3fef027b4caf2cf7
Author: pyratebeard <root@pyratebeard.net>
Date:   Sun, 25 Oct 2026 22:19:31 +0000

Merge branch 'weeklymusictoot_2.0'

Diffstat:
Aentry/20261025-weeklymusictoot_2.0.md | 29+++++++++++++++++++++++++++++
1 file changed, 29 insertions(+), 0 deletions(-)

diff --git a/entry/20261025-weeklymusictoot_2.0.md b/entry/20261025-weeklymusictoot_2.0.md @@ -0,0 +1,29 @@ +--- +title: weeklymusictoot 2.0 +keywords: [programming, software] +... + +After a long hiatus my [#weeklymusictoot] is back. + +My original [weeklymusictoot][] was a fairly simple shell script that took a list of the albums played, logged by a [cmus][] script, and posted it to my Mastodon feed. + +This was working great for a long time. Recently, however, due to various client commitments I have been away from my own office and my main workstation. This has meant that I have been using my [Navidrome][] music server a lot more and using `cmus` a lot less. + +Therefore I decided to rewrite my script and create a new [wmt][]. + +Written in python, this script connects to my Navidrome server, pulls the list of albums played since the previous Monday, and posts it to my Mastodon feed; the same as the previous version. + +The main difference in the listing is that the original shell script would sort the list from most to least played albums. I have not (yet) done the same with the new version, the list is in the order the albums were played. + +A benefit of pulling the data from my Navidrome server is a more accurate list of my weekly music, as it includes anything listened to on my mobile devices. I have also decided to move the #weeklymusictoot to post on Sunday evening instead of Friday, covering a full week. + +In the future I would like to try and combine both versions as I still use `cmus` when at my main workstation. + +The first post went out a [few moments ago][]. + +[#weeklymusictoot]: https://harbour.cafe/tags/weeklymusictoot +[weeklymusictoot]: 20221005-weeklymusictoot.html +[cmus]: https://cmus.github.io +[Navidrome]: https://www.navidrome.org +[wmt]: https://git.pyratebeard.net/wmt +[few moments ago]: https://harbour.cafe/@pyratebeard/117503833100448358