Jump to content

Metadata issues.


dorinandreescu

Recommended Posts

dorinandreescu

I have for example 2 movies. Hercules and The legend of 1900. All movies are worng in metadata. emby shows like hercules cartoon and legend of 1900 like a chinese movie. Cover and cast. Everytime I change manual the metadata my library updates with the wrong one. curious things, on tmdb the movies are fine. only on emby it's screw the things. any advice? thanks!

Edited by dorinandreescu
Link to comment
Share on other sites

dorinandreescu
1 hour ago, Luke said:

Hi there, can you please provide a specific example? How are your files named and organized?

Thanks.

the first one is actually the hercules from 2014, the movie and the second one is the legend of 1900, but is a chinese cartoon instead. the movies are the real ones but the metadata is totally wrong and the tmdb and imdb are wrong.Screenshot_20221103-194419.thumb.png.335a53985074f12b77c0a7b90c2fc336.pngScreenshot_20221103-194419.thumb.png.335a53985074f12b77c0a7b90c2fc336.pngScreenshot_20221103-194533.thumb.png.6bbf104687ebba36e859f2ae8bde0efa.png

Link to comment
Share on other sites

dorinandreescu

now I've selected only the movie database tmdb, in library without anything else like fanart, tmvb, etc  I only have selected tmdb. i don, t need to select all? i use tmdb for list.

Link to comment
Share on other sites

dorinandreescu
12 hours ago, Luke said:

 

file format

{Movie Title} ({Release Year}) {Quality Full}

folder format

{Movie Title} ({Release Year})

 

that is what you ask me?

Link to comment
Share on other sites

8 minutes ago, dorinandreescu said:

file format

{Movie Title} ({Release Year}) {Quality Full}

folder format

{Movie Title} ({Release Year})

 

that is what you ask me?

Can you please provide an actual example, along with the actual folder name? Thanks.

Link to comment
Share on other sites

dorinandreescu
30 minutes ago, Luke said:

Can you please provide an actual example, along with the actual folder name? Thanks.

hope thats helps you. now I`ve put it on the filename tmdb id also.

Screenshot 2022-11-04 091030.png

Screenshot 2022-11-04 091109.png

Edited by dorinandreescu
Link to comment
Share on other sites

Happy2Play

Same as all the rest of TMDB result issues do to mass release dates.

Only looked at Hercules but TMDB returns 2 when querying year as the first one has a release date in 2014.

image.thumb.png.0221c51cd5b2b980b4b348ff6a1cf711.png

image.png.93c897ad2e4c4cc9cc41e131bdec0d5f.png

Identify with Hercules year 2014

image.png.a1ac959a72b3865580c10152b77e0813.png

API results &query=Hercules&language=en&year=2014

Spoiler

{
"page": 1,
"results": [
{
"adult": false,
"backdrop_path": "/cs1XmakkJNWxIy32p54dS9xW44W.jpg",
"genre_ids": [
16,
10751,
14,
12,
35,
10749
],
"id": 11970,
"original_language": "en",
"original_title": "Hercules",
"overview": "Bestowed with superhuman strength, a young mortal named Hercules sets out to prove himself a hero in the eyes of his father, the great god Zeus. Along with his friends Pegasus, a flying horse, and Phil, a personal trainer, Hercules is tricked by the hilarious, hotheaded villain Hades, who's plotting to take over Mount Olympus!",
"popularity": 97.5,
"poster_path": "/qQsspacWlYn5GZxz15ZhvGqkxgh.jpg",
"release_date": "1997-06-20",
"title": "Hercules",
"video": false,
"vote_average": 7.5,
"vote_count": 6368
},
{
"adult": false,
"backdrop_path": "/nl18gyzai02Tu99VkURu7kCFrR8.jpg",
"genre_ids": [
28,
12
],
"id": 184315,
"original_language": "en",
"original_title": "Hercules",
"overview": "Fourteen hundred years ago, a tormented soul walked the earth that was neither man nor god. Hercules was the powerful son of the god king Zeus, for this he received nothing but suffering his entire life. After twelve arduous labors and the loss of his family, this dark, world-weary soul turned his back on the gods finding his only solace in bloody battle. Over the years he warmed to the company of six similar souls, their only bond being their love of fighting and presence of death. These men and woman never question where they go to fight or why or whom, just how much they will be paid. Now the King of Thrace has hired these mercenaries to train his men to become the greatest army of all time. It is time for this bunch of lost souls to finally have their eyes opened to how far they have fallen when they must train an army to become as ruthless and blood thirsty as their reputation has become.",
"popularity": 74.375,
"poster_path": "/5X3VOy9lD44VclKsWTi8gHZGjhL.jpg",
"release_date": "2014-07-23",
"title": "Hercules",
"video": false,
"vote_average": 5.7,
"vote_count": 3618
},
{
"adult": false,
"backdrop_path": "/k71qcAjDqeU074JGEZhOl6TE5u7.jpg",
"genre_ids": [
28,
12
],
"id": 188207,
"original_language": "en",
"original_title": "The Legend of Hercules",
"overview": "In Ancient Greece 1200 B.C., a queen succumbs to the lust of Zeus to bear a son promised to overthrow the tyrannical rule of the king and restore peace to a land in hardship. But this prince, Hercules, knows nothing of his real identity or his destiny. He desires only one thing: the love of Hebe, Princess of Crete, who has been promised to his own brother. When Hercules learns of his greater purpose, he must choose: to flee with his true love or to fulfill his destiny and become the true hero of his time. The story behind one of the greatest myths is revealed in this action-packed epic - a tale of love, sacrifice and the strength of the human spirit.",
"popularity": 24.239,
"poster_path": "/aAnRHLq50AbGWEibXHjmLbp2Tze.jpg",
"release_date": "2014-01-10",
"title": "The Legend of Hercules",
"video": false,
"vote_average": 4.7,
"vote_count": 1154
},
{
"adult": false,
"backdrop_path": "/hB2af4Up4UpWhdm3MJoXNjH6izf.jpg",
"genre_ids": [
12,
28
],
"id": 277594,
"original_language": "en",
"original_title": "Hercules Reborn",
"overview": "When a young man's bride is kidnapped by an evil king, he turns to Hercules for help. The fallen hero has been living in exile, banished for killing his family, but the young man's courage inspires Hercules. Together, they fight to rescue the bride and reclaim the honor of Hercules.",
"popularity": 2.393,
"poster_path": "/zustI9EStTWz2PxVmy8KvWVpJTP.jpg",
"release_date": "2014-07-08",
"title": "Hercules Reborn",
"video": false,
"vote_average": 4.3,
"vote_count": 64
},
{
"adult": false,
"backdrop_path": "/aahHMfuOFQF02KXuKSXbCEVj8Jd.jpg",
"genre_ids": [
35
],
"id": 480448,
"original_language": "bn",
"original_title": "হারকিউলিস",
"overview": "Hercules is the story of a common man: His actual name is Harakailash, his timid nature and compromising attitude has prompted the local people to call him Hercules in jest.",
"popularity": 1.375,
"poster_path": "/fpK4ykVOolBl8yIIbynWUNo02N9.jpg",
"release_date": "2014-08-29",
"title": "Hercules",
"video": false,
"vote_average": 5,
"vote_count": 1
}
],
"total_pages": 1,
"total_results": 5
}

Emby chose first returned result.

image.thumb.png.53b3d5e99ee8becc8c2d6414042ea68d.png

@Lukecan Emby better match release_date on results?

  • Like 1
Link to comment
Share on other sites

dorinandreescu
1 minute ago, Happy2Play said:

Same as all the rest of TMDB result issues do to mass release dates.

Only looked at Hercules but TMDB returns 2 when querying year as the first one has a release date in 2014.

image.thumb.png.0221c51cd5b2b980b4b348ff6a1cf711.png

image.png.93c897ad2e4c4cc9cc41e131bdec0d5f.png

Identify with Hercules year 2014

image.png.a1ac959a72b3865580c10152b77e0813.png

API results &query=Hercules&language=en&year=2014

  Reveal hidden contents

{
"page": 1,
"results": [
{
"adult": false,
"backdrop_path": "/cs1XmakkJNWxIy32p54dS9xW44W.jpg",
"genre_ids": [
16,
10751,
14,
12,
35,
10749
],
"id": 11970,
"original_language": "en",
"original_title": "Hercules",
"overview": "Bestowed with superhuman strength, a young mortal named Hercules sets out to prove himself a hero in the eyes of his father, the great god Zeus. Along with his friends Pegasus, a flying horse, and Phil, a personal trainer, Hercules is tricked by the hilarious, hotheaded villain Hades, who's plotting to take over Mount Olympus!",
"popularity": 97.5,
"poster_path": "/qQsspacWlYn5GZxz15ZhvGqkxgh.jpg",
"release_date": "1997-06-20",
"title": "Hercules",
"video": false,
"vote_average": 7.5,
"vote_count": 6368
},
{
"adult": false,
"backdrop_path": "/nl18gyzai02Tu99VkURu7kCFrR8.jpg",
"genre_ids": [
28,
12
],
"id": 184315,
"original_language": "en",
"original_title": "Hercules",
"overview": "Fourteen hundred years ago, a tormented soul walked the earth that was neither man nor god. Hercules was the powerful son of the god king Zeus, for this he received nothing but suffering his entire life. After twelve arduous labors and the loss of his family, this dark, world-weary soul turned his back on the gods finding his only solace in bloody battle. Over the years he warmed to the company of six similar souls, their only bond being their love of fighting and presence of death. These men and woman never question where they go to fight or why or whom, just how much they will be paid. Now the King of Thrace has hired these mercenaries to train his men to become the greatest army of all time. It is time for this bunch of lost souls to finally have their eyes opened to how far they have fallen when they must train an army to become as ruthless and blood thirsty as their reputation has become.",
"popularity": 74.375,
"poster_path": "/5X3VOy9lD44VclKsWTi8gHZGjhL.jpg",
"release_date": "2014-07-23",
"title": "Hercules",
"video": false,
"vote_average": 5.7,
"vote_count": 3618
},
{
"adult": false,
"backdrop_path": "/k71qcAjDqeU074JGEZhOl6TE5u7.jpg",
"genre_ids": [
28,
12
],
"id": 188207,
"original_language": "en",
"original_title": "The Legend of Hercules",
"overview": "In Ancient Greece 1200 B.C., a queen succumbs to the lust of Zeus to bear a son promised to overthrow the tyrannical rule of the king and restore peace to a land in hardship. But this prince, Hercules, knows nothing of his real identity or his destiny. He desires only one thing: the love of Hebe, Princess of Crete, who has been promised to his own brother. When Hercules learns of his greater purpose, he must choose: to flee with his true love or to fulfill his destiny and become the true hero of his time. The story behind one of the greatest myths is revealed in this action-packed epic - a tale of love, sacrifice and the strength of the human spirit.",
"popularity": 24.239,
"poster_path": "/aAnRHLq50AbGWEibXHjmLbp2Tze.jpg",
"release_date": "2014-01-10",
"title": "The Legend of Hercules",
"video": false,
"vote_average": 4.7,
"vote_count": 1154
},
{
"adult": false,
"backdrop_path": "/hB2af4Up4UpWhdm3MJoXNjH6izf.jpg",
"genre_ids": [
12,
28
],
"id": 277594,
"original_language": "en",
"original_title": "Hercules Reborn",
"overview": "When a young man's bride is kidnapped by an evil king, he turns to Hercules for help. The fallen hero has been living in exile, banished for killing his family, but the young man's courage inspires Hercules. Together, they fight to rescue the bride and reclaim the honor of Hercules.",
"popularity": 2.393,
"poster_path": "/zustI9EStTWz2PxVmy8KvWVpJTP.jpg",
"release_date": "2014-07-08",
"title": "Hercules Reborn",
"video": false,
"vote_average": 4.3,
"vote_count": 64
},
{
"adult": false,
"backdrop_path": "/aahHMfuOFQF02KXuKSXbCEVj8Jd.jpg",
"genre_ids": [
35
],
"id": 480448,
"original_language": "bn",
"original_title": "হারকিউলিস",
"overview": "Hercules is the story of a common man: His actual name is Harakailash, his timid nature and compromising attitude has prompted the local people to call him Hercules in jest.",
"popularity": 1.375,
"poster_path": "/fpK4ykVOolBl8yIIbynWUNo02N9.jpg",
"release_date": "2014-08-29",
"title": "Hercules",
"video": false,
"vote_average": 5,
"vote_count": 1
}
],
"total_pages": 1,
"total_results": 5
}

Emby chose first returned result.

image.thumb.png.53b3d5e99ee8becc8c2d6414042ea68d.png

@Lukecan Emby better match release_date on results?

yep thats right. I did with Identify , but when my task scan the library, my identify is overridden and radarr repot as unmonitored.

Link to comment
Share on other sites

Happy2Play
1 minute ago, dorinandreescu said:

yep thats right. I did with Identify , but when my task scan the library, my identify is overridden and radarr repot as unmonitored.

Sorry no idea how the *arrs work but doesn't that suggest they are using the wrong id also?

 

19 minutes ago, dorinandreescu said:

hope thats helps you. now I`ve put it on the filename tmdb id also.

Emby usually will use foldername not filename.

But if you want Emby to use that id you need to follow the KB on foldername if you folders per movie or on file if all movies are in a folder.

ID Tags in Folder & File Names

Link to comment
Share on other sites

dorinandreescu
8 minutes ago, Happy2Play said:

Sorry no idea how the *arrs work but doesn't that suggest they are using the wrong id also?

 

Emby usually will use foldername not filename.

But if you want Emby to use that id you need to follow the KB on foldername if you folders per movie or on file if all movies are in a folder.

ID Tags in Folder & File Names

my structure is /media/movies/Hercules (2014)/filename (movie file). If it`s Hercules (2014) can`t be Hercules (1997). Right? So something is broke... The movie it`s right but metadata is not. On TMdb is correct.

Link to comment
Share on other sites

Happy2Play
27 minutes ago, dorinandreescu said:

my structure is /media/movies/Hercules (2014)/filename (movie file). If it`s Hercules (2014) can`t be Hercules (1997). Right? So something is broke... The movie it`s right but metadata is not. On TMdb is correct.

The issue is Emby is querying &query=Hercules&language=en&year=2014 but get multiple results shown in the hidden content above and the first result is the wrong result same as Identiify.  I don't know how much secondary checking is done behind the scenes as the correct result is the second result in this example.

