yashsingh1/xdaforums huggingface dataset:
[MTCD Software Development] KoTiX2:
Today I downloaded the logos of all the US states.

(I got them from Wikimedia.)

I need to clean them out because there are many duplicates caused by different sizes thumbs.

Once I'll have cleaned them out I'll send you them all.

Btw I'd like to discuss with you privately about this because I beleive that it would be better to group them in zones or macro areas that include a group of states, or even just leave them in a single zip.

Many states have just a few logos and if you drive through the states you will have to download and extract each time. (I don't like that it work in this way).

I also don't won't you to rename all the logos of the US of course. Feel free to help as much as you like :)

As I said we'll talk about other things later tomorrow. ;)
[MTCD Software Development] roomey:
Hi!

Could you please check, when starting NavRadio+, it doesn't display station info in Agama, until station is switched to another one. Same for station logo - until station is switched, the logo is not displayed.

And, regarding station logos - what is the preferred size for it? I have prepared some to be 160x120, but it doesn't look good in Agama, as it comes to be smaller than center area (the Music widget) and it looks like a rectangle with corners cut. What size would be the best then?

Also, in Agama with Hal9k mod v.4.0.2, only the station frequency is displayed, but no name, until station changes. This tends to be sticking, and sometimes station info is not updated at all (the same frequency is displayed all the time, and dashes for name). I think this is somehow related to changes in the Mod, so I reverted to ver 4.0.1, until this is arranged somehow...
[MTCD Software Development] Scopesys:
Sounds good ...

I took a look at the Wikimedia logos .. there are many many more FM radios stations in the USA, than logos on that site.

My suggestion would be to 1st get a list off ALL radio stations, say, by State.

Then generate a table of Freq, Name and Sids,

Then create Blank png files for all the stations, with the correct filenames.

Then start filling up those blank png files with logos

This way, you know you have ALL the radio stations defined.

At any time you can sort by size, and just zip up the ones that are not blank, and update the repository.

Yes, a lot more files , but most of the filename generation can be done programmatically, so it will not take that long.

Also, since ALL USA station name are known, then all PID are known,,,

This Filename generation is precise, Selecting and editing the appropriate logo for each filename will be the Time consuming part, but that need not all be done at once.

Maryland.txt = For Maryland, there are a Total 96 "Commercial Broadcast" FM Radio Stations. (NOT included: Quite a few additional low power special purpose Station, you would have to be REALLY CLOSE to, to pick up)

MARYLAND.zip = My current set of some Maryland logos, with the correct NavRadio+ LOGO filename format
[MTCD Software Development] KoTiX2:
I updated the file in my repo so you can download it from NavRadio and test it out.
[MTCD Software Development] KoTiX2:
I know this already but I also noticed that Spotify does exactly the same thing so I'm not totally sure that the problem is on my side.

250*250 is good enough

NavRadio send the metadata each time:

- the frequency change, station change

- a new RDS name is received or it change while listening to same station. For live RDS it change very often.

- a new RDS text message is received or change from the previous one

- a new logo is found by sid or by name after doing a manual search.

So the infos are sent correctly and very frequently. FCC and Ubiquity widget display them all the time.

What does Hal9k say about this problem?
[MTCD Software Development] KoTiX2:
Version 1.62 is available on playstore with the for for the crash that occurs when deleting the app data.

The metadata informations now are sent only if NavRadio is running in background and this has somehow fixed better the double jumps of stations when using the steering wheels and FCC.

Unfortunately I forgot to delete a comment in the code and the Prev button of the steering wheel is not working with 1.62.

An update v1.63 is coming out right away to fix just that. Sorry about it ;)
[MTCD Software Development] AdekP:
[MENTION=2734955]KoTiX2[/MENTION]

In version 1.62 button prev channel on the wheel not working (only next channel works ok)

edit: opss, you have already noticed this problem ;)
[MTCD Software Development] KoTiX2:
Hi, can you confirm me that version 1.63 have fixed the crash?
[MTCD Software Development] roomey:
I just thought maybe some workaround is possible, like updating station info a bit later, or twice, on startup..
[MTCD Software Development] KoTiX2:
I'll see if I can find something...:svetius:
[MTCD Software Development] AdekP:
I think it is enough for navradio to send info immediately after starting the application, and then as it is now (channel change, changes in RDS ...)

PS

Does Navradio also send information about the playing time in the information it sends?

In agama it introduces a little confusion, because after each change info in RDS counts the duration of the program from the beginning and additionally adds progress bar animations, which distracts the driver a bit;)
[MTCD Software Development] Scopesys:
The Incorrect Progress bar is a FCC thing. I don't believe that RDS sends any information about song length or the current position within the song. (assuming that the Radio Station is playing songs, and even updates the RDS data for each unique song played .. not many even do that !!)

[MENTION=4292729]SpeedFire-[/MENTION]

In which case, the Progress bar should be turned off by FCC when in NavRadio+ ( as it is does with the Default Radio)
[MTCD Software Development] dj.shauny.g:
Can't get it installed mate very weird
[MTCD Software Development] emre33:
I want to report 2 errors

1: When TA is active, the TA message on the main screen is inactive, gray (attached image:1 )

2: In full screen, the frequency is obscured by the logo (attached image 2 and 3)

Could you lower the font size of the frequency?

Not even "MHz" caption text is in the best place. With a frequency at the same height it would be in the best place (of course with the current small font size)

Thanks
[MTCD Software Development] KoTiX2:
Correct, the timer and song lenght arenot related to RDS at all.

NavRadio start a mediasession playing a fake audio file just because the android mediaplayer need something to play to start the mediasession. once mediasession is initialized then the metadata can be send out with all the infos.
[MTCD Software Development] KoTiX2:
I can't help you on this. sorry.

it's just a normal app like any other..
[MTCD Software Development] Scopesys:
+1

Also, when sorting out the TA bug, can you make the order in the Settings menu, the same order they appear across the screen (or vice versa)

Would make it a lot easier to relate between the two.

Also, maybe a control for the user to alter the "Frequency" & "Station Name" Font Size, to meet their needs..

This is particularly needed if the user edits the Station name, and wants to put a more detailed name and Description in that field.

At the Moment, long text nicely continues on new lines, but the font is way too big for more than just 2 lines, especially when lots of Preset Stations are displayed below,

------------- Example (USA radio stations in particular)

They Have a Name (Callisign)

They have Frequency

So at Minimum say: 97.90 WQRK (which I think would be default automatic setting)

But then they have Informal names, and even Station slogan,

ie 98-Rock & Baltimore Best Rock

so By editing the Station name one could get a display that was

[CENTER][B][SIZE="6"]97.90 WQRK
980 Rock
Baltimore MD

[/B][/SIZE][/CENTER]

Even Cooler of it automatically reduced the font size by say 75% on each line

[CENTER][B][SIZE="6"]97.90 WQRK[/SIZE]
[SIZE="5"] 98 - Rock[/SIZE]
[SIZE="3"]"Baltimore's #1 Rock Station"

[/B][/SIZE][/CENTER]
[MTCD Software Development] roomey:
I also noticed, that station info is not updated in Agama, if station is changed in NavRadio UI when it's foreground app. So when switching back to home screen (the launcher), I see old station info. Now it's obvious that it's also the case on startup. So maybe workaround could be to re-send notification when NavRadio goes to background, if that is possible.
[MTCD Software Development] KoTiX2:
Ok i got it fixed. i set a 3 seconds timer that after going to background send the metadata. it seem to work good enough for me ;)

Then I'm adding a couple of nice features. the first one is this:

Then I'd like to add a sort function with 3 options: by name, by frequency, by logos (separating the ones with logo from the ones without)
[MTCD Software Development] okij:
[MENTION=2734955]KoTiX2[/MENTION]: That will be two very welcome new features, thanks a lot for adding them! :cool:
[MTCD Software Development] dj.shauny.g:
I know this, that is why i can't understand it.

Maybe i have to delete my default radio app for this to be installed?
[MTCD Software Development] themissionimpossible:
https://xdaforums.com/showpost.php?p=82725987&postcount=492
[MTCD Software Development] Scopesys:
[MENTION=2734955]KoTiX2[/MENTION]

