Ascoware / get-iplayer-automator

The goal of Get iPlayer Automator is to allow iTunes and your Mac to become the hub for your British Television experience regardless of where in the world you are. Currently, Get iPlayer Automator allows you to download and watch BBC and ITV shows on your Mac. Series-Link/PVR functionality ensures you will never miss your favourite shows. Programmes are fully tagged and added to iTunes automatically upon completion. It is simple and easy to use, and runs on any machine running Mac OS X 10.7 or later. And since the shows are in iTunes, it is extremely easy to transfer them to your iPod, iPhone, or Apple TV allowing you to enjoy your shows on the go or on your television.
GNU General Public License v3.0
144 stars 27 forks source link

Enhancement Request: Option to remove eg ": Series 1" in Programme Title for iTunes #102

Open jasowt opened 6 years ago

jasowt commented 6 years ago

When downloading programmes from BBC (possibly ITV as well, I don't download from there), the Programme title always comes with ": Series x" after the title. This is annoying for downloading programmes which have multiple series, as they show up as different programmes.

I wish there was an option to remove this automatically so eg "Big Cats: Series 1" just added to iTunes as Big Cats

Using latest GiA and latest OS X.

ghjimmy commented 6 years ago

Oh yes.. I have the same issue. I don't know when GIP started doing this, but it is annoying; really annoying. I'm going to look at the source to GIP to see if this is something that's easy to do myself, but I don't know if it's something that can be merged in unless it's in the official get_iplayer tree and not just the automator branch.

[ 5 hours later ] Did some looking, and the bit that needs changing is when it compares the "brand" (i.e. base) of the title to the series retrieved. If they're different, it adds them together and hence we get 'xxx: series nn'. It's literally a one line change. However, I'm not sure about getting it rolled into the official release of get_iplayer. For those that want to change it: Around line 4437 change the line

    $name = "$brand: $series";
to
    $name = $brand;