Valid values are Music, Audiobook, Music Video, Movie, TV Show, media_kind – The type of media represented by the source file.rating – A valid US, UK, or German content rating.downmix – downmix audio (mono, stereo, dolby, pl2) from the.Moov atom at the begining and interleaving the samples optimize – Boolean flag for optimizing the file by moving the.remove – Boolean flag for remove all existing subtitles tracks.language – The language of the subtitle track (i.e.height – The pixel height of the subtitle track.delay – The delay of the subtitle track in ms.chapters_preview – Boolean option to create an additional video.dest – The destination file to save any changes to.source – The source file to feed to Subler._init_ ( source, dest=None, chapters=None, delay=None, chapters_preview=False, height=None, language='English', remove=False, optimize=True, downmix=False, rating=None, media_kind='Movie', explicit=None, metadata=None ) ¶Ĭreate a Subler tagging instance Parameters: Subler ( source, dest=None, chapters=None, delay=None, chapters_preview=False, height=None, language='English', remove=False, optimize=True, downmix=False, rating=None, media_kind='Movie', explicit=None, metadata=None ) ¶Ī Python interface to the SublerCLI that can be used to easily readįrom and write to a specified source file.
The Subler argument formatted version of this Atom is_valid ( ) ¶Ĭheck that the data in this Atom is valid class subler.subler. If you attempt to use an invalid tag for this Atom it will not be used whenĪctually tagging the media file via a Subler instance. Atom ¶Ī class representing a single metadata atom. Instance of Subler you can quickly execute the tagging of metadata toĪ specified file. By simply creating new metadataĪtom‘s and specifying any additionally desired variables in an Of media types including x264 video, AAC audio, and many others with iTunesįormatted metadata via the SublerCLI. This module provides an easily scriptable interface to tagging an assortment