+1

Tha'ts Fantastic - I can see a multiple of times that both those feature would be most useful :)
[MTCD Software Development] Scopesys:
[MENTION=2734955]KoTiX2[/MENTION]

Finally got my Local FM stations set up as I like them in NavRadio+, but in doing so, came across a Bad Bug and and two small issue.

(1) BUG

If you MOVE a station by re-numbering it, and it has a logo, then the logo is lost when it moves

ie when it has moved, it has lost it's Logo

(2) Issue

When saving Stations, there is no warning that you have entered a ,json name that already exists (in the Drive ROOT !!), so you will be overwriting an existing json file.

(3) This is one that will be a PITA to change, especially for anyone updating (But possible :P )

The Config .json file are put into the drives's Root folder, and Logos into a RadioLogo folder.

This is not normal practice and not ideal to have lots of files appearing in the Root folder and not knowing which App they belong to.

Normal Practice is to make a APP specific folder (ie NavRadio, and put all the Apps Data there in one recognizable place.

ie

Apps json files in /NavRadio

logo zip in /NavRadio/RadioLogo

and then expand xxxx.zip into /navRadio/RadioLogo/xxxx

I would personally choose to run Navradio with the above Folder structure, but currently NavRadio cannot be changed by the user to use a different App Root folder.

This became even more confusing when I downloaded all the USA logo files, ie xxx.zip to find that some were expanding into RadioLogo/xxx and some were zipped up so they expanded into RadioLogo/xxx/xxx

I assume that when doing its automatic Station setup by SID or Name, it searches ALL .png files in /RadioLogo and all its sub folders ? (so maybe not such a big deal)

BTW: I did not have any success when I cleared all my Stations, emptied RadioLogo folder(s), used NavRadio+ to download & unzip Maryland.zip, and then did a SCAN

Scan made a station set, but never put any Logo into them (as I saw it should on a Navradio+ Youtube video, made some time ago)

I would have had to add all the logos gain manually ( Instead, I just restore my good .json file)
[MTCD Software Development] KoTiX2:
1. It's working fine here. No problems at all moving stations

2. ok i will add a prompt for overwriting the file

3. As you said it will be PITA so i'll write it down on the suggestions list for now.

The SCAN doesn't set any logo.

If you have downloaded and extracted the zip within the app, then you have to sintonize each station to let it receive the sid and/or the rds name of the station to let it automatically assign it.

During scan sid and rds name are not received at all.
[MTCD Software Development] acvaristul:
Greetings from Romania!

I first tried the "free" version and then I bought the "full" version. Congratulations for the application!

- I have a Seicane device (Android 9 - model PX5 - with Hal9k's Mod v4).

- I use AGAMA Launcher... The radio stations are "listed" in the AGAMA widget (the one at the bottom) ... so, everything is fine.

- The buttons on the steering wheel work perfectly (I noticed a discussion about this, a few posts above).

My only request is about how NavRadio+ communicates with the Hal9k screensaver (which fails to retrieve and display radio station information). I mention that everything works with the standard RADIO application (the native one).

Thanks!
[MTCD Software Development] traxformania:
After latest update i used NavRadio+ for hours and didn't see a single crash. Thanks!
[MTCD Software Development] Silver_:
Great job my friend[emoji122][emoji122][emoji122][emoji122][emoji122].

Enviado desde mi SM-A530F mediante Tapatalk
[MTCD Software Development] KoTiX2:
1. Each station is an element of an arraylist.

Each element is made of various items: index number, frequency, name, Sid, logopath etc..

When you change the item number, the entire element (station) of the arraylist is moved, Including the logopath.

And no the logo is not re-assigned because the logopath is not empty.

Honestly I have no idea what is going on with your setup, maybe you can make a video that show me how you use it?

As you have named the stations with the Sid number, you should just check in the edit window if the station has received it.

If it's not received then it will not show up.

If it's received then could be something else that is not in right: Sid number, logo folder, whatever..

Even the RDS name should be automatically assigned. Does this happen, at least?
[MTCD Software Development] Scopesys:
I will make Video showing the Logo Issue.

Will also include if the RDS name gets applied correctly.

In the meanwhile (yes, sorry ti throw so much at you), but while you are in the code to make the .json file overwrite popup, this may be good to fix.

The problem is, when SAVING the .json, is you don't know, cannot see what json files already are there. !!!

You get a listing of Folders, but no files.

When loading a .json, the list contains Both folders and files (so yu can select the file :) )

So, can the SAVE .json menu listing of folders, also contain the .json filenames, and can you make it so that you can either Type in the filename (as you can at the moment), OR click on an existing name, and have that populate the save filename edit line.

LOADING available .json file visible (along with folder structure)

SAVING existing json files not visible (only folder structure - and no Icons)

Note: The display without files also has no Icon to show Folders or Files -- it's only displaying Folders with no Icons.

(Finally got embedded images - can't seem to do that direct from Google Drive ?)
[MTCD Software Development] Scopesys:
[MENTION=2734955]KoTiX2[/MENTION]

There is still a LOGO Bug, but I got the description wrong. :(

The LOGO does not disappear when the Station is moved by assigning a new Preset Number.

It never gets SAVED when the Station is first created. :confused:

So typically, when you create a new station, set up its parameters and add a logo, and save it -- and then go ahead to move it, you can then realize that when moved, it does not have a Logo :- BECAUSE the logo was never saved when on the Station CREATION screen. It can get selected, and shows, but when you hit save, it is not saved.

It only gets saved if you go back to EDIT that station (and you will see no logo), and you assign one again. This time, in a EDIT of the station the logo gets saved.

In the original CREATION of the station, and logo selected at that point does NOT get saved.

see Video:

VIDEO: LOGO Bug

- when creating a new Station
[MTCD Software Development] KoTiX2:
Ok this make more sense to me.

I'll fix it in next release. Tnx;)
[MTCD Software Development] Scopesys:
Thanks .. sometimes a Picture/video is worth 1000+ words :good:
[MTCD Software Development] KoTiX2:
Ok i found the problems with logos you are experiencing.

The last zip of Maryland logos that i uploaded was not correct because I need all logos in a "Maryland" folder inside the zip. Without that folder the logos were uncompressed in RadioLOGOS\ and not in RadioLOGOS\Maryland\

I now uploaded the corrected version of the zip so you can downlod it and extract it again and experience the automatic assignement by sid or by name.

Note that even the AddStation problem was due just to that missing folder.
[MTCD Software Development] Scopesys:
[MENTION=2734955]KoTiX2[/MENTION]

Thanks .. I apologize for not zipping up the files correctly. (especially as I made a point in commenting that I "thought" that some of the USA state logo zip files, were zipped up incorrectly)

I need to re-educate myself on how to zip up a collection of files, so they expand into the correct folder !!!

However, I do not think that was causing the Problem with the LOGO not being saved when the Station was created.

When the Station is first created, I was able to ask to add a logo, and it was looking in the "/RadioLOGOS/Maryland Folder" (which actually had a set of logos that i had manually installed)

It displayed the correct selected logo in the Edit Screen, and then I saved. All other info was saved correctly EXCEPT the Logo.

Then when I went in to EDIT the Station, the Logo was NOT there, I added it again (in the EDIT screen), and saved it. And it was then saved correctly.

It's very clear in the Video .. its not a case of not being able to find a logo, because it is in an incorrect folder, but a case of it not saving the logo from the Station Creation Screen.

Here is another new Video, showing this, as well as that the LOGO is being selected from the correct folder, but is NOT being saved from the CREATE STATION screen.

VIDEO:

Logo not being save from CREATE STATION screen

---------------

I don't want to make this a big issue.. maybe it is me - maybe not, but at least to me it is not that important as a bug perceived by me.

Now I know what it is doing, and I need to go back in and re-select the logo and save it in the Station Edit screen, it is certainly something that is not a "big deal"

Would be nice to know if anyone else can reproduce what I experience, or that it works for everyone else EXCEPT me :(
[MTCD Software Development] Docsnow:
Hello,

I use this beautiful App but i had some isue with some Launchers. When i open the Radio App with the Launcher and go than over the back Button to the Launcher again, the Sound goes off.
[MTCD Software Development] Scopesys:
@ KoTiX2

Typically, when I am going to Update an APP, I export the version that is on my head unit (to my Google Drive), so if there is an issue with an update, I can uninstall the update, and reload the exported older version.

This does not seem to work with navradio+ :( --- is there something the APP / Google Store is doing to prevent this ?

I believe I am completely removing the old app, and re-booting the head unit, before attempting to install the exported previous version.

When I try to install the older version, I get an "Install Failure",

I can however install the CURRENT Version of the App again via the Google Store.

Note: I am NOT currently deleting the json files or the RadioLOGO folder & its files.

(Purchased version)

Would REALLY LIKE to be able to re-install an older version if I feel that the current version is doing something wrong that I did not think a previous version did :)
[MTCD Software Development] KoTiX2:
Pressing back you close the app.(you can set a double click too if you wish)

To go back to launcher you have to press the home button.
[MTCD Software Development] KoTiX2:
I didn't mean to say that you did anything wrong.

I should check the zip before uploading it.

Anyway can you please send me a logcat file after you add a station in the same way please?

Can you please add a Sid number to any of your named logos and let me know if the automatic assignment work?

You can leave your naming method, just add the Sid number at the end.

Tnx ;)
[MTCD Software Development] KoTiX2:
All I know is that you cannot install an older version over a new one. You have to uninstall first the newer.

Then it's all in the hand of google God. ;)
[MTCD Software Development] Scopesys:
[MENTION=2734955]KoTiX2[/MENTION]

Thank you for perusing this and working towards a resolution.

I appreciate it is taking up your valuable time, where you could be doing other things.

Ref: Logcat . I am not rooted, so I don't think I can create a Logcat ?

I do NOT think that what I am experiencing is a function of not having a SID in my current Logo collection

(1) Without a Sid, it does it NOT automatically get the logo when I 1st select the saved Station (as expected)

(2) When I EDIT a Station and select a Logo, it will correctly save that logo.

(3) It's only in the CREATE Station screen that it does not save a selected Logo.

Maybe you coded it that way, or missed that it was not saving a logo, because , typically, the Logo is added when you 1st SELECT the Station, and it tried to get the Logo by using the Sid,

(a) I also assume that if there is NOT a logo assigned to a new station, then it will try to update the missing logo, by a SID match when the Station is selected.

(b) I also assume that if there is a LOGO there, the code then does not try to update it by a Sid match, every time the Station is selected.

It's really has to be an issue in the Create Station screen, when "save" is pressed, and it is NOT saving the LOGO Filename, but it is saving everything else correctly

You can easily reproduce what I see (and is in both videos) by temporarily renaming a Logo file to not have a SID, and see if you get the same non saving of the Logo in the Create Station screen. Should be very obvious when debugging in Android Studio.

In the meantime, I will update my Logo files to ones with the expected format (with Sid), and confirm that the same non-logo saving bug exists, but I bet you it still does ;)

(BTW: In the CREATE Station screen, I would not expect there to be a by SID Search, as you may not even be tuned to that Frequency of the New Station you are creating)

---------- Post added at 07:14 ---------- Previous post was at 07:05 ----------

I am thinking that it may be failing to install an older version , because of some Purchase check with Google Play store (That only know s about the NEW Version, currently on Play Store), OR maybe some ref to the newer version in my Google Store Cache is stopping an Older version from Installing.

Reading up on this, maybe I should try clearing my Google Store App's Cache, before trying to re-install.

Not really a BIG DEAL if I cannot go back to a previous version, as the developer of NavRadio+ is extremely good at fixing bugs and putting resulting updates on Google Store ;)
[MTCD Software Development] KoTiX2:
Of course it's not related to Sid, I just want to know it automatic assignment by sid work in the USA or not.

That's what I did already and everything is working fine here. The only problem I found was that the folder of the logos was not correct. Even if gallery was showing the logos, in reality they were not present because Gallery wasn't refreshed.