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 652749 - always the same first file played in shuffle mode when passing path to totem
always the same first file played in shuffle mode when passing path to totem
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: Movie player
2.32.x
Other Linux
: Normal normal
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-06-16 16:08 UTC by Brendan Donegan
Modified: 2014-01-23 12:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Brendan Donegan 2011-06-16 16:08:03 UTC
== Downstream bug report from Ubuntu ==

"Totem is in random mode, I launch totem from the shell :
$ totem /some/dir
the first file played is always the first file in the directory (first in alphabetic order). next files are properly played in a random order."

Extra info: Random mode is 'Shuffle Mode' in English. Accessed from Edit menu.

More info at - https://bugs.launchpad.net/ubuntu/+source/totem/+bug/792615
Comment 1 Bastien Nocera 2012-04-18 17:47:28 UTC
That's because of the way the tracks are shuffled in totem-playlist. See ensure_shuffled() where we try to keep the currently playing video as the first in the list. That obviously doesn't work so well if we do that on startup.
Comment 2 Bastien Nocera 2014-01-23 12:20:14 UTC
This is now fixed in Totem master (for GNOME 3.12), we have a "shuffle" button when playing selected files.