Re: How to search for mop3 files, retrieve those file and play these file into apps
Re: How to search for mop3 files, retrieve those file and play these file into apps
- Subject: Re: How to search for mop3 files, retrieve those file and play these file into apps
- From: Luca Pazzerello <email@hidden>
- Date: Thu, 5 Mar 2009 12:54:43 +0100
I would suggest you to use the unix command line tool `find`. Perform a
command like thisfind . -name "*.mp3" -print
in an NSTask context. Every line of the output will be a file path.
I suggest to authenticate the user - running as root will avoid permission
troubles finding the files.
Note that this tool will take some time to browse ALL your files, so it'd
be better to specify a path in wich search files.
--Luca C.
2009/3/5 haresh vavdiya <email@hidden>
> Hello,
>
> Hope that everyone is fine.
>
> I am developing one application in which user can retrieve
> music file from machine and use can play this music file also.
>
> So i have to search for ".mp3" files in all folders and then
> display into table. Can anyone tell me that how can i search, retrieve .mp3
> file and play this particular file into my apps.
>
> Please anyone help me on this topic.
>
> Thanks,
> Haresh.
> _______________________________________________
>
> 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
>
_______________________________________________
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