Skip to content

Commit

Permalink
Release version 6.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jaylinski committed Feb 27, 2022
1 parent c76aaec commit 92ab9f3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
10 changes: 8 additions & 2 deletions addon.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.vimeo" name="Vimeo" version="6.0.0" provider-name="jaylinski">
<addon id="plugin.video.vimeo" name="Vimeo" version="6.0.1" provider-name="jaylinski">
<requires>
<import addon="xbmc.python" version="3.0.0"/>
<import addon="script.module.requests" version="2.22.0"/>
Expand All @@ -16,7 +16,13 @@
<forum>https://forum.kodi.tv/showthread.php?tid=220437</forum>
<website>https://vimeo.com</website>
<source>https://github.com/jaylinski/kodi-addon-vimeo</source>
<news>6.0.0 (2021-02-25)
<news>6.0.1 (2022-02-25)
Fixed subtitle conversion issue
Fixed playback issue on certain videos when using HLS video format (related to AV1 codec)
Replaced invalid video-format "240p" in settings
Replaced deprecated API call (fixes Kodi v20 crash)

6.0.0 (2021-02-25)
Added support for Kodi v19 (Matrix)
</news>
<assets>
Expand Down
4 changes: 1 addition & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
[![Build Status](https://img.shields.io/github/workflow/status/jaylinski/kodi-addon-vimeo/Continuous%20Integration/master.svg)](https://github.com/jaylinski/kodi-addon-vimeo/actions)
[![Link to Kodi forum](https://img.shields.io/badge/Kodi-Forum-informational.svg)](https://forum.kodi.tv/showthread.php?tid=220437)
[![Link to Kodi wiki](https://img.shields.io/badge/Kodi-Wiki-informational.svg)](https://kodi.wiki/view/Add-on:Vimeo)
[![Link to Kodi releases](https://img.shields.io/badge/Kodi-v19%20%22Leia%22-green.svg)](https://kodi.wiki/view/Releases)
[![Link to Kodi releases](https://img.shields.io/badge/Kodi-v18%20%22Leia%22-green.svg)](https://kodi.wiki/view/Releases)
[![Link to Kodi releases](https://img.shields.io/badge/Kodi-v17%20%22Krypton%22-green.svg)](https://kodi.wiki/view/Releases)
[![Link to Kodi releases](https://img.shields.io/badge/Kodi-v19%20%22Matrix%22-green.svg)](https://kodi.wiki/view/Releases)

This [Kodi](https://github.com/xbmc/xbmc) Add-on provides a minimal interface for Vimeo.

Expand Down
2 changes: 1 addition & 1 deletion resources/lib/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def webvtt_to_srt(webvtt):
if counter == 1 and line == "":
continue

matches = re.match(r"^(?P<fh>\d{2}:)?(?P<fm>\d{2}):(?P<fs>\d{2}).(?P<fms>\d{3})\s-->\s(?P<th>\d{2}:)?(?P<tm>\d{2}):(?P<ts>\d{2}).(?P<tms>\d{3})", line)
matches = re.match(r"^(?P<fh>\d{2}:)?(?P<fm>\d{2}):(?P<fs>\d{2}).(?P<fms>\d{3})\s-->\s(?P<th>\d{2}:)?(?P<tm>\d{2}):(?P<ts>\d{2}).(?P<tms>\d{3})", line) # noqa: E261
if matches:
srt += str(counter) + os.linesep
srt += "{}{}:{},{} --> {}{}:{},{}{}".format(
Expand Down

0 comments on commit 92ab9f3

Please sign in to comment.