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

« back to all changes in this revision

Viewing changes to src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceSource.cs

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2011-08-25 20:48:45 UTC
  • mfrom: (1.15.2 upstream) (6.3.16 experimental)
  • Revision ID: james.westby@ubuntu.com-20110825204845-1rdbhdoitkv3n5u8
Tags: 2.1.3-1ubuntu1
* [e356872] 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
  + Create the U1MS widget earlier and bump libu1 requirement
  + [9d7c600] Drop upstreamed u1ms-initialize-earlier patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
238
238
 
239
239
                PlaylistSource pl_src = new PlaylistSource (playlist.Name, this);
240
240
                pl_src.Save ();
241
 
                // We use the IPod.Track.Id here b/c we just shoved it into ExternalID above when we loaded
242
 
                // the tracks, however when we sync, the Track.Id values may/will change.
 
241
                // We use the GPod.Track.DBID here b/c we just shoved it into ExternalID above when we loaded
 
242
                // the tracks, however when we sync, the Track.DBID values may/will change.
243
243
                foreach (var track in playlist.Tracks) {
244
 
                    ServiceManager.DbConnection.Execute (insert_cmd, pl_src.DbId, this.DbId, track.DBID);
 
244
                    // DBID will be stored in a long, so we need to cast it. See bgo#650011
 
245
                    ServiceManager.DbConnection.Execute (insert_cmd, pl_src.DbId, this.DbId, (long) track.DBID);
245
246
                }
246
247
                pl_src.UpdateCounts ();
247
248
                AddChildSource (pl_src);