project-owner / Peppy

Peppy Player Repository
GNU General Public License v3.0
72 stars 14 forks source link

A problem with translation into Czech #29

Closed Ravens62 closed 1 year ago

Ravens62 commented 1 year ago

Hi, with the last two versions of the player I have a problem with communication. Immediately freezes the image on the screen, but the player normally plays, can control, work saver ... Maybe more will say these 3 screeners

Mix Mix1 Mix2

The first one is visibly bad The other one occurs after switching the radio station The third is a short statement from the logo The English language doesn't do it to me.

project-owner commented 1 year ago

Hi,

What's wrong with those images? Please let me know how I could reproduce the issue? What is the sequence of steps which leads to the issue? Do you use Pi3 or 4? What kind of configuration changes you made?

Thank you!

Ravens62 commented 1 year ago

The first picture shows a different song and another picture of the album. There is nothing in the second picture, just the station. This happens for me randomly, the radio plays, the screen is running a saver. Then I want to see who plays it and it is in that state. Sometime in an hour, sometimes before ... I have to make a reboot out of my computer.

My combination is: RPI4, Waveshare 4.3 "DSI LCD display, IPS, 800 × 480, I2C, MIPI DSI, HIFIBERRY DAC-PLUS.

project-owner commented 1 year ago

As far as I understand the problem is that the player shows either wrong image/song title or shows station name/logo instead of album cover/song name. Does it happen only with that particular station or any station? Which screensaver do you use? does it help if you switch to another station and then back? Do you have a backlight control enabled? https://github.com/project-owner/Peppy/blob/0f4870f211cde0f9aa5d7c1e5bf3aaa00679ebb3/config.txt#L179

I'll try to use the same station and see if I can reproduce the issue.

Best regards

Ravens62 commented 1 year ago

Hi, Basically yes, but after some time, today it was about 45 minutes. The stations are basically all of the same, I have Slides and when I have English-USA and then some station so it goes cool. I just tried some translation adjustments, but they didn't help.

I have set this one [display.backlight] use.display.backlight = True screen.brightness = 100 screensaver.brightness = 50 screensaver.display.power.off = False sleep.now.display.power.off = True

Now there were these mistakes again [2023-01-09 19:04:48,118] {web.py:2243} INFO - 200 GET /flag/Czech/flag.png (192.168.0.10) 2.68ms [2023-01-09 19:04:53,554] {util.py:365} ERROR - [Errno 2] No such file or directory: '/home/pi/Peppy/languages/Czech/radio-stations/Žánry/undefined/stations.m3u' [2023-01-09 19:04:53,555] {util.py:365} ERROR - [Errno 2] No such file or directory: '/home/pi/Peppy/languages/Czech/radio-stations/Žánry/undefined/stations.m3u' [2023-01-09 19:04:53,556] {util.py:365} ERROR - [Errno 2] No such file or directory: '/home/pi/Peppy/languages/Czech/radio-stations/Žánry/undefined/stations.m3u' [2023-01-09 19:04:53,557] {web.py:2243} INFO - 200 GET /playlists?language=Czech&genre=undefined&folder=%C5%BD%C3%A1nry (192.168.0.10) 5.85ms [2023-01-09 19:05:43,023] {util.py:1134} DEBUG - No script name

Best regards

project-owner commented 1 year ago

I think I found the root cause of the issue related to album art images. I'll let you know the fix after testing it.

Regarding that ERROR issue - which genre did you use when that happens? The URL should include a genre name (e.g. Rock) instead of 'undefined': [2023-01-09 19:04:53,557] {web.py:2243} INFO - 200 GET /playlists?language=Czech&genre=undefined&folder=%C5%BD%C3%A1nry (192.168.0.10) 5.85ms

Thank you!

Ravens62 commented 1 year ago

Well now I'm listening to Rock, Radio Čas Rock. But the nonsense that appeared there was only a consequence of loading the protocol file. Just like now again ...

[2023-01-09 21:14:31,611] {web.py:2243} INFO - 200 GET /playlists?language=Czech&genre=Retro&folder=%C5%BD%C3%A1nry (192.168.0.10) 3.52ms [2023-01-09 21:14:31,619] {web.py:2243} INFO - 200 GET /log (192.168.0.10) 3.91ms [2023-01-09 21:14:31,640] {web.py:2243} INFO - 200 HEAD /config/icon/Czech/radio-stations/%C5%BD%C3%A1nry/Retro/Evropa%202%20Flashback.png (192.168.0.10) 7.93m

project-owner commented 1 year ago

INFO messages are OK. I'm wondering when you get the ERROR messages? Did you open playlists in Web UI?

Thank you!

Ravens62 commented 1 year ago

On the web interface I open the settings/System/Log File or. I will refresh

project-owner commented 1 year ago

Are those ERROR messages reproducible? If so, is it possible to list all steps which lead to the ERROR messages? Thanks!

Ravens62 commented 1 year ago

At the moment no erorr in the log :-), I'll see again tomorrow, now I'm going to sleep. So far thanks for help.

project-owner commented 1 year ago

OK, let's fix the issue with album art and then switch to ERROR messages. You can find the explanation of the album art issue and how to resolve it here: https://github.com/project-owner/PeppyPlayers.doc/wiki/Known-Issues#signac-edition After applying the fix if the player will not be able to get image during 12 seconds it will show the station logo image. After that it will not stop refreshing images for next songs (as it's doing now). Please let me know if it helps. Thanks!

Ravens62 commented 1 year ago

At the moment no erorr in the log :-), I'll see again tomorrow, now I'm going to sleep. So far thanks for help.

Ravens62 commented 1 year ago

Hi, So until now it works without mistakes :-) So I would say it's ok

Thanks for solving

project-owner commented 1 year ago

Great, thank you for reporting the issue. The fix will improve the radio functionality. I'll close this issue. If you will face any other issues please open another one.

Best regards