Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is favlist.exe missing some flags? #2

Open
ThomasHeinrichSchmidt opened this issue Sep 19, 2020 · 2 comments
Open

Is favlist.exe missing some flags? #2

ThomasHeinrichSchmidt opened this issue Sep 19, 2020 · 2 comments

Comments

@ThomasHeinrichSchmidt
Copy link

ThomasHeinrichSchmidt commented Sep 19, 2020

Generating a myradio.cfg favorite list from a playlist.csv using favlist.exe results in a different myradio.cfg file than the original with the same list of favorites. Therefor I'm not sure if favlist.exe actually generates all relevant flags/settings in the myradio.cfg.
Specifically I see that

I do not know but it's possible that there are flags in myradio.cfg (not yet supported by favlist.exe) that are related to the missing functions as described above ...

@ThomasHeinrichSchmidt
Copy link
Author

ThomasHeinrichSchmidt commented Apr 20, 2021

I've written a script to transfer the flag values on pos 5-11 and 107-112 in a record from a working myradio.cfg (retrieved from the radio) to the one generated by favlist.exe. While this works fine I still do not understand what all the flag values mean.
It appears that pos 107-108 is the id from a mediayou URL: http://b1.mediayou.net/embedded/playURL.php?id=13081&sc=N9XX_AAC, which is 0x33 0x19 (=13081) in this case.
At least with my script I'm able to show the station bitmaps on the radio display for a myradio.cfg generated by favlist.exe.

@ThomasHeinrichSchmidt
Copy link
Author

ThomasHeinrichSchmidt commented Apr 21, 2021

I have now unveiled the secret. To show logos for stations with URLs like http://b1.mediayou.net/embedded/playURL.php?id=13081&sc=N9XX_AAC we need to add the id as short int to bytes 107/108 in a record. Any other flags do not seem to matter. I've made changes to favlist.c to correctly set those id's and it works fine on my radio.
BTW. It's not enough to just set the id if the URL is not of the form above, still no logo is shown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant