Opened 21 months ago

Closed 21 months ago

Last modified 17 months ago

#5496 closed Bug (fixed)

Default track preference not working with Portuguese (BR)

Reported by: sinque Owned by: underground78
Priority: normal Milestone: 1.7.10
Component: Subtitles Version: 1.7.9
Severity: normal Keywords:
Cc: Evaluation:

Description

Hi, I noticed that these last weeks the download subtitles function changed a bit for Brazilian Portuguese. Now is Portuguese (BR), whenever I search for a subtitle. It download normal, the issue is with the "default track preference, no longer show as first results on download list. On opensubtitles, is "pob", but it doesn't work anymore, tried "ptbr", "pbr... but no clue. Can you guys check it out?

Change History (10)

comment:1 Changed 21 months ago by clsid2

Those three letter language codes only apply to subtitles that are embedded in a video file. External SRT subtitles don't have a standard language identifier. But you can adjust the filename to signal a language (moviename.pob.srt)

MPC-HC should automatically prefer an external subtitle file if this option is enabled:
Options > Subtitles > Misc > Prefer external subtitles

comment:2 Changed 21 months ago by sinque

Yes, if you have 2 external subtitles, .pob and .eng, it does select pob first, but this is not my problem. My problem goes with "Download" from File > Subtitle database > Download. If you have on default track preference "pob eng", when I open "download (d)" it is suposed to first show subtitles from pob and eng, but it don't. It's only selecting eng subtitles, not pob.

Understand?

comment:3 Changed 21 months ago by underground78

Have you tried "bra" (for "Brazilian")?

comment:4 Changed 21 months ago by sinque

Yes, don't work. "bra", "pob", "pbr", "ptb". Nothing seems to work for portguese br.

comment:5 follow-up: Changed 21 months ago by underground78

Could you please try this test build and report back?

comment:6 in reply to: ↑ 5 Changed 21 months ago by sinque

Replying to underground78:

Could you please try this test build and report back?

Yes! It worked fine with this one.

comment:7 Changed 21 months ago by underground78

  • Owner set to underground78
  • Status changed from new to accepted

Thanks for the feedback!

comment:8 Changed 21 months ago by Underground78 <underground78@…

  • Resolution set to fixed
  • Status changed from accepted to closed

In 16c871:

Subtitle downloader dialog: Improve default sorting.

Try to first use the language codes to match preferred languages as it is less likely to give wrong results.

Fixes #5496.

comment:9 Changed 21 months ago by underground78

  • Milestone set to next release

Will be in the nightly builds as of version 1.7.9.49.

comment:10 Changed 17 months ago by thevbm

  • Milestone changed from next release to 1.7.10

Milestone renamed

Note: See TracTickets for help on using tickets.