Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit ea51cf2

Browse files
committed
ADD TVShow_Poster
1 parent 9cbad78 commit ea51cf2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/vsmetaEncoder/vsmetaBase.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,16 @@ def _writeGroup2(self):
126126

127127
group2Content += self.TAG2_TVSHOW_SUMMARY + self._writeStr(self.info.tvshowSummary)
128128

129+
if self.info.images.tvshowPoster:
130+
group2Content += self.TAG2_POSTER_DATA + self._writeImage(self.info.images.tvshowPoster)
131+
group2Content += self.TAG2_POSTER_MD5 + self._writeMD5(self.info.images.tvshowPoster)
132+
129133
self._writeTag(self.TAG_GROUP2)
130134
self._writeTag(b'\x01') # group 2 - occurence no. 1?
131135
self.encodedContent += self._writeSpecialInt(len(group2Content))
132136
self.encodedContent += group2Content
133137

134-
# TODO tvshowposter, md5, tv_show_metajson
138+
# TODO tv_show_metajson
135139
self._writeGroup3
136140

137141
def _writeGroup3(self, info: VsMetaInfo):

0 commit comments

Comments
 (0)