~ubuntu-branches/ubuntu/quantal/banshee/quantal

« back to all changes in this revision

Viewing changes to src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookLibrarySource.cs

  • Committer: Package Import Robot
  • Author(s): Chow Loong Jin
  • Date: 2011-11-08 13:15:58 UTC
  • mfrom: (6.3.19 experimental)
  • Revision ID: package-import@ubuntu.com-20111108131558-01mm4onctf35qgqo
Tags: 2.3.1-1ubuntu1
* Merge from Debian Experimental, remaining changes:
  + Enable SoundMenu and Disable NotificationArea by default
  + Disable boo and karma extensions
  + Enable and recommnd u1ms and soundmenu extensions
  + Move desktop file for Meego UI to /usr/share/une/applications
  + Change the url for the Amazon store redirector
  + [08dea2c] Revert "Fix invalid cast causing ftbfs with libgpod"

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
 
125
125
                    ServiceManager.DbConnection.Execute (
126
126
                        "UPDATE CoreTracks SET Attributes = Attributes | ? WHERE PrimarySourceID = ?",
127
 
                        TrackMediaAttributes.AudioBook, this.DbId);
 
127
                        (int)TrackMediaAttributes.AudioBook, this.DbId);
128
128
                }
129
129
            };
130
130
 
131
131
            TrackIsPlayingHandler = ServiceManager.PlayerEngine.IsPlaying;
132
132
 
133
133
            PlaybackSource = new BookPlaylist ("audiobook-playback-source", this);
134
 
            PlaybackSource.DatabaseTrackModel.ForcedSortQuery = BansheeQuery.GetSort ("track", true);
 
134
            PlaybackSource.DatabaseTrackModel.ForcedSortQuery = BansheeQuery.GetSort (BansheeQuery.TrackNumberField, true);
135
135
 
136
136
            ServiceManager.PlaybackController.SourceChanged += OnPlaybackSourceChanged;
137
137