Re: [core-dev] iTunes playlist sharing
Roger Kapsi <[email protected]> Thu, 10 Feb 2005 16:07:14 +0100
| Newsgroups | gmane.network.gnutella.limewire.core.devel |
|---|---|
| Message-ID | <[email protected]> |
On Feb 10, 2005, at 6:00 AM, Sam Berlin wrote: > One question, though, is how would LimeWire know what iTunes playlists > exist? Would it be scanning for m3u playlists, or is there some way of > retrieving the playlists from iTunes? On OSX, LimeWire could use > AppleScript to find out. On Windows, there's a COM SDK for iTunes > that's > available (but that would require some native code that can interface > COM > with Java). iTunes Music Library.xml has all required info. The OSX version of iTunes has a Script Menu for custom scripts. A script could send the name of selected playlist via TCP to LimeWire and LimeWire can then use the info to retrieve the tracks and files from the XML file. To be honest I've already tried something similar (of course :))[1] and it failed due to the FileManager. As Sam already said it can't share several files, only directories. IIRC was my approach a dirty hack with "set theory" and an algorithm/method from digital technique to figure out which files are shared and which not -- oh dear that was a resource hog but still better than touching FileManager! :D > Personally, I think it'd suffice to be able to create 'share > playlists' within LimeWire -- pseudo-directories that are really a > collection of files, so that someone using LimeWire can easily > share/unshare > them at will. ACK! :) cu Roger [1] http://www.kapsi.de/files/plsharing.png _______________________________________________ core-dev mailing list [email protected] http://www.limewire.org/mailman/listinfo/core-dev