Moving/Sorting Downloaded TV Shows

Discussion in 'Apple TV and Home Theater' started by devster, Oct 22, 2013.

  1. devster macrumors newbie

    Joined:
    Sep 21, 2009
    #1
    Hi

    I've looked all over the internet to try and find a way to do the following :

    Once my TV shows are downloaded I use Hazel to move them to a seperate folder. They are generally in the format :

    the.voice.s05e09.720p.hdtv.x264-2hd.xxx

    I then want some automated way to move these episodes onto a HDD in the directory structure HDD/TV Shows/Series/Season based upon the file name.

    I am not keen on a command level option as I am not up to speed with that.
    I would like to use an app or applescript to move the files into the correct place so my plex installation can scrape them

    Many thanks
     
  2. Omne666 macrumors 6502a

    Joined:
    Sep 16, 2010
    Location:
    Melbourne, Australia
    #2
    You on a mac or a PC?

    On a mac, iFlicks, identify will do what you want. There's others also.

    Can't help on a PC. MetaX? Or MetaZ?

    And if you have iTunes preferences turned on to organise your library, it'll put them all in appropriate folders etc.
     
  3. priitv8 macrumors 68020

    Joined:
    Jan 13, 2011
    Location:
    Estonia
    #3
    I was about to give the same advice, but somehow I have the feeling OP wants just his movies sorted into folders without using iTunes.
    I am personally using iTunes to manage my media and this folder tidy-up is a no-brainer.
     
  4. Omne666 macrumors 6502a

    Joined:
    Sep 16, 2010
    Location:
    Melbourne, Australia
    #4
    If its movies he wants grouped into folders, he's outta luck., TV shows? Works a treat.
     
  5. devster thread starter macrumors newbie

    Joined:
    Sep 21, 2009
    #5
    I don't want to convert them, I just want to move them to another HDD so my Dune HD media player can play them. I'd like to automate the entire process.

    I used iflicks a while ago to convert tv/movies for appletv but I no longer want to spend time converting formats.

    I'm a Mac guy. There are more options for PC people.

    I know some use Hazel app but I do not know how to set up the rules to parse the show name etc.

    Gurus, please help !
     
  6. KylePowers, Oct 24, 2013
    Last edited: Oct 24, 2013

    KylePowers macrumors 68000

    KylePowers

    Joined:
    Mar 5, 2011
    #6
    SABnzbd + Sick Beard + CouchPotato + Headphones + PLEX is my ultimate setup.

    SABnzbd organizes/renames my files for me, but Sick Beard (for TV shows, at least) can do it too and is actually probably better (I'm just too lazy to change it). Then of course PLEX takes it from there and presents to me the correct file name/format + metadata in an easy-to-use, friendly UI :)

    EDIT: That was probably confusing; I'm actually suggesting Sick Beard, not SABnzbd, for organizing your TV show files.
     
  7. DaPhatty macrumors member

    Joined:
    Jul 12, 2008
    #7
    +1 for Sickbeard.

    I use Sickbeard for moving my TV shows from the download folder and organizing them exactly as the OP describes. Sadly, Sickbeard requires that you launch it from the terminal (i.e. command line) but once it is running, you are set.
     
  8. westrock2000, Oct 27, 2013
    Last edited: Oct 27, 2013

    westrock2000 macrumors 6502

    Joined:
    Oct 18, 2013
    #8
    Luckily OSX ships with the most powerful language on Earth for doing such things....Perl

    Here is a script I wrote that you can drop in the directory that has all your TV shows and it will parse the files into appropriate folders based on the filename. You can leave the show title naming convention the same or you can use underscores or spaces inbetween words, the script will accept any combination.

    You will need to change 2 lines of code for your particular needs. The type of files to look for, which I have set to m4v and mkv, as well as the base directory to move the shows to. Don't worry, the script will tell you exactly where to change the lines of code, just open a text editor and follow the directions.

    [​IMG]

    [​IMG]

    [​IMG]

    Download the zipped perl file. *** You may need to change permissions on the perl script in-able to execute it. If so open terminal, go to the folder it's in and type chmod a+rx move_shows.pl

    Download Script

    Then just rerun the script anytime new files are added that need to be sorted.

    perl handbrake sort tv shows parse tv shows sort by season sort by sxxexx
     

    Attached Files:

  9. devster thread starter macrumors newbie

    Joined:
    Sep 21, 2009
    #9
    Firstly thank you so much for your detailed explanation.

    Here is what I did.

    I downloaded the script and unzipped giving me the "move_shows.pl" file. I opened this with applescript and tried running it but got Syntax Error - expected end of line but found class name, at the first 'File' line of the script.

    I then went back into terminal (getting a bit lost here) and ran the terminal command you included. When I clicked the .pl file again Numbers opened. I tried opening it with Applescript and got the same syntax error.

    Any idea what I am doing wrong ??

    I have been trying to run "filebot" from Hazel, and get it to rename the downloaded files as an alternative but cannot seem to get that to work either !

    Your help is really appreciated.
     
  10. mdutoit macrumors newbie

    Joined:
    Sep 28, 2009
    #10
    I have exactly the same problem/need as devster. It would be ideal to do this all with Hazel.
     
  11. Pyromonkey83 macrumors 6502

    Joined:
    May 24, 2009
  12. mdutoit macrumors newbie

    Joined:
    Sep 28, 2009
    #12

Share This Page