FichteFoll/discordrp-mpris

Automatically truncate titles to 128 characters

azizLIGHT opened this issue · 0 comments

If the title length of a song or movie is too long, then nothing is shown. Essentially it fails with error and outputs nothing. Instead, it should give the user an option to truncate a long title to the maximum length of characters and show that, I think thats better than showing nothing.

ERROR:discordrp_mpris.__main__:Error setting activity: child "activity" fails because [child "details" fails because ["details" length must be less than or equal to 128 characters long]]