1
0
Fork 0
fediverse-bots/music-bot
NaiJi ✨ 8a43fd1050 Init 2024-04-09 00:38:52 +04:00
..
README.md Init 2024-04-09 00:38:52 +04:00
post.sh Init 2024-04-09 00:38:52 +04:00

README.md

music-bot

Another useless bot for posting garbage to your timeline.

Initial setup

  • Have installed
    • curl
    • jq
    • exiftool
  • Create ./music/ folder
  • In ./music/ folder create separate folders for each release (albums/singles/etc.)
  • In each ./music/*/
    • put music files
    • put a corresponding cover image named 'cover.jpg' to attach together with a music file
    • put a simple file named 'link' and copypaste there a url to corresponding information about the release
  • Edit post.sh
    • change instance url from your.site to whatever you have
    • optionally edit status message in the last POST curl
  • Be careful, because by default it is assumed all music has .opus extension. If it is not your case please handle the situation however you need.
  • Now put it to crontab!