The branch, gotham has been updated
       via  2be6b06626cfc8e117a6087eb0f4d9417bfe4c6e (commit)
       via  64bc07922e077b68392dadc32fbfff5fc139d221 (commit)
      from  960ee0d24e8095d48422502d37f7ea52f6c2b84d (commit)

- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=2be6b06626cfc8e117a6087eb0f4d9417bfe4c6e


http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=64bc07922e077b68392dadc32fbfff5fc139d221

commit 64bc07922e077b68392dadc32fbfff5fc139d221
Author: Martijn Kaijser <[email protected]>
Date:   Fri Oct 3 21:08:02 2014 +0200

    [plugin.video.gamegurumania] 1.0.2

diff --git a/plugin.video.gamegurumania/addon.py 
b/plugin.video.gamegurumania/addon.py
index 7817cb0..c020e02 100644
--- a/plugin.video.gamegurumania/addon.py
+++ b/plugin.video.gamegurumania/addon.py
@@ -21,8 +21,8 @@ __addon__       = "plugin.video.gamegurumania"
 __plugin__      = "GameGuruMania"
 __author__      = "Skipmode A1"
 __url__         = ""
-__date__        = "06 september 2014"
-__version__     = "1.0.1"
+__date__        = "02 oktober 2014"
+__version__     = "1.0.2"
 #
 # Imports
 #
diff --git a/plugin.video.gamegurumania/addon.xml 
b/plugin.video.gamegurumania/addon.xml
index 1af69f2..5170cf8 100644
--- a/plugin.video.gamegurumania/addon.xml
+++ b/plugin.video.gamegurumania/addon.xml
@@ -2,7 +2,7 @@
 <addon 
        id="plugin.video.gamegurumania" 
        name="Gamegurumania" 
-       version="1.0.1" 
+       version="1.0.2" 
        provider-name="Skipmode A1">
   <requires>
     <import addon="xbmc.python"                 version="2.14.0"/>
diff --git a/plugin.video.gamegurumania/changelog.txt 
b/plugin.video.gamegurumania/changelog.txt
index cecf062..1beefd9 100644
--- a/plugin.video.gamegurumania/changelog.txt
+++ b/plugin.video.gamegurumania/changelog.txt
@@ -1,7 +1,9 @@
+v1.0.2 (Thursday, 2 oktober 2014):
+- adjusted because of website changes
+
 v1.0.1 (Saturday, 6 september 2014):
 - fixed GNU licence
 - added forum link
 
 v1.0.0 (Monday, 25 August 2014):
-- initial version;
- 
\ No newline at end of file
+- initial version; 
\ No newline at end of file
diff --git a/plugin.video.gamegurumania/resources/lib/gamegurumania_const.py 
b/plugin.video.gamegurumania/resources/lib/gamegurumania_const.py
index a42c3f4..13eb3c5 100644
--- a/plugin.video.gamegurumania/resources/lib/gamegurumania_const.py
+++ b/plugin.video.gamegurumania/resources/lib/gamegurumania_const.py
@@ -11,5 +11,5 @@ __addon__       = "plugin.video.gamegurumania"
 __plugin__      = "GameGuruMania"
 __author__      = "Skipmode A1"
 __url__         = ""
-__date__        = "06 september 2014"
-__version__     = "1.0.1"
\ No newline at end of file
+__date__        = "02 oktober 2014"
+__version__     = "1.0.2"
\ No newline at end of file
diff --git 
a/plugin.video.gamegurumania/resources/lib/gamegurumania_list_play.py 
b/plugin.video.gamegurumania/resources/lib/gamegurumania_list_play.py
index 77952b2..ac185f5 100644
--- a/plugin.video.gamegurumania/resources/lib/gamegurumania_list_play.py
+++ b/plugin.video.gamegurumania/resources/lib/gamegurumania_list_play.py
@@ -25,6 +25,7 @@ class Main:
                self.DEBUG     = __settings__.getSetting('debug')
                
                if (self.DEBUG) == 'true':
