Re: Missing the metadata
Posted: Wed Mar 22, 2023 4:58 pm
You are not seeing the JavaScript error on the page, you are looking at the source code and it is normal for it to be there.
If JavaScript was turned off you will get a white screen with just that message.
I think I can see what is happening now. Several things have been going on in your past logs so it did not make sense.
The first one there were errors about the database being closed and this would have been caused by the failed database update.
The second one was due to a problem with the API and that would have effected everyone
The third one wasn't much help either but it showed that it was trying to get metadata as it was full of this message
I think it was because UMS had attempted to get the metadata for those videos before and failed for some reason.
In the latest I can see what UMS is doing when first attempting to get the metadata.
And it is similar for most of your videos.
There is some that do get metadata you should be able to view now like the Addams Family that does look to have received metadata
But it may not store everything as I saw this too
For some reason UMS can't get a match on the videos to get the right metadata, but looking at what it is searching for it should be finding matches. The only thing I can think of is it cannot find anything in German
This should be working for other languages so if not then it could be a bug. You could try setting the language to English and see if that makes a difference.
By going to that address in the web browser you can see exactly what UMS is getting. I tried changing the language to en-GB but it still could not match.
When trying with the Addams family I get something no matter the language so that may not be the cause.
I'm stumped at what else could cause the API to fail to match, maybe it is just limited to what it is searching. I think this is something for the Devs to investigate.
Have you changed those videos in same way like transcoding them to another format?
If JavaScript was turned off you will get a white screen with just that message.
I think I can see what is happening now. Several things have been going on in your past logs so it did not make sense.
The first one there were errors about the database being closed and this would have been caused by the failed database update.
Code: Select all
TRACE 2023-02-07 17:57:44.114 [OpenSubtitles background worker 1] Database is closed
Code: Select all
DEBUG 2023-02-08 18:05:25.339 [OpenSubtitles background worker 1] Error with HttpURLConnection: {}
java.net.SocketTimeoutException: Read timed out ...
Code: Select all
TRACE 2023-03-19 15:59:08.194 [OpenSubtitles background worker 1] We have failed a lookup for /data/media/Video/Filme/Das Licht, aus dem die Träume sind.mkv so let's see if it was recent
In the latest I can see what UMS is doing when first attempting to get the metadata.
Code: Select all
DEBUG 2023-03-21 20:30:42.645 [OpenSubtitles background worker 1] OpenSubtitles hash for "Das Licht, aus dem die Träume sind.mkv" is c935ec150bcd7a1d
TRACE 2023-03-21 20:30:42.652 [OpenSubtitles background worker 1] Getting API data from: https://api.universalmediaserver.com/api/media/video/v2?osdbHash=c935ec150bcd7a1d&filebytesize=6406649958&language=de
DEBUG 2023-03-21 20:30:42.966 [OpenSubtitles background worker 1] API status was 404 for {"error":"Metadata not found."}
, https://api.universalmediaserver.com/api/media/video/v2?osdbHash=c935ec150bcd7a1d&filebytesize=6406649958&language=de
TRACE 2023-03-21 20:30:42.972 [OpenSubtitles background worker 1] Failed lookup for Das Licht, aus dem die Träume sind.mkv
There is some that do get metadata you should be able to view now like the Addams Family that does look to have received metadata
Code: Select all
DEBUG 2023-03-21 20:30:56.288 [OpenSubtitles background worker 1] OpenSubtitles hash for "Addams Family S01E01.mp4" is 48f6495f209a1281
TRACE 2023-03-21 20:30:56.289 [OpenSubtitles background worker 1] Getting API data from: https://api.universalmediaserver.com/api/media/video/v2?title=Addams+Family&season=1&episode=1&osdbHash=48f6495f209a1281&filebytesize=202972930&language=de
DEBUG 2023-03-21 20:30:56.571 [OpenSubtitles background worker 1] API URL was https://api.universalmediaserver.com/api/media/video/v2?title=Addams+Family&season=1&episode=1&osdbHash=48f6495f209a1281&filebytesize=202972930&language=de
TRACE 2023-03-21 20:30:56.573 [OpenSubtitles background worker 1] Found an API match for Addams Family S01E01.mp4
TRACE 2023-03-21 20:30:56.574 [OpenSubtitles background worker 1] API data matches filename data for Addams Family S01E01.mp4
TRACE 2023-03-21 20:30:56.575 [OpenSubtitles background worker 1] Did not find title by IMDb ID using query: HikariProxyPreparedStatement@1631265463 wrapping prep5683: SELECT TV_SERIES.TITLE FROM TV_SERIES WHERE TV_SERIES.IMDBID = ? AND API_VERSION = ? LIMIT 1 {1: 'tt0057729', 2: '1-1-1'}
TRACE 2023-03-21 20:30:56.575 [OpenSubtitles background worker 1] API metadata for TV series Addams Family (IMDb ID: tt0057729) does not already exist in the database
TRACE 2023-03-21 20:30:56.576 [OpenSubtitles background worker 1] We have no failed lookups stored for addamsfamilytt0057729
TRACE 2023-03-21 20:30:56.578 [OpenSubtitles background worker 1] Getting API data from: https://api.universalmediaserver.com/api/media/series/v2?title=Addams+Family&imdbID=tt0057729&language=de
DEBUG 2023-03-21 20:30:56.917 [OpenSubtitles background worker 1] API URL was https://api.universalmediaserver.com/api/media/series/v2?title=Addams+Family&imdbID=tt0057729&language=de
DEBUG 2023-03-21 20:30:56.928 [OpenSubtitles background worker 1] not storing the series API lookup result because file and API TV series titles do not match. theaddamsfamily vs addamsfamily
TRACE 2023-03-21 20:30:56.928 [OpenSubtitles background worker 1] Searching for file/series in FAILED_LOOKUPS with "HikariProxyPreparedStatement@1776564433 wrapping prep5707: SELECT FAILED_LOOKUPS.FILENAME, FAILED_LOOKUPS.FAILUREDETAILS, FAILED_LOOKUPS.VERSION FROM FAILED_LOOKUPS WHERE FAILED_LOOKUPS.FILENAME = ? LIMIT 1 {1: 'addamsfamily'}" before update
TRACE 2023-03-21 20:30:57.364 [OpenSubtitles background worker 1] Converting byte array image source to JPEG format and type DLNAThumbnail using the following parameters: ScaleType = MAX, Width = 640, Height = 480, PadToSize = False
TRACE 2023-03-21 20:30:57.387 [OpenSubtitles background worker 1] Image conversion DLNA compliance check for JPEG_RES_300_225: The source image colors are compliant, format is non-compliant and resolution (300 x 225) is compliant.
Failures:
JPEG DLNA compliance failed with too low JFIF version "1.01"
JPEG DLNA compliance failed with illegal compression type "PROGRESSIVE_HUFFMAN"
JPEG DLNA compliance failed with non-typical Huffman tables
TRACE 2023-03-21 20:30:57.397 [OpenSubtitles background worker 1] Finished converting 300x225 JPEG image. Output image resolution: 300x225, profile: JPEG_RES_300_225. Flags: Convert colors = False, Re-encode = True
TRACE 2023-03-21 20:30:57.397 [OpenSubtitles background worker 1] Setting episode name from api: The Addams Family Goes to School
TRACE 2023-03-21 20:30:57.402 [OpenSubtitles background worker 1] setting metadata for Addams Family S01E01.mp4
TRACE 2023-03-21 20:30:57.415 [OpenSubtitles background worker 1] Record already exists null 22 Carolyn Jones
TRACE 2023-03-21 20:30:57.416 [OpenSubtitles background worker 1] Record already exists null 22 John Astin
TRACE 2023-03-21 20:30:57.416 [OpenSubtitles background worker 1] Record already exists null 22 Allyn Joslyn
TRACE 2023-03-21 20:30:57.417 [OpenSubtitles background worker 1] Record already exists null 22 United States
TRACE 2023-03-21 20:30:57.418 [OpenSubtitles background worker 1] Record already exists null 22 Comedy
TRACE 2023-03-21 20:30:57.418 [OpenSubtitles background worker 1] Record already exists null 22 Family
TRACE 2023-03-21 20:30:57.418 [OpenSubtitles background worker 1] Record already exists null 22 Horror
TRACE 2023-03-21 20:30:57.419 [OpenSubtitles background worker 1] Record already exists null 22 https://m.media-amazon.com/images/M/MV5BNjQyOTYyMzY4Nl5BMl5BanBnXkFtZTgwMTIwNzc3MjE@._V1_SX300.jpg
TRACE 2023-03-21 20:30:57.420 [OpenSubtitles background worker 1] Record already exists null 22 7.8
TRACE 2023-03-21 20:30:57.421 [OpenSubtitles background worker 1] Record already exists null 22 net.pms.media.metadata.ApiRatingSource@7ec0004c
TRACE 2023-03-21 20:30:57.422 [OpenSubtitles background worker 1] Record already exists null 22 1964-09-18T00:00:00.000Z
TRACE 2023-03-21 20:30:57.423 [OpenSubtitles background worker 1] Found existing thumbnail with ID 35 in THUMBNAILS, setting the THUMBID in the FILES table
TRACE 2023-03-21 20:30:57.424 [OpenSubtitles background worker 1] THUMBID updated to 35 for /data/media/Video/Serien/Addams Family/Addams Family S01E01.mp4
Code: Select all
not storing the series API lookup result because file and API TV series titles do not match. theaddamsfamily vs addamsfamily
Code: Select all
API status was 404 for {"error":"Metadata not found."}
, https://api.universalmediaserver.com/api/media/video/v2?osdbHash=c935ec150bcd7a1d&filebytesize=6406649958&language=de
By going to that address in the web browser you can see exactly what UMS is getting. I tried changing the language to en-GB but it still could not match.
When trying with the Addams family I get something no matter the language so that may not be the cause.
I'm stumped at what else could cause the API to fail to match, maybe it is just limited to what it is searching. I think this is something for the Devs to investigate.
Have you changed those videos in same way like transcoding them to another format?