caryyu / jellyfin-plugin-opendouban

Douban metadata provider for Jellyfin
188 stars 15 forks source link

Improve the accuracy of the keyword #3

Closed caryyu closed 3 years ago

caryyu commented 3 years ago

Due to the original media name or title could be something like Loki.S01E03.HDR.2160p.WEB.H265-EXPLOIT.mkv, while the Loki is the only thing we need to hop over to the back-end server, which we need to have a mechanism to filter those texts by the rules

caryyu commented 3 years ago

Currently the initial solution can be something like below(for more information, click here: https://github.com/caryyu/jellyfin-plugin-opendouban/pull/4):

https://github.com/caryyu/jellyfin-plugin-opendouban/blob/79156a96a72b5ed5bc7cf16487ffbaf0c9bbf948/Jellyfin.Plugin.OpenDouban/Configuration/PluginConfiguration.cs#L13

https://github.com/caryyu/jellyfin-plugin-opendouban/blob/79156a96a72b5ed5bc7cf16487ffbaf0c9bbf948/Jellyfin.Plugin.OpenDouban.Tests/MovieProviderTest.cs#L89-L113

If it still can't match all the conditions, please loop your example here in the comment area

caryyu commented 3 years ago

Release v1.0.6 OUT