After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 522229 - Automatic subtitle loading should also load e.g. aaa_cz.srt for aaa.avi
Automatic subtitle loading should also load e.g. aaa_cz.srt for aaa.avi
Status: RESOLVED WONTFIX
Product: totem
Classification: Core
Component: general
2.22.x
Other Linux
: Normal enhancement
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2008-03-13 13:09 UTC by Pedro Villavicencio
Modified: 2008-09-22 15:23 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Pedro Villavicencio 2008-03-13 13:09:34 UTC
This report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/totem/+bug/195887

"Totem(gstreamer) does not automatically load the subtitle file
with an video file, if the names are not exactly same.
I have for example aaa.avi video file and aaa_cz.srt subtitles file
in the same directory. When opening the file in GUI, the subtitles
are not displayed.

In mplayer this subtitle is successfully loaded automatically with
the video file when option 'sub-fuzziness=1' is set.
(It loads any subtitle file with name starting "aaa" when loading aaa.avi.)
It would be nice to have this feature in Totem too."

Thanks,
Comment 1 Adal Alom Rodríguez 2008-04-12 00:54:08 UTC
Maybe it is not a bug, but it happens.

Specially annoying if i have English version and Spanish versions, both of them from the same video.

Sorry about my English.
Comment 2 Fabricio Godoy 2008-06-23 03:46:59 UTC
I have subtitles from different languages too, should be nice show all these in subtitles list.

file.enUs.srt
file.ptBR.srt
Comment 3 Botond Szász 2008-09-17 17:48:45 UTC
This indeed might not be a bug, but more of a feature lack. But definitely would be a very handy feature. Please if it is possible implement this. It would make a lot of people happy.
Comment 4 Bastien Nocera 2008-09-17 21:07:59 UTC
There's already a way to load arbitrary subtitles through the UI, by right-clicking on the file itself in the playlist. I don't see that adding anymore such hacks will make it any easier to use.
Comment 5 Botond Szász 2008-09-18 08:23:47 UTC
Having the ability to load arbitrary subtitles by right-clicking on the file in the playlist is one thing, and a very good one, I might add.

But not having to do this with almost _every_ video file which I want to play manually is a completely different story. Why should somebody be forced to load an arbitrary subtitle for every single file he plays back, when Totem could load it all by itself automatically?

Besides the ability to load subtitles from the playlist, it also would be beneficial if it would be possible to load it from fullscreen view, with a righ-click on the movie and adding a menu item to the (already implemented) pop-up menu. I, for myself, hardly ever use the playlist feature, thus I never have it displayed (sidebar always closed).

Imagine this situation: 
 - I'm watching a movie in fullscreen mode
 - I suddenly realize that I have to load a subtitle, because it wasn't automatically loaded, for this:
 - I have to exit fullscreen mode
 - Open the sidebar (if the previously used sidebar item wasn't the playlist, then switch to it)
 - Righ-click on the file
 - Select the subtitle
 - Go back to fullscreen mode

Autoloading (the loose one, not requiring exact filename match) would cut these extra steps out.

Having a menu item while in fullscreen mode on the pop-up menu would cut a few steps out from those listed above.

These are usability issues.
Comment 6 Roman Polach 2008-09-18 09:11:09 UTC
If this feature would be implemented,
1) Many people would be happy, because it really increases usability
   by not needed so much clicking
2) Nobody would see any disadvantage, because there aren't any IMO
3) Nobody should be confused, because UI does not visually change
4) this automatism would greatly fit Gnome direction of simplifying things...

So please revert WONTFIX state. Not everybody on this planet speak
english and "subtitles without problems" is important for many people.
Thank you.
Comment 7 Bastien Nocera 2008-09-19 05:12:09 UTC
(In reply to comment #6)
> If this feature would be implemented,
> 1) Many people would be happy, because it really increases usability
>    by not needed so much clicking
> 2) Nobody would see any disadvantage, because there aren't any IMO

It's slow, and would require reading the whole directory listing, which would be utterly slow for directories with a huge number of files, and/or remote file systems.

> 3) Nobody should be confused, because UI does not visually change
> 4) this automatism would greatly fit Gnome direction of simplifying things...
> 
> So please revert WONTFIX state. Not everybody on this planet speak
> english and "subtitles without problems" is important for many people.
> Thank you.

There's already a bug opened about using the view menu to set text subtitles (bug 499463), and we should add the view/subtitles and sound/languages sub-menus to the fullscreen popup menu (bug 164036).

Which means forgetting to load the subtitle, and realising that whilst in fullscreen means that you just need to right-click and select the subtitle file in the popup window. Easy, and better than adding hacks upon hacks based on filenaming.
Comment 8 Botond Szász 2008-09-22 09:08:36 UTC
Adding the sub-menus to the fullscreen popup menu would be great.

Perhaps the subtitle autoloading could be implemented by someone savvy as a plugin.
Comment 9 Bastien Nocera 2008-09-22 15:23:38 UTC
(In reply to comment #8)
> Adding the sub-menus to the fullscreen popup menu would be great.

It's already in trunk.

> Perhaps the subtitle autoloading could be implemented by someone savvy as a
> plugin.

I'm not sure the current API allows for it, but it could certainly be extended if somebody asked for it.