banshee r4648 - in trunk/banshee: . src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage
- From: gburt svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r4648 - in trunk/banshee: . src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage
- Date: Fri, 3 Oct 2008 17:31:36 +0000 (UTC)
Author: gburt
Date: Fri Oct 3 17:31:36 2008
New Revision: 4648
URL: http://svn.gnome.org/viewvc/banshee?rev=4648&view=rev
Log:
2008-10-03 Gabriel Burt <gabriel burt gmail com>
* src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs:
Add TODO about writing metadata to the DAP file to make sure its
MetadataHash will match that of the in-Library track when we load the DAP
next time.
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs
Modified: trunk/banshee/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs
==============================================================================
--- trunk/banshee/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs (original)
+++ trunk/banshee/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs Fri Oct 3 17:31:36 2008
@@ -428,6 +428,11 @@
Directory.Create (System.IO.Path.GetDirectoryName (new_uri.LocalPath));
File.Copy (fromUri, new_uri, false);
+ // TODO If write-to-file is NOT on, then write the metadata in db to the file on the DAP
+ // to ensure that when we load it next time, it's data will match what's in the database
+ // and the MetadataHash will actually match. This isn't necessary on iPods or MTP since
+ // on them we store our db's metadata in their dbs.
+
DatabaseTrackInfo copied_track = new DatabaseTrackInfo (track);
copied_track.PrimarySource = this;
copied_track.Uri = new_uri;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]