• 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
Parsing a .pls file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Parsing a .pls file


  • Subject: Parsing a .pls file
  • From: "Eric E. Dolecki" <email@hidden>
  • Date: Fri, 14 Aug 2009 09:28:19 -0400

Does anyone have a class handy that basically parses a .pls file? I have one
that returns this:

*[playlist]*

*numberofentries=1*

*File1=*http://64.71.145.106:8000

*Title1=(#1 - 140/500) WGBH 89.7 Live Boston's NPR Arts and Culture Station*

*Length1=-1*

*Version=2*

*
*

Most of the time I am going to get single entry .pls files to use, but other
times I'll probably get multiple entries, and I am only interested in
streaming - so I'd have to ignore .mp3, etc.


I'll probably use a NSDictionary or something to store away stuff, and I'd
have to write a parser to do that - but I was wondering if one was available
someplace to save myself some time.


Thanks for any insight,


Eric
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: iPhone: detect if docked?
  • Next by Date: iPhone: MPVolumeView not displaying
  • Previous by thread: Re: Cocoa window in Carbon app and [NSApp postEvent]
  • Next by thread: iPhone: MPVolumeView not displaying
  • Index(es):
    • Date
    • Thread