How to Sync Music and Podcast to BlackBerry Storm with Ubuntu
by Lucyontheway On March 17, 2009 | PDA & Mobile | Hits: 24
Software you need: Miro
For automatically downloading podcasts, it is suggested to download Miro, which is a really great podcatcher and Internet TV viewer. First open a terminal and type:
sudo apt-get install miro
Once in Miro, go to Video - Options and click the Folders tab. Under Store downloaded videos in this folder create a new folder to hold all of your podcasts. Please chose /home/user/Podcasts. All of podcasts are stored in subfolders beneath this directory. I find it's helpful to keep these segregated from your music collection to simplify the sync process. Once you're out of the options screen you can add podcasts to Miro by using ctrl+n and pasting the URL to your podcast of choice.
By default, the Blackberry Storm is configured to use MTP (Media Transfer Protocol) to sync files from the PC. This is great if you're using Windows Media Player or the software that ships with the Storm to manage your media, but this can present problems if you're using Linux, which I am. At the very least it makes things more complicated to get working. Instead of MTP, we're going to be using mass-storage (Disk) mode to make the Blackberry appear to Ubuntu as a removable disk. On the Blackberry, go to Options>Memory and configure the phone as pictured.
Under Mass Storage Mode Support, select On.
Under Auto Enable Mass Storage Mode When Connected, select Yes.
Hit the Back button, choose to save the changes you made, then plug the phone into your computer.
This concludes the configuration of the Blackberry, in the next step we'll configure the computer.
Plug the Blackberry into your computer. You'll see an icon on the desktop, or two if you have a MicroSD card installed in the phone. Right-click the disk that you want to sync to and click Properties. Click the Volume tab and note the mount point on the computer. On mine it is:
/media/8GBMEDIACAR
We will use Cron to schedule a job to run at five-minute intervals. As with all of my instructables, we'll do this as easily as possible. Open a terminal and type:
crontab -e
Copy and paste the line below to your crontab. Change the paths to match your configuration.
*/5 * * * * rsync -r --del /home/user/Podcasts /media/8GBMEDIACAR/Music
Configured this way, cron will run Rsync every 5 minutes and copy any new files from your /home/user/Podcasts directory to your Blackberry, or delete any files that you have deleted from within your podcatcher. You can create a shortcut on your desktop to force a sync if you don't want to wait for the next run of the script in fact, as I've discovered, manually syncing may be the best way to go since you may disconnect your Storm halfway through a transfer. Here is the command that I use for the manual sync:
rsync -r -v --del /home/user/Podcasts /media/8GBMEDIACAR/Music
The -v switch will make rsync operate in verbose mode so that you know what it's doing and aren't staring at a terminal window with a blinking block in the upper left.
...And that's it! You can use this method for any device which is recognized by your computer as a mass storage device, or even if you have a directory that you want to keep backed up to an external drive. Hopefully this is useful to someone, thanks for checking out this instructable!Shawn
Step 1. Set your Podcatcher
For automatically downloading podcasts, it is suggested to download Miro, which is a really great podcatcher and Internet TV viewer. First open a terminal and type:
sudo apt-get install miro
Once in Miro, go to Video - Options and click the Folders tab. Under Store downloaded videos in this folder create a new folder to hold all of your podcasts. Please chose /home/user/Podcasts. All of podcasts are stored in subfolders beneath this directory. I find it's helpful to keep these segregated from your music collection to simplify the sync process. Once you're out of the options screen you can add podcasts to Miro by using ctrl+n and pasting the URL to your podcast of choice.
Step 2. Configure BlackBerry Settings
By default, the Blackberry Storm is configured to use MTP (Media Transfer Protocol) to sync files from the PC. This is great if you're using Windows Media Player or the software that ships with the Storm to manage your media, but this can present problems if you're using Linux, which I am. At the very least it makes things more complicated to get working. Instead of MTP, we're going to be using mass-storage (Disk) mode to make the Blackberry appear to Ubuntu as a removable disk. On the Blackberry, go to Options>Memory and configure the phone as pictured.
Under Mass Storage Mode Support, select On.
Under Auto Enable Mass Storage Mode When Connected, select Yes.
Hit the Back button, choose to save the changes you made, then plug the phone into your computer.
This concludes the configuration of the Blackberry, in the next step we'll configure the computer.
Configure Your PC
Plug the Blackberry into your computer. You'll see an icon on the desktop, or two if you have a MicroSD card installed in the phone. Right-click the disk that you want to sync to and click Properties. Click the Volume tab and note the mount point on the computer. On mine it is:
/media/8GBMEDIACAR
Step 4. Configure Cron to sync your files
We will use Cron to schedule a job to run at five-minute intervals. As with all of my instructables, we'll do this as easily as possible. Open a terminal and type:
crontab -e
Copy and paste the line below to your crontab. Change the paths to match your configuration.
*/5 * * * * rsync -r --del /home/user/Podcasts /media/8GBMEDIACAR/Music
Configured this way, cron will run Rsync every 5 minutes and copy any new files from your /home/user/Podcasts directory to your Blackberry, or delete any files that you have deleted from within your podcatcher. You can create a shortcut on your desktop to force a sync if you don't want to wait for the next run of the script in fact, as I've discovered, manually syncing may be the best way to go since you may disconnect your Storm halfway through a transfer. Here is the command that I use for the manual sync:
rsync -r -v --del /home/user/Podcasts /media/8GBMEDIACAR/Music
The -v switch will make rsync operate in verbose mode so that you know what it's doing and aren't staring at a terminal window with a blinking block in the upper left.
...And that's it! You can use this method for any device which is recognized by your computer as a mass storage device, or even if you have a directory that you want to keep backed up to an external drive. Hopefully this is useful to someone, thanks for checking out this instructable!Shawn
Top in All Articles More
Article Categories
Popular Searches More
Most popular searches among our users
Avira
computer boot up problems
computer won t boot up
delete browsing history hangs up in ie 8
How to convert MKV to WMV HD
how to recover windows when computer won t boot up
malware
MKV to WMV HD
MKV to WMV HD Converter
open pptx on linux
open pptx on mac
play mkv format files
pptx files
rebuild Rome Empire with Cradle of Rome
windows startup


© 2009 Softwarehowtos.com - All Rights Reserved Worldwide.