1. Eurisko's Avatar
    Hi Guys, I took yomamma's advice, and here it is. Thanks to the makers of SwapPhoto and SwapTunes for the ideas and the coding. SwapLibrary will switch your Music/Video and Photos libraries all at once.

    This has been tested and working on 1.1.2, should work for all previous versions.

    Feel free to put this on the MMi source PF.
    Attached Files
    Last edited by Eurisko; 2008-02-06 at 03:19 PM.
    Get "iPod & iTunes for Dummies", it'll change your life.
    2008-01-04 11:34 PM
  2. ripped53's Avatar
    If its added to installer I'll be one of the first to try it. Looking forward to it. I love Swaptunes and Swapphoto but I'm all for simplicity.

    Thanks
    2008-01-05 05:50 AM
  3. myboot's Avatar
    I welcome something like this. But if we're transitioning from Swaptunes to Swaplibrary, and already have 2 Swaptunes libraries - will Swaplibrary honor those pre-existing libraries adding pictures to swap?

    Or do we need to clear our libraries and start over with Swaplibrary?
    2008-01-05 05:41 PM
  4. Eurisko's Avatar
    You won't have to make any changes. SwapLibrary will recognize any pre-existing setup.
    Get "iPod & iTunes for Dummies", it'll change your life.
    2008-01-05 05:49 PM
  5. Sadow's Avatar
    I have firmware 1.1.1, i tried this and the photos still remain. I have camera pro installed and read somewhere in the forum that it affects the mobile camera app, do u think this is true and if so, could this be the reason my photos aren't be swapped out? I also tried swapphoto and still no luck,even tried the modified swaptunes posted before the release of this app.

    Edit: Has nothing to do with cameraPro, i uninstalled it and tried the swapLibrary again with no success.
    Last edited by Sadow; 2008-01-05 at 07:16 PM.
    2008-01-05 07:06 PM
  6. Eurisko's Avatar
    I have firmware 1.1.1, i tried this and the photos still remain. I have camera pro installed and read somewhere in the forum that it affects the mobile camera app, do u think this is true and if so, could this be the reason my photos aren't be swapped out? I also tried swapphoto and still no luck,even tried the modified swaptunes posted before the release of this app.
    So when you run the app, and then go into Photos, all the same photos are there? (I'm not talking about syncing at the moment). If you check your Media folder, do you have Photos and Photos_2?

    Photos does not work on the Camera Roll. Just your personal Photo albums.
    Get "iPod & iTunes for Dummies", it'll change your life.
    2008-01-05 08:10 PM
  7. chinesefury's Avatar
    So when you run the app, and then go into Photos, all the same photos are there? (I'm not talking about syncing at the moment). If you check your Media folder, do you have Photos and Photos_2?

    Photos does not work on the Camera Roll. Just your personal Photo albums.
    Thanks for clearing that bit of detail up. This also had me confused as well pertaining to the Camera Roll.
    2008-01-05 08:58 PM
  8. myboot's Avatar
    You won't have to make any changes. SwapLibrary will recognize any pre-existing setup.
    Thanks for this! Works fine on a Touch 1.1.2 -- even had 2 libraries of videos and music from Swaptunes and as you said, it picked both up fine.

    My iPod is getting better and better. Now I have my 'safe for work' library and also, my cleverly hidden porn library Now with pictures too.

    Thanks again.
    2008-01-05 09:29 PM
  9. ripped53's Avatar
    Will this still work on 1.1.3? I hate that it was never added to installer.
    2008-02-02 11:32 PM
  10. optimusdarko's Avatar
    Will this work with 113? Thanks in advance!
    2008-02-05 11:20 PM
  11. Eurisko's Avatar
    Ok, this one will work for 1.1.3
    Attached Files
    Get "iPod & iTunes for Dummies", it'll change your life.
    2008-02-06 01:34 AM
  12. ajl917's Avatar
    What about 1.1.1.?
    2008-02-06 02:27 AM
  13. ripped53's Avatar
    What about 1.1.1.?
    just check out the first post........


    Thanks Eurisko its working perfectly.....I prefer this so much better than having two separate apps....
    2008-02-06 03:25 AM
  14. Daffy_Duck's Avatar
    I'm having a problem with this on 1.1.3. When I swap to the empty library and dock the iPhone, iTunes does not recognize it. I'm trying to do this on a different login account on the same machine which I assume should be possible. Am I doing something wrong?
    2008-02-10 07:34 PM
  15. ripped53's Avatar
    I'm having a problem with this on 1.1.3. When I swap to the empty library and dock the iPhone, iTunes does not recognize it. I'm trying to do this on a different login account on the same machine which I assume should be possible. Am I doing something wrong?
    That is strange....it should detect the phone the same way it does after you restore. Then you should just create another profile. If its not detecting it at all, I'd try rebooting the phone and your computer. If the empty library is showing up on your phone then it should show up in itunes as well...good luck.
    2008-02-10 11:59 PM
  16. optimusdarko's Avatar
    omit post
    Last edited by optimusdarko; 2008-02-11 at 03:47 AM.
    2008-02-11 01:44 AM
  17. Daffy_Duck's Avatar
    I found the answer to my problem. The folders SwapLibrary created had root as the owner but the owner must be mobile or iTunes doesn't see them. A suggestion to the creator of this script is to add a chown statement to the script so this doesn't happen to others.

    Like this:

    else
    mv /var/mobile/Media/Photos /var/mobile/Media/Photos_2
    mkdir /var/mobile/Media/Photos
    chown -R mobile:wheel /var/mobile/Media/Photos
    fi
    Last edited by Daffy_Duck; 2008-02-11 at 03:44 AM.
    2008-02-11 03:38 AM
  18. mlinds's Avatar
    Can't seem to get it working. It just shows the "Switching Library" page for about 10 seconds and then quits. I checked the Media folder and there were no changes so it didn't create the new folders. My permissions are set to 0755.

    This is with the ijailbreakmobile 1.1.1 JB method


    /edit

    nevermind, I'm a dummy. Didn't set the permissions on the sh file itself

    works great, thanks
    Last edited by mlinds; 2008-02-11 at 08:49 AM.
    2008-02-11 08:44 AM
  19. Sproglet's Avatar
    Hope you don't mind but I've made a couple of changes,

    Find attached a version that _should_ work on all iPhones up to and including 1.1.3. No need for a seperate version when you move from 1.1.2 to 1.1.3

    Thanks again for the original.
    Attached Files
    2008-02-12 05:49 PM
  20. armaniex's Avatar
    Can someone put this on the MMi source PF thanks ..
    2008-02-13 11:12 AM
107 123 ...
LINK TO POST COPIED TO CLIPBOARD