Created
May 19, 2026 04:02
-
-
Save pietrocaselani/3fa75a76935255b3ed8f6543205828dc to your computer and use it in GitHub Desktop.
TinyMediaManager templates to export media with subtitles
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "episodes": [ | |
| ${foreach tvShows show ,} | |
| ${foreach show.episodes episode , } | |
| { | |
| "showTitle": "${show.title}", | |
| "episodeTitle": "${episode.title}", | |
| "season": ${episode.season}, | |
| "episode": ${episode.episode}, | |
| "embeddedSubtitles": "${foreach episode.mediaFiles mf}${foreach mf.subtitles sub}${if sub.title}${sub.language}:${sub.title}|${end}${end}${end}", | |
| "externalSubtitles": "${foreach episode.mediaFiles mf}${foreach mf.subtitles sub}${if !sub.title}${sub.language}|${end}${end}${end}" | |
| } | |
| ${end} | |
| ${end} | |
| ] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name=EpisodeSubs | |
| type=tv_show | |
| list=list.jmte | |
| extension=json | |
| description=Exports TV show episode subtitles as JSON\n | |
| url=https://tinymediamanager.org |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "movies": [ | |
| ${foreach movies movie , } | |
| { | |
| "title": "${movie.title}", | |
| "imdbId": "${movie.ids.imdb}", | |
| "country": "${movie.country}", | |
| "embeddedSubtitles": "${foreach movie.mediaFiles mf}${foreach mf.subtitles sub}${if sub.title}${sub.language}:${sub.title}|${end}${end}${end}", | |
| "externalSubtitles": "${foreach movie.mediaFiles mf}${foreach mf.subtitles sub}${if !sub.title}${sub.language}|${end}${end}${end}" | |
| } | |
| ${end} | |
| ] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name=MovieSubs | |
| type=movie | |
| list=list.jmte | |
| extension=json | |
| description=Exports movie subtitles as JSON\n | |
| url=https://tinymediamanager.org |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment