Old 18th February 2006, 16:35   #1
PaulFoz
Junior Member
 
Join Date: Feb 2006
Location: Bournemouth, England
Posts: 4
Question NSIS and the iPod

I would like to come up with a way of installing sound files and text files onto an iPod from a download.

To get more of an idea of what I mean check out the free download at http://www.talkingpanda.com/ilingo.php I would like to emulate this if possible.

Can NSIS do this and if so where should I start?

Many thanks in advance.

Paul
PaulFoz is offline   Reply With Quote
Old 18th February 2006, 18:11   #2
Comperio
Major Dude
 
Comperio's Avatar
 
Join Date: Jan 2005
Location: Oregon Coast
Posts: 737
With the right plugins, NSIS can do just about anything!

The first question would be, how does the information get to the iPod? Can you just copy files over to it like you would an external hard drive? Or does the sent info have to filter through Apple's own programming interface?

Unfortunatley, I've not been able to find much about this. Seems Apple wants the user to use their own software for the most part. (The link you included in your original posts seems to indicate that ilingo uses some type of programming interface to get the info to the ipod.)

You may want to start by searching through Apple's dev site to try to find the answers.

The only thing I managed to find some useful info regarding the use of 'notes' at http://developer.apple.com/hardware/...notereader.pdf

If you can determine how to get the info to the ipod, I'm sure someone here can offer more suggestions on how to accomplish your task using NSIS.
Comperio is offline   Reply With Quote
Old 18th February 2006, 18:28   #3
PaulFoz
Junior Member
 
Join Date: Feb 2006
Location: Bournemouth, England
Posts: 4
Thanks mate,

The 'notes' feature is exactly where some of the files need to go. To place them here manually it is merely a case of 'click and drag'. The sound files however need to be placed into the iTunes library.

So what the installer would need to do is:

1. Check that the iPod is connected and enabled for disk use.
2. Place a seris of text files in to the notes folder on the iPod.
3. Open up iTunes and place a seris of sound files into the iTunes library.

You can see the whole procedure on the 'Installation' page on my website www.coolgorilla.com

Any more advice please????
PaulFoz is offline   Reply With Quote
Old 20th February 2006, 01:13   #4
PaulFoz
Junior Member
 
Join Date: Feb 2006
Location: Bournemouth, England
Posts: 4
I've just managed to install notes into the correct folder on the iPod but only because by default on Windows XP USB devices become the 'F' drive. Is there a plugin that could check for the location/existance of an iPod?
PaulFoz is offline   Reply With Quote
Old 20th February 2006, 05:41   #5
dandaman32
Senior Member
 
dandaman32's Avatar
 
Join Date: Jan 2005
Location: Look behind you.
Posts: 209
You could probably use an IfFileExists check to look for the "Notes" folder on every drive. I'm not sure how to do a loop and increment the var by 1 letter (e. g. make a loop that starts at letter C and the next time the letter's D and so on and so forth)

-dandaman32

ExperienceUI for NSIS | Latest project: Enano CMS
Do not PM me on the Winamp forums, I hardly ever check my messages here; you are more likely to get my attention through the ExperienceUI forum.
dandaman32 is offline   Reply With Quote
Old 20th February 2006, 14:31   #6
PaulFoz
Junior Member
 
Join Date: Feb 2006
Location: Bournemouth, England
Posts: 4
NSIS places the files into...

InstallDir "$PROGRAMFILES\My application"

Each ipod has a folder called "ipod_control" which would identify it as an iPod. Is there some way to utilse this in order to create a FilePath that would work?
PaulFoz is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump