Closed ProcessReliability closed 5 years ago
I'm having the exact same issue. So far I haven't seen any solution yet. This is how it looks like: https://ibb.co/234KvLG https://ibb.co/42M734Q
Tasks:
@ProcessReliability @Reznorio, couldn't you just insert the USB drive into a computer and manually delete the empty folders?
No, because the items that show up are database-backed, not derived from folders.
@GMMan, ah, gotcha.
@BL4Z3D247 Can't speak for the OP, but I already tried that and it didn't work.
@Reznorio, try this:
(Not sure if it would work but this is what I'd try.)
I went back and rebuilt the database with a fresh 1.0.1 install, being careful where I clicked. Looks like @GMMan has it on the dev list so I'm closing the issue.
Here is a verified work-around. Note: You'll need to pop into your browser's inspector and run some Javascript.
First, in the BleemSync website UI select the blank folder in the tree view. Right click on it and go to "Inspect" (in Google Chrome). This will open the document inspector at that element in the HTML. You'll have selected an <a>
tag inside of an <li>
tag. The <a>
tag will have an id = "{number}_anchor" such as id="8_anchor" and the parent <li>
element will have id="{number}" (such as id="8"). This number (8 in my example) is the reference ID for the game in the BleemSync database.
Next, go to your browser's Javascript console and run this command, substituting {number} for the number you found in step 1.
$.getJSON('/Games/GetById/{number}', (data) => {data.Name = 'Empty folder'; gameManager._editGameForm.show().setViewModel(data); gameManager._editGameForm.find('.cover-preview').attr('src', '');})
All this does is work around the Javascript error that occurs when trying to load a game with no information. I make the name display as "Empty folder" and hide the cover preview so that you are confident that you aren't deleting an existing game.
Finally, click Delete Game as normal.
If there isn't already a fix, I'll submit a pull request for the fix.
Changing line 143 of game-manager.js to this works:
if (data.ReleaseDate !== null) {
data.ReleaseDate = data.ReleaseDate.split('T')[0];
}
Sigismond0 posted the solution and it's very effective if you have blank game folders in bleemsyncui. It enables you to change anything using the bleemsyncui.com game manager. Thank you sigismond0!
Two blank folders appear in Game Manager, not assigned to any title. I did this by pressing "Add Game" without adding any files (my mistake). They create empty spaces in the carousel. Is there a way to remove these without messing everything up? See image for what I'm talking about - selecting the blank folders does not provide an option to delete like it does when a game is attached.