Komet / MediaElch

Media Manager for Kodi
https://mediaelch.github.io/mediaelch-doc/about.html
GNU Lesser General Public License v3.0
829 stars 93 forks source link

Improve renaming of a file containing multiple episodes #675

Open ludi113 opened 5 years ago

ludi113 commented 5 years ago

Hi,

Sometimes, a TV channel broadcasts two or more episodes of a TV Show without showing the theme of the show between the episodes. In this case, it would be odd to split the file containing the recording in several files containing only one episode, as only the first episode contains the TV Show theme.

As far as I know, kodi understands for example strings like S01E01E02 for a file containing the first two episodes of the first season of a TV Show.

MediaElch recognises the file correctly and creates an nfo file that contains the two episodedetails tags of the episodes in the file. However, the renamer only uses the name of the first episode to name the file. I get for example: S01E01-E02 Name of first episode.mkv

Would it be possible to have the renamer write the name of the two episodes in the filename? It could for example have the form:

S<season>[E<episode>][ <separator> <episodename>] where [ ... ] means that it is repeated for each episode. The could be chosen freely by the user if a corresponding field is available in the renamer window.

By the way, this could also give the user the opportunity to choose himself the format of the season and episode numbering, as the season and episode tags only provide numbers without the S and E letters. (Other people prefer for example 01x01x02, which would also be achievable with a corresponding pattern.)

Have a nice day.

PS: I did not take into account the case of episodes from different season, as I did not have a good idea about how to handle it.

PS2: This new bug thread replaces the following one, that can be closed: https://github.com/bugwelle/MediaElch/issues/31

bugwelle commented 5 years ago

Hi,

first of all: thanks for this feature request. As of now, MediaElch is not able to rename files according to your schema. I think this is generally a good idea but will take quite a while to implement because this will most likely a complete new implementation of the renamer.

Here's a list of other feature requests that want to improve the renamer:

https://github.com/Komet/MediaElch/issues?q=is%3Aissue+is%3Aopen+renamer+label%3A%22feature+request%22

evolwun commented 4 years ago

I would like to "throw my name it that hat" for this feature as well. I get a LOT of files that contain two episodes. They are mostly cartoons... dad problems.