- install troi first https://github.com/metabrainz/troi-recommendation-playground
- put following into a shell file
python -m troi.cli weekly-jams USERACCOUNT -u -y
- open
crontab -e
and put@weekly filelocation
And it’ll push your weekly jams to your account
Doesn’t this just save the playlist into my listenbrainz account? How would I get it into navidrome? Or am I missing something?
$ python -m troi.cli weekly-jams --help Usage: python -m troi.cli weekly-jams [OPTIONS] USER_NAME Generate a weekly jams playlist for your local collection Options: -d, --db_file TEXT Database file for the local collection -t, --threshold FLOAT Minimum match percentage for metadata matches. Must be 0.0 - 1.0 -u, --upload-to-subsonic upload playlist via subsonic API -m, --save-to-m3u TEXT save to specified m3u playlist -j, --save-to-jspf TEXT save to specified JSPF playlist -y, --dont-ask save playlist without asking user --help Show this message and exit.
So I should be running this inside my navidrome docker-contianer and point it to the database and it should work? Sorry for the stupid question. I skimmed the docs and as they say: it’s not made for end-users yet, but recommendations are really the one thing I am misssing in navidrome.
I don’t have it running inside of it. The main cron service on my server runs it.
You have to install it properly but then it works as expected. You can not yet give it a name and it’ll create a new playlist everytime. Meaning over time you’ll have a lot of playlists. That isn’t necessarily bad since they are “all” good from my experience. In the long run it’s best if navidrome implememts it into the UI.
-u
automatically uploads it to subsonic, not listenbrainz