weechat / scripts

Official scripts for WeeChat.
https://weechat.org/scripts/
231 stars 220 forks source link

new script lua/cmus_announce.lua: -- Announces now-playing song in cmus to current buffer/channel. #553

Closed Nomarian closed 3 months ago

Nomarian commented 4 months ago

Script info

Description

creates /cmus_announce command that will /me on current buffer/channel the currently playing song.

Checklist (new script)

kllmanu commented 4 months ago

Thank you for this script, I tested it today, looks good to me :+1:

flashcode commented 4 months ago

Hi, By convention scripts have underscores and no dashes in name, could you please rename your script to cmus_announce.lua? See file: Contributing.md Thanks!

Nomarian commented 3 months ago

Renamed. All good?

There's some bad bugs with it too, like it ultimately just runs a /me, which will fail on a server buffer and cmus hangs with a MPRIS warning when you launch it without MPRIS (but that's more a cmus bug not a weechat bug)