Jump to content

Wrong metadata language


Recommended Posts

Posted

Hi.

Ubuntu Linux 22.04 LTS Emby Server 4.7.6.0.

I've chosen the Russian metadata language for for all my Media libraries. TheMovieDb and The Open Movie Database are enabled as metadata grabbers.

When I try to recognize the movie I have no response at all. I've found that Russian IPs are blocked. OK. I run Emby Server via socks proxy and receive search results. But ALL metadata became in English but not in Russian. When I search not by movie name but by Imdb ID I receive the correct Russian metadata. But it's too long way to rebuild entire Movie library movie by movie. I can't get Russian metadata if I refresh Media Library. Any suggestions?
P.S.: please don't suggest to update Emby Server to the latest version. All versions older then 4.7.6.0 have an issue with default Folder view for Emby Android TV app (the generic Emby Android app works good but it's not useful for me on TVs because of some streaming issues).

Posted

It's very strange. After some time the Russian metadata receiving via IMDb ID stopped working but began working Russian metadata via Russian movie name search.

Posted

In what form would you like to receive an example? Screenshots? Video? I've the Russian interface. Is it OK for you?
Do you need server logs? I've fixed all my items by hand yesterday.
The metadata receiving issue is very strange and floating. As I wrote before sometime search by IMDb ID give me Russian metadata version, sometime search by movie name give me Russian metadata version. Sometime vice versa.

Posted

Specifically what movies, how your files are named and organized, and yes the emby server log. Thanks.

Happy2Play
Posted

What is your metadata provider order on the library?

Can you go over a specific example to include Server log.

 

Posted

Now the first is Open Movie Database. I've tried TheMovieDb as the first before. No any difference.

Posted

I've rebuild all my libraries by hand. Now it quite difficult to give you the correct example but let's try.

Again! I run Emby server over proxychains because the movie recognition doesn't work at all. I suppose it is a restriction for Russian users now.

My movies are located in folders and subfolders. I don't use any Emby sorting and I definitely do not need this!!! I just need the Folder view.

So. I try to get metadata for movie "Astérix & Obélix Mission Cléopâtre". I can find it by Russian name but after applying changes I have no correct metadata and even no images at all.
I also lost main image for one of my movie libraries today for example. I would say that this issue is permanent for me. I see it in different libraries for different movies from time to time.
I have no such issues with early Emby server versions: 4.6 etc. The current version is 4.7.11.

1.png

2.png

asterix.png

embyserver.txt

Posted (edited)

You can see the lost image for one of my Libraries. I've tried to refresh the library, to refresh metadata, to replace images - no success.

 

Screenshot_2023-01-21_17-08-04.png

Screenshot_2023-01-21_17-16-10.png

Screenshot_2023-01-21_17-16-58.png

Edited by slaver666
Posted

I've updated my Emby server from 4.7.6 to 4.7.11 because of new generic Android app 3.2.90 looks better then previous version. I've no movie playback issues now.

GrimReaper
Posted
7 minutes ago, slaver666 said:

So. I try to get metadata for movie "Astérix & Obélix Mission Cléopâtre". I can find it by Russian name but after applying changes I have no correct metadata and even no images at all.

You have a number of access errors in your log, would guess some permission issue:

System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/var/lib/emby/cache/temp/fd4ae1028de74991979b10372b806c06.jpg' is denied.
System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/var/lib/emby/cache/tmdb-movies2/2899/all-ru.json' is denied.
System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/var/lib/emby/cache/tmdb-movies2/2899/all-alllang.json' is denied.

As well as Skia errors, likely for same reason:

System.Exception: System.Exception: SKFileWStream to output path /var/lib/emby/cache/temp/961100f5e3d748a7bcc90a876a4a737c.png is not valid.
System.Exception: System.Exception: SKFileWStream to output path /var/lib/emby/cache/temp/d1ea2adbc8964f5cba104a7ce8929d57.png is not valid.
System.Exception: System.Exception: SKFileWStream to output path /var/lib/emby/cache/temp/7f9014e2d2e94bda95534dc2187285cf.png is not valid.
System.Exception: System.Exception: SKFileWStream to output path /var/lib/emby/cache/temp/9ed9f5a2d1c44effb7fa5f90bb53b00c.png is not valid.
System.Exception: System.Exception: SKFileWStream to output path /var/lib/emby/cache/temp/b2af064d6c004847ae094c09ccc70862.png is not valid.
System.Exception: System.Exception: SKFileWStream to output path /var/lib/emby/cache/temp/4f05c8a708d441f4adc160cb1ad74424.png is not valid.
System.Exception: System.Exception: SKFileWStream to output path /var/lib/emby/cache/temp/0482b98d69b74e60b9236f3477eee7b4.png is not valid.

Also, I would suggest putting TMDB as top provider for your library.

2023-01-21 16:45:01.338 Info HttpClient: GET https://private.omdbapi.com?apikey=x_secret1_x&plot=full&r=json&s=Астерикс и Обеликс: Миссия Клеопатра&type=movie
2023-01-21 16:45:02.267 Info HttpClient: GET https://api.themoviedb.org/3/search/movie?api_key=x_secret2_x&query=Астерикс и Обеликс: Миссия Клеопатра&language=ru

 

Posted

Very strange. I don't set any permissions inside system folders. All that folders are owned by root.

Screenshot_2023-01-21_17-29-08.png

Posted (edited)

I've changed the top provider to TMDB but the main image library didn't return. So I believe in this case the problem is not with image or metadata provider because the main library's image is not downloaded from Internet. The library uses images inside the library to create its own main poster.

embyserver.txt

