mxpv / podsync

Turn YouTube or Vimeo channels, users, or playlists into podcast feeds
MIT License
1.52k stars 266 forks source link

error="update failed: failed to parse duration : bad format string" #638

Open fqx opened 4 months ago

fqx commented 4 months ago

This error keeps showing in the log, in the last 24 hours. I will look into this and update this issue.

fqx commented 4 months ago

I have a feeling that this bug occurs when the channel has upcoming live broadcast.

fqx commented 4 months ago

It appears that YouTube changed the default value of video.ContentDetails.Duration for live broadcasts. I have created a quick fix pull for this. However, I don't really know go, so please look into it carefully. #639 For anyone need this fix urgently, you can get binary here https://github.com/fqx/podsync-with-yt-dlp/releases/tag/v2.7.1-b .

fqx commented 4 months ago

It may cause apple podcast shows wrong duration, however the playback is ok. IMG_4657

fqx commented 4 months ago

https://github.com/fqx/podsync-with-yt-dlp/releases/tag/v2.7.1-b updated