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 702171 - Implement Shuffle
Implement Shuffle
Status: RESOLVED FIXED
Product: gnome-music
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-music-maint
gnome-music-maint
Depends on:
Blocks:
 
 
Reported: 2013-06-13 11:56 UTC by Vadim Rutkovsky
Modified: 2013-06-21 17:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Rename shuffle key of settings schema as repeat (2.08 KB, patch)
2013-06-13 14:12 UTC, Arnel Borja
committed Details | Review
Rename "shuffle" key of settings schema as "repeat" (2.08 KB, patch)
2013-06-13 15:03 UTC, Vadim Rutkovsky
committed Details | Review
gsettings to store the repeat stype (9.43 KB, patch)
2013-06-17 12:23 UTC, Shivani Poddar
none Details | Review
gsettings to store the repeat stype (8.93 KB, patch)
2013-06-17 13:05 UTC, Shivani Poddar
needs-work Details | Review

Description Vadim Rutkovsky 2013-06-13 11:56:46 UTC
.
Comment 1 Arnel Borja 2013-06-13 14:12:57 UTC
Created attachment 246724 [details] [review]
Rename shuffle key of settings schema as repeat

This will update the settings schema to add other repeat types other than shuffle.
Comment 2 Vadim Rutkovsky 2013-06-13 15:03:19 UTC
Comment on attachment 246724 [details] [review]
Rename shuffle key of settings schema as repeat

The following fix has been pushed:
8841e44 Rename "shuffle" key of settings schema as "repeat"
Comment 3 Vadim Rutkovsky 2013-06-13 15:03:22 UTC
Created attachment 246731 [details] [review]
Rename "shuffle" key of settings schema as "repeat"

Add a new enum to the settings schema that matches Player.RepeatType and
rename the "shuffle" key as "repeat".
Comment 4 Shivani Poddar 2013-06-17 12:23:02 UTC
Created attachment 247026 [details] [review]
gsettings to store the repeat stype
Comment 5 Shivani Poddar 2013-06-17 13:05:19 UTC
Created attachment 247032 [details] [review]
gsettings to store the repeat stype

Removes whitespace errors and other such fixes.
Comment 6 Vadim Rutkovsky 2013-06-18 11:06:13 UTC
Review of attachment 247032 [details] [review]:

Breaks tests:
Running suite tests_albumPlayback.js
Gjs-Message: JS LOG: running test testAlbumViewPlayback
Gtk-Message: Failed to load module "pk-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"

(gjs:1819): Gjs-WARNING **: JS ERROR: TypeError: Application.settings is null
Player<._setupView@../src/player.js:348
wrapper@/opt/gnome/share/gjs-1.0/lang.js:213
Player<._init@../src/player.js:117
wrapper@/opt/gnome/share/gjs-1.0/lang.js:213
_Base._construct@/opt/gnome/share/gjs-1.0/lang.js:154
Class._construct/newClass@/opt/gnome/share/gjs-1.0/lang.js:248
getAlbumView@tests_albumPlayback.js:37
testAlbumViewPlayback@tests_albumPlayback.js:50
gjstestRun@/opt/gnome/share/gjs-1.0/jsUnit.js:438
gjstestRun@tests_albumPlayback.js:4
@tests_albumPlayback.js:167
Comment 7 Vadim Rutkovsky 2013-06-21 17:21:41 UTC
Applied gcampax's patches and implemented shuffle in 7b42067