Terry Geng 1f9573b1d5 feat: Whitelist URL feature.
In the configuration, `max_duration` can be set to prevent
long song(URL item) being downloaded and added to the
playlist.
This whitelist feature provided a way to override this
duration check: songs being whitelisted will be added to
the playlist no matter how long they are.
Three admin commands are introduced:
 - !urlwhitelist (!urlw)
 - !urlunwhitelist, (!urlunw)
 - !urlwhitelistlist, (!urlwls).

 Also, if one song fails due to its length, the bot will
 show the length of this song and the max length limit in
 the reply message.

 Implement #173, #196.
2021-02-22 23:44:14 +08:00
..
2018-11-13 15:48:09 +01:00
2020-06-01 09:36:58 +08:00
2020-05-22 22:49:05 +08:00
2020-03-28 20:46:21 +08:00
2021-02-22 23:44:14 +08:00

+----------------------------------------------------------+
|          <-| URLItem <-- URLFromPlaylistItem             |
| BaseItem <-| FileItem                                    |
|          <-| RadioItem                                   |
++---------------------------------------------------------+