dsnwybs 0 Posted February 21, 2022 Posted February 21, 2022 in chinese,Some videos don't match correctly,I think the strategy can be changed. for example: 神话 (2005).mkv use themoviedb database search information : 复活的黄金圣斗士神话 神话 血的神话 why the emby server select the "复活的黄金圣斗士神话" the emby server should select the "神话" I am a programmer with C#. I recommend checking again for search results.
Luke 42079 Posted February 21, 2022 Posted February 21, 2022 Hi, I've pushed an update to the MovieDb plugin to resolve this. Thanks.
dsnwybs 0 Posted August 27, 2024 Author Posted August 27, 2024 On 2/21/2022 at 11:04 PM, Luke said: Hi, I've pushed an update to the MovieDb plugin to resolve this. Thanks. This problem has not been completely resolved, for example: 魔兽 (2016).mkv search information : why the emby server select the "悲兮魔兽" the emby server should select the "魔兽" the "悲兮魔兽" is 2015,my media name “魔兽 (2016).mkv” contain year info,and name is "魔兽" you shoud recommend checking again for search results.
GrimReaper 4740 Posted August 27, 2024 Posted August 27, 2024 (edited) On 2/21/2022 at 3:58 AM, dsnwybs said: in chinese,Some videos don't match correctly It's not only in Chinese, it occurs across all languages (it has been brought up several times in the past) and TMDB is somewhat to blame, though Emby is an accomplice in as blindly taking first hit/result returned on query and not parsing the results received for a potentially better match. In your exact example: 40 minutes ago, dsnwybs said: 魔兽 (2016).mkv query returns: Quote { "page": 1, "results": [ { "adult": false, "backdrop_path": "/vnNoIceM4vO8iKz7Pzk1ZGKdOuq.jpg", "genre_ids": [99], "id": 352202, "original_language": "zh", "original_title": "悲兮魔兽", "overview": "中国导演赵亮聚焦内蒙矿场尘肺病黑幕的纪录片《悲兮魔兽》入选第72届威尼斯电影节主竞赛单元,角逐金狮大奖,成为本届主竞赛唯一入选的华语片。 赵亮曾凭借纪录片《上访》入围戛纳电影节特别展映单元。此前,他还曾执导了《纸飞机》《告别圆明园》《在江边》《罪与罚》《在一起》等多部作品。他同时还从事当代艺术的创作。 《悲兮魔兽》在影片立项时的原名为《尘》,其英文译名为《Behemoth》,是希腊传说中和海里怪兽相对应的山中怪兽。", "popularity": 5.254, "poster_path": "/aoomIXBtZUZgge8qcV0yHmEhIV1.jpg", "release_date": "2015-11-11", "title": "悲兮魔兽", "video": false, "vote_average": 7.49, "vote_count": 48 }, { "adult": false, "backdrop_path": "/aTGvZ3F8QnAD8cPpJRaaqRRxFK6.jpg", "genre_ids": [28, 12, 14], "id": 68735, "original_language": "en", "original_title": "Warcraft", "overview": " 艾泽拉斯与德拉诺本是两颗祥和安宁的星球,人类在艾泽拉斯大陆上世代繁衍生息,兽人则在德拉诺的土地上辛勤耕耘。直到古尔丹的出现,打破了两个星球的和平。邪恶的古尔丹为了一己私利,使用恶魔能量打开了一扇传送门 —— 黑暗之门,并残忍的破坏兽人的家园。霜狼氏族的酋长杜隆坦不得不带领着自己的族人离开支离破碎的德拉诺,在举步维艰的艾泽拉斯大陆上寻找着庇护所。面临家园危机的人类在领袖洛萨的带领下一边痛击着野蛮的入侵者,一边苦苦寻求着战争之外的解救方法。两个种族面临着同样的危机,他们必须设法渡过这场灾难。", "popularity": 43.66, "poster_path": "/eaUeq6CU84n8WQn5Tjf5YRmNC8E.jpg", "release_date": "2016-05-25", "title": "魔兽", "video": false, "vote_average": 6.377, "vote_count": 6678 }, { "adult": false, "backdrop_path": "/fvrGb6zfQaQ8RD9pC8o9vv1b7W2.jpg", "genre_ids": [12, 10751, 14], "id": 76285, "original_language": "en", "original_title": "Percy Jackson: Sea of Monsters", "overview": "波西·杰克逊在混血人集中营平静的度过七年级后,忽然日子就变的纷乱了起来,原本和同学间的躲避球竞赛,阴错阳差的变成了一场死亡游戏,丑陋的食人族巨无霸也跟着搅和其中,波西无意中发现,他们的家园和族人正遭遇空前的灾难,必须找到“金羊毛”,才能拯救众人,为了解除灾难,波西奋不顾身带着伙伴们共同踏上冒险的旅程,他们要到魔兽之海完成任务,才能取得金羊毛并拯救面临毁灭的混血人集中营,在这趟危机重重的冒险之旅中,他们将会遇到哪些惊人的意外难关?他们真的能够顺利的突破困难,并且让所有族人和希腊众神们幸免于难吗?", "popularity": 23.08, "poster_path": "/2lHzViAt5DbkLDq5EFngnn3Kb6Z.jpg", "release_date": "2013-08-07", "title": "波西·杰克逊与魔兽之海", "video": false, "vote_average": 6.033, "vote_count": 5062 }, { "adult": false, "backdrop_path": "/bfd8pILfS58pH0Q9c8wkhhKqp7V.jpg", "genre_ids": [27, 53], "id": 279994, "original_language": "en", "original_title": "X Moor", "overview": "好奇心强又活破好动的乔吉雅,一直说服男友麦特前往英国乡间寻找传说中怪兽伊克斯莫尔的踪迹,用亲自拍摄的影像,向世人证实他的存在。途中他们碰到拥有20几年打猎经验的猎人福克斯,他认为怪物曾经吃过人肉,担心两人的安危,所以愿意当两人的嚮导,共同揭发事实。于是在进入令人窒息的茂密森林之后,凝重的空气与恐怖的气氛将他们团团围绕,而福克斯居然逆转成为猎人的囊中猎物", "popularity": 2.78, "poster_path": "/eU8glOVlmhpiGrBkcmIJ4s4uInw.jpg", "release_date": "2014-08-25", "title": "X魔兽", "video": false, "vote_average": 4.1, "vote_count": 16 }, { "adult": false, "backdrop_path": "/b8GhnyXbHuEgbjqGp9Edntgicb7.jpg", "genre_ids": [28, 35, 878], "id": 407546, "original_language": "ja", "original_title": "大怪獣モノ", "overview": "When a giant monster attacks Japan, the country's only hope is a research assistant who's become monstrously big himself. But there might be a price.", "popularity": 2, "poster_path": "/3zXgSkpMMpLuHSonJxevrSGszxC.jpg", "release_date": "2016-07-16", "title": "大怪兽魔诺", "video": false, "vote_average": 6, "vote_count": 8 }, { "adult": false, "backdrop_path": "/w0I6KQ3r9DdNZ0tIsD1CA67Hr6x.jpg", "genre_ids": [28, 35, 878], "id": 262841, "original_language": "en", "original_title": "Monster Trucks", "overview": "影片讲述了卢卡斯饰演的高中生打算组装一辆卡车准备出出风头,但是报废车辆的零件哪有那么好用。这时,小镇上出现了一个类似章鱼的大怪兽,不知道从哪里来,但是这头怪兽竟然能躲进卢卡斯的卡车里,并且和卡车融为一体,就这样,卢卡斯拥有了惊世骇俗的怪兽卡车,去到哪里都是如履平地、所向披靡。", "popularity": 29.653, "poster_path": "/bnRJLatqBiLrUeqfRjszOneDRX9.jpg", "release_date": "2016-12-21", "title": "怪兽卡车", "video": false, "vote_average": 6.109, "vote_count": 832 }, { "adult": false, "backdrop_path": "/aDnCTWpWMHcQxOeGWsITmoLuEGy.jpg", "genre_ids": [16, 35, 10751, 14], "id": 9297, "original_language": "en", "original_title": "Monster House", "overview": "12岁的DJ(米切尔•莫索 Mitchel Musso 饰)是个爱幻想的家伙。他整天觉得对面街的老头子的那座荒废的老屋阴森怪气,附近的一些物体经常不翼而飞。经过详细观察,DJ发现原来失踪的物品都被老屋吃了,那么老头子失踪的老伴应该都是被吃了,DJ心想。不过大人们甚至伙伴们都觉得DJ在异想天开。\r 万圣节前的一天,DJ和伙伴乔德(山姆•勒纳 Sam Lerner 饰)不小心将篮球扔到了老屋门前,他们眼睁睁的看着一股神秘力量将篮球吸进了屋内,就连新搬来的伙伴珍妮(史宾塞•洛克 Spencer Locke 饰)也差点成了老屋的美味。伙伴们这下相信了DJ的说法,不过大人们却依然觉得他们在扯蛋。为了阻止老屋继续吃人作恶,伙伴们决定携手与它作战到底。", "popularity": 58.104, "poster_path": "/jV0SCPSh30urIbLj61a6YiKTlrI.jpg", "release_date": "2006-06-30", "title": "怪兽屋", "video": false, "vote_average": 6.686, "vote_count": 3871 } ], "total_pages": 1, "total_results": 7 } As "悲兮魔兽" is the first hit returned, that's the one it is being selected: 40 minutes ago, dsnwybs said: why the emby server select the "悲兮魔兽" "魔兽" is actually the second one, but since Emby doesn't have additional logic implemented/doesn't loop through the results, first one gets picked. As said, it happens irrespective of languages but is based on TMDB response. Edited August 27, 2024 by GrimReaper
dsnwybs 0 Posted August 27, 2024 Author Posted August 27, 2024 21 minutes ago, GrimReaper said: 它不仅在中文中,而且在所有语言中都有出现(过去已经提到过几次),TMDB 在某种程度上是罪魁祸首,尽管 Emby 是盲目地获取查询返回的第一个命中/结果,而不解析收到的结果以获得可能更好的匹配。 在您的确切示例中: query 返回: 由于 “悲兮魔兽” 是返回的第一个命中,因此它就是被选中的那个: “魔兽”实际上是第二个,但由于 Emby 没有实现额外的逻辑/没有循环结果,所以第一个被选中。 如前所述,它与语言无关,但基于 TMDB 响应。 I am a programmer with C#. I recommend checking again for search results.and i buy emby life time twice, Shouldn't your server judge the results yourself?
GrimReaper 4740 Posted August 27, 2024 Posted August 27, 2024 26 minutes ago, dsnwybs said: Shouldn't your server judge the results yourself? Devs would have to comment on that, but I would assume these are the main reasons: On 9/17/2020 at 5:22 PM, Luke said: it's not so simple to say that we should always do that. In general we don't re-order the search results that come back from MovieDb because that will create more harm than good. On 9/17/2020 at 6:12 PM, Luke said: The order is not irrelevant, because if you re-order the search results, then you end up causing other problems. On 7/4/2021 at 2:25 PM, ebr said: Because that is supposed to be the one the provider thinks is the best fit. It is the provider's result priority that is at fault here but maybe we can try and "outsmart" it in some circumstances. If we do that, however, we're bound to get the wrong thing in other instances. I can imagine added overhead/increased scan times would play a part in it, as well.
Neminem 1519 Posted August 27, 2024 Posted August 27, 2024 (edited) Here is how I name my movie folders and files. Folder : Warcraft (2016) {TmdbId-68735} movie : Warcraft (2016) {TmdbId-68735}.mkv That takes a lot of guess work out of the equation. Edited August 27, 2024 by JayceDK 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now