
    M@c                         d Z ddlmZmZ dZdZdZdZdZdZ	 G d	 d
e      Z
 G d de      Z G d de      Z G d de      Z G d de      Z G d de      Zy)z
Here lies Apple frames, all of which are non-standard. All of these would have
been standard user text frames by anyone not being a bastard, on purpose.
   )Frame	TextFrames   PCSTs   WFEDs   TKWDs   TDESs   TGIDs   GRP1c                   .     e Zd ZdZd fd	Z fdZ xZS )PCSTzNIndicates a podcast. The 4 bytes of data is undefined, and is typically all 0.c                 ,    t         |   t               y N)super__init__PCST_FID)self_	__class__s     1/usr/lib/python3/dist-packages/eyed3/id3/apple.pyr
   zPCST.__init__   s    "    c                 6    d| _         t        t        |          S )Ns       )datar	   r   render)r   r   s    r   r   zPCST.render   s    	T4'))r   r   )__name__
__module____qualname____doc__r
   r   __classcell__r   s   @r   r   r      s    X#* *r   r   c                   $     e Zd ZdZd fd	Z xZS )TKWDzPodcast keywords.c                 .    t        |   t        fi | y r   )r	   r
   TKWD_FIDr   r   kwargsr   s      r   r
   zTKWD.__init__       ,V,r   r   r   r   r   r   r
   r   r   s   @r   r   r      s    - -r   r   c                   $     e Zd ZdZd fd	Z xZS )TDESzEPodcast description. One encoding byte followed by text per encoding.c                 .    t        |   t        fi | y r   )r	   r
   TDES_FIDr   s      r   r
   zTDES.__init__$   r    r   r   r!   r   s   @r   r#   r#   !   s    O- -r   r#   c                   $     e Zd ZdZd fd	Z xZS )TGIDz8Podcast URL of the audio file. This should be a W frame!c                 .    t        |   t        fi | y r   )r	   r
   TGID_FIDr   s      r   r
   zTGID.__init__+   r    r   r   r!   r   s   @r   r'   r'   (   s    B- -r   r'   c                   $     e Zd ZdZd fd	Z xZS )WFEDz-Another podcast URL, the feed URL it is said.c                 .    t         |   t        |       y r   )r	   r
   WFED_FID)r   r   urlr   s      r   r
   zWFED.__init__2   s    3'r   )N r!   r   s   @r   r+   r+   /   s    7( (r   r+   c                   $     e Zd ZdZd fd	Z xZS )GRP1z+Apple grouping, could be a TIT1 conversion.c                 .    t        |   t        fi | y r   )r	   r
   GRP1_FIDr   s      r   r
   zGRP1.__init__9   r    r   r   r!   r   s   @r   r1   r1   6   s    5- -r   r1   N)r   framesr   r   r   r-   r   r%   r)   r3   r   r   r#   r'   r+   r1    r   r   <module>r6      su    %*5 *-9 --9 --9 -(9 (-9 -r   