# \[WS\] Discogs (pone mod)

**URL:** https://community.mp3tag.de/t/ws-discogs-pone-mod/9226
**Category:** Broken Web Sources
**Created:** [October 29, 2009, 3:18am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226 "2009-10-29T03:18:24Z")
**Posts on this page:** 1
**Showing post:** 69

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [April 7, 2011, 11:32pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/69 "2011-04-07T23:32:45Z")

</div>

> [@chodor](#):
>
> First of all - thanks so much for the script - it seems it's the only working Mp3tag Discogs script right now. Much appreciated!
> 
> As to the feedback there seems to be a small bug on Windows 7 (newest Mp3tag version) - the action "Create Scripts" instead of pasting the new script files in proper folders creates new folder "$getenv(appdata)/Mp3tag/..." - I just pasted the files into proper folder- no problem for me 😉
> 
> BTW I was wondering - are you using the Discogs API in your scripts? Or are you just parsing HTML files?

That "bug" depends not on the Windows version but on the Mp3tag version. I think with newest version you mean 2.48. But there is a newer development build 2.48b:  
[Mp3tag Development Build Status](https://community.mp3tag.de/t/455/1)  
I was a bit quick to use the new scripting funtion $getenv() there, which gives you automatically the right program folder with $getenv(appdata)/Mp3tag/ (in fact, this new function brought me to the idea to make the web scripts out of export scripts).  
When you have a older version, the scripting function is not recognized and you get a new folder as you describe.

I parse the HTML files with my script. API is used only be some of the search modes. Maybe I should switch to API completly, that would more stable. But I would have to set them up completly new. But I was already thinking about switching to API this time when discogs changed their script. I've had to change so much things with this freaky html code, maybe it would have been easier to switch to the clear structure of the API sites.

---

_[View the full topic](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226)._
