Skip to content

Commit

Permalink
Release v 0.4.5
Browse files Browse the repository at this point in the history
- fixed Empflix.com (now it should work)
  • Loading branch information
Vashiel committed Mar 23, 2016
1 parent 22ee67d commit cb71b34
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion addons.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<addons>
<addon id="plugin.video.adulthideout" name="AdultHideout" version="0.4.4" provider-name="Vashiel">
<addon id="plugin.video.adulthideout" name="AdultHideout" version="0.4.5" provider-name="Vashiel">
<requires>
</requires>
<extension point="xbmc.python.pluginsource"
Expand Down
2 changes: 1 addition & 1 deletion addons.xml.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d7f79f56fc523e33a25cb9954b9b99d3
8ff0985ed05a89e8b5026450a113f52e
2 changes: 1 addition & 1 deletion plugin.video.adulthideout/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.adulthideout" name="AdultHideout" version="0.4.4" provider-name="Vashiel">
<addon id="plugin.video.adulthideout" name="AdultHideout" version="0.4.5" provider-name="Vashiel">
<requires>
</requires>
<extension point="xbmc.python.pluginsource"
Expand Down
3 changes: 3 additions & 0 deletions plugin.video.adulthideout/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v 0.4.5 23-03-2016
- fixed Empflix.com (now it should work)

v 0.4.4 22-03-2016
- added Empflix.com
- added ranking sub for xhamster.com
Expand Down
6 changes: 3 additions & 3 deletions plugin.video.adulthideout/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def start(url):

elif 'empflix' in url:
content = make_request(url)
add_dir('[COLOR lightgreen]empflix.com [COLOR red]Search[/COLOR]', empflix, 1, logos + 'eporner.png', fanart)
add_dir('[COLOR lightgreen]empflix.com [COLOR red]Search[/COLOR]', empflix, 1, logos + 'empflix.png', fanart)
add_dir('[COLOR lime]Categories[/COLOR]', empflix + '/categories.php', 45, logos + 'empflix.png', fanart)
add_dir('[COLOR lime]Sorting[/COLOR]', empflix + '/browse.php?category=mr', 46, logos + 'empflix.png', fanart)
match = re.compile('<div id="remove(.+?)">.+?<a href="([^"]+)".+?><h2>(.+?)</h2>.+?<span class=\"duringTime\">([\d:]+)</span>.+?<img src="([^"]+)"', re.DOTALL).findall(content)
Expand Down Expand Up @@ -967,9 +967,9 @@ def resolve_url(url):
media_url = re.compile('<source src="([^"]+)"').findall(content)[0]
elif 'empflix' in url:
try:
video_url = 'http:' + re.compile('<videoLink>([^<]+.mp4[^<]+)').findall(content)[-1]
video_url = re.compile('<videoLink>([^<]+.mp4[^<]+)').findall(content)[-1]
except:
video_url = 'http:' + re.compile('<videoLink>([^<]+.mp4[^<]+)').findall(content)[-1]
video_url = re.compile('<videoLink>([^<]+.mp4[^<]+)').findall(content)[-1]
media_url = urllib.unquote_plus(video_url)

else:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v 0.4.5 23-03-2016
- fixed Empflix.com (now it should work)

v 0.4.4 22-03-2016
- added Empflix.com
- added ranking sub for xhamster.com
Expand Down
Binary file not shown.

0 comments on commit cb71b34

Please sign in to comment.