Jump to content

Missing metadata on new Movies added


Recommended Posts

Posted

Hi, I've been noticing a strange issue with most of the metadata missing when new movies are added to the database, but only on some items. I haven't been able to pinpoint the exact issue but it may have something to do with subtitles added by bazarr and the metadata being refreshed by emby's watcher.

 

Here is all the info I have so far.

1. Yesterday at 6pm, movie added by Radarr, and a local nfo containing just the imdb and tmdb links present in the movie folder (generated by Radarr).

2. Scan triggered by the "real time monitoring". Log entries from initial scan below:

2021-07-27 17:59:38.245 Info LibraryMonitor: Movies (/crypt/Movies) will be refreshed.
2021-07-27 18:00:02.099 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: /app/emby/ffprobe -i file:"/crypt/Movies/The Birthday Cake (2021)/The Birthday Cake (2021) Bluray-720p (the.birthday.cake.2021.720p.bluray.x264-woat).mkv" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data
2021-07-27 18:00:03.707 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 0
2021-07-27 18:00:04.082 Info HttpClient: GET https://api.themoviedb.org/3/movie/tt10719958?api_key=f6bd687ffa63cd282b6ff2c6877f2669&append_to_response=casts,releases,images,keywords,trailers&language=en&include_image_language=en,null
2021-07-27 18:00:04.251 Info HttpClient: GET https://private.omdbapi.com?apikey=fe53f97e&i=tt10719958&plot=short&tomatoes=true&r=json
2021-07-27 18:00:04.380 Info HttpClient: GET https://api.themoviedb.org/3/movie/624481?api_key=f6bd687ffa63cd282b6ff2c6877f2669&append_to_response=casts,releases,images,keywords,trailers
2021-07-27 18:00:04.447 Info HttpClient: GET https://image.tmdb.org/t/p/original/kI3lTv3f24Fzl2kD0sYVCvCOZh2.jpg
2021-07-27 18:00:04.703 Info HttpClient: GET https://image.tmdb.org/t/p/original/f2EBHHOJs1eJJqR9sYYDhhB97gd.jpg
2021-07-27 18:00:04.794 Info HttpClient: GET https://webservice.fanart.tv/v3/movies/624481?api_key=5c6b04c68e904cfed1e6cbc9a9e683d4
2021-07-27 18:00:08.408 Info Trakt: Timer elapsed - Processing queued items
2021-07-27 18:00:08.408 Info Trakt: No events... Stopping queue timer
2021-07-27 18:00:11.583 Info HttpClient: GET https://raw.github.com/MediaBrowser/MediaBrowser.Resources/master/images/imagesbyname/studioposters.txt
2021-07-27 18:00:11.894 Info HttpClient: GET https://raw.github.com/MediaBrowser/MediaBrowser.Resources/master/images/imagesbyname/studiothumbs.txt

3. An hour later at around 7pm, Bazarr downloads a subtitle into the movie folder, which triggers a new scan by real time monitoring. Logs below:

2021-07-27 19:06:10.744 Info LibraryMonitor: Movies (/crypt/Movies) will be refreshed.
2021-07-27 19:06:43.525 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: /app/emby/ffprobe -i file:"/crypt/Movies/The Birthday Cake (2021)/The Birthday Cake (2021) Bluray-720p (the.birthday.cake.2021.720p.bluray.x264-woat).mkv" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data
2021-07-27 19:06:44.607 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 0

4. When I check Emby later, I noticed that the Movie name, the thumb, the fanart and the 3 external links (imdb, tmdb and trakt) are in there. However, everything else is missing. No actors, rating, studios, genre, overview, year, etc. When I click on "edit metadata", the only things populated are: title, original title, date added, and external ids (imdb and tmdb).

 

If I do "refresh metadata", everything gets populated just fine.

 

This happened a few times recently. It may have seemed to me like after the initial scan everything gets populated, but after a rescan triggered by an external subtitle addition later may cause most things to get reset (although I can't be sure, my memory isn't as good as it used to be). It's possible that even after the initial scan, most things are missing. I need to watch it closely next time to confirm.

 

Any ideas? I'm on the latest stable Emby running in a docker container:
 

