softsyst / qirx_issues

Issue tracker for QIRX
1 stars 1 forks source link

DAB scan saving #79

Closed PiNoise closed 1 year ago

PiNoise commented 1 year ago

HI Clem

Little question. In Option / DAB Scan where is the data saved? After scanning and clicking on "Save Scan Settings" I expected the data to be saved and stored internally.

screen

Instead always after I close and restart Qirx I have to do it all over again as I do not find the previously saved information. Surely I am not performing some step correctly. Where is it that I am doing wrong?

Many thanks, Paolo R.

softsyst commented 1 year ago

Hi Paolo,

it was not a feature, but a bug! Please download and install again the 4.0.7. I (hopefully) silently corrected this which had slipped in inadvertently as a side effect from another feature. In case you are not sure whether the version you downloaded is already the one in the web, please compare the SHA-1 values.

Edit: Sorry, Paolo, I just forgot to answer your question: The scan data is saved in the config file, here:

The entry in the "Ensembles" tag indicate the saved results of the scan. The ones in the "Scanner ... Ensembles=..." tag indicate the Blocks participating in the scan. 73, Clem
PiNoise commented 1 year ago

ciao Clem

I just tried the new 4.0.7 (silent) that you kindly modified. I uninstalled the previous one for the new one, but unfortunately it still seems not to work properly for that bug. In scan it finds me the following mux's, writes about the save, but as soon as I close and restart with the program they are all gone....

PiNoise commented 1 year ago

At startup QIRX sets up on channel 5C (??, it is not present here...), and displays for a new scan showing all in the drop-down list all channels 5/13 and no longer just my previously saved six muxes, as you can see here... image1 image2

softsyst commented 1 year ago

Hi Paolo,

No idea about your problem. Here it works as it should:

  1. All muxes are enabled, like so:

BeforeScan

  1. Result of a scan, stopped during 2nd run:

DuringScan

  1. After storing, stopping the app and restarting it:

ResultAfterScan

The mux 5C is the German Federal mux. It is the default value for a fresh config file, as the first selected value. It is of course later overwritten with the one you listened to. QIRX cannot know which mux is available at your location on first start after installation, or after a new config has been generated.

Did you check the SHA-1 value?

73, Clem

PiNoise commented 1 year ago

Ciao Clem!

I really don't know what to think at this point... other than some limitation or restriction due to my firewalls/antivirus/etc etc. If I can I will do more testing on a secondary pc as soon as I can. Thanks for your immediate and accurate feedback.

Yes the SHA-1 value is correct: 00ae05fe76b951f43c65e1128f16f20c9984caea *my QIRX407_Setup.msi 00ae05fe76b951f43c65e1128f16f20c9984caea original

73, Paolo

andimik commented 1 year ago

Just a stupid idea (therefore sorry for that):

Are you using the same Windows account before and after saving?

PiNoise commented 1 year ago

Every question is pertinent when dealing with Windows, hehe... Yes always same Windows account, my laptop is single user.

softsyst commented 1 year ago

Hi Paolo, you mentioned that also your scan settings are not persisted, so that you each time need to adjust them again. This could mean that the software either stores in a different location than the one it reads from, or that the config file could be write protected. This sounds as stupid as andimik's assumption, but the devil is a squirrel (as we say here).

My tests of yesterday have been done with the version directly from the download, fresh install, with the SHA-1 which you also confirmed.

73, Clem

PiNoise commented 1 year ago

Hi Clem, There is something going wrong here, sometimes yes sometimes no and therefore difficult to find out. Lately also I have been asked to enter the license which apparently had been lost or not saved correctly!!!

My directory where the configuration is saved is C:\USERS\xxx\AppData\Local\Qirx4

but I see now that it also exists on today's date: C:\USERS\xxx\AppData\Local\QirxConsole

Two oddities in my system just uncovered thanks to the TotalCommander browser: (a) The "AppData" subdirectory alone has the hidden attribute, while all subsequent subdirectories have no attribute. b) I don't have QirxConsole installed but its subdirecotry is present and up to date as of now.

Windows is really a mine of criticalities and absurdities

73, Paolo

PiNoise commented 1 year ago

This doesn't have anything to do with the current thread but I am taking the opportunity to politely ask for some information for something I saw in an image above... image How do you get the graphic icon with the image of the broadcaster? I only have the generic ones with the musical note symbol

73, Paolo

softsyst commented 1 year ago

Hi Paolo,

you are using two different config files. This might be due to the fact that you start qirx sometimes directly from the exe (what I assume from your description). In that case, the qirxConsole.config is used.

If you start qirx from the installed icon, or from qirx.bat in the install directory, then usually qirx4.config is used as a config file. The qirxConsole is necessary for the compatibility with the console version. If you change the parameter in the qirx.bat file to e.g. "Paolo", then a subdirectoy "Paolo" will be created with a Paolo.config file.

It is always recommended NOT to start qirx.exe directly, due to this problem. qirx can have many data directories if this is needed. The (relative to the common base) data directory is the only parameter in the qirx.bat file of the GUI version. The console version can have more parameters, opening directly a certain receiving scenario.

The license is stored in the config file. If you use a different config file, you need to enter the license again. It had probably neither been lost nor not saved correctly.

In case you are not sure from which data directory you are working, you can click any time on the "Home" button on the top bar which will open directly an explorer window where the config file resides.

Maybe I should have named that config file qirxDefault instead of qirxConsole.

I hope this resolves the problem.

73, Clem

softsyst commented 1 year ago

Hi Paolo,

The logos are retrieved from muxes who send the so-called SPI information. In that case - after starting the mux - in the middle bar two green lamps start blinking. This means they are collecting the SPI info. After they stop blinking the logos should appear. However, not all muxes show the logos, and some have so many info that the collection takes half an hour. There is no general rule. If you are not sure, have a look at the Ensemble overview tab and look for a service named "EPG" or similar. There is also no general rule for that naming.

The logos are stored in the "SPI" directory tree, relative to the base directory.

73, Clem

andimik commented 1 year ago

due to the fact that you start qirx sometimes directly from the exe

Let me guess, you started the scan during installation?

If yes, Clem, can you prevent that the setup routine launches Qirx?

softsyst commented 1 year ago

You see me astonished. The setup routine doesn't start qirx. Here, this never happened. It starts during installation? really?

PiNoise commented 1 year ago

Hi Paolo,

The logos are retrieved from muxes who send the so-called SPI information. In that case - after starting the mux - in the middle bar two green lamps start blinking. This means they are collecting the SPI info. After they stop blinking the logos should appear. However, not all muxes show the logos, and some have so many info that the collection takes half an hour. There is no general rule. If you are not sure, have a look at the Ensemble overview tab and look for a service named "EPG" or similar. There is also no general rule for that naming.

The logos are stored in the "SPI" directory tree, relative to the base directory.

73, Clem

I found a mux with EPG and I see now the two green LEDs flashing.... I let go for a few minutes and the beautiful icons appeared. Really cool QIRX !!! image

softsyst commented 1 year ago

Hi Paolo,

if they also transmit EPG (Electronic Program Guide), this is shown as well, in the EPG tab.

73, Clem

PiNoise commented 1 year ago

You see me astonished. The setup routine doesn't start qirx. Here, this never happened. It starts during installation? really?

Hi Clem,

I had made myself two Qirx launch icons on my desktop as I noticed that the one with the batch file often gave me the following error: error

While the one directly from the EXE file worked correctly...

softsyst commented 1 year ago

Then, best will be you work directly from the exe. Otherwise you would need to find out the reason why you get that tcp/ip error. Now, as the issue has been clarified, I hope I can close it.

PiNoise commented 1 year ago

Yes, issue closed. Thank you for all the valuable assistance these past weeks. Now I can finally dabble with the software in all its possibilities.

73, Paolo

andimik commented 1 year ago

You see me astonished. The setup routine doesn't start qirx. Here, this never happened. It starts during installation? really?

I can't tell you now as I'm currently working under Ubuntu. I know that lots of software installation routines launch the new program if the user wishes it. But if Qirx does not start it at all, forget my idea.

softsyst commented 1 year ago

Thanks, Paolo, for your cooperation!

73, Clem