-
Notifications
You must be signed in to change notification settings - Fork 7
Imgur/image links are arent opened #48
Comments
noticed, there's a problem with handling strings after the #47 update, will fix soon
|
There should be a modern and better way to prevent this from happening: version controls, CI, unit tests, etc. There are so many things updated and changed during this 5 years. And many things deprecated such as Java 8, JavaFX is gone to be OpenJavaFX etc. This software uses Java, which is not good at all in terms of performance and regular activation of the application. But rewriting this software into another language would be a hassle to me and I cannot get any advantages from it because I have stopped playing this game for so long. I understand there's still a number of people using this software and it stopped working since the last changes to the osu! website. But I am starting to have a hard time maintaining this application. I might write more about this in the ReadMe or a pinned issue soon to let people understand my situation right now. |
Also, https://osu.ppy.sh/users/4304441 doesn't get opened in browser. Ahh okey. but isn't it just a regex that checks the url if it is a valid beatmap link and if not then redirect this url to the browser? |
the changes from the last update causes an error that breaks everything when a single URL gets processed. Everything including but not limited to |
I just looked into your checkVaildBeatmapUrl function. I don't know all url's but aren't now all beatmap url's like "https://osu.ppy.sh/beatmapsets/000000#osu/0000000" (With 0 as placeholder) ? Edit: And because java the regex needs to look a bit differend. Here is an example code. Returns true if the link is a valid beatmap:
Edit: Because the current version of osumer doesn't run on 21h2, I did create a small c# app that just auto downloads and imports the beatmap but without any nice ui. |
Imgur links aren't vorwarded to the browser. Test link: https://i.imgur.com/U1Axo5n.png
The text was updated successfully, but these errors were encountered: