

Today I put together all the information needed to run a mobile Library from Apple iTunes on a USB stick or USB drive. Hoje eu pus em conjunto todas as informações necessárias para gerir uma biblioteca móvel iTunes da Apple em um stick USB ou drive USB. This method will run the entire iTunes application from the storage device, making it easy to manage iTunes libraries from a single location. Este método será executado todo o iTunes aplicação a partir do dispositivo de armazenamento, tornando-se mais fácil gerir o iTunes bibliotecas a partir de uma única localização. I believe this is how iTunes should have be developed - as having a library specific for each computer is a frustrating way to enjoy your music. Creio que esta é a forma como o iTunes deverão ser desenvolvidos têm - como tendo uma biblioteca específica para cada computador é uma forma frustrante para apreciar a sua música.
What pushed me over the edge is my wife wanting to purchase music from iTunes at work and sync them up with the iTunes computer at home. O que mais me forçaram a ponta é minha mulher querendo comprar músicas do iTunes e sincronizá-los a trabalhar-se com o iTunes computador em casa. Typically this is done by purchasing the music and downloading directly to the iPod, but she’sa CPA and travels from location to location for audits and doesn’t even use the same computer all the time - yet she loves her music. Normalmente isso é feito através da compra e download de música diretamente para o iPod, mas she'sa CPA e viaja de local para local para as auditorias e nem mesmo usar o mesmo computador o tempo todo - ainda ama sua música. The solution was to run iTunes from a USB flash drive to manage a single Library. A solução foi a correr o iTunes a partir de uma unidade flash USB para gerir uma única Biblioteca.
This tutorial includes installing iTunes on a flash drive, creating autorun files for auto-launching iTunes from the flash drive and how to set-up iTunes on different computers to run a music library from the single flash drive. Este tutorial inclui instalar o iTunes em um flash drive, criando autorun arquivos para o auto-lançamento iTunes a partir do flash drive e como o set-up iTunes em diferentes computadores a correr a partir de uma biblioteca musical único flash drive. Of course this method also works for larger storage hard drives - basically anything that appears as a Mass Storage Device on your system. É claro que este método também funciona para a maior armazenamento discos rígidos - basicamente tudo o que aparece como um dispositivo de armazenamento de massa em seu sistema. If you are looking for a long term strategy for managing your iTunes music, I strongly recommend doing this process to an external hard drive that is, at least, 120GBs. Se você estiver procurando por uma estratégia de longo prazo para o gerenciamento da sua música iTunes, recomendo vivamente este processo para fazer um disco rígido externo ou seja, pelo menos, 120GBs. So here we go: Então, vamos lá:
Here is a quick summary so you know what we are getting into: Aqui está um rápido resumo para que você possa saber o que estamos recebendo em:
- Create an autorun file for the USB drive Crie um arquivo autorun para a unidade USB
- Create a batch file to auto-launch iTunes from any computer Criar um ficheiro de auto-lançamento iTunes a partir de qualquer computador
- Install iTunes on the USB stick Instale o iTunes sobre o stick USB
- Install iTunes on any computer to run from the USB drive Instale o iTunes em qualquer computador a correr a partir do drive USB
It’s worth mentioning this does not get around the five license authorization for running iTunes purchased music, rather this is a method to manage your iTunes library from a single location for multiple computers. Vale a pena mencionar este não fique em torno de cinco a licença autorização para a circulação de música iTunes adquirido, este sim é um método para gerir a sua biblioteca do iTunes a partir de uma única localização para vários computadores.
Creating the Autorun file: Criando Autorun do arquivo:
The autorun file tells the host computer what you want to do when the USB device is plugged into the computer. O autorun arquivo informa ao computador host o que você quer fazer quando o dispositivo USB é conectado ao computador. This step creates a single click auto-launch for iTunes. Este passo cria um único clique de auto-lançamento para o iTunes.
Open Notepad and type the following: Abra bloco de notas e digite o seguinte:
[autorun]
icon=\iTunes.ico icon = \ iTunes.ico
open=iTunes_mobile.bat = aberto iTunes_mobile.bat
action=Mobile iTunes action = Mobile iTunes
label=Mobile iTunes label = Mobile iTunes
shell\open\command=iTunes_mobile.bat shell \ open \ command = iTunes_mobile.bat
shell\open=Mobile iTunes shell \ open = Mobile iTunes
Save the Notepad document as ‘ Autorun.inf ‘ Salve o documento como Notepad "autorun.inf"

If you want a cool looking icon than pay attention to the first line ‘ icon=\iTunes.ico ‘ and place your ico file in the root of the USB drive ( Se você quiser um olhar frio ícone do que prestar atenção para a primeira linha "icon = \ iTunes.ico" e faça o seu ico arquivo na raiz do drive USB ( get one here obter um aqui ). If you don’t care, delete the line. Se você não cuidar, apagar a linha.
Creating the Batch file: Criando o arquivo em lote:
Next create the batch file needed to automatically run iTunes upon connection of the USB drive. Próxima criar o ficheiro necessários para executar automaticamente o iTunes mediante a conexão do drive USB. Please note you need XP Service Pack 2 or Vista for the autorun feature to work. Por favor note que você precisa XP Service Pack 2 ou autorun Vista para o recurso ao trabalho.
Open Notepad and type the following: Abra bloco de notas e digite o seguinte:
set APPDATA=%~dp0Application Data = conjunto AppData% ~ dp0Application Dados
if not exist “%~dp0Application Data” mkdir “%~dp0Application Dataset HOMEPATH=%~dp0Documents and Settings se não existe "% ~ dp0Application Dados" mkdir "% ~ dp0Application Dataset HOMEPATH =% ~ dp0Documents e Configurações
if not exist “%~dp0Documents and Settings” mkdir “%~dp0Documents and Settingsset USERPROFILE=%~dp0 se não existe "% ~ dp0Documents e Configurações" mkdir "% ~ dp0Documents e Settingsset USERPROFILE =% ~ dp0
set ALLUSERSPROFILE=%~dp0 conjunto ALLUSERSPROFILE =% ~ dp0
echo starting iTunes echo partida iTunes
start \iTunes_programs\iTunes.exe iniciar \ iTunes_programs \ iTunes.exe
Save the file as ‘ iTunes_mobile.bat ‘ Salve o arquivo como "iTunes_mobile.bat '
With these two files, the autorun file and the iTunes_mobile.bat file we are ready to move along to installation. Com estes dois arquivos, o arquivo autorun e iTunes_mobile.bat o arquivo que está pronta para se deslocar ao longo da instalação.
Installing iTunes: Instalando iTunes:
Install iTunes (7 at the time of the post) to your PC as normal - not the USB drive! Instale o iTunes (7 no momento da postagem) para o PC como normal - e não a unidade USB! While iTunes is installing on your PC go over to the USB drive and create a folder named ‘ iTunes_Programs ‘ Embora o iTunes está instalando em seu PC vá para a unidade USB e criar uma pasta chamada "iTunes_Programs'

When the iTunes installation is complete on the PC copy EVERYTHING from ‘ c:/Program files/iTunes ‘ into the new folder of the USB drive ‘ iTunes_Programs ‘ Quando o iTunes completar a instalação no PC copiar tudo desde 'c: / Program Files / iTunes "para a nova pasta do drive USB' iTunes_Programs'
Once this is complete create another folder on the USB drive ‘ iTunes_Installer ‘ Drag the iTunesSetup file into this folder. Uma vez que este está completo criar outra pasta no drive USB 'iTunes_Installer' iTunesSetup Arraste o arquivo para esta pasta. We use this when installing iTunes on future computers. Nós usamos esta ao instalar o iTunes em futuros computadores.

Now that we have iTunes on the PC and we have everything on the USB drive, run the iTunes_mobile.bat file. Agora que temos o iTunes no PC e temos tudo sobre o drive USB, execute o arquivo iTunes_mobile.bat. Here a screen will flash then disappear and iTunes will open with a blank library. Aqui vai uma tela piscar e depois desaparecem iTunes será aberto com uma biblioteca em branco. During this process you will see some additional files and folders created on the USB drive. Durante esse processo, você verá algumas outras pastas e arquivos criados com a unidade USB. This is good - everything worked as planned. Isso é bom - tudo funcionou como previsto. Now, everything should look like this after adding the autorun file, bat file and ico icon file along with running the iTunes_mobile.bat file: Agora, tudo deve ser semelhante a este depois de adicionar o arquivo autorun, bat e ico ícone arquivo juntamente com o correr iTunes_mobile.bat arquivo:

Loading your USB drive: Carregando unidade USB:
Your USB drive is now ready to accept content. Unidade USB está agora pronto para aceitar o conteúdo. Drag-n-drop everything from the host computer under /My Documents/My Music/iTunes Music/ to the USB drive under /My Documents/My Music/iTunes/iTunes/iTunes Music/ *Your file path might be slightly different if you customized iTunes from a previous installation. Drag-n-gota de tudo, desde o computador ao abrigo / Meus Documentos / My Música / iTunes Music / para a unidade USB sob / Meus Documentos / My Música / iTunes / iTunes / iTunes Music / * Seu arquivo caminho poderia ser um pouco diferente se você customizado iTunes a partir de uma instalação anterior. This process might take some time depending on the size of your library. Este processo pode demorar algum tempo, dependendo do tamanho da sua biblioteca.
Once the copy process is complete run the iTunes_mobile.bat file again and everything will appear in it’s place. Depois que o processo de cópia é completa iTunes_mobile.bat executar o arquivo novamente e tudo isso vai aparecer em seu lugar. Simply double click the ‘ iTunes_mobile.bat ‘ file. Basta clicar duas vezes o 'iTunes_mobile.bat' arquivo. If you are missing the song ratings on the USB drive, go back into the PC iTunes and run an ‘Export Library’ which creates an xml file. Se estiver faltando a canção avaliações sobre a unidade USB, voltar para o PC iTunes e executar um 'Exportar Biblioteca ", que cria um arquivo XML. In the USB drive iTunes run the ‘Import Library’ feature to read in the xml file - your ratings should be restored. Na unidade USB iTunes correr o "Importar Biblioteca" recurso para ler o arquivo xml em - suas avaliações devem ser restauradas.
Checking the Autolaunch: Verificando o Autolaunch:
At this point you probably haven’t disconnected the USB drive. Neste ponto você provavelmente não ter desligado a unidade USB. Lets do that now. Vamos fazer isso agora. Reconnect the drive and the following window should appear. Reaproximar a conduzir e deverá aparecer a janela seguinte.

When you double click on the Mobile_iTunes icon listed first, iTunes will launch and use the library from your USB flash drive! Quando fizer duplo clique no ícone Mobile_iTunes listados em primeiro lugar, o iTunes vai lançar e utilizar a biblioteca de sua unidade flash USB! Nice. Agradável.
Congratulations you are running iTunes from your USB drive . Parabéns você estiver executando o iTunes da unidade USB.
Installing iTunes on a different computer: Instalando o iTunes em um computador diferente:
So you are at work and ready to run your iTunes from a USB drive. Então você está no trabalho, e pronto para rodar o seu iTunes a partir de uma drive USB. This is what you do. Isto é o que você faz. Plug in the USB drive, but DON’T click the Autorun icon which pops up (and we created). Conecte o drive USB, mas não clique no ícone que aparece Autorun (e nós criamos). Rather, close the pop-up window and navigate to the USB drive from My Computer . Em vez disso, feche a janela pop-up e navegue para a unidade USB do Meu Computador. Right click on the USB drive and click “ Explore ” Open the ‘ iTunes_Installer ‘ folder on the USB drive and double click the iTunesSetup.exe file. Botão direito sobre o drive USB e clique em "Explorar" Abra o 'iTunes_Installer' pasta no drive USB e dê um duplo clique no arquivo iTunesSetup.exe. Run the installation. Executar a instalação.
Once the iTunes installation is complete you’ll have a blank iTunes library on the new PC. Uma vez que o iTunes completar a instalação você terá uma biblioteca iTunes branco sobre o novo PC. That’s OK, close iTunes. That's OK, feche o iTunes. Now click your iTunes_mobile.bat file. Agora, clique em seu arquivo iTunes_mobile.bat. This will open iTunes with your Library from the USB drive. Isto irá abrir a sua biblioteca do iTunes a unidade USB. Done! Feito!
Congratulations you are running iTunes library from your USB drive on ANOTHER computer . Parabéns você estiver executando o iTunes biblioteca da unidade USB em outro computador.
So here is the bonus. Portanto, aqui é o bônus. If you perform this Se você executar este USB tutorial USB tutorial on a large USB hard drive, chances are that external enclosure has additional USB ports. USB em uma grande unidade de disco rígido, as chances são que o recinto externo tem portas USB adicionais. Now connect and sync your iPod to the USB drive, forget connecting the iPod to your PC. Agora conectar e sincronizar o seu iPod para a unidade USB, esquecer a conexão do iPod para o PC. You can sync, grab podcasts, whatever, without connecting the iPod directly to your computer. Você pode sincronizar, pegue podcasts, qualquer que seja, sem a conexão do iPod diretamente para o seu computador.
If you have troubles, issues or comments, put them in the forums section for all to see and benefit. Se tiver problemas, problemas ou comentários, coloque-os em todos os fóruns para a secção de ver e benefício. Keep in mind, this works for me and should work for you, but I take no responsibility if a major catastrophe occurs. Tenha em mente, esta funciona para mim e devem trabalhar para você, mas eu não tomar nenhuma responsabilidade caso ocorra uma grande catástrofe.
Some information came from an iLounge forum post: http://forums.ilounge.com/archive/index.php/t-174182.html Alguma informação veio de um fórum iLounge post: http://forums.ilounge.com/archive/index.php/t-174182.html














