iamkroot / trakt-scrobbler

Scrobbler for trakt.tv that supports VLC, Plex, MPC-HC, and MPV.
https://github.com/iamkroot/trakt-scrobbler/wiki
GNU General Public License v2.0
464 stars 30 forks source link

[FR] Adding delay to autostart #267

Closed ALi3naTEd0 closed 5 months ago

ALi3naTEd0 commented 11 months ago

So, basically I was getting this annoying message at system startup, so I created a "trakt-scrobbler.timer" file where "trakt-scrobbler.service" is, to add a 1-minute delay... just wanted to share it because it might be useful to somebody else trying to accomplish the same...

# ~/.config/systemd/user/trakt-scrobbler.timer
[Unit]
Description=Delay start of trakt-scrobbler service

[Timer]
OnBootSec=1min
OnUnitActiveSec=1min

[Install]
WantedBy=default.target

Tested on Garuda Linux, should work on other operating systems with the correct paths I guess? Anyway, hope it helps.

iamkroot commented 11 months ago

I was getting this annoying message at system startup

What was the message? I have no issues with the default service on Arch Linux.