+                       print 'Python Version: ' + sys.version
                        xbmc.log( "[ADDON] %s v%s (%s) debug mode, %s = %s, %s 
= %s" % ( __addon__, __version__, __date__, "ARGV", repr(sys.argv), "File", 
str(__file__) ), xbmc.LOGNOTICE )
 
                # Parse parameters...
@@ -67,8 +68,10 @@ class Main:
                #
                video_page_url_napdis = ''
                video_page_url_iframe = '' 
+               video_page_url_youtube = '' 
                nadpis_found = False
                iframe_found = False
+               youtube_found = False
                thumbnail_url = ''
                
                # 
@@ -83,23 +86,31 @@ class Main:
                #Find Title
                #<a class="nadpis" 
name="shadowrun-returns-alpha-gameplay-video-34776" 
href="http://www.ggmania.com/?smsid=shadowrun-returns-alpha-gameplay-video-34776";>Shadowrun
 Returns - Alpha Gameplay Video</a>
                #Find youtubeID
-               #<iframe width="560" height="315" 
src="http://www.youtube.com/embed/9MiMjQwd2VE"; frameborder="0" 
allowfullscreen="allowfullscreen"></iframe>
-               video_page_urls = soup.findAll ( ["a", "iframe"] )
+               #<iframe width="560" height="315" 
src="http://www.youtube.com/embed/9MiMjQwd2VE"; frameborder="0" 
allowfullscreen="allowfullscreen"></iframe>            
+               #<div class="youtube" id="fDZF-jIhhbk" style="width: 640px; 
height: 360px;">
+               
+               video_page_urls = soup.findAll ( ["a", "iframe", "div"] )
                
                if (self.DEBUG) == 'true':
                        xbmc.log( "[ADDON] %s v%s (%s) debug mode, %s = %s" % ( 
__addon__, __version__, __date__, "len(video_page_urls)", 
str(len(video_page_urls)) ), xbmc.LOGNOTICE )
                
                for video_page_url in video_page_urls:
+                       
+                       if (self.DEBUG) == 'true':
+                               xbmc.log( "[ADDON] %s v%s (%s) debug mode, %s = 
%s" % ( __addon__, __version__, __date__, "video_page_url", str(video_page_url) 
), xbmc.LOGNOTICE )
 
                        video_page_url_str = str(video_page_url)
                        if video_page_url_str.startswith('<a class="nadpis"'):
                                nadpis_found = True
-                               iframe_found = False
+                               youtube_found = False
                                video_page_url_napdis = video_page_url
                        if video_page_url_str.startswith('<iframe'):
                                iframe_found = True
-                               video_page_url_iframe = video_page_url
-                       if nadpis_found == True and iframe_found == True:
+                               video_page_url_iframe = video_page_url          
                
+                       if video_page_url_str.startswith('<div 
class="youtube"'):
+                               youtube_found = True
+                               video_page_url_youtube = video_page_url
+                       if (nadpis_found == True and iframe_found == True) or 
(nadpis_found == True and youtube_found == True):
                                #Find Title
                                #<a class="nadpis" 
name="shadowrun-returns-alpha-gameplay-video-34776" 
href="http://www.ggmania.com/?smsid=shadowrun-returns-alpha-gameplay-video-34776";>Shadowrun
 Returns - Alpha Gameplay Video</a>
                                        
@@ -147,9 +158,14 @@ class Main:
                                        xbmc.log( "[ADDON] %s v%s (%s) debug 
mode, %s = %s" % ( __addon__, __version__, __date__, "title", str(title) ), 
xbmc.LOGNOTICE )
                                
                                #Find youtubeID
-                               #<iframe width="560" height="315" 
src="//www.youtube.com/embed/9MiMjQwd2VE" frameborder="0" 
allowfullscreen="allowfullscreen"></iframe>
-                               youtubeID = str(video_page_url_iframe['src'])
-                               youtubeID = 
youtubeID.replace("//www.youtube.com/embed/", '')
+                               #<iframe width="560" height="315" 
src="http://www.youtube.com/embed/9MiMjQwd2VE"; frameborder="0" 
allowfullscreen="allowfullscreen"></iframe>                            
+                               #<div class="youtube" id="fDZF-jIhhbk" 
style="width: 640px; height: 360px;">
+                               if iframe_found == True:
+                                       youtubeID = 
str(video_page_url_iframe['src'])
+                                       youtubeID = 
youtubeID.replace("//www.youtube.com/embed/", '')
+                               if youtube_found == True:
+                                       youtubeID = 
str(video_page_url_youtube['id'])
+                               
                                youtube_url = 
'plugin://plugin.video.youtube/?action=play_video&videoid=%s' % youtubeID
                                                
                                if (self.DEBUG) == 'true':
@@ -165,6 +181,7 @@ class Main:
                                
                                nadpis_found = False
                                iframe_found = False
+                               youtube_found = False
                        
                #Next page entry...
                if self.next_page_possible == 'True':
diff --git a/plugin.video.gamegurumania/resources/lib/gamegurumania_main.py 
b/plugin.video.gamegurumania/resources/lib/gamegurumania_main.py
index a6dd7bb..93f21af 100644
--- a/plugin.video.gamegurumania/resources/lib/gamegurumania_main.py
+++ b/plugin.video.gamegurumania/resources/lib/gamegurumania_main.py
@@ -21,7 +21,7 @@ class Main:
     def __init__( self ):
         
         #
-        # All Vidoes
+        # All Videos
         #
         parameters = {"action" : "list-play", "plugin_category" : 
__language__(30000), "url" : "http://www.ggmania.com/more.php3?next=000";, 
"next_page_possible": "True"}
         url = sys.argv[0] + '?' + urllib.urlencode(parameters)

-----------------------------------------------------------------------

Summary of changes:
 .../LICENSE.txt                                    |    6 +-
 .../addon.xml                                      |   10 +-
 plugin.audio.sky.fm/changelog.txt                  |   74 ++++++++++++++
 plugin.audio.sky.fm/config.ini                     |   26 +++++
 plugin.audio.sky.fm/default.py                     |  105 ++++++++++++++++++++
 .../gpl.txt                                        |    0
 .../httpcomm.py                                    |    0
 plugin.audio.sky.fm/icon.png                       |  Bin 0 -> 65546 bytes
 .../resources/language/English/strings.xml         |   14 ++-
 plugin.audio.sky.fm/resources/settings.xml         |    6 +
 plugin.video.gamegurumania/addon.py                |    4 +-
 plugin.video.gamegurumania/addon.xml               |    2 +-
 plugin.video.gamegurumania/changelog.txt           |    6 +-
 .../resources/lib/gamegurumania_const.py           |    4 +-
 .../resources/lib/gamegurumania_list_play.py       |   33 +++++--
 .../resources/lib/gamegurumania_main.py            |    2 +-
 16 files changed, 262 insertions(+), 30 deletions(-)
 copy {plugin.audio.radiotunes.com => plugin.audio.sky.fm}/LICENSE.txt (70%)
 copy {plugin.audio.radiotunes.com => plugin.audio.sky.fm}/addon.xml (56%)
 create mode 100644 plugin.audio.sky.fm/changelog.txt
 create mode 100644 plugin.audio.sky.fm/config.ini
 create mode 100644 plugin.audio.sky.fm/default.py
 copy {plugin.audio.radiotunes.com => plugin.audio.sky.fm}/gpl.txt (100%)
 copy {plugin.audio.radiotunes.com => plugin.audio.sky.fm}/httpcomm.py (100%)
 create mode 100644 plugin.audio.sky.fm/icon.png
 copy {plugin.audio.radiotunes.com => 
plugin.audio.sky.fm}/resources/language/English/strings.xml (86%)
 create mode 100644 plugin.audio.sky.fm/resources/settings.xml


hooks/post-receive
-- 
Plugins

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to