tg-odesli-bot icon indicating copy to clipboard operation
tg-odesli-bot copied to clipboard

Change ` | `-separated list to bullets

Open AlexWayfer opened this issue 5 years ago • 2 comments

Telegram doesn't support bullet-list, but we can use Unicode symbols like .

Current:

  1. Wilkinson - Decompression Deezer | Google Music | SoundCloud | Yandex Music | Spotify | YouTube Music | YouTube | Apple Music

Suggested:

  1. Wilkinson - Decompression • DeezerGoogle MusicSoundCloudYandex MusicSpotifyYouTube MusicYouTubeApple Music

(I don't know for what 1. at the beginning)

AlexWayfer avatar Jan 20 '20 11:01 AlexWayfer

I've settled on | because it leads to shorter messages which is more convenient for me in group chats (though it requires more accurate aiming😃). I have an idea to add per-user configuration regarding displayed service providers and then this issue can be addressed as well (but no time schedule yet).

As for 1. at the beginning - since you can send multiple song links to the bot, an index is added to denote a position of the link inside a message. E.g. Text with <link1> and <link2> will be replaced with:

@user wrote: Text with [1] and [2]

1. Song1 <links>
2. Song2 <links>

9dogs avatar Jan 20 '20 14:01 9dogs

I've settled on | because it leads to shorter messages which is more convenient for me in group chats

Hm, okay.

I have an idea to add per-user configuration regarding displayed service providers and then this issue can be addressed as well (but no time schedule yet).

I guess it's not a good idea because:

  • You can forward a message from bot to another person, and you may not know which service they prefers.
  • Even if you know which service recipient prefers, like Spotify, and chose it — what to do in case when found entity didn't find in this service? But has links to other, like YouTube.

(though it requires more accurate aimingsmiley)

Yep, especially on touch screens. :pensive:

Maybe there would be a per-user configuration between one-lined (|) and bullet-list ().

As for 1. at the beginning - since you can send multiple song links to the bot, an index is added to denote a position of the link inside a message.

OK, I've created #3.

AlexWayfer avatar Jan 20 '20 15:01 AlexWayfer