2021-07-28 00:00:00.015 Info App: Application version: 4.6.4.0
2021-07-28 00:00:00.017 Info App: Emby
	Command line: /app/emby/EmbyServer.dll -programdata /config -ffdetect /app/emby/ffdetect -ffmpeg /app/emby/ffmpeg -ffprobe /app/emby/ffprobe -restartexitcode 3
	Operating system: Linux version 5.4.0-80-generic (buildd@lcy01-amd64-030) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #90-Ubuntu SMP Fri Jul 9 22:49:44 UTC 2021
	Framework: .NET Core 3.1.13
	OS/Process: x64/x64
	Runtime: app/emby/System.Private.CoreLib.dll
	Processor count: 4
	Data path: /config
	Application path: /app/emby
2021-07-28 00:00:00.017 Info App: Plugins:
	Bluray Folder Support 1.0.0.0
	Cinema Intros 1.0.38.0
	Dlna 1.0.69.0
	Dvd Folder Support 1.0.0.0
	Fanart.tv 1.0.13.0
	MovieDb 1.4.7.0
	MusicBrainz 1.0.17.0
	Nfo Metadata 1.0.56.0
	OMDb 1.0.14.0
	Open Subtitles 1.0.28.0
	Port Mapper 1.0.6.0
	Studio Images 1.0.3.0
	TheAudioDb 1.0.14.0
	TheTVDB 1.0.41.0
	Trakt 3.5.1.0
	Webhooks 1.0.15.0

 

Thanks

Happy2Play
Posted

Will have to search but others have had issues with Radarr nfo files.  Have you compare one generated by Radarr to one generated by Emby?

Can you post a Radarr generated nfo file.

Posted

Sure, this is the nfo contents for that specific movie:

$ cat "The Birthday Cake (2021) Bluray-720p (the.birthday.cake.2021.720p.bluray.x264-woat).nfo" 
https://www.themoviedb.org/movie/624481
https://www.imdb.com/title/tt10719958

 

Happy2Play
Posted
10 minutes ago, aptalca said:

Sure, this is the nfo contents for that specific movie:


$ cat "The Birthday Cake (2021) Bluray-720p (the.birthday.cake.2021.720p.bluray.x264-woat).nfo" 
https://www.themoviedb.org/movie/624481
https://www.imdb.com/title/tt10719958

 

Emby does not use that url format at all, don't believe it is in Kodi nfo standards anywhere either.  Overall you would be better off turning off Radarr metadata creation as all it is doing is creating issue in what it is providing.

Spoiler

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<movie>
  <plot><![CDATA[On the 10th anniversary of his father's death, Giovanni reluctantly accepts the task of bringing a cake to the home of his uncle, a mob boss, for a celebration. Just two hours into the night, Gio's life is forever changed.]]></plot>
  <outline><![CDATA[Revenge never tasted so sweet]]></outline>
  <lockdata>false</lockdata>
  <dateadded>2021-07-28 10:55:00</dateadded>
  <title>The Birthday Cake</title>
  <originaltitle>The Birthday Cake</originaltitle>
  <actor>
    <name>Shiloh Fernandez</name>
    <role>Gio</role>
    <type>Actor</type>
    <tmdbid>79795</tmdbid>
  </actor>
  <actor>
    <name>Ewan McGregor</name>
    <role>Father Kelly</role>
    <type>Actor</type>
    <tmdbid>3061</tmdbid>
  </actor>
  <actor>
    <name>Val Kilmer</name>
    <role>Uncle Angelo</role>
    <type>Actor</type>
    <tmdbid>5576</tmdbid>
  </actor>
  <actor>
    <name>Lorraine Bracco</name>
    <role>Sofia</role>
    <type>Actor</type>
    <tmdbid>11478</tmdbid>
  </actor>
  <actor>
    <name>William Fichtner</name>
    <role>Uncle Ricardo</role>
    <type>Actor</type>
    <tmdbid>886</tmdbid>
  </actor>
  <actor>
    <name>Aldis Hodge</name>
    <role>Eagle</role>
    <type>Actor</type>
    <tmdbid>83860</tmdbid>
  </actor>
  <actor>
    <name>Penn Badgley</name>
    <role>Peeno</role>
    <type>Actor</type>
    <tmdbid>110927</tmdbid>
  </actor>
  <actor>
    <name>Jeremy Allen White</name>
    <role>Tammosa</role>
    <type>Actor</type>
    <tmdbid>206905</tmdbid>
  </actor>
  <actor>
    <name>Ashley Benson</name>
    <role>Tracey</role>
    <type>Actor</type>
    <tmdbid>78030</tmdbid>
  </actor>
  <actor>
    <name>Luis Guzmán</name>
    <role>Jochee</role>
    <type>Actor</type>
    <tmdbid>40481</tmdbid>
  </actor>
  <actor>
    <name>John Magaro</name>
    <role>Cousin Joey</role>
    <type>Actor</type>
    <tmdbid>37154</tmdbid>
  </actor>
  <actor>
    <name>Paul Sorvino</name>
    <role>Uncle Carmine</role>
    <type>Actor</type>
    <tmdbid>7004</tmdbid>
  </actor>
  <actor>
    <name>David Mazouz</name>
    <role>Young Gio</role>
    <type>Actor</type>
    <tmdbid>934173</tmdbid>
  </actor>
  <actor>
    <name>Jake Weary</name>
    <role>Agent Pete</role>
    <type>Actor</type>
    <tmdbid>133980</tmdbid>
  </actor>
  <actor>
    <name>Emory Cohen</name>
    <role>Leo</role>
    <type>Actor</type>
    <tmdbid>1041440</tmdbid>
  </actor>
  <actor>
    <name>Vincent Pastore</name>
    <role>Vito</role>
    <type>Actor</type>
    <tmdbid>47774</tmdbid>
  </actor>
  <actor>
    <name>Marla Maples</name>
    <role>Aunt Emma</role>
    <type>Actor</type>
    <tmdbid>153884</tmdbid>
  </actor>
  <actor>
    <name>Franky G</name>
    <role>Omar</role>
    <type>Actor</type>
    <tmdbid>2682</tmdbid>
  </actor>
  <actor>
    <name>Joseph D'Onofrio</name>
    <role>Bootsy</role>
    <type>Actor</type>
    <tmdbid>17928</tmdbid>
  </actor>
  <actor>
    <name>Emily Tremaine</name>
    <role>Karen</role>
    <type>Actor</type>
    <tmdbid>1105311</tmdbid>
  </actor>
  <actor>
    <name>Nick Vallelonga</name>
    <role>Uncle Tiny Tony</role>
    <type>Actor</type>
    <tmdbid>78336</tmdbid>
  </actor>
  <actor>
    <name>Jordan Lane Price</name>
    <role>Pam</role>
    <type>Actor</type>
    <tmdbid>1422975</tmdbid>
  </actor>
  <actor>
    <name>Tyler Dean Flores</name>
    <role>Flacko</role>
    <type>Actor</type>
    <tmdbid>1473749</tmdbid>
  </actor>
  <actor>
    <name>Anthony Mangano</name>
    <role>Uncle Sal</role>
    <type>Actor</type>
    <tmdbid>77585</tmdbid>
  </actor>
  <actor>
    <name>Clara McGregor</name>
    <role>Diane</role>
    <type>Actor</type>
    <tmdbid>2089967</tmdbid>
  </actor>
  <actor>
    <name>Sergio Rizzuto</name>
    <role>Monty</role>
    <type>Actor</type>
    <tmdbid>2145585</tmdbid>
  </actor>
  <actor>
    <name>Emilio Vitolo</name>
    <role>Cousin Emilio</role>
    <type>Actor</type>
    <tmdbid>2941215</tmdbid>
  </actor>
  <actor>
    <name>Nathalie Rock</name>
    <role>Monica</role>
    <type>Actor</type>
    <tmdbid>3095818</tmdbid>
  </actor>
  <actor>
    <name>Max Daniels</name>
    <role>Lorenzo</role>
    <type>Actor</type>
    <tmdbid>175600</tmdbid>
  </actor>
  <actor>
    <name>Isabelle  Phillips</name>
    <role>Cousin Marie</role>
    <type>Actor</type>
    <tmdbid>2417508</tmdbid>
  </actor>
  <actor>
    <name>Andrea Barnes</name>
    <role>Mrs. Tucci</role>
    <type>Actor</type>
    <tmdbid>2771910</tmdbid>
  </actor>
  <actor>
    <name>Cassius Corrigan</name>
    <role>Kombucha Yuppie</role>
    <type>Actor</type>
    <tmdbid>2259003</tmdbid>
  </actor>
  <actor>
    <name>Frank Vallelonga</name>
    <role>Uncle Luca</role>
    <type>Actor</type>
    <tmdbid>2255038</tmdbid>
  </actor>
  <actor>
    <name>Leticia Castillo</name>
    <role>Mercedes</role>
    <type>Actor</type>
    <tmdbid>2657529</tmdbid>
  </actor>
  <actor>
    <name>Tone Tank</name>
    <role>Biagio</role>
    <type>Actor</type>
    <tmdbid>1140233</tmdbid>
  </actor>
  <actor>
    <name>Ron Esfandiari</name>
    <role>Moe</role>
    <type>Actor</type>
    <tmdbid>2526306</tmdbid>
  </actor>
  <actor>
    <name>Michael Benjamin Hernandez</name>
    <role>Pablo</role>
    <type>Actor</type>
    <tmdbid>2143050</tmdbid>
  </actor>
  <actor>
    <name>Ruben Rivera</name>
    <role>Rene</role>
    <type>Actor</type>
    <tmdbid>2771938</tmdbid>
  </actor>
  <actor>
    <name>Big Klit</name>
    <role>Wild girl at Bodega</role>
    <type>Actor</type>
    <tmdbid>3106183</tmdbid>
  </actor>
  <actor>
    <name>Jose R Jimenez</name>
    <role>Julio</role>
    <type>Actor</type>
    <tmdbid>3106185</tmdbid>
  </actor>
  <actor>
    <name>Samantha Urbani</name>
    <role>Vicky</role>
    <type>Actor</type>
    <tmdbid>1429189</tmdbid>
  </actor>
  <actor>
    <name>Sal Tumino</name>
    <role>Uncle Alphonso</role>
    <type>Actor</type>
    <tmdbid>3106187</tmdbid>
  </actor>
  <actor>
    <name>Ricky Powell</name>
    <role>Jazz DJ</role>
    <type>Actor</type>
    <tmdbid>2208613</tmdbid>
  </actor>
  <director tmdbid="2526303">Jimmy Giannopoulos</director>
  <trailer>plugin://plugin.video.youtube/?action=play_video&amp;videoid=tRV8E1OC5jI</trailer>
  <rating>4.4</rating>
  <year>2021</year>
  <mpaa>R</mpaa>
  <imdbid>tt10719958</imdbid>
  <tmdbid>624481</tmdbid>
  <premiered>2021-06-17</premiered>
  <releasedate>2021-06-17</releasedate>
  <criticrating>25</criticrating>
  <tagline>Revenge never tasted so sweet</tagline>
  <country>United States of America</country>
  <genre>Crime</genre>
  <genre>Thriller</genre>
  <studio>Purpose Films</studio>
  <studio>Artemis</studio>
  <studio>SSS Entertainment</studio>
  <studio>Foton Pictures</studio>
  <studio>Screen Media Films</studio>
  <uniqueid type="Tmdb">624481</uniqueid>
  <uniqueid type="Imdb">tt10719958</uniqueid>
  <id>tt10719958</id>
  <fileinfo>
    <streamdetails />
  </fileinfo>
</movie>

 

  • Agree 1
Posted

Hmm. Unfortunately my media is consumed by multiple media servers and the others do use (and need) the imdb/tmdb links in the nfo.

I thought that was the best way to ensure that movies are detected correctly.

 

There still seems to be a bug though, because it only happens some of the time, not all the time. Also, having additional info in an nfo that emby doesn't recognize should either be ignored by emby, or log an error, right?

 

Can I request that either emby recognizes imdb/tmbd links in nfo's, and/or doesn't fail to retrieve metadata from the internet when there is unrecognized info in an nfo? It seems strange that the movie is matched correctly, external links are added, as well as the thumb and the fanart, but everything else fails.

 

Thanks

Posted
1 hour ago, Happy2Play said:

Emby does not use that url format at all, don't believe it is in Kodi nfo standards anywhere either.  Overall you would be better off turning off Radarr metadata creation as all it is doing is creating issue in what it is providing.

  Reveal hidden contents

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<movie>
  <plot><![CDATA[On the 10th anniversary of his father's death, Giovanni reluctantly accepts the task of bringing a cake to the home of his uncle, a mob boss, for a celebration. Just two hours into the night, Gio's life is forever changed.]]></plot>
  <outline><![CDATA[Revenge never tasted so sweet]]></outline>
  <lockdata>false</lockdata>
  <dateadded>2021-07-28 10:55:00</dateadded>
  <title>The Birthday Cake</title>
  <originaltitle>The Birthday Cake</originaltitle>
  <actor>
    <name>Shiloh Fernandez</name>
    <role>Gio</role>
    <type>Actor</type>
    <tmdbid>79795</tmdbid>
  </actor>
  <actor>
    <name>Ewan McGregor</name>
    <role>Father Kelly</role>
    <type>Actor</type>
    <tmdbid>3061</tmdbid>
  </actor>
  <actor>
    <name>Val Kilmer</name>
    <role>Uncle Angelo</role>
    <type>Actor</type>
    <tmdbid>5576</tmdbid>
  </actor>
  <actor>
    <name>Lorraine Bracco</name>
    <role>Sofia</role>
    <type>Actor</type>
    <tmdbid>11478</tmdbid>
  </actor>
  <actor>
    <name>William Fichtner</name>
    <role>Uncle Ricardo</role>
    <type>Actor</type>
    <tmdbid>886</tmdbid>
  </actor>
  <actor>
    <name>Aldis Hodge</name>
    <role>Eagle</role>
    <type>Actor</type>
    <tmdbid>83860</tmdbid>
  </actor>
  <actor>
    <name>Penn Badgley</name>
    <role>Peeno</role>
    <type>Actor</type>
    <tmdbid>110927</tmdbid>
  </actor>
  <actor>
    <name>Jeremy Allen White</name>
    <role>Tammosa</role>
    <type>Actor</type>
    <tmdbid>206905</tmdbid>
  </actor>
  <actor>
    <name>Ashley Benson</name>
    <role>Tracey</role>
    <type>Actor</type>
    <tmdbid>78030</tmdbid>
  </actor>
  <actor>
    <name>Luis Guzmán</name>
    <role>Jochee</role>
    <type>Actor</type>
    <tmdbid>40481</tmdbid>
  </actor>
  <actor>
    <name>John Magaro</name>
    <role>Cousin Joey</role>
    <type>Actor</type>
    <tmdbid>37154</tmdbid>
  </actor>
  <actor>
    <name>Paul Sorvino</name>
    <role>Uncle Carmine</role>
    <type>Actor</type>
    <tmdbid>7004</tmdbid>
  </actor>
  <actor>
    <name>David Mazouz</name>
    <role>Young Gio</role>
    <type>Actor</type>
    <tmdbid>934173</tmdbid>
  </actor>
  <actor>
    <name>Jake Weary</name>
    <role>Agent Pete</role>
    <type>Actor</type>
    <tmdbid>133980</tmdbid>
  </actor>
  <actor>
    <name>Emory Cohen</name>
    <role>Leo</role>
    <type>Actor</type>
    <tmdbid>1041440</tmdbid>
  </actor>
  <actor>
    <name>Vincent Pastore</name>
    <role>Vito</role>
    <type>Actor</type>
    <tmdbid>47774</tmdbid>
  </actor>
  <actor>
    <name>Marla Maples</name>
    <role>Aunt Emma</role>
    <type>Actor</type>
    <tmdbid>153884</tmdbid>
  </actor>
  <actor>
    <name>Franky G</name>
    <role>Omar</role>
    <type>Actor</type>
    <tmdbid>2682</tmdbid>
  </actor>
  <actor>
    <name>Joseph D'Onofrio</name>
    <role>Bootsy</role>
    <type>Actor</type>
    <tmdbid>17928</tmdbid>
  </actor>
  <actor>
    <name>Emily Tremaine</name>
    <role>Karen</role>
    <type>Actor</type>
    <tmdbid>1105311</tmdbid>
  </actor>
  <actor>
    <name>Nick Vallelonga</name>
    <role>Uncle Tiny Tony</role>
    <type>Actor</type>
    <tmdbid>78336</tmdbid>
  </actor>
  <actor>
    <name>Jordan Lane Price</name>
    <role>Pam</role>
    <type>Actor</type>
    <tmdbid>1422975</tmdbid>
  </actor>
  <actor>
    <name>Tyler Dean Flores</name>
    <role>Flacko</role>
    <type>Actor</type>
    <tmdbid>1473749</tmdbid>
  </actor>
  <actor>
    <name>Anthony Mangano</name>
    <role>Uncle Sal</role>
    <type>Actor</type>
    <tmdbid>77585</tmdbid>
  </actor>
  <actor>
    <name>Clara McGregor</name>
    <role>Diane</role>
    <type>Actor</type>
    <tmdbid>2089967</tmdbid>
  </actor>
  <actor>
    <name>Sergio Rizzuto</name>
    <role>Monty</role>
    <type>Actor</type>
    <tmdbid>2145585</tmdbid>
  </actor>
  <actor>
    <name>Emilio Vitolo</name>
    <role>Cousin Emilio</role>
    <type>Actor</type>
    <tmdbid>2941215</tmdbid>
  </actor>
  <actor>
    <name>Nathalie Rock</name>
    <role>Monica</role>
    <type>Actor</type>
    <tmdbid>3095818</tmdbid>
  </actor>
  <actor>
    <name>Max Daniels</name>
    <role>Lorenzo</role>
    <type>Actor</type>
    <tmdbid>175600</tmdbid>
  </actor>
  <actor>
    <name>Isabelle  Phillips</name>
    <role>Cousin Marie</role>
    <type>Actor</type>
    <tmdbid>2417508</tmdbid>
  </actor>
  <actor>
    <name>Andrea Barnes</name>
    <role>Mrs. Tucci</role>
    <type>Actor</type>
    <tmdbid>2771910</tmdbid>
  </actor>
  <actor>
    <name>Cassius Corrigan</name>
    <role>Kombucha Yuppie</role>
    <type>Actor</type>
    <tmdbid>2259003</tmdbid>
  </actor>
  <actor>
    <name>Frank Vallelonga</name>
    <role>Uncle Luca</role>
    <type>Actor</type>
    <tmdbid>2255038</tmdbid>
  </actor>
  <actor>
    <name>Leticia Castillo</name>
    <role>Mercedes</role>
    <type>Actor</type>
    <tmdbid>2657529</tmdbid>
  </actor>
  <actor>
    <name>Tone Tank</name>
    <role>Biagio</role>
    <type>Actor</type>
    <tmdbid>1140233</tmdbid>
  </actor>
  <actor>
    <name>Ron Esfandiari</name>
    <role>Moe</role>
    <type>Actor</type>
    <tmdbid>2526306</tmdbid>
  </actor>
  <actor>
    <name>Michael Benjamin Hernandez</name>
    <role>Pablo</role>
    <type>Actor</type>
    <tmdbid>2143050</tmdbid>
  </actor>
  <actor>
    <name>Ruben Rivera</name>
    <role>Rene</role>
    <type>Actor</type>
    <tmdbid>2771938</tmdbid>
  </actor>
  <actor>
    <name>Big Klit</name>
    <role>Wild girl at Bodega</role>
    <type>Actor</type>
    <tmdbid>3106183</tmdbid>
  </actor>
  <actor>
    <name>Jose R Jimenez</name>
    <role>Julio</role>
    <type>Actor</type>
    <tmdbid>3106185</tmdbid>
  </actor>
  <actor>
    <name>Samantha Urbani</name>
    <role>Vicky</role>
    <type>Actor</type>
    <tmdbid>1429189</tmdbid>
  </actor>
  <actor>
    <name>Sal Tumino</name>
    <role>Uncle Alphonso</role>
    <type>Actor</type>
    <tmdbid>3106187</tmdbid>
  </actor>
  <actor>
    <name>Ricky Powell</name>
    <role>Jazz DJ</role>
    <type>Actor</type>
    <tmdbid>2208613</tmdbid>
  </actor>
  <director tmdbid="2526303">Jimmy Giannopoulos</director>
  <trailer>plugin://plugin.video.youtube/?action=play_video&amp;videoid=tRV8E1OC5jI</trailer>
  <rating>4.4</rating>
  <year>2021</year>
  <mpaa>R</mpaa>
  <imdbid>tt10719958</imdbid>
  <tmdbid>624481</tmdbid>
  <premiered>2021-06-17</premiered>
  <releasedate>2021-06-17</releasedate>
  <criticrating>25</criticrating>
  <tagline>Revenge never tasted so sweet</tagline>
  <country>United States of America</country>
  <genre>Crime</genre>
  <genre>Thriller</genre>
  <studio>Purpose Films</studio>
  <studio>Artemis</studio>
  <studio>SSS Entertainment</studio>
  <studio>Foton Pictures</studio>
  <studio>Screen Media Films</studio>
  <uniqueid type="Tmdb">624481</uniqueid>
  <uniqueid type="Imdb">tt10719958</uniqueid>
  <id>tt10719958</id>
  <fileinfo>
    <streamdetails />
  </fileinfo>
</movie>

 

For info this is called URL only nfo and has been supported officially in Kodi for so long you can practically say "always".

Emby also supports reading this format as do most other media manager and interfaces.

None that I know support writing this format.

Of note however from the Kodi spec `If there is more than one URL in the file only the first URL will be used.`

  • Like 1
Posted
2 hours ago, aptalca said:

Hmm. Unfortunately my media is consumed by multiple media servers and the others do use (and need) the imdb/tmdb links in the nfo.

These other programs should be able to use the NFO generated by Emby as it supports the standard for writing NFO files much better than Radarr does.

Try letting Emby create this file vs Radarr and your problems will likely vanish.

Posted
1 hour ago, cayars said:

These other programs should be able to use the NFO generated by Emby as it supports the standard for writing NFO files much better than Radarr does.

Try letting Emby create this file vs Radarr and your problems will likely vanish.

But the whole point of using an nfo here is so that Emby (and other servers and clients) can identify it correctly. I have no intention of keeping fully populated nfos alongside the media. Emby and others have read only access to my media library. My library only contains the media, srt subtitles and a single nfo with just links to imdb/tmdb/tvdb.

 

Radarr is the only thing in my set up that knows what the media is with 100% accuracy. That's why I trust Radarr to place the imdb/tmdb link in there for others to use so I don't have mismatched items in my library. Emby's matching is pretty good, but not perfect.

Posted
4 hours ago, Happy2Play said:

Emby does not use that url format at all, don't believe it is in Kodi nfo standards anywhere either.  Overall you would be better off turning off Radarr metadata creation as all it is doing is creating issue in what it is providing.

  Reveal hidden contents

 

We do support url only nfo's, although I've never seen an nfo with two urls before so perhaps that is the issue?

  • Like 1
Posted

Just for the avoidance of doubt since some of the replies seem to assume this does not work

image.thumb.png.f47f387a0ccacb4b1c02e8b6fe8b6469.png

 

image.png.ec906eceff7234ed6d04e921e0a4d96f.png

 

 ls Rocky\ \(1976\)/
movie.nfo  rocky.1976.mkv


 cat Rocky\ \(1976\)/movie.nfo
https://www.imdb.com/title/tt0212346/

 

Posted

I think they may not have seen it before because not very many users do this, but a url-only nfo is supported.

  • Like 2
Posted

Thanks Luke.

I am a bit proponent of this approach as it is elegant to deploy and essentially universally supported. By placing this "anchor" link nfo you can one time identify a tv show or movie with 0% errors and ignore edge cases. I use this universally for all content with absolute scraping precision.

It is also read only filesystem friendly as all the tooling is happy to consume the id but does not need to write back XML

For reference it seems to have changed name in teh original Kodi spec from `URL only` nfo to `Parsing nfo` as seen here

 

https://kodi.wiki/view/NFO_files/Parsing

Posted

Thanks guys. I'll keep watching. Next time I'll try to catch one right after download and initial scan and see if the subtitles are indeed the culprit.

Posted (edited)

@LukeGood news, I've been able to reproduce the issue with a lot more accuracy.

Here are the steps:

1. Add a movie to library with a url only nfo (in my case 2 urls, one for imdb and one for tmdb)

2. Auto scan picks it up correctly and retrieves all metadata correctly (confirmed in the gui)

3. Add an external srt file

4. Auto scan picks it up and refreshes, most of the metadata disappears. Only the title, images and the external links remain.

 

The only files in the media folder are the mkv, url only nfo and the newly added srt subtitle.

$ ls -al
total 3886350
-rw-rw-r-- 1 aptalca aptalca      82887 Jul 29 12:06 'Happily (2021) Bluray-720p (Happily.2021.720p.BluRay.x264-JustWatch).en.srt'
-rw-rw-r-- 1 aptalca aptalca 3979538800 Jul 29 08:47 'Happily (2021) Bluray-720p (Happily.2021.720p.BluRay.x264-JustWatch).mkv'
-rw-rw-r-- 1 aptalca aptalca         76 Jul 29 08:58 'Happily (2021) Bluray-720p (Happily.2021.720p.BluRay.x264-JustWatch).nfo'
$ cat Happily\ \(2021\)\ Bluray-720p\ \(Happily.2021.720p.BluRay.x264-JustWatch\).nfo 
https://www.themoviedb.org/movie/673319
https://www.imdb.com/title/tt9849004

I hope this is enough info for you guys to reproduce as well.

 

EDIT: Just confirmed with two more movies. Initial scan, all is well. After external sub is added, auto scan removes most of the metadata.

FINAL EDIT: I can also repeatedly reproduce it by adding more external subtitles. Each time I add a new subtitle to an existing movie, metadata disappears and a manual metadata refresh brings it back.

Edited by aptalca
  • Thanks 1
Happy2Play
Posted

So these nfo files are never rewritten with complete metadata, correct?

@Lukeisn't that going to happen every time that nfo file is re-read as it is technically a empty file?

Posted

No, the nfos are not rewritten. In emby I have nfo metadata saver turned off (emby has read only access to the media anyway). The only change happening is the addition of an srt file next to the media and the next emby scan loses the metadata in the library.

Happy2Play
Posted

To me you would have to disable nfo reader also, but the dev will have to reply as right now every time the nfo is read you should be running into issues.

Posted

But when I do a manual "refresh metadata" there are no issues and it retrieves everything just fine. Only the auto scan after an added subtitle causes the issue.

Posted

Hi @Luke

Is this confirmed as a bug or do you need more info? I outlined the definitive reproduction steps in this post in case you missed it: 

Thanks

 

 

  • 2 weeks later...
Posted

Hi, this is still very much an issue, which renders url only nfo files useless if one is adding external subtitles with Bazarr.

@Luke can you confirm whether this is considered a bug for which a patch will be published at some point?

Thanks

  • 2 weeks later...
Posted

Gentle bump.

 

This is still an issue and is reproducible every time.

 

To test, I installed jellyfin and it doesn't seem to have this issue with url only nfos and external subtitles.

Posted

While the bug is being investigated - why don't you config the Media management in the arr's to write the ID into directory and/or filename - that way you don't need to the arr's to write the nfo for identification - as emby will identify it directly from the ID in the filename and subsequently produce it's own nfo.

ie  [tmdbId={TmdbId}] for movies and [tvdbID={TvdbId}] for TV 

 

 

  • Agree 1
  • 2 weeks later...
Posted

Thanks, but I have other apps that need the url only nfo. 

  • 1 month later...
Posted

@Luke

Sorry to be a pest, but was this ever confirmed as a bug? I can confirm it is still happening on the latest beta every time an external subtitle is added to a movie with a url only nfo.

Here's the easiest way to reproduce (via docker, all sandboxed in a test environment), just a quick few steps:

1. Create a docker container and exec into it:

docker run -d --rm --name emby -p 8096:8096 emby/embyserver:beta
docker exec -it emby sh

2. Create fake movie folders and files, and create a url only nfo with an imdb link:

mkdir -p /test/testmoviefolder
touch /test/testmoviefolder/testmoviefile.mkv
echo "https://www.imdb.com/title/tt0137523/" > /test/testmoviefolder/testmoviefile.nfo

3. Open the gui on port 8096, go through the wizard, add a movie library with the folder "/test" added, don't change any other library settings. Leave everything default.

4. Log in and see "Fight Club" with all the metadata:

1595506115_Screenshot2021-11-06202735.thumb.png.1bca711f3feeaa85f5850c6284287c50.png

 

5. Go back to docker container shell and create a fake external subtitle:

touch /test/testmoviefolder/testmoviefile.en.srt

6. Wait a couple of minutes for emby to pick it up and watch most metadata vanish:

1926522979_Screenshot2021-11-06202946.thumb.png.6b69159eb1dcbcd061fca4b5af253cc8.png

 

Thanks

Posted

Looks to me you're performing a bad test as I would expect to see exactly what you're showing. You did this:

docker run -d --rm --name emby -p 8096:8096 emby/embyserver:beta
docker exec -it emby sh

/test is inside of docker and you'll loose it's contents if your stop/start or touch the volume.

Try creating a volume and then mount it for the media

sudo docker volume create --name emby-media

Or just bind a location outside of docker or a volume on the host file system.

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...