grzesiekkedzior / TuneScape

18 stars 1 forks source link

Icecast not available at the start #6

Closed indeplaner closed 5 months ago

indeplaner commented 5 months ago

I'am using your latest version of the app (v4.0.2) at this time.

I noticed that Icecast wasn't present at the start. That's why I chose one of my favorite radiostations. In the meantime I checked, several times I-C, to see if it still appeared in the window in question. While playing my station for a few minutes TuneScape crashed.

Try to analyze now; was it one too many times I asked the app? Does the app store the requests and process it sequentially?

I realize that this is very rare and you may find a solution.

grzesiekkedzior commented 5 months ago

Thank you, @indeplaner, for your interest in my application.

Loading IceCast: Yes, the first problem is irritating for me. I choose to load for every start app, like many other creators, so that the server offers me files that change often, and some stations can be removed, added, or changed from them. This is unacceptable to have no updated file. But that generates problems when you load the configuration file. Sometimes the file is wrongly formatted for two days!!! and it is independent of me. Sometimes servers do not respond. Therefore, at the moment when threads end, the favorite IceCast is loaded. I created a loading bar for that, but I see that I must upgrade this issue. 

Request: No, It works asynchronously, and there is only one task.

I really don't know why TuneScape crashed. If you provide more data, I will then create a solution. Maybe it is one time.

I will focus on the problem of loading IceCast and dissplaying this process.

indeplaner commented 5 months ago

I just discovered that starting a second run of TuneScape, in addition to the first, provides a workaround. Now a filled IceCast window appears. I realize this isn't the prettiest solution, but it counts as one. That rare crash should no longer occur, I suspect.

It might also be a good idea to give a notification, if parts of the program haven't started completely. Or in a serious case, a stop occurs instead of a crash. I think you can judge better which one is the best.

grzesiekkedzior commented 5 months ago

Thank you, this is a good suggestion for improvement.

indeplaner commented 5 months ago

It is always darkest before the dawn.

Adding a status bar will certainly provide more insight into TuneScape's loading. Another good step forward!

indeplaner commented 5 months ago

Will you still be able to read comments in this block when I close it? Or do you close it yourself after a certain time?

grzesiekkedzior commented 5 months ago

Of course, if you open an issue, you can close it if you think it is resolved. It is always time to open a new one or re-open a previous one.