Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with importing drumkit (1/2) #298

Closed
trebmuh opened this issue Sep 18, 2015 · 15 comments
Closed

Issue with importing drumkit (1/2) #298

trebmuh opened this issue Sep 18, 2015 · 15 comments
Milestone

Comments

@trebmuh
Copy link
Member

trebmuh commented Sep 18, 2015

I've been downloading all the drumkits available today and found out 2 issues. This is the first one. (Debian 8 Jessie updated - Hydrogen from eed4d32 )

Some of the drumkits are downloaded and working when playing with, but they still appear not installed.
hydrogen bug drumkit 1

This is the case for the following drumkits: “Death Metal”, “Boss DR-110 (sf)”, “circAfrique v4”, “BJA_Pacific”, “rumpf_kit_z01_gm”, “belofilm.com - AC-Guitar-Strums (flac)” and “Denon CRB-90”

@thijz
Copy link
Member

thijz commented Sep 21, 2015

related to #269 ?

@thijz thijz added the bug label Sep 21, 2015
@thijz thijz added this to the 0.9.7 milestone Sep 21, 2015
@thijz
Copy link
Member

thijz commented Sep 21, 2015

i can reproduce this with todays code (ad9dfa9)
drumkit circAfrique is installed but status stays 'new'
removing the drumkit and reinstalling does not help

@trebmuh
Copy link
Member Author

trebmuh commented Sep 22, 2015

Hi @thijz , did you try with the other drumkits I mentioned above as well ? ( “Death Metal”, “Boss DR-110 (sf)”, “circAfrique v4”, “BJA_Pacific”, “rumpf_kit_z01_gm”, “belofilm.com - AC-Guitar-Strums (flac)” and “Denon CRB-90” )
Just trying to have a consistent report here.

@mauser
Copy link
Member

mauser commented Sep 22, 2015

Hi,

this is an old issue and has to do with the packaging of the drumkits. The name of the folder in the package has to match the name of the drumkit - otherwise hydrogen is not able to check if the kit is already installed. Those drumkits need to be edited and re-uploaded. And i'm not sure if the blanks in the filename are working..

@trebmuh
Copy link
Member Author

trebmuh commented Sep 23, 2015

Trying helping going further here, this is a list of the incriminated drumkits name (as given in the "Import" windows in Hydrogen), their folder name and a comment note

kit name folder name comment
DeathMetal (sf) DeathMetal/ missing "(sf)" characters
Boss DR-110 (sf) Boss DR-110/ missing "(sf)" characters
circAfrique v4 circAfrique v4/ I cant' see any difference here
BJA_Pacific BJA_Pacific/ I cant' see any difference here
rumpf_kit_z01_gm rumpf_kit_z01_h2/ difference between "gm" and "h2"
belofilms.com - AC-Guitar-Strums (flac) belofilms.com - AC-Guitar-Strums (flac)/ I can't see any difference here
Denon CRB-90 Denon CRB-90/ I can't see any difference here

@mauser :

  1. could you please suggest a way for me to help debugging further ?
  2. thinking more on a long term way, wouldn't it be a good idea to "enforce" (in a coding way) the kit name and the folder name to be the same if a mismatch between those two would be the cause for some failing ?
  3. on the same wave, if including a blank-space in the name and/or the folder of the kit would be likely to be error-prone, would there is a way way to "enforce" not using it ?

@thijz
Copy link
Member

thijz commented Sep 24, 2015

+1 for enforcing kit name = folder name

@mauser
Copy link
Member

mauser commented Sep 24, 2015

About BJA_Pacific and circAfrique v4: the path which is listed in the drumkits_list.php is wrong (http://sourceforge.net/projects/hydrogen/files/Sound%20Libraries/Main%20sound%20libraries/BJA_Pacific.h2drumkit/download), it should not have the /download extension since we analyse the URL to retrieve the drumkit name.

@trebmuh
Copy link
Member Author

trebmuh commented Sep 24, 2015

I had a look at that and I came to the conclusion that http://hydrogen-music.org/feeds/drumkit_list.php is somehow hand-written and would need someone with write-access to hydrogen-music.com to achieve the changes. I'm not sure who is the boss (or who are the bosses) for this. Please, denounce yourself and/or others :)

@mauser
Copy link
Member

mauser commented Sep 25, 2015

Hi!

I have access to the server and i'm already working on the fixes..

@trebmuh
Copy link
Member Author

trebmuh commented Sep 25, 2015

Awesome, thanks for that @mauser
Let me know when you're done with that and I can test from here.

@trebmuh
Copy link
Member Author

trebmuh commented Sep 25, 2015

BJA_Pacific is correctly reporting itself as "installed" now. Thanks mauser 😎

@trebmuh
Copy link
Member Author

trebmuh commented Oct 22, 2015

Any way I could be of any help improving the situation here ?

@pvint
Copy link
Contributor

pvint commented Nov 17, 2015

There's been some discussion of this over on issue issue 212 about this... I had set up a temp drumkit server and repackaged some of the kits so that the .h2drumkit names matched the directory names inside the tarball, and we ran into some issues when a kit is installed and the updated version gets installed, either the kit is listed twice or there are file collisions and errors.

A way to avoid this for users might simply to give the new package a new unique name (and matching directory name). On that note I was thiking that maybe the Export function should sanitize the name (convert spaces to underscore and removing special chars like "&*()" etc).

I'll volunteer to take this if you want.

@mauser mauser modified the milestones: 0.9.7, 1.0 Nov 6, 2016
@mauser
Copy link
Member

mauser commented Jan 5, 2017

Hi,

i've spend some time this week on editing our drumkits list, fixing url's and repairing drumkit names, mostly for the kits from the drumkit contest. Now all kits should show up as "installed" after downloading them... As paul already stated, it might be that some drumkits are now showing up two times in your local soundlibrary (not in the soundlibrary import dialog). If i remember correctly, then this will be only the case for the belofilms guitar strums kit.

@mauser mauser closed this as completed Jan 5, 2017
@trebmuh
Copy link
Member Author

trebmuh commented Feb 27, 2017

Hi @mauser and thanks for that. I can confirm that now, only the "belofilms" drumkit is downloaded but it still show "new" (and not "installed").

There are a few drumkits that are unable to be installed:

hydro-denoncrb90
hydro-rumpfkitz01gm
hydro-circafriquev4
hydro-k27trashkit
hydro-deathmetal

Hope that helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants