Skip to content

Commit

Permalink
fix playback of some videos
Browse files Browse the repository at this point in the history
  • Loading branch information
anxdpanic committed Jul 28, 2020
1 parent 4d23549 commit 207aa40
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions addon.xml
Expand Up @@ -13,6 +13,7 @@
<extension point="xbmc.python.module" library="resources/lib/"/>
<extension point="xbmc.addon.metadata">
<news>
[fix] playback of some videos
[fix] notifications for some languages |contrib: Mutronics|
[fix] fix rating videos causing and error even though it succeeded
[upd] cache javascript player url for 4 hours, reduces http requests per play by 1
Expand Down
1 change: 1 addition & 0 deletions changelog.txt
@@ -1,4 +1,5 @@
6.8.3
[fix] playback of some videos
[fix] notifications for some languages |contrib: Mutronics|
[fix] fix rating videos causing and error even though it succeeded
[upd] cache javascript player url for4 hours, reduces http requests per play by 1
Expand Down
Expand Up @@ -135,7 +135,7 @@ def _find_signature_function_name(javascript):
match_patterns = [
r'\b[cs]\s*&&\s*[adf]\.set\([^,]+\s*,\s*encodeURIComponent\s*\(\s*(?P<name>[a-zA-Z0-9$]+)\(',
r'\b[a-zA-Z0-9]+\s*&&\s*[a-zA-Z0-9]+\.set\([^,]+\s*,\s*encodeURIComponent\s*\(\s*(?P<name>[a-zA-Z0-9$]+)\(',
r'\b(?P<name>[a-zA-Z0-9$]{2})\s*=\s*function\(\s*a\s*\)\s*{\s*a\s*=\s*a\.split\(\s*""\s*\)',
r'(?:\b|[^a-zA-Z0-9$])(?P<name>[a-zA-Z0-9$]{2})\s*=\s*function\(\s*a\s*\)\s*{\s*a\s*=\s*a\.split\(\s*""\s*\)',
r'(?P<name>[a-zA-Z0-9$]+)\s*=\s*function\(\s*a\s*\)\s*{\s*a\s*=\s*a\.split\(\s*""\s*\)',
r'(["\'])signature\1\s*,\s*(?P<name>[a-zA-Z0-9$]+)\(',
r'\.sig\|\|(?P<name>[a-zA-Z0-9$]+)\(',
Expand Down

0 comments on commit 207aa40

Please sign in to comment.