The branch, frodo has been updated
       via  d7274a76f591c893d0904c5c70aef21c452cc6ae (commit)
      from  1311c8bc6de182f5bc8b6be64da0b31a3cf0a4e1 (commit)

- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scrapers;a=commit;h=d7274a76f591c893d0904c5c70aef21c452cc6ae

commit d7274a76f591c893d0904c5c70aef21c452cc6ae
Author: olympia <olym...@xbmc.org>
Date:   Mon Apr 8 12:44:42 2013 +0200

    [metadata.musicvideos.theaudiodb.com] updated to version 1.2.0

diff --git a/metadata.musicvideos.theaudiodb.com/addon.xml 
b/metadata.musicvideos.theaudiodb.com/addon.xml
index 5edaa71..2be0316 100644
--- a/metadata.musicvideos.theaudiodb.com/addon.xml
+++ b/metadata.musicvideos.theaudiodb.com/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="metadata.musicvideos.theaudiodb.com"
        name="TheAudioDb.com for Music Videos"
-       version="1.1.1"
+       version="1.2.0"
        provider-name="Team XBMC">
   <requires>
     <import addon="xbmc.metadata" version="2.1.0"/>
diff --git a/metadata.musicvideos.theaudiodb.com/changelog.txt 
b/metadata.musicvideos.theaudiodb.com/changelog.txt
index 5f92475..94afc31 100644
--- a/metadata.musicvideos.theaudiodb.com/changelog.txt
+++ b/metadata.musicvideos.theaudiodb.com/changelog.txt
@@ -1,3 +1,7 @@
+[B]1.2.0[/B]
+- Added: NfoURL function
+- Added: Album thumbs from theaudiodb.com
+
 [B]1.1.1[/B]
 - Fixed Workaround: Scraper won't return 'Unable to Connect to Remote Server' 
in case of year is available from the folder/file name
 
diff --git 
a/metadata.musicvideos.theaudiodb.com/resources/language/English/strings.xml 
b/metadata.musicvideos.theaudiodb.com/resources/language/English/strings.xml
index 8b5221e..c581ca4 100644
--- a/metadata.musicvideos.theaudiodb.com/resources/language/English/strings.xml
+++ b/metadata.musicvideos.theaudiodb.com/resources/language/English/strings.xml
@@ -5,4 +5,5 @@
 
 <strings>
     <string id="30000">Grab album thumbs from fanart.tv</string>
+    <string id="30001">Grab album thumbs from theaudiodb.com</string>
 </strings>
diff --git a/metadata.musicvideos.theaudiodb.com/resources/settings.xml 
b/metadata.musicvideos.theaudiodb.com/resources/settings.xml
index 19c84c2..fa23fe0 100644
--- a/metadata.musicvideos.theaudiodb.com/resources/settings.xml
+++ b/metadata.musicvideos.theaudiodb.com/resources/settings.xml
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>

-<settings>

-      <setting label="30000" type="bool" id="fanarttvalbumthumbs" 
default="true"/>

-</settings>

+<?xml version="1.0" encoding="UTF-8"?>
+<settings>
+      <setting label="30001" type="bool" id="tadbalbumthumbs" default="true"/>
+      <setting label="30000" type="bool" id="fanarttvalbumthumbs" 
default="false"/>
+</settings>
diff --git a/metadata.musicvideos.theaudiodb.com/tadb.xml 
b/metadata.musicvideos.theaudiodb.com/tadb.xml
index 80318f0..eaca1fb 100644
--- a/metadata.musicvideos.theaudiodb.com/tadb.xml
+++ b/metadata.musicvideos.theaudiodb.com/tadb.xml
@@ -1,5 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <scraper framework="1.1" date="2013-04-03">
+       <NfoUrl dest="3">
+               <RegExp input="$$1" 
output="&lt;url&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/track.php?h=\1&lt;/url&gt;";
 dest="3">
+                       
<expression>http://www.theaudiodb.com/track/(.+)</expression>
+               </RegExp>
+       </NfoUrl>
        <CreateSearchUrl dest="3">
                <RegExp input="$$5" output="\1" dest="3">
                        <RegExp input="$$1" 
output="&lt;url&gt;http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/searchtrack.php?s=\1&amp;amp;t=\2&lt;/url&gt;";
 dest="6">
@@ -51,6 +56,9 @@
                        <RegExp input="$$1" output="&lt;chain 
function=&quot;GetTADBAlbumDateByMBID&quot;&gt;\1&lt;/chain&gt;" dest="5+">
                                <expression fixchars="1" 
noclean="1">strMusicBrainzAlbumID&quot;:&quot;([^&quot;]*)&quot;</expression>
                        </RegExp>
+                       <RegExp conditional="tadbalbumthumbs" input="$$1" 
output="&lt;chain 
function=&quot;GetTADBAlbumThumbsByMBID&quot;&gt;\1&lt;/chain&gt;" dest="5+">
+                               <expression fixchars="1" 
noclean="1">strMusicBrainzAlbumID&quot;:&quot;([^&quot;]*)&quot;</expression>
+                       </RegExp>
                        <RegExp conditional="fanarttvalbumthumbs" input="$$1" 
output="&lt;chain 
function=&quot;GetFanartTvAlbumThumbsByMBID&quot;&gt;\1&lt;/chain&gt;" 
dest="5+">
                                <expression fixchars="1" 
noclean="1">strMusicBrainzAlbumID&quot;:&quot;([^&quot;]*)&quot;</expression>
                        </RegExp>

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

Summary of changes:
 metadata.musicvideos.theaudiodb.com/addon.xml      |    2 +-
 metadata.musicvideos.theaudiodb.com/changelog.txt  |    4 ++++
 .../resources/language/English/strings.xml         |    1 +
 .../resources/settings.xml                         |    9 +++++----
 metadata.musicvideos.theaudiodb.com/tadb.xml       |    8 ++++++++
 5 files changed, 19 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
Scrapers

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Xbmc-addons mailing list
Xbmc-addons@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to