To a point it is a defect on TMDB api as a movie from 1997 technically should not be on the list but their Release Date info skews the returned results.  We have brought if up with TMDB and they have tickets open.

 

@Lukecan we switch to &primary_release_year=xxxx instead of &year=xxxx?  As in this example it returned the Hercules as first item and left out the rogue 1997 version.  Wouldn't think there would be any side effects.  

Noticed it on this ticket.  But this ticket covers some of the same issues we see.

Search movie should be more accurate - Talk — The Movie Database (TMDB) (themoviedb.org)

Results using &primary_release_year=2014

Spoiler

 

{
"page": 1,
"results": [
{
"adult": false,
"backdrop_path": "/nl18gyzai02Tu99VkURu7kCFrR8.jpg",
"genre_ids": [
28,
12
],
"id": 184315,
"original_language": "en",
"original_title": "Hercules",
"overview": "Fourteen hundred years ago, a tormented soul walked the earth that was neither man nor god. Hercules was the powerful son of the god king Zeus, for this he received nothing but suffering his entire life. After twelve arduous labors and the loss of his family, this dark, world-weary soul turned his back on the gods finding his only solace in bloody battle. Over the years he warmed to the company of six similar souls, their only bond being their love of fighting and presence of death. These men and woman never question where they go to fight or why or whom, just how much they will be paid. Now the King of Thrace has hired these mercenaries to train his men to become the greatest army of all time. It is time for this bunch of lost souls to finally have their eyes opened to how far they have fallen when they must train an army to become as ruthless and blood thirsty as their reputation has become.",
"popularity": 74.375,
"poster_path": "/5X3VOy9lD44VclKsWTi8gHZGjhL.jpg",
"release_date": "2014-07-23",
"title": "Hercules",
"video": false,
"vote_average": 5.7,
"vote_count": 3618
},
{
"adult": false,
"backdrop_path": "/k71qcAjDqeU074JGEZhOl6TE5u7.jpg",
"genre_ids": [
28,
12
],
"id": 188207,
"original_language": "en",
"original_title": "The Legend of Hercules",
"overview": "In Ancient Greece 1200 B.C., a queen succumbs to the lust of Zeus to bear a son promised to overthrow the tyrannical rule of the king and restore peace to a land in hardship. But this prince, Hercules, knows nothing of his real identity or his destiny. He desires only one thing: the love of Hebe, Princess of Crete, who has been promised to his own brother. When Hercules learns of his greater purpose, he must choose: to flee with his true love or to fulfill his destiny and become the true hero of his time. The story behind one of the greatest myths is revealed in this action-packed epic - a tale of love, sacrifice and the strength of the human spirit.",
"popularity": 24.239,
"poster_path": "/aAnRHLq50AbGWEibXHjmLbp2Tze.jpg",
"release_date": "2014-01-10",
"title": "The Legend of Hercules",
"video": false,
"vote_average": 4.7,
"vote_count": 1154
},
{
"adult": false,
"backdrop_path": "/hB2af4Up4UpWhdm3MJoXNjH6izf.jpg",
"genre_ids": [
12,
28
],
"id": 277594,
"original_language": "en",
"original_title": "Hercules Reborn",
"overview": "When a young man's bride is kidnapped by an evil king, he turns to Hercules for help. The fallen hero has been living in exile, banished for killing his family, but the young man's courage inspires Hercules. Together, they fight to rescue the bride and reclaim the honor of Hercules.",
"popularity": 2.393,
"poster_path": "/zustI9EStTWz2PxVmy8KvWVpJTP.jpg",
"release_date": "2014-07-08",
"title": "Hercules Reborn",
"video": false,
"vote_average": 4.3,
"vote_count": 64
},
{
"adult": false,
"backdrop_path": "/aahHMfuOFQF02KXuKSXbCEVj8Jd.jpg",
"genre_ids": [
35
],
"id": 480448,
"original_language": "bn",
"original_title": "হারকিউলিস",
"overview": "Hercules is the story of a common man: His actual name is Harakailash, his timid nature and compromising attitude has prompted the local people to call him Hercules in jest.",
"popularity": 1.375,
"poster_path": "/fpK4ykVOolBl8yIIbynWUNo02N9.jpg",
"release_date": "2014-08-29",
"title": "Hercules",
"video": false,
"vote_average": 5,
"vote_count": 1
}
],
"total_pages": 1,
"total_results": 4
}

 

Edited by Happy2Play
  • Like 1
Link to comment
Share on other sites

@Happy2Play alternatively with the movie search api we could switch from the year param to primary_release_year. That should be explored first but the big question there is whether it will be too restrictive or not.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...