Page 1 of 1

API returns the wrong year for batwoman

Posted: Sat Jul 04, 2020 4:07 pm
by TRaSH-
I was wondering why Bazarr had issues downloading subs for Batwoman
after contacting the developer he noticed the API returns the wrong year for Batwoman.
Image

Batwoman shows 2020 but should be 2019

The issue i opened on Bazarr can be found https://github.com/morpheus65535/bazarr/issues/1022

Here's the json returned for a single subtitles matching Batwoman episode. Look at the MovieYear.

Code: Select all

{
    "MatchedBy":"fulltext",
    "IDSubMovieFile":"0",
    "MovieHash":"0",
    "MovieByteSize":"0",
    "MovieTimeMS":"0",
    "IDSubtitleFile":"1956634801",
    "SubFileName":"Batwoman.S01E10.720p.HDTV.x264-AVS.srt",
    "SubActualCD":"1",
    "SubSize":"56685",
    "SubHash":"b21bd7b0785bc14ba6db71c56a8d8721",
    "SubLastTS":"00:41:24",
    "SubTSGroup":"2",
    "InfoReleaseGroup":"AVS",
    "InfoFormat":"HDTV",
    "InfoOther":"",
    "IDSubtitle":"8065661",
    "UserID":"7204651",
    "SubLanguageID":"eng",
    "SubFormat":"srt",
    "SubSumCD":"1",
    "SubAuthorComment":"",
    "SubAddDate":"2020-01-20 13:08:21",
    "SubBad":"0",
    "SubRating":"0.0",
    "SubSumVotes":"0",
    "SubDownloadsCnt":"27072",
    "MovieReleaseName":"Batwoman.S01E10.720p.HDTV.x264-AVS",
    "MovieFPS":"23.976",
    "IDMovie":"870895",
    "IDMovieImdb":"11204018",
    "MovieName":"\"Batwoman\" How Queer Everything Is Today!",
    "MovieNameEng":"",
    "MovieYear":"2020",
    "MovieImdbRating":"5.6",
    "SubFeatured":"0",
    "UserNickName":"-ViSHAL-",
    "SubTranslator":"",
    "ISO639":"en",
    "LanguageName":"English",
    "SubComments":"0",
    "SubHearingImpaired":"0",
    "UserRank":"platinum member",
    "SeriesSeason":"1",
    "SeriesEpisode":"10",
    "MovieKind":"episode",
    "SubHD":"1",
    "SeriesIMDBParent":"8712204",
    "SubEncoding":"UTF-8",
    "SubAutoTranslation":"0",
    "SubForeignPartsOnly":"0",
    "SubFromTrusted":"0",
    "QueryParameters":{
        "query":"batwoman",
        "episode":"10",
        "season":"1",
        "sublanguageid":"eng"
    },
    "QueryCached":1,
    "SubTSGroupHash":"b50be72c151b8566146d5d42f401b620",
    "SubDownloadLink":"http://dl.opensubtitles.org/en/download/src-api/vrf-19cc0c54/sid-SVA7QTnfoCXUBgYC2d,X4OkcSl6/filead/1956634801.gz",
    "ZipDownloadLink":"http://dl.opensubtitles.org/en/download/src-api/vrf-f5520bb9/sid-SVA7QTnfoCXUBgYC2d,X4OkcSl6/subad/8065661",
    "SubtitlesLink":"http://www.opensubtitles.org/en/subtitles/8065661/sid-SVA7QTnfoCXUBgYC2d,X4OkcSl6/batwoman-how-queer-everything-is-today-en",
    "QueryNumber":"1",
    "Score":11.27072
}