tangled
alpha
login
or
join now
zenfyr.dev
/
xpost
2
fork
atom
social media crossposting tool. 3rd time's the charm
mastodon
misskey
crossposting
bluesky
2
fork
atom
overview
issues
1
pulls
pipelines
fix: media duration is optional
zenfyr.dev
1 month ago
71b11e27
16b45694
verified
This commit was signed with the committer's
known signature
.
zenfyr.dev
SSH Key Fingerprint:
SHA256:TtcIcnTnoAB5mqHofsaOxIgiMzfVBxej1AXT7DQdrTE=
+1
-1
1 changed file
expand all
collapse all
unified
split
cross
media.py
+1
-1
cross/media.py
···
172
172
return MediaInfo(
173
173
width=int(media["width"]),
174
174
height=int(media["height"]),
175
175
-
duration=float(media.get("duration", probe["format"].get("duration"))),
175
175
+
duration=media.get("duration", probe["format"].get("duration")),
176
176
)