The branch, frodo has been updated
via df00167cea8f9d94d9801262a74de1b176e34d01 (commit)
from 93a8bc9f69727f6cb373bcd9d55cf58aa1efbc71 (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=df00167cea8f9d94d9801262a74de1b176e34d01
commit df00167cea8f9d94d9801262a74de1b176e34d01
Author: Martijn Kaijser <[email protected]>
Date: Fri May 23 09:57:49 2014 +0200
[plugin.video.oodnurdtv] 0.0.4
diff --git a/plugin.video.oodnurdtv/addon.py b/plugin.video.oodnurdtv/addon.py
index a332ac4..4ff2b21 100644
--- a/plugin.video.oodnurdtv/addon.py
+++ b/plugin.video.oodnurdtv/addon.py
@@ -119,9 +119,13 @@ def playlist_stations(playlist):
items = []
for my_title,my_link in zip(play_title,play_link):
- items.append({'label': my_title,'path': my_link, 'is_playable':True})
+ items.append({'label':
my_title,'path':plugin.url_for('playlist_final',url=my_link),
'is_playable':True})
return items
[email protected]('/playlist_final/<url>')
+def playlist_final(url):
+ plugin.set_resolved_url(my_drundoo.play_url(url))
+
#####################################
#End of playlist section
#####################################
@@ -156,9 +160,13 @@ def oshte_stations(oshte):
items = []
for my_title,my_link in zip(play_title,play_link):
- items.append({'label': my_title,'path': my_link, 'is_playable':True})
+ items.append({'label': my_title,'path':
plugin.url_for('oshte_final',url=my_link), 'is_playable':True})
return items
[email protected]('/oshte_final/<url>')
+def oshte_final(url):
+ plugin.set_resolved_url(my_drundoo.play_url(url))
+
#####################################
#End of zapis section
#####################################
diff --git a/plugin.video.oodnurdtv/addon.xml b/plugin.video.oodnurdtv/addon.xml
index b1485ca..fab25fa 100644
--- a/plugin.video.oodnurdtv/addon.xml
+++ b/plugin.video.oodnurdtv/addon.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<addon id="plugin.video.oodnurdtv" name="drundootv" version="0.0.3"
provider-name="pesheto">
+<addon id="plugin.video.oodnurdtv" name="drundootv" version="0.0.4"
provider-name="pesheto">
<requires>
<import addon="xbmc.python" version="2.1.0"/>
<import addon="script.module.xbmcswift2" version="2.4.0"/>
diff --git a/plugin.video.oodnurdtv/resources/drundoo.py
b/plugin.video.oodnurdtv/resources/drundoo.py
index ccad240..dc6be5d 100644
--- a/plugin.video.oodnurdtv/resources/drundoo.py
+++ b/plugin.video.oodnurdtv/resources/drundoo.py
@@ -69,28 +69,11 @@ class drundoo:
links = bs4.BeautifulSoup(temp).findAll(class_='button
watch-now player_start cf')
- time_list = []
-
- for link in links:
-
time_list.append((link.get('data-ga-label'),'http://www.drundoo.com' +
link.get('href')))
-
play_list = []
- play_title = []
- for title,link in time_list:
- #build the .m3u8 link for the live content
- startposition =
self.open_site(link).find('playlistUrl') + 15
- endposition = self.open_site(link).find('",\n')
- temp_link = 'http://www.drundoo.com'+
self.open_site(link)[startposition:endposition]
-
- temp2 = self.open_site(temp_link)
- startposition = temp2.find('http')
- endposition = temp2.find('","title')
- play_link = temp2[startposition:endposition]
- play_link =
play_link.replace('\\','').replace('manifest.f4m','master.m3u8')
- play_list.append(play_link)
-
- #get the title of the live station associated with the
play link above
- play_title.append(title)
+ play_title = []
+ for link in links:
+ play_title.append(link.get('data-ga-label'))
+ play_list.append('http://www.drundoo.com' +
link.get('href'))
return play_list,play_title
-----------------------------------------------------------------------
Summary of changes:
plugin.video.oodnurdtv/addon.py | 12 ++++++++++--
plugin.video.oodnurdtv/addon.xml | 2 +-
plugin.video.oodnurdtv/resources/drundoo.py | 25 ++++---------------------
3 files changed, 15 insertions(+), 24 deletions(-)
hooks/post-receive
--
Plugins
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons