hey,
i did for myself hybrid english\polish scraper
mostly i use code from xbmc existing scrapers
allmusic - for generic info [english] - thx spiff
merlin.pl - for album review [polish]
lastfm - for artist biography [polish] - thx spiff
http://smuto.w.interia.pl/allmusic_merlin_lastfm.xml
smuto
smuto
Senior Member Posts: 240 Joined: Sep 2004 Reputation: 2 |
2009-04-22 11:32
Post: #1
![]() |
| find quote |
spiff
Grumpy Bastard Developer Joined: Nov 2003 Reputation: 82 |
2009-04-22 11:40
Post: #2
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |
smuto
Senior Member Posts: 240 Joined: Sep 2004 Reputation: 2 |
2010-03-18 15:34
Post: #3
hey again
next custom polish music scraper http://smuto.w.interia.pl/xbmcpicard.xml album search - musicbrainz.org album review - merlin.pl album generic info - allmusic.com artist search - lastfm artist discography - musicbrainz.org artist biography - lastfm artist generic info - allmusic.com diacritics replace for allmusic search by my own php tool smuto ![]() |
| find quote |
smuto
Senior Member Posts: 240 Joined: Sep 2004 Reputation: 2 |
2010-03-30 14:46
Post: #4
i need to ask
is xbmc supports MBID when scrobbling a song? mayby we can add MBID to the buffers passed to scrapers? CreateAlbumSearchUrl: $$1 = album title, $$2 = artist title, $$3 = album mbid CreateArtistSearchUrl: $$1 = artist title, $$2 = artist mbid take a look http://musicbrainz.org/ws/1/artist/$...#36;$1 and now my problem artist = "The The" with empty mbid http://musicbrainz.org/ws/1/artist/?type...me=The+The or with http://musicbrainz.org/ws/1/artist/a7409...me=The+The and no more problems with auto scan smuto ![]() |
| find quote |
spiff
Grumpy Bastard Developer Joined: Nov 2003 Reputation: 82 |
2010-03-30 14:54
Post: #5
good idea. we do extract them so they should be passable. trac it please.
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |
smuto
Senior Member Posts: 240 Joined: Sep 2004 Reputation: 2 |
2010-04-09 12:43
Post: #6
more questions
![]() Is there a way to fill tracks info <track><position>\1</position><title>\2</title><duration>\3</duration></track> from this xml http://musicbrainz.org/ws/1/release/f2b8...ase-events position - mayby repeat index duration - milisecends for now i open a new html page allmusic scraper common requests whether we can move a tracks info from ParseAMGAlbum to GetAMGReview? smuto ![]() |
| find quote |
spiff
Grumpy Bastard Developer Joined: Nov 2003 Reputation: 82 |
2010-04-12 10:28
Post: #7
tricky to get sane info from that page. you can most definitely split parseamgalbum if you find it advantageous.
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |
bambi73
Senior Member Posts: 165 Joined: Jan 2010 Reputation: 0 Location: Czech Republic |
2010-04-12 14:25
Post: #8
If you are still looking for loading track infos from xml, you can try using something like:
!!! WARNING !!! I wrote this without much knowledge about your scraper (only checked it briefly) and without any testing in XBMC, so i guess there are some errors, but in theory it should work (i used similar constructions in my scraper) ![]() Code: <xxxxxxx clearbuffers="no" .....>But i'm not sure if you can call it "sane"
|
| find quote |
smuto
Senior Member Posts: 240 Joined: Sep 2004 Reputation: 2 |
2010-04-12 16:08
Post: #9
"sane" is position & duration
position is just tricky, but i also need change format of duration from <duration>246826</duration> to <duration>4:07</duration> thx for your help ![]() |
| find quote |
spiff
Grumpy Bastard Developer Joined: Nov 2003 Reputation: 82 |
2010-04-12 16:10
Post: #10
it would need code support to allow something ala <duration format=".."></duration>
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |

![[Image: 1.png]](http://www.denness.net/scrobblersig/username/smuto/labelcolor/5176B5/trackcolor/3A4F6C/backgroundcolor/FFFFFF/backgroundtransparent/1.png)


Search
Help