Sync with Multiple Sources
-
I wrote a simple program to replace iTunes and Zune software for personal use only. I run this program on 3 computers, my laptop, desktop, and a computer at home. I have a server setup that I want to store all my music and then have these different locations sync with. Here is the problem: I use all locations and put music on each computer, depending on where I am at. I want to be able to add a song on my laptop, and different song on my desktop, and then when they sync, all 3 locations have the 2 new songs. I am using an XML file for the song data on each computer, so here is what I was thinking. Add a new field called last sync (or something of the sort). Then when each computer syncs, it gets songs added after last sync, and adds song that have been added since. Now I am pretty sure that will work fine, but any opinions on a better way, improvements, and/or issues with this design? Any and all help is welcomed, and thank you for your time. Keep in mind I am not asking for the code on how to do this, just help with design patterns/ideas.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
-
I wrote a simple program to replace iTunes and Zune software for personal use only. I run this program on 3 computers, my laptop, desktop, and a computer at home. I have a server setup that I want to store all my music and then have these different locations sync with. Here is the problem: I use all locations and put music on each computer, depending on where I am at. I want to be able to add a song on my laptop, and different song on my desktop, and then when they sync, all 3 locations have the 2 new songs. I am using an XML file for the song data on each computer, so here is what I was thinking. Add a new field called last sync (or something of the sort). Then when each computer syncs, it gets songs added after last sync, and adds song that have been added since. Now I am pretty sure that will work fine, but any opinions on a better way, improvements, and/or issues with this design? Any and all help is welcomed, and thank you for your time. Keep in mind I am not asking for the code on how to do this, just help with design patterns/ideas.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
Expert Coming wrote:
Keep in mind I am not asking for the code on how to do this, just help with design patterns/ideas.
*Cough* Microsoft Sync Framework[^] *Cough*.
Deja View - the feeling that you've seen this post before.
-
Expert Coming wrote:
Keep in mind I am not asking for the code on how to do this, just help with design patterns/ideas.
*Cough* Microsoft Sync Framework[^] *Cough*.
Deja View - the feeling that you've seen this post before.
Cool, thanks. Never even heard of that.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo