Jump to content
LaunchBox Community Forums

Launchbox Database editing bug?


Z3R0B4NG

Recommended Posts

This is the third time i noticed this...  

i try to delete an alternate name (in this case i added it myself and it was an error, of course i cant cancel my own submissions when i notice i F'd up... ).  
i imagine the moderators laugh their asses off at my reason why i delete it and they wink it through, next day the thing says ACCEPTED... yet the alternate name i just deleted is still there?  

This happens every time i try to delete an alternate name.  
Also changing the main Name if there is a minor spelling error does the same thing,
especially one where there are 2 spaces instead of just one, i edit remove one space and submit, it goes through i check back the next day and it did not change.  

Either this is a bug in the website or i'm doing something wrong?

 

LBDB BUG.jpg

Link to comment
Share on other sites

On 2/14/2020 at 8:20 PM, LordEvyl said:

I noticed similar "bug" whenever I delete duplicate images. Sometimes even if the duple is accepted to be deleted, I have to delete it again, because the dupe is still there

Will review this as well when I review the above.

4 hours ago, jacobsson said:

Hi. Do you know why the databaseid are different between https://gamesdb.launchbox-app.com/ and what you get from the downloadable archive provided http://gamesdb.launchbox-app.com/Metadata.zip?
 

It's ultimately a relic from the data from thegamesdb.net. There's both an old ID for thegamesdb.net and a new ID.

Link to comment
Share on other sites

20 hours ago, Jason Carr said:

Will review this as well when I review the above.

It's ultimately a relic from the data from thegamesdb.net. There's both an old ID for thegamesdb.net and a new ID.

Hi Jason. Thank you for the reply. If you don't mind me asking, how do I go about looking up a "relic id" on the website (maybe I missed some kind of mapping db between these)?
Thank you!

Edited by jacobsson
Link to comment
Share on other sites

11 hours ago, jacobsson said:

Hi Jason. Thank you for the reply. If you don't mind me asking, how do I go about looking up a "relic id" on the website (maybe I missed some kind of mapping db between these)?
Thank you!

Unfortunately it may not be available currently. I know we have a disconnect there, and I do need to provide a way around that. What's your use case?

Link to comment
Share on other sites

 

14 hours ago, Jason Carr said:

Unfortunately it may not be available currently. I know we have a disconnect there, and I do need to provide a way around that. What's your use case?

Hi Jason
I'm currently building a PS3 PKG-maker-inteface in python for creating PSP/PSX/PS2 ISO-file shortcuts to the XMB menu of the PS3.

Anyway, when these installments show on the main menu/XMB I want to to include the meta-data of the game, and some game art. Since I have a life-time license for this superb software I thought "hey, why can't I use the metadata launchbox use!", so I looked into the 200MB metadata.xml.

I think that your metadata seem really nicely structured compared many others I looked at and I'd love to integrate with it. Problem is that I can't really use the DatabaseIds from the xml to construct the image-links since the IDs doesn't match the website.

Suggestion (I totally understand if this is too much work):
A) I guess The metadata.xml's "Game"-element would need an additional field like "LaunchBoxId" that corresponds to the website.
or B) A separate metadata dump could be done purely based on the website

This is my project if someone is interested.

Jason, I do appreciate you taking your time responding, thanks mate!

Edited by jacobsson
Link to comment
Share on other sites

9 hours ago, jacobsson said:

 

Hi Jason
I'm currently building a PS3 PKG-maker-inteface in python for creating PSP/PSX/PS2 ISO-file shortcuts to the XMB menu of the PS3.

Anyway, when these installments show on the main menu/XMB I want to to include the meta-data of the game, and some game art. Since I have a life-time license for this superb software I thought "hey, why can't I use the metadata launchbox use!", so I looked into the 200MB metadata.xml.

I think that your metadata seem really nicely structured compared many others I looked at and I'd love to integrate with it. Problem is that I can't really use the DatabaseIds from the xml to construct the image-links since the IDs doesn't match the website.

Suggestion (I totally understand if this is too much work):
A) I guess The metadata.xml's "Game"-element would need an additional field like "LaunchBoxId" that corresponds to the website.
or B) A separate metadata dump could be done purely based on the website

This is my project if someone is interested.

Jason, I do appreciate you taking your time responding, thanks mate!

You can get the image URLs straight out of the XML itself, so you shouldn't need the other ID for that. Look at the GameImage objects in the XML. They match up to the DatabaseID of the game, which is also in the XML. You can just use the file name to construct the URL.

Link to comment
Share on other sites

14 hours ago, Jason Carr said:

You can get the image URLs straight out of the XML itself, so you shouldn't need the other ID for that. Look at the GameImage objects in the XML. They match up to the DatabaseID of the game, which is also in the XML. You can just use the file name to construct the URL.

So it turns out that I'm a bit of an idiot, I didn't realize the images used base url, eg: "https://gamesdb.launchbox-app.com/games/images/image_example.jpg" (not constructed with database id). I'm sorry for bothering you with this, thanks for your help ?

Edited by jacobsson
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...