Home sharing photos - keeping folder structure

Hi,
I am sharing my photos from my Windows 7 PC to my Apple TV (latest model). Is there a way to keep my folder structure? I have over 17 000 photos sorted into folders, and having them all listed on a single screen is simply ridiculous. Surely I can do this?
I am using iTunes 10.6.1.7
Cheers
Alix

Alex,
I understand completely, this drove me nuts as well.
I wrote a small Python program to take advantage of Junction Points to hack a workaround. Since you're a lecturer in Computer Science, you shouldn't have any trouble taking this and modifying it as you need. It allows you to leave your pictures organized as you wish (mine are YYYY/MM/Event) but creates a set of junction points in a separate location that provide the separation at one directory level.  For example:
original picture folders:
2012\09\Labor Day
2012\09\Something Else
would create the following junction points all in one directory and point them to the corresponding original folders:
2012
2012.09
2012.09.Labor Day
2012.09.Something Else
I apologize for not following standard Python naming conventions and such, this was my first python program and I haven't gotten around to reading the recommendations yet.
The program relies on Junction Points created using:
http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx
import os
from subprocess import call
def getTargetDirsToDelete(directory, namesToIgnore) :
          # This could be one line, but this was my first Python venture and I needed to easily test each step
          dirs = os.listdir(directory)
          dirs = [os.path.join(directory, item) for item in dirs ]
          dirs = [item for item in dirs if os.path.isdir(item)]
          dirs = [item for item in dirs if not os.path.relpath(item, directory) in namesToIgnore]
          return dirs
sourcePath = 'Drive:\\FolderWithPictures'
targetPath = 'Drive:\\FolderForJunctions'
junctionPath = 'Drive:\\PathToJunctionFolder\\junction'
#remove old target dirs
oldTargetDirs = getTargetDirsToDelete(targetPath, ['iPod Photo Cache'])
for oldTargetDir in oldTargetDirs:
          print ("Removing Junction " + oldTargetDir)
          call([junctionPath, "-d", oldTargetDir])
# get sourceDir to ignore
sourceDirToIgnore = os.path.join(sourcePath,'iPod Photo Cache')
for dirpath, dirnames, filenames in os.walk(sourcePath):
          if dirpath != sourcePath and not str.startswith(dirpath, sourceDirToIgnore) :
                    # get the full path of the junction point source
                    makeSourcePath = dirpath
                    # get the full path of the junction point target
                    makeTargetPath = os.path.relpath(dirpath, sourcePath)
                    makeTargetPath = makeTargetPath.replace('\\', '.')
                    makeTargetPath = os.path.join(targetPath, makeTargetPath)
                    print ("Creating Junction Point at " + makeTargetPath + " pointed to " + makeSourcePath)
                    call([junctionPath, makeTargetPath, makeSourcePath])
Hope that you (or someone else) finds it useful.
- Sean

Similar Messages

  • Sharing (Exporting) and keeping folder structure - possible?

    I have been amassing a collection of family pictures going back into the 19th century. They are stored in iPhoto in folders by year (e.g. 1967 is a separate folder). I would like to export this as files but keep the folder structure so that relatives can just look in the 19xx folder for all the pictures from that year. Is there any way to export pictures and maintain the file structure used in iPhoto? If this doesn't work exporting original format photos is there any way to export from iPhoto and have it reflect that structure (so relatives on Mac or Windows machines can view/use them)?
    TIA

    Arthur,
    I have not come across any applescript and I did just search again.
    What I did come across was a program called iPhoto Album Extractor. It is really meant to extract albums into a folder from a damaged iPhoto Library that cannot be opened.
    i downloaded it and tried it out to see if it would be a faster way to get your year albums exported. It is really quite fast.
    Download the program and open it.
    Choose the path by navigating to the iPhoto Library folder and choosing it.
    Your albums will quickly be displayed in the left column.
    Make a new folder on your desktop and label it albums.
    Now highlight the album in the left column and choose "extract"
    In the next window choose the folder on the desktop and then hit open.
    The images in the album will be extracted/copied into a folder with the name of the album into that folder on the desktop. It is really quite fast. I did this while iPhoto was closed.
    iPhoto Album Extractor
    Lori

  • How do I move photos in a Smart Collection and keep folder structure?

    HI there I am on a trial of Lightroom and loving it so far.  One seemingly simple task I would like to try out is moving all my RAW files (which are all mixed up with JPGs and PSDs to a new location and keep the current folder structure.
    Currently I have files strcutured like this: <main disk>\<year>\<month>\<filename>.cr2 and I would like to move these to <different disk>\<year>\<month>\<filename>.cr2
    The Export functions look as if they will put them all in to one big folder?  Any ideas?
    Many thanks in advance.

    There are several approaches to this problem. You could do this via the Folders panel in LR. You can do just about everything in the Folders panel that you can do in Explorer or Finder. Just create folder and drag and drop.
    Another way is to do this outside LR use Explorer (Windows) or FInder (Mac). after you're done then go back into LR and tell LR where to find the moved files. Depending on how many you have this could be a bit tedious.
    Another method is to choose the files you want then Export them as a Catalog. When you do this be sure to include the option to export the negatives. Point the new catalog at you other drive. It will recreate the folder structure during the export. Then remove the images from your present catalog. Don't delete from disk just remove. Now import from catalog and choose the newly exported catalog. This time choose the option to add the files without moving them. Once you are sure everything is back and is fine you can use Explorer or Finder to go into your original file structure and delete the files that were moved to the new drive.  Be careful to only choose the moved files. If you are separating the RAWs out this should be relatively easy.
    I hope that helps!

  • Export multiple folders while keeping folder structure

    I want to export multiple folders at one time.  I select the folders in LR and then all the photos in those folders.  When I look at the exported photos they're all lumped together (and the keywords are gone, if I do one folder at a time the keywords remain)
    Any way to keep the folder structure while exporting multiple folders?
    Thanks

    You can use a publish service such as this one: Jeffrey Friedl's Blog » Jeffrey’s “Folder Publisher” Lightroom Plugin

  • Apple TV Home Sharing Photos

    Hi folks,
    I have an iMac which has home sharing turned on and which streams music, videos and photos to my Apple TV.  This works fine, and now I have just purchased a new digital camera.  The files for each photo are approximately 4MB each.
    For some reason, the Apple TV is not picking up the new photo files of this size and so my question is whether there is a file size limit on streaming content?  I don't see why there should be any reason other than bandwidth that a file wouldn't stream to the TV ... my bandwidth is fine, and is approximately 45 mbs on wireless.
    I would appreciate any thoughts from the community.
    Thanks.

    It's a standard JPEG file.  It's bizarre - I copied that file alone to iPhoto and changed my Apple TV photo sharing preferences to point at the iPhoto application.  Worked fine.
    Reverted the sharing settings back to the original folder location with all my 5,000 or so photos in and it also worked fine.  Seems that a simple 'reboot' of the settings has resolved the problem.

  • Can I import and keep folder structure?

    I have thousands of pics and videos.  I'm willing to buy in to the whole iCloud experience (literally), but in my small experiments, I couldn't see how to import and KEEP the folders containing numerous pics.  For example, if I have 1000s of FAMILY pics, TRAVEL pics, and FRIEND pics, all in separate folders.   Can I import these pics (currently on Onedrive; I assume I can't import direct from Onedrive to iCloud.com?) keeping the separation and folder breakdown I worked so long to organize?  Every attempt I've made, strips the folder and throws all pics in together.  Yes, I know we can use clever tricks like geotags and dates to separate the photos to an extent.  But most of my photos don't contain that metadata.  And moreover, I've already manually done the work to my liking.  Any ideas?

    Import your folder structure to iPhoto, and then migrate the iPhoto Library to Photos.
    iPhoto will create an event for each folder you import and name it like the folder. You can simply drag the whole folder structure onto the iPhoto icon.
    When you open the iPhoto Library in Photos, Photos will create an album for each iPhoto event.

  • Can I keep folder structure at import??

    Hi,
    I am a new User auf Itunes. On my harddisk i have several folders sorted by topics. Can i keep this folder structure when i import the songs into itunes? When I tried it yesterday all songs were in the main folder in itunes. I dont want to sort these songs again.
    Is there any possibility to keep this folder structure?
    thank you !!!!!!
    ingo

    If you have music organised in folders before you installed iTunes and you want to keep you music where it is, go to:
    Edit>Preferences>Advanced>General
    Find the check box "Copy files to iTunes Music folder when adding to library"
    If you uncheck this box, iTunes just stores the location of the file and does not copy it into the iTunes Music folder.
    There is also a check box called Keep iTunes Muisc folder organised. If this box is checked, iTunes organises files in the iTunes Music folder into folders by Arist / Album. It does nothing outside the iTunes Music folder.
    It is important not to move files in the iTunes library yourself or iTunes will loose them. iTunes does not watch folders like some other music players.

  • Import Scenarios - Keep folder structure

    When I import a scenario folder the scenarios get inserted into the root of the Scenario pane and lose the folder they where in - Is this normal behaviour ? Is there a way to keep the folder structure?
    Its a royal PITA to drag and drop again as im working with a work repos over a WAN and its slow.
    Cheers
    Alastair

    I agree that its a pita and it is the only behavior. With several developers working in parallel, we have this problem all the times. A few people wont approve touching the Work repository directly but I would suggest creating a procedure to update the Work repository to update the parent id of the scenarios that dont have any parent id set. This can be done after you import all the scenarios and they stick on the root level.

  • Keeping Folder structure on Ipod

    Let's say I have 5 different folders in one of my directories -- each folder contained about 20 MP3's. I want to import these songs into Itunes while still maintaining the folder structure. In other words, once imported, I would like to be able to view the folders in the exact way that I view them on my PC.
    Would I have to create seperate playlists for every folder and then import songs into those specific playlists? Is there an easier way?

    After the playlists are created - is there a way to setup a synch so that any updated MP3's in my folders will automatically update the playlist?
    For example, let's say I have a folder called Bruce Springsteen with 13 MP3's. I created a playlist called Bruce Springsteen to keep the structure. Now I add another 2 MP3's to the Bruce folder. Would I have to manually import those 2 additional files to the Bruce playlists?
    Also - how can I set the Ipod to NOT synch when I plug it in. Since I have to create seperate playlists for each folder, I would rather do it manually so as to not mess up the structure.
    Thank you.

  • Resolution of Home Sharing photos with Apple TV 3?

    Let's say you have an Apple TV 3 and you have configured Home Sharing so the Apple TV 3 can view the photos in iPhoto on a Mac in your network. Using the Apple TV 3, are the photos displayed on your TV from iPhoto on the Mac in 1080p? I have an Apple TV 2 and the photo resolution does not seem super great compared to directly connecting the Mac to my TV. I asked at my local Apple Store and they didn't really know.

    Welcome to the Apple Community.
    Obviously not, the Apple TV 2 can only output 720p.

  • Home Sharing Photos on Apple TV 2 Not Staying in Sync

    I have successfully shared photos from my PC to my Apple TV via iTunes, by going to Advance > Choose Photos to Share. Slide shows work GREAT!
    However, when I add new photos to that folder, they do not appear on my Apple TV. I have to go back into iTunes and re-select the folder to share in order to see them on the Apple TV.
    Is there a way to allow the folder to stay in sync?
    If not, can I specify how frequently the Apple TV checks for new photos?
    This seems like a bug! Please help.

    Welcome to the Apple Community.
    The following article(s) may help you.
    Troubleshooting Homesharing
    Troubleshooting WiFi Networks

  • Home sharing photo problems since last update

    Since the last apple tv update, can not see most home sharing pictures. I only get a white or black screen. What did you guys do, it worked fine before.
    Will there be a new update issued to fix this one?

    Hi, scok41.  
    Thank you for visiting Apple Support Communities.
    Here is the best resource for troubleshooting steps when experiencing issues with Home Sharing.
    Troubleshooting Home Sharing
    http://support.apple.com/kb/TS2972
    Cheers,
    Jason H.

  • Copy playlist to usb-stick and keep folder structure

    Is there an easy way to copy a playlist from iTunes to a USB-stick (for use in the car)? The folder structure of artist > album> track should be kept.
    If you simply use drag and drop, iTunes copies all songs into one folder.

    "Files to Folder Scripts
         This is a collection of two scripts: Alias Files to Folder... which creates an alias of each file of the selected iTunes tracks in a user-selected location, and Copy Files to Folder... which will copy the files of the selected iTunes tracks to a user-selected location."
    It appears the first one  just puts an alias in a single folder.  The second one looks like it copies the files to a single folder which is pretty much what the OP is doing already with dragging.

  • HT201317 Can my friends add photos in my shared Photo stream folder?

    I shared a photo stream with some friends. they are unable to add photos into the album. Is this functionality available like that in dropbox where everyone in the shared folder can add data in?

    Welcome to the Apple Community.
    Only the owner can add photos, comments can be added by everyone.

  • Apple TV3 - Home Sharing Photos

    Hi all,
    I would like to share photos with apple TV3 via iTunes "privat release".
    On apple TV3 the option is available to take photos.
    It tells that it has to be configured via iTunes/Erweitert/Fotos für Bereitstellung auswählen.
    I marked the folders with the photos to share, but unfortunately the access via applte TV3
    is not possible.
    Is there anybody with an idea?
    Thanks in advance
    chees
    jj

    It's a standard JPEG file.  It's bizarre - I copied that file alone to iPhoto and changed my Apple TV photo sharing preferences to point at the iPhoto application.  Worked fine.
    Reverted the sharing settings back to the original folder location with all my 5,000 or so photos in and it also worked fine.  Seems that a simple 'reboot' of the settings has resolved the problem.

Maybe you are looking for

  • My macbook pro's hard drive space is constantly shrinking...is it a virus?

    My hard drive space went from 20 GB remaining to 15.6 GB remaining in less than a day and it's constantly declining without adding any new files or programs. I don't know what's causing it! Please Help!

  • How to get the name of the exit in FM "EXIT_SAPLBSVA_001'

    Hello all, i need to get the name of the enhancment  for the function module 'EXIT_SAPLBSVA_001' as i need to use this userexit and in CMOD i need to write the enhancement  having this exit. please help soon. Regards geeta gupta

  • Why does Mail always classify AOL messages as junk?

    Hello everyone, Has anyone encountered the strange anomaly of Mail always dropping any message from an AOL user in the junk folder? This happens even if the sender is in my address book. I've even set up a rule to move any AOL mail into my inbox, but

  • How to monitor temp tablespace

    I server in 11gR2 and 10gR2. Is there a way to monitor its usage, like, who is using it, how much space a session is using, what are the objects crated, ie. temp tables. Thanks.

  • JavaFX in Portuguese

    Hi, We have a forum and a lot of articles about JavaFX in portuguese: http://javafree.uol.com.br/f-67-Tutoriais-JavaFX.html http://javafree.uol.com.br/f-68-JavaFX.html If you can read in portuguese, please help-us to make our articles better! Regards