Skip to content
This repository has been archived by the owner on Apr 15, 2023. It is now read-only.

Commit

Permalink
sync with scrapers git
Browse files Browse the repository at this point in the history
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/Dharma@34693 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
  • Loading branch information
nadasb committed Oct 11, 2010
1 parent cdb3cd1 commit af1ff21
Show file tree
Hide file tree
Showing 17 changed files with 300 additions and 29 deletions.
6 changes: 3 additions & 3 deletions addons/metadata.albums.allmusic.com/addon.xml
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="metadata.albums.allmusic.com"
name="AllMusic"
version="1.0.8"
version="1.0.10"
provider-name="Team XBMC">
<requires>
<import addon="xbmc.metadata" version="1.0"/>
<import addon="metadata.common.last.fm" version="1.0"/>
<import addon="metadata.common.allmusic.com" version="1.0"/>
<import addon="metadata.common.htbackdrops.com" version="1.0"/>
<import addon="metadata.common.allmusic.com" version="1.0.3"/>
<import addon="metadata.common.htbackdrops.com" version="1.0.7"/>
</requires>
<extension point="xbmc.metadata.scraper.albums"
language="en"
Expand Down
9 changes: 6 additions & 3 deletions addons/metadata.albums.allmusic.com/allmusic.xml
Expand Up @@ -16,10 +16,13 @@
<expression repeat="yes" noclean="1">&lt;TITLE&gt;allmusic[ (]+ ([^&gt;]*) &gt; Overview</expression>
</RegExp>
<RegExp input="$$1" output="&lt;entity&gt;&lt;year&gt;\1&lt;/year&gt;&lt;artist&gt;\2&lt;/artist&gt;&lt;title&gt;\4&lt;/title&gt;&lt;url cache=&quot;am-\2-\4-album.html&quot;&gt;http://www.allmusic.com/cg/amg.dll?p=amg&amp;amp;SQL=\3&lt;/url&gt;&lt;/entity&gt;" dest="5+">
<expression repeat="yes" noclean="1,2,3">&gt;([0-9]+)&lt;/.*?&gt;([a-zA-Z0-9].*?)&lt;.*?sql=([0-9:a-z]*)&quot;&gt;(.*?)&lt;.</expression>
<expression repeat="yes" noclean="1,2,3">&gt;([0-9]+)?[^&gt;]*&gt;[^&gt;]*&gt;([^&lt;]*)&lt;/TD&gt;&lt;td class="cell-img.*?sql=([0-9:a-z]*)"&gt;(.*?)&lt;.</expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
<RegExp input="$$1" output="&lt;entity&gt;&lt;year&gt;\1&lt;/year&gt;&lt;artist&gt;\2&lt;/artist&gt;&lt;title&gt;\4&lt;/title&gt;&lt;url cache=&quot;am-\2-\4-album.html&quot;&gt;http://www.allmusic.com/cg/amg.dll?p=amg&amp;amp;SQL=\3&lt;/url&gt;&lt;/entity&gt;" dest="5+">
<expression repeat="yes" noclean="1,2,3">&gt;([0-9]+)?&lt;/.*?&gt;([a-zA-Z0-9].*?)&lt;.*?sql=([0-9:a-z]*)"&gt;(.*?)&lt;.</expression>
</RegExp>
<expression noclean="1" />
</RegExp>
</GetAlbumSearchResults>
<GetAlbumDetails dest="3">
<RegExp input="$$5" output="&lt;details&gt;\1&lt;/details&gt;" dest="3">
Expand Down
12 changes: 6 additions & 6 deletions addons/metadata.artists.allmusic.com/addon.xml
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="metadata.artists.allmusic.com"
name="AllMusic"
version="1.0.7"
version="1.0.8"
provider-name="Team XBMC">
<requires>
<import addon="xbmc.metadata" version="1.0"/>
<import addon="metadata.common.last.fm" version="1.0"/>
<import addon="metadata.common.allmusic.com" version="1.0"/>
<import addon="metadata.common.htbackdrops.com" version="1.0.5"/>
<import addon="metadata.common.htbackdrops.com" version="1.0.7"/>
</requires>
<extension point="xbmc.metadata.scraper.artists"
language="en"
library="allmusic.xml"/>
<extension point="xbmc.addon.metadata">
<summary lang="en">AllMusic artist information</summary>
<summary lang="en">AllMusic artist information + HTBackdrops artist images</summary>
<summary lang="de">Scraper für Künstler-Informationen von AllMusic.com</summary>
<summary lang="es">Descarga información de Artistas de AllMusic</summary>
<summary lang="fr">Scraper d'artistes musicaux AllMusic</summary>
Expand All @@ -24,9 +24,9 @@
<summary lang="ru">Информация об исполнителе из AllMusic</summary>
<summary lang="zh">AllMusic艺术家信息</summary>
<description lang="en">Use AllMusic.com to fill your libray metadata information.
The allmusic website was created in 1995 as a place for music fans to indulge their passion.
The AMG editorial staff, along with hundreds of expert contributors (all music fanatics in their own right), has made allmusic the most comprehensive music reference source on the planet. They are all dedicated to creating and maintaining the knowledgeable, spirited content that music lovers and industry professionals have come to expect from AMG.
All genres and styles of music are covered here, ranging from the most commercially popular to the most obscure. We critique albums and artists within the context of their own genres - from opera to garage rock to traditional country. This ensures that fans of any style of music can depend on us to keep them up-to-date with their favorite artists as well as introduce them to new sounds.</description>
The allmusic website was created in 1995 as a place for music fans to indulge their passion. All genres and styles of music are covered here, ranging from the most commercially popular to the most obscure. We critique albums and artists within the context of their own genres - from opera to garage rock to traditional country.

Home Theater Backdrops (HTBackdrops.com) is a community driven image database for high quality artist images like thumbs and fanarts. All images have been created or sourced by its members. Please consider uploading your own images of your favorite musician.</description>
<description lang="de">Benutze den AllMusic.com-Scraper um deine Musik-Bibliothek mit Metadaten zu füllen.
AllMusic.com wurde 1995 gegründet, um Musikliebhabern einen Platz zu geben, Ihre Leidenschaft auszuleben.
Die AMG Redaktion, zusammen mit hunderten Experten (alles Fachmänner auf Ihrem Gebiet) als Beitragende, machte AllMusic.com zur umfangreichsten Quelle für Musikinformationen auf dem Planeten. Sie sind alle engagiert, um den lebhaften Inhalt, welcher von Musikliebhabern und der Musikindustrie von AMG erwartet wird, zu Erstellen und Pflegen.
Expand Down
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<strings>
<string id="30000">Enable Fanart</string>
<string id="30000">Download Fanarts from HTBackdrops.com</string>
<string id="30001">Grab artist thumbs from Allmusic.com</string>
<string id="30002">Grab artist thumbs from Last.fm</string>
<string id="30003">Grab artist thumbs from HTBackdrops</string>
<string id="30003">Grab artist thumbs from HTBackdrops.com</string>
</strings>
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<strings>
<string id="30000">Fanartképek engedélyezése</string>
<string id="30000">Fanartképek letöltése a HTBackdrops.com-ról</string>
<string id="30001">Előadó bélyegkép letöltése az Allmusic.com-ról</string>
<string id="30002">Előadó bélyegkép letöltése a Last.fm-ről</string>
<string id="30003">Előadó bélyegkép letöltése a HTBackdrops-ról</string>
<string id="30003">Előadó bélyegkép letöltése a HTBackdrops.com-ról</string>
</strings>
29 changes: 29 additions & 0 deletions addons/metadata.common.imdb.com/addon.xml
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="metadata.common.imdb.com"
name="IMDB common scraper functions"
version="2.0.5"
provider-name="Team XBMC">
<requires>
<import addon="xbmc.metadata" version="1.0"/>
</requires>
<extension point="xbmc.metadata.scraper.library"
library="imdb.xml"/>
<extension point="xbmc.addon.metadata">
<platform>all</platform>
<minversion>20000</minversion>
<summary lang="en">IMDB Scraper Library</summary>
<summary lang="hu">IMDB leolvasó-könyvtár</summary>
<summary lang="kr">IMDB 스크래퍼 라이브러리</summary>
<summary lang="nl">IMDB Scraper Bibliotheek</summary>
<summary lang="pl">Scraper IMDb</summary>
<summary lang="pt">Scraper de filmes IMDb</summary>
<summary lang="se">IMDB Skrapbibliotek</summary>
<description lang="en">Download Movie information from www.imdb.com</description>
<description lang="hu">Film információk letöltése a www.imdb.com webhelyről</description>
<description lang="kr">www.imdb.com 에서 영화 정보 다운로드</description>
<description lang="nl">Download film informatie van www.imdb.com</description>
<description lang="pl">Pobieraj informacje o filmach z www.imdb.com</description>
<description lang="pt">Descarregar informação de filmes de www.imdb.com</description>
<description lang="se">Ladda ner filminformation från www.imdb.com</description>
</extension>
</addon>
20 changes: 20 additions & 0 deletions addons/metadata.common.imdb.com/changelog.txt
@@ -0,0 +1,20 @@
[B]2.0.5[/B]
- changed: move scraping of IMDb rating out to IMDb scraper library

[B]2.0.4[/B]
- reverted: purge fixchars from all functions, since it cause convert fails on Beta2 and Linux

[B]2.0.3[/B]
- reverted: fixchars removed from cast parsing, leads to Dharma Beta2 hanging, will be added back once next Beta is out

[B]2.0.2[/B]
- fixed: some more cast won't get scraped under certain circumtances

[B]2.0.1[/B]
- fixed: cast won't get scraped under certain circumtances

[B]2.0.0[/B]
- changed: adapted new IMDb layout

[B]1.0.5[/B]
- fixed: tack /combined onto the end of the url to work around the new layout of IMDb

0 comments on commit af1ff21

Please sign in to comment.