# \[X\] Web Sources Framework bug

**URL:** https://community.mp3tag.de/t/x-web-sources-framework-bug/3628
**Category:** No Bugs
**Created:** [August 7, 2006, 4:14pm UTC](https://community.mp3tag.de/t/x-web-sources-framework-bug/3628 "2006-08-07T16:14:24Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![willmcelwain](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/w/3e96dc/32.png) [@willmcelwain](https://community.mp3tag.de/u/willmcelwain)
#### Post date: [August 7, 2006, 4:14pm UTC](https://community.mp3tag.de/t/x-web-sources-framework-bug/3628/1 "2006-08-07T16:14:24Z")

</div>

In the latest build (2.36d), I ran into a problem trying to jump to a line that is empty. I was working on updating the musicbrainz script (attached), and in the debug output, it looks as though the parser stops (with an error) when you try to do a gotoline or moveline to an empty (blank) line in the html. This error should be reproduceable with the attached script, but you can also try inserting a "gotoline 1" somewhere and it should produce the error since the first line of a musicbrainz page's html is blank. Let me know if you need any more info or if you can't reproduce the bug. Thanks!

-Will

(Editted to add my debug output)

[musicbrainz.src](https://community.mp3tag.de/uploads/default/original/2X/d/d57e75bd2141546362e6bfe61ddb410f89a1b4f6.src) (2.92 KB)

[debug\_MusicBrainz.html](https://community.mp3tag.de/uploads/default/original/2X/9/9353f070294d0aaf4641480f0c23f60ce08eca7c.html) (142 KB)

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [August 7, 2006, 4:52pm UTC](https://community.mp3tag.de/t/x-web-sources-framework-bug/3628/2 "2006-08-07T16:52:57Z")

</div>

moveline/find(in)line can have 1 as second parameter to prevent this, e.g. moveline 2 1  
gotoline doesn't seem to have this.

---

<div class="post-metadata">

### Author: ![willmcelwain](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/w/3e96dc/32.png) [@willmcelwain](https://community.mp3tag.de/u/willmcelwain)
#### Post date: [August 7, 2006, 6:21pm UTC](https://community.mp3tag.de/t/x-web-sources-framework-bug/3628/3 "2006-08-07T18:21:45Z")

</div>

Thanks, I got the musicbrainz parser to work correctly again.

[musicbrainz.src](https://community.mp3tag.de/uploads/default/original/2X/1/1e3930dc2687e165097894198b3f53f729302905.src) (2.82 KB)

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [August 7, 2006, 7:03pm UTC](https://community.mp3tag.de/t/x-web-sources-framework-bug/3628/4 "2006-08-07T19:03:52Z")

</div>

Thanks. I've added your script to the archive, but I also changed the index code to return score, year and type info.

---

<div class="post-metadata">

### Author: ![willmcelwain](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/w/3e96dc/32.png) [@willmcelwain](https://community.mp3tag.de/u/willmcelwain)
#### Post date: [August 8, 2006, 5:16am UTC](https://community.mp3tag.de/t/x-web-sources-framework-bug/3628/5 "2006-08-08T05:16:43Z")

</div>

Awesome! That helps a lot.

Another thing I've noticed is that the second web framework window (that lists the tracks from an album) sometimes times out, and it'd be nice to maybe have a retry button there too, just like the first dialog has when it times out.

---

<div class="post-metadata">

### Author: ![willmcelwain](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/w/3e96dc/32.png) [@willmcelwain](https://community.mp3tag.de/u/willmcelwain)
#### Post date: [September 10, 2006, 11:17pm UTC](https://community.mp3tag.de/t/x-web-sources-framework-bug/3628/6 "2006-09-10T23:17:23Z")

</div>

After more testing of the new musicbrainz script, I found that it grabs extra info in the track field (besides just the track name) for certain albums, so I've fixed that in this latest update. Can someone please update the Web Sources Archive? Thanks!

[musicbrainz.src](https://community.mp3tag.de/uploads/default/original/2X/b/bbe04470d0f45c427eda80112583e67213fb1aeb.src) (3.22 KB)

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [September 11, 2006, 11:32am UTC](https://community.mp3tag.de/t/x-web-sources-framework-bug/3628/7 "2006-09-11T11:32:33Z")

</div>

Thanks & uploaded.  
Please also download the script since yours didn't have [Encoding]=utf-8

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [December 28, 2018, 2:17pm UTC](https://community.mp3tag.de/t/x-web-sources-framework-bug/3628/8 "2018-12-28T14:17:07Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
