• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Drag & Drop iTunes Playlists
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drag & Drop iTunes Playlists


  • Subject: Re: Drag & Drop iTunes Playlists
  • From: "I. Savant" <email@hidden>
  • Date: Mon, 5 Jun 2006 12:00:01 -0400

Aalok:

  I *think* I know what you're asking / the information you're missing.

I haven't played with this personally, but what *do* you get on the pasteboard? If it's a number, it may be the "persistent id" of the playlist. In which case, you'd need to parse the XML version of the iTunes library (it's a PLIST, so you can open it as a dictionary or array, depending on its structure) stored in the user's home folder (look into iTunes' preferences to get the actual location the user set).

Each playlist in this file has a persistent id. I'm guessing (if you're just getting an inexplicable number) that it'll be the persistent id. From there you can retrieve the playlist by its id, then retrieve its name.

I'm *guessing* that's all you're really asking for. If not, let us know (be specific!).

--
I.S.


On Jun 5, 2006, at 10:06 AM, Aalok wrote:

Hi, thankx a lot for your reply.

The problem I am having here is on playlist drop I dont get the playlist name.
Is there any way to get that thing?


I appreciate all your help.

Best Regards,
Aalok

On 6/5/06, John Stiles <email@hidden> wrote:
I don't know the answer, but if it's urgent, maybe experiment with this:
http://developer.apple.com/samplecode/PasteboardPeeker/index.html


Aalok wrote:
> Hi,
>
> The following link provides a software which offers drag and drop
> facility of iTunes playlists and songs on window. Download the latest
> trial version to try.
>
> http://www.dj1800.com/index.php
>
> I need the similar functionality. Can any one please help.
>
> Its very urgent.
> Regards,
> Aalok
> --
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
40blizzard.com
>
> This email sent to email@hidden




--
Tata Consultacy Services
Voice:- (091) 9850984395
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Drag & Drop iTunes Playlists
      • From: Aalok <email@hidden>
References: 
 >Drag & Drop iTunes Playlists (From: Aalok <email@hidden>)
 >Re: Drag & Drop iTunes Playlists (From: John Stiles <email@hidden>)
 >Re: Drag & Drop iTunes Playlists (From: Aalok <email@hidden>)

  • Prev by Date: Re: Large NSProgressIndicator
  • Next by Date: Issue during group resizing
  • Previous by thread: Re: Drag & Drop iTunes Playlists
  • Next by thread: Re: Drag & Drop iTunes Playlists
  • Index(es):
    • Date
    • Thread