jamerst/AutoTag

Suggestion "Sort

Closed this issue · 4 comments

scholt commented

Hello there,

again I wanted to suggest a feature, although it's a bit for an edgecase. I'm filling up an iPod with some TV Shows, but somehow the old Software is not able to properly sort the episodes although they are correctly numbered with season and episode number.

To get the right sort order on an iPod (classic) I needed to set the "Titel für Sortierung" or "sort_name" to something similar than S01E01 ...

Dump from "ffprobe -show_entries 'stream_tags : format_tags'":

TAG:season_number=1
TAG:episode_sort=15
TAG:episode_id=15
TAG:date=2008
TAG:sort_name=015

Cheers
Tobias

That should be possible to add.

It would be helpful if you could provide an example of a file that is tagged correctly (just a few seconds is fine, I only need the tags). The tag names that ffmpeg report are not the same as the ones actually used in the file, so I'm not entirely sure which one sort_name refers to.

scholt commented

@jamerst hello there, sorry for getting back so late. I've created a sample setup. I shot some seconds long clips, and used the TV app to Tag them as TV Show.

The problem I referred to, would be that I would see the episodes in order of 2 3 and 1 because the titles are prefixed with a/b/c (a2, b3, c1) so basically the episode title is used as filename and then on very old devices for sorting. I also added the Sort Title Tags like S01E01, S01E02, etc. which usually fix this problem.

Hope these files help :)

A.Second.Episode.mp4
B.Third.Episode.mp4
C.First.Episode.mp4

Thanks for providing the example files.

This has been added in v3.5.5. The sort name tag is added when the --apple-tagging option is used.

scholt commented

It works very well, thank you so much! I really appreciate it :)