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

Would like preference to not include "Season" in file name or directory name #318

Closed adbeckett closed 3 years ago

adbeckett commented 3 years ago

Using version 1.21.5

Recently, a feature was added to make ITV programmes show the Season/Series number as part of the name. This is very helpful when searching in get-iplayer-automator as it makes it much easier to find the right series when looking at a long-running programme with many series that is repeated frequently.

However, it also means that the saved results get put in a directory (folder) with "Season 4" (for example) included in the name, and the file name is also something like:

Unforgotten - Season 4.s04e05.Episode 5.mp4

The problem I have with this is that Plex gets confused by the Season number part and so fails to match the program unless I manually tell it to search for just "Unforgotten". If the file/folder name is changed to just Unforgotten.s04e05.Episode 5.mp4 then it matches with no problem (the "Episode 5" bit could be removed too).

This has been an issue with BBC programmes for some time, but is now happening for ITV programmes with the latest changes.

So, this is a request for a preference to allow the Season/Series name to show up in the search/download queue panels, but be omitted from the folder/file names when the download is saved - ideally for both BBC and ITV programmes. The "sNNeMM" convention is sufficient for my needs.

Thanks! (and thanks for the great work on this tool - it's really useful).

Lordsnooty05 commented 3 years ago

Can you not just change the naming the way you want it. I’ve been doing that for years because I also use PLEX via Synology Nas. Not everyone names their tv programs the same way and I think asking for a special way of naming may cause more problems than its worth.

adbeckett commented 3 years ago

By "change the naming the way you want it" do you mean create a fork of get-iplayer-automator? Or do you mean manually change the file names afterwards? (which is a pain). Maybe I've misunderstood what you're saying?

I wonder whether some way of defining a template for naming would be useful, with placeholders for the various bits of information (something like "%P - %S.%I.%E" where %P is the program name, %S the season part, %I the sMMeNN part, %E the episode part). There could be a default, but might give flexibility to those who want it. That may be just too complicated though for most users.

Either way, it's just a suggestion for improvement, particularly for those of us using Plex.

Andrew

Lordsnooty05 commented 3 years ago

I use a fantastic app on my mac called "A Better Finder Rename 11" and can be found at https://www.publicspace.net/ABetterFinderRename/index.html It is probably mainly used for renumbering Photos but I use it for TV Shows and Series and it is a breeze to use and yes I use a template ....something like this:-

01 Line of Duty Series 6 Episode 01 02 Line of Duty Series 6 Episode 01

(but I leave the episode numbers out) with a template like Line of Duty Series 6 Episode and it fills in all the numbers and does it very quickly...a couple of seconds and it is done and Plex recognises all my files...never had a problem

skovatch commented 3 years ago

This turns out to be a regression. ITV always uses XBMC naming for shows, which is .s<season#>e<episode#>.. I had changed series name for ITV shows to append the season so you can see it in the download queue, not realizing it affects the file name.

'Show name' is the display name for a program. It's a combination of series name and season number if it exists. Series and Episode name are defined things, and shouldn't ever be modified, or these kinds of problems happen.

skovatch commented 3 years ago

Fixed in v1.21.7