-
Notifications
You must be signed in to change notification settings - Fork 46
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
Radio station name #51
Comments
Hi If the web radio station name is available to the player then it should be displayed in mpd_oled when the station is playing. Adrian. |
Thanks that is clear. Is it maybe possible to show the name you gave to a station (i use Moode) . I add some station manually and some have no webstation name. Would be great if you can then use the name you gave the station to display. |
Hi On Moode, mpd_oled gets the radio station name from the details provided by Moode in the currentsong.txt file. To check what this contains, start playing your radio station and log into Moode and print the contents of this file to the screen
If this file contains the name of the radio station that you would like to be displayed, copy and paste the contents here and I will see if I can incorporate it into mpd_oled (also, say what version of Moode you are using). If this file does not contain the name of the radio station, then you could request it as a feature on the Moode forum. Adrian. |
Thanks Adrian for the help. The file have this info:
Where Album is the Station name. |
Thanks for posting your currentsong.txt file. I have had a look at what is going on and the issue is that mpd_oled is getting the radio name directly from MPD, which does not provide a name in this case, rather than from Moode, which does provide a name. The correct behaviour on Moode should therefore be for mpd_oled to get the radio station name from from currentsong.txt. I will fix this and post again when an update is available. Adrian. |
Hi I have just pushed an update that should fix this. The update required changing the logic of obtaining values generally on Moode, so please been on the lookout for errors when displaying any kind of value and when using any kind of source or renderer. Adrian. |
Hi, Just did a Git pull but unfortunately it is not working. With some stations it is working fine but the one i show above it is getting worse. When i start the stream (Radio 10) nothing is show now, no station name and no track info. After a while the track number come back but station name still not showed. Other stations are random working. Some working direct and others start with same problem (no station and track info) and later about 10 seconds later track info comes back. Strange things is that bitrate info is also change all the time now for every station. Like 92 - 86 - 82 - 136 etc.
Update Sorry Adrian, i think problem is something else. Restore a backup that i made before i did the git pull but same problem now. |
Hi I am running Moode 6.4, and added in the Radio 10 station for testing, and it was working correctly. I'll check on a copy of Moode 7 in case the metadata reporting has changed, although my currentsong.txt looks like yours
The delay is probably the delay of Moode updating currentsong.txt. You could check the contents of currentsong.txt repeatedly when changing a radio station, and see if the OLED update is more than a second after the currentson.txt update. The currentsong.txt for Radio 10 has "encoded=VBR", which means a variable bit rate. mpd_oled gets the bitrate from MPD, which reports whatever the current bitrate is (it should also have been like this before the update). Adrian. |
Hi, Only the name of the station of Radio 10 is still missing now. |
I just tested on Release: 7.0.0 2020-MM-DD, and the "Radio 10" name is showing. I'll update to 7.0.1 and also test that. |
That's strange that is working. So then i have to look at my installation. But is nothing more then the image of moode-r701-iso with mpd_oled. |
Hi I have installed 7.0.1 and mpd_oled, and added the Radio 10 station, and the OLED is correctly displaying "Radio 10". The problem may be that you are running an old mpd_oled binary. I recommend making a new clone of mpd_oled, and when you have built it ensure that you run the test command starting with './', e.g. './mpd_oled -o6', and check if the radio station name is displayed. (If you need to stop an installed version of mpd_oled, run Adrian. |
Hi, That was it. Installed Moode and Oled fresh and now it is working fine. Michel |
Is it possible to show the web station radio name on the display.
Using a 4 pin I2C SSH1106 display.
The text was updated successfully, but these errors were encountered: