Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kodi 18.5 does not recognize 'kodi-override-metadata' attachment #17261

Open
antimatter84 opened this issue Jan 25, 2020 · 2 comments
Open

Kodi 18.5 does not recognize 'kodi-override-metadata' attachment #17261

antimatter84 opened this issue Jan 25, 2020 · 2 comments
Labels
Component: Video Triage: Confirmed issue has been reproduced by a team member v18 Leia

Comments

@antimatter84
Copy link

antimatter84 commented Jan 25, 2020

Bug report

Describe the bug

I have a MKV file with an attachment named "kodi-override-metadata". The attachment is a UTF-8 encoded file containing the URL to the correct TMDB page for that movie:
https://www.themoviedb.org/movie/484641-anna

Kodi does not read the attached NFO and therefore does not directly scrape the metadata from the provided URL to the movie page on TMDB.

Expected Behavior

I expect Kodi to read the attachment and scrape the movie directly from the provided URL in the attachment as this wiki entry describes:
https://kodi.wiki/view/Video_file_tagging#MKV_tag_options

Actual Behavior

Upon library update Kodi seems to ignore the attachment and scrapes the wrong movie:
https://www.themoviedb.org/movie/596258-anna

My MKV file is named "Anna (2019).mkv". TMDB has three movies titled "Anna" that were released in 2019.

To Reproduce

Steps to reproduce the behavior:

  1. Create a textfile and insert only this URL: https://www.themoviedb.org/movie/484641-anna
  2. Prepare a *.mkv file and name it "Anna (2019).mkv"
  3. Open this MKV with MKVToolnix GUI in "Edit headers" mode
  4. Add the textfile as attachment and on the right hand side, enter "kodi-override-metadata" in the field labeled "description", then save.
  5. Run Kodi and update the library. Kodi should scrape this movie instead: https://www.themoviedb.org/movie/596258-anna

Debuglog

The debuglog can be found here: https://paste.kodi.tv/isowajagus.kodi

Additional context or screenshots (if appropriate)

Besides "Description" MKVToolnix GUI also shows a field labeled "File name". If I put "kodi-override-metadata" in the "File name" field, the library update failes when Kodi tries to scrape that movie file. A popup message titled "Couldn't download information" is shown with the text:
"Unable to connect to remote server. Would you like to continue scanning?" -> "Yes" | "No"

If I click "No" the file will be scanned again during the next library update. If I click Yes, the movie file is not added to the library and will also not be scanned at the next update. I have to change the "kodi-override-metadata" text in the "File name" field to something else, to have it scanned again.

I am unsure whether this is related to the bug #16150

Your Environment

I can reproduce this bug on the following operating systems:

  • Windows 7 x64
  • LibreElec 9.2 on Raspberry Pi 3B+

The Kodi version is always: 18.5

@KarellenX KarellenX added Component: Video Triage: Confirmed issue has been reproduced by a team member v18 Leia labels Jan 25, 2020
@KarellenX
Copy link
Member

Using Windows 10 and Kodi v18.5, I was able to confirm this issue.

I enabled/disabled the setting Use Video File Tags, also enabled and disabled "Movies are in separate folders that match the movie title" and neither setting had any effect.

Forum discussion here... https://forum.kodi.tv/showthread.php?tid=351235

@jjd-uk
Copy link
Member

jjd-uk commented Feb 4, 2020

This is the first time I've seen anyone report they attempting to use this. It looks like the wiki entry https://kodi.wiki/view/Video_file_tagging#MKV_tag_options might have been a copy and paste from this commit message 47bb0b6

As it was introduced by @notspiff perhaps he might be able to find the time to take a look at this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Video Triage: Confirmed issue has been reproduced by a team member v18 Leia
Projects
None yet
Development

No branches or pull requests

3 participants