Edited by slaver666
GrimReaper
Posted (edited)
7 minutes ago, slaver666 said:

I've changed the top provider to TMDB but the main image library didn't return.

Those are unrelated. But since Emby cannot read returned json payload:

System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/var/lib/emby/cache/tmdb-movies2/2899/all-ru.json' is denied.
System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/var/lib/emby/cache/tmdb-movies2/2899/all-alllang.json' is denied.

you cannot get correct metadata nor language.

As for library image, that is probably related to Skia issues you're encountering. Try deleting that image manually and scan library, it should be recreated automatically.

Edited by GrimReaper
Posted (edited)

Oh my god! So stupid! My friends! I'm so sorry for bother. I'm crazy with this restrictions for Russian users from metadata providers! When I tried different scenarios I started proxychains as "emby" user last try. Now I started it as root and everything looks good for now. 

embyserver.txt

Edited by slaver666
GrimReaper
Posted (edited)

There, no more errors in your log. Glad you sorted it out. 

2023-01-21 17:42:51.790 Info HttpClient: GET https://private.omdbapi.com?apikey=x_secret1_x&plot=full&r=json&s=Астерикс и Обеликс: Миссия Клеопатра&type=movie
2023-01-21 17:42:53.714 Info HttpClient: GET https://api.themoviedb.org/3/configuration?api_key=x_secret2_x
2023-01-21 17:42:55.923 Info App: MovieDb settings: {"images":{"base_url":"http://image.tmdb.org/t/p/","secure_base_url":"https://image.tmdb.org/t/p/","backdrop_sizes":["w300","w780","w1280","original"],"logo_sizes":["w45","w92","w154","w185","w300","w500","original"],"poster_sizes":["w92","w154","w185","w342","w500","w780","original"],"profile_sizes":["w45","w185","h632","original"],"still_sizes":["w92","w185","w300","original"]},"change_keys":["adult","air_date","also_known_as","alternative_titles","biography","birthday","budget","cast","certifications","character_names","created_by","crew","deathday","episode","episode_number","episode_run_time","freebase_id","freebase_mid","general","genres","guest_stars","homepage","images","imdb_id","languages","name","network","origin_country","original_name","original_title","overview","parts","place_of_birth","plot_keywords","production_code","production_companies","production_countries","releases","revenue","runtime","season","season_number","season_regular","spoken_languages","status","tagline","title","translations","tvdb_id","tvrage_id","type","video","videos"]}
2023-01-21 17:42:55.925 Info App: MovieDbProvider: Finding id for item: Астерикс и Обеликс: Миссия Клеопатра
2023-01-21 17:42:55.929 Info HttpClient: GET https://api.themoviedb.org/3/search/movie?api_key=x_secret2_x&query=Астерикс и Обеликс: Миссия Клеопатра&language=ru
2023-01-21 17:42:56.651 Info Server: http/1.1 Response 200 to host2. Time: 4974ms. http://host1:8096/emby/Items/RemoteSearch/Movie?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=4d413e67-022a-41d8-8bb5-ab2a562d34b7&X-Emby-Client-Version=4.7.11.0&X-Emby-Language=ru&reqformat=json
2023-01-21 17:43:00.313 Info Server: http/1.1 POST http://host1:8096/emby/Items/RemoteSearch/Apply/23806?ReplaceAllImages=true&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=4d413e67-022a-41d8-8bb5-ab2a562d34b7&X-Emby-Client-Version=4.7.11.0&X-Emby-Language=ru&reqformat=json. UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
2023-01-21 17:43:00.319 Info App: Setting provider id's to item 23806-Астерикс и Обеликс: Миссия Клеопатра: {"Tmdb":"2899"}
2023-01-21 17:43:00.416 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: /opt/emby-server/bin/ffprobe -i file:"/mnt/raid1/Фильмы/Комедии/Астерикс и Обеликс. Миссия Клеопатра.m2ts" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data
2023-01-21 17:43:00.452 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 0 - Succeeded
2023-01-21 17:43:00.596 Info HttpClient: GET https://private.omdbapi.com?apikey=x_secret1_x&plot=full&r=json&y=2002&t=Астерикс и Обеликс: Миссия Клеопатра&type=movie
2023-01-21 17:43:02.010 Info HttpClient: GET https://api.themoviedb.org/3/movie/2899?api_key=x_secret2_x&append_to_response=alternative_titles,reviews,casts,releases,images,keywords,trailers&language=ru&include_image_language=ru,null,en
2023-01-21 17:43:03.312 Info HttpClient: GET https://api.themoviedb.org/3/movie/2899?api_key=x_secret2_x&append_to_response=alternative_titles,reviews,casts,releases,images,keywords,trailers&language=en&include_image_language=ru,null,en
2023-01-21 17:43:04.815 Info HttpClient: GET https://private.omdbapi.com?apikey=x_secret1_x&i=tt0250223&plot=short&tomatoes=true&r=json
2023-01-21 17:43:07.450 Info HttpClient: GET https://img.omdbapi.com/?i=tt0250223&apikey=x_secret1_x
2023-01-21 17:43:09.820 Info HttpClient: GET https://api.themoviedb.org/3/movie/2899?api_key=x_secret2_x&append_to_response=alternative_titles,reviews,casts,releases,images,keywords,trailers
2023-01-21 17:43:11.137 Info HttpClient: GET https://image.tmdb.org/t/p/original/4KTQKWGMroRfbf8v5BCizrdyW0h.png
2023-01-21 17:43:14.400 Info HttpClient: GET https://image.tmdb.org/t/p/original/miavmZ9UTTCRSTDklhNKheZqvWg.jpg

 

Edited by GrimReaper

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