Forum rules
Under no circumstances is spamming or advertising of any kind allowed. Do not post any abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-orientated or any other material that may violate others security. Profanity or any kind of insolent behavior to other members (regardless of rank) will not be tolerated. Remember, what you don’t find offensive can be offensive to other members. Please treat each other with the kind of reverence you’d expect from other members.
Failure to comply with any of the above will result in users being banned without notice. If any further details are needed, contact: “The team” using the link at the bottom of the forum page. Thank you.
TRaSH-
Posts: 1
Joined: Tue Mar 24, 2020 7:42 pm

API returns the wrong year for batwoman

Sat Jul 04, 2020 4:07 pm

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
}

Return to “Developing”

Who is online

Users browsing this forum: No registered users and 0 guests