-
Notifications
You must be signed in to change notification settings - Fork 231
tagging
Command Line | Option File | Description |
---|---|---|
--no-artwork |
noartwork (0/1) | Do not embed thumbnail image in output file. All other metadata values will be written. |
--no-tag |
notag (0/1) | Do not tag downloaded programmes |
--tag-format-show |
tag_formatshow (string) | Format template for programme name in metadata (use substitution parameters). Default: <name>
|
--tag-format-title |
tag_formattitle (string) | Format template for episode title in metadata (use substitution parameters). Default: <episodeshort>
|
--tag-isodate |
tag_isodate (0/1) | Use ISO8601 dates (YYYY-MM-DD) in programme names and episode titles |
--tag-podcast |
tag_podcast (0/1) | Tag downloaded radio and tv programmes as iTunes podcasts |
--tag-podcast-radio |
tag_podcast_radio (0/1) | Tag only downloaded radio programmes as iTunes podcasts |
--tag-podcast-tv |
tag_podcast_tv (0/1) | Tag only downloaded tv programmes as iTunes podcasts |
--tag-utf8 |
tag_utf8 (0/1) | Use UTF-8 encoding for non-ASCII characters in AtomicParsley parameter values (Linux/Unix/macOS only). Use only if auto-detect fails. |
Some Linux/BSD distros ship obsolete versions of AtomicParsley. Tagging will likely fail on large files (>4GB) if you are using AtomicParsley < 0.94. See the AtomicParsley Bitbucket repository for instructions on building an up-to-date version. If you use Windows or macOS and follow the installation instructions, you will have an up-to-date build of AtomicParsley.
The get_iplayer metadata is assumed to be encoded as UTF-8 and is then re-encoded as necessary for the different tagging applications. This doesn't always hold true, so substitution characters may sometimes appear in the tags, particularly lyrics or longDescription.
The table below describes the scheme used to convert get_iplayer metadata into tags for downloaded programmes. The tag names were selected to match AtomicParsley parameter names. Each tag is mapped, where possible, to the corresponding get_iplayer substitution parameter, AtomicParsley arg, MP4 atom. The list of iTunes fields indicate where each tag will appear in the iTunes Get Info dialog. Conversion rules specific to particular fields are indicated in the footnotes. If you wish to experiment with variations, the conversion of get_iplayer metadata to tag values is encapsulated in the Tagger::tags_from_metadata subroutine.
|Tag Name|Substitution Param1|AtomicParsley arg|MP4 atom|iTunes Field
|-----|-----|-----|-----|-----|-----|-----
|stik2|<ext>
|--stik
|stik|Options:Media Kind
|advisory3|<guidance>
|--advisory
|rtng|Summary:Advisory
|copyright4|<dldate>
|--copyright
|cprt|Summary:Copyright
|title|<episode>
5|--title
|©nam|Info:Song/Title
|artist|<channel>
|--artist
|©ART|Info:Artist
|albumArtist|BBC <type>
6|--albumArtist
|aART|Info:Album Artist
|album|<name>
|--album
|©alb|Info:Album/Programme
|grouping|<categories>
|--grouping
|©grp|Info:Grouping
|composer|BBC iPlayer|--composer
|©wrt|Info:Composer
|comment|<descshort>
|--comment
|©cmt|Info:Comments
|genre7|<categories>
|--genre
|©ge|Info:Genre
|year|<firstbcast>
8|--year
|©day|Info:Year
|tracknum|<episodenum>
|--tracknum
|trkn|Info:Track Number
|disk|<seriesnum>
|--disk
|disk|Info:Disc Number
|lyrics|<desc>
9|--lyrics
|©lyr|Lyrics
|description|<descshort>
|--description
|desc|Video:Description
|longDescription|<desc>
|--longdesc
10 OR--longDescription
11|ldes|(Hidden):Long Description
|hdvideo12|<mode>
|--hdvideo
13|hdvd|(Browser):HD Icon
|TVShowName|<name>
|--TVShowName
|tvsh|Video:Show
|TVEpisode|<senum>
14|--TVEpisode
|tven|Video:Episode ID
|TVSeasonNum|<seriesnum>
|--TVSeasonNum
|tvsh|Video:Season Number
|TVEpisodeNum|<episodenum>
|--TVEpisodeNum
|tves|Video:Episode Number
|TVNetwork|<channel>
|--TVNetwork
|tvnn|(Hidden):TV Network
|artwork|<thumbfile>
|--artwork
|covr|Artwork
|podcastFlag15|true|--podcastFlag
|pcst|Options:Media Kind
|category15|<categories>
16|--category
|catg|(Hidden):Podcast Category
|keyword15|<categories>
|--keyword
|keyw|(Hidden):Podcast Keywords
|podcastGUID15|<player>
|--podcastGUID
|egid|(Hidden):Podcast GUID
-
Full list of substitution parameters may be found here.
-
TV Show if MP4/M4V, Movie if MP4/M4V and
<categories>
contains "Film", Normal otherwise -
explicit if
<guidance>
non-empty, remove otherwise -
Year taken from
<dldate>
, e.g.: (C) 2011 British Broadcasting Corporation, all rights reserved -
Use
--tag-format-title="<title>"
for full title -
BBC TV, BBC Radio
-
First item in
<categories>
used unless it is one of: ("Films", "Sign Zone", "Audio Described", "Northern Ireland", "Scotland", "Wales", "England"), in which case second item is used. If<categories>
is empty, set to get_iplayer -
If
<firstbcast>
is not valid date, current date is used -
<player>
and<web>
appended if present -
Not available with all AtomicParsley versions
-
Not available with all AtomicParsley versions
-
true if
<mode>
contains "hd", false otherwise -
Not available with all AtomicParsley versions
-
If
<senum>
empty,<pid>
is used -
--tag-podcast
required -
Uses same rules as genre [7]