Totem Movie Player, why elapsed/total time is not displayed in the statusbar as in Red Hat and Scientific Linux?

Issues related to applications and software problems
User avatar
TrevorH
Forum Moderator
Posts: 21492
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Totem Movie Player, why elapsed/total time is not displayed in the statusbar as in Red Hat and Scientific Linux?

Postby TrevorH » 2017/12/09 14:55:36

CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

b&m
Posts: 13
Joined: 2017/12/05 19:19:44

Re: Totem Movie Player, why elapsed/total time is not displayed in the statusbar as in Red Hat and Scientific Linux?

Postby b&m » 2017/12/09 14:57:16

I know that some alternative solutions exist to Totem Movie Player, e.g. VLC, but I'm searching for 1) a minimal CentOS multimedia installation; 2) a CentOS multimedia installation working good enough when running as a remote desktop in a cloud platform. VLC results worse than Totem Media Player in both respects.

b&m
Posts: 13
Joined: 2017/12/05 19:19:44

Re: Totem Movie Player, why elapsed/total time is not displayed in the statusbar as in Red Hat and Scientific Linux?

Postby b&m » 2017/12/09 15:02:36

TrevorH wrote:https://help.gnome.org/users/totem/stable/totem-usage.html.en#totem-usage-show-control maybe?


No unfortunately, Show Controls is already ON

User avatar
TrevorH
Forum Moderator
Posts: 21492
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Totem Movie Player, why elapsed/total time is not displayed in the statusbar as in Red Hat and Scientific Linux?

Postby TrevorH » 2017/12/09 15:26:01

No unfortunately, Show Controls is already ON


In best IT Crowd voice: did you try turning it off and on again?
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

b&m
Posts: 13
Joined: 2017/12/05 19:19:44

Re: Totem Movie Player, why elapsed/total time is not displayed in the statusbar as in Red Hat and Scientific Linux?

Postby b&m » 2017/12/09 15:37:55

TrevorH wrote:
No unfortunately, Show Controls is already ON


In best IT Crowd voice: did you try turning it off and on again?


Done. Nothing changes.

b&m
Posts: 13
Joined: 2017/12/05 19:19:44

Re: Totem Movie Player, why elapsed/total time is not displayed in the statusbar as in Red Hat and Scientific Linux?

Postby b&m » 2017/12/09 15:43:26

Meanwhile I also checked the Edit->Preferences settings: CentOS and RHEL are the same.

User avatar
avij
Forum Moderator
Posts: 2234
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Totem Movie Player, why elapsed/total time is not displayed in the statusbar as in Red Hat and Scientific Linux?

Postby avij » 2017/12/09 15:47:56

For the record: I rebuilt totem from the source rpm on a fully updated CentOS 6.9 system, and (re)installed the resulting totem rpm. It shows 0:00 / 0:00 properly now.

b&m
Posts: 13
Joined: 2017/12/05 19:19:44

Re: Totem Movie Player, why elapsed/total time is not displayed in the statusbar as in Red Hat and Scientific Linux?

Postby b&m » 2017/12/09 15:55:08

avij wrote:For the record: I rebuilt totem from the source rpm on a fully updated CentOS 6.9 system, and (re)installed the resulting totem rpm. It shows 0:00 / 0:00 properly now.


Fine!
Is it possible for you share with me the reconstruction process and environment ? I mean the source rpm and the rebuild procedure.

User avatar
avij
Forum Moderator
Posts: 2234
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Totem Movie Player, why elapsed/total time is not displayed in the statusbar as in Red Hat and Scientific Linux?

Postby avij » 2017/12/09 16:01:44

Install some dependencies:
yum install gstreamer-devel gstreamer-plugins-base-devel gstreamer-plugins-good liboil iso-codes-devel gnome-icon-theme libXtst-devel libXi-devel libXxf86vm-devel libXt-devel gnome-doc-utils python-devel pygtk2-devel totem-pl-parser-devel unique-devel GConf2-devel nautilus-devel dbus-devel liberation-sans-fonts libgdata-devel glibc-devel rpm-build gcc gcc-c++

The above list might not be exhaustive. If rpmbuild (below) complains about missing packages or programs, install them as well.

Run the following as a non-root user:

Code: Select all

mkdir totem
cd totem
mkdir BUILD BUILDROOT RPMS SOURCES SPECS SRPMS
wget http://vault.centos.org/6.9/os/Source/SPackages/totem-2.28.6-4.el6.src.rpm
rpm2cpio http://vault.centos.org/6.9/os/Source/SPackages/totem-2.28.6-4.el6.src.rpm | cpio -idm
mv totem.spec SPECS/
mv totem-2.28.6.tar.bz2 totem-translations.patch add-fullscreen-button.patch SOURCES/
rpmbuild --define "%_topdir `pwd`" -ba SPECS/totem.spec

The built packages will end up to RPMS/x86_64, and you can then yum reinstall RPMS/x86_64/totem-2.28.6-4.el6.x86_64.rpm (and perhaps the other totem rpms as well, but reinstalling this one rpm was sufficient to fix the time issue).

(yeah, there are many ways to accomplish this, but I did it this way)

b&m
Posts: 13
Joined: 2017/12/05 19:19:44

Re: Totem Movie Player, why elapsed/total time is not displayed in the statusbar as in Red Hat and Scientific Linux?

Postby b&m » 2017/12/09 16:20:59

Thank you very much avij.

avij wrote:At this stage, I'd suggest filing a bug at https://bugs.centos.org/


I think useful filing a bug anyway. Do you agree with me?