Go to advanced search

by peppy.player
Thu Sep 12, 2019 8:09 pm
Forum: Media centres
Topic: Peppy player
Replies: 193
Views: 48942

Re: Peppy player

Sure, if you will have complete translation and radio playlists for Polish web radio stations I could include it to the next version.
by peppy.player
Mon Sep 09, 2019 5:54 pm
Forum: Media centres
Topic: Spotify client
Replies: 4
Views: 1339

Spotify client

Hi, I'd like to implement simple Spotify client in Python for primary Spotify user - show playlist, select track from the playlist and play that track. What are the recommended libraries which I could use for that? I see that libspotify is deprecated. Should I use spotifyd or anything else? Or shoul...
by peppy.player
Fri Sep 06, 2019 12:37 am
Forum: Python
Topic: Speech to Text Engine
Replies: 9
Views: 1070

Re: Speech to Text Engine

PocketSphinx is another option: https://github.com/cmusphinx/pocketsphinx There are many tutorials on web how to install it on Raspberry Pi. I believe in general web based systems are more lightweight though they need the Internet connection. Also you need to setup account in order to use the servic...
by peppy.player
Thu Sep 05, 2019 4:51 am
Forum: Media centres
Topic: Peppy player
Replies: 193
Views: 48942

Re: Peppy player

I have tried to translate to Polish some parts of the player - weather-config.txt and radio folder names under radio-stations folder. If you want to see the rest labels in Polish you need to translate/localize the file labels.properties. You can get the files which I prepared here: https://github.co...
by peppy.player
Tue Sep 03, 2019 12:06 am
Forum: Media centres
Topic: Peppy player
Replies: 193
Views: 48942

Re: Peppy player

Please let me know what you did to add new language? Was it Durer Edition?
by peppy.player
Mon Sep 02, 2019 3:14 am
Forum: Media centres
Topic: Peppy player
Replies: 193
Views: 48942

Re: Peppy player

New version (Holbein Edition) of the Peppy Player was released. According to the download statistics of the last two player releases the Headless disk image is the most popular one. https://raw.githubusercontent.com/project-owner/Peppy.doc/master/images/software/downloads.png Therefore in this relea...
by peppy.player
Tue Aug 27, 2019 4:59 am
Forum: Python
Topic: Solution for Pygame and Touchscreens on Raspbian Buster OS
Replies: 5
Views: 1822

Solution for Pygame and Touchscreens on Raspbian Buster OS

The current version of the Pygame library leverages libsdl1.2. The version of the libsdl1.2 on Raspbian Buster OS has the issues with touchscreens. One of the solutions is to build that library with proper touchscreen support. This solution was suggested by Gerhard the author of NewtronRadio https:/...
by peppy.player
Sat Aug 24, 2019 6:03 am
Forum: Official Foundation Display
Topic: How can I get rid of rainbow square?
Replies: 2
Views: 2212

Re: How can I get rid of rainbow square?

Thanks, it works!
by peppy.player
Fri Aug 23, 2019 7:13 pm
Forum: Official Foundation Display
Topic: How can I get rid of rainbow square?
Replies: 2
Views: 2212

How can I get rid of rainbow square?

I mean the square which shows up full screen during startup. Is it possible to hide it somehow?
Thanks!
by peppy.player
Wed Aug 21, 2019 4:17 pm
Forum: Networking and servers
Topic: Server starts on wrong IP
Replies: 11
Views: 1393

Re: Server starts on wrong IP

RaTTuS wrote:
Wed Aug 21, 2019 3:21 pm
you'll need to reboot after editing hosts
Sure, I did that.
by peppy.player
Wed Aug 21, 2019 3:16 pm
Forum: Networking and servers
Topic: Server starts on wrong IP
Replies: 11
Views: 1393

Re: Server starts on wrong IP

I'm using the latest upgraded/updated Raspbian Buster OS. If I have the line 127.0.1.1 raspberrypi in /etc/hosts: [email protected]:~ $ hostname -i 127.0.1.1 If I comment out or delete that line: [email protected]:~ $ hostname -i hostname: Name or service not known Python code throws the exception with th...
by peppy.player
Wed Aug 21, 2019 3:18 am
Forum: Networking and servers
Topic: Server starts on wrong IP
Replies: 11
Views: 1393

Re: Server starts on wrong IP

As I mentioned the problem was in this line: host = socket.gethostbyname(socket.gethostname()) It returned 127.0.1.1 which was wrong/confusing as Tornado server actually started on 10.0.0.11 The server starts on the same address 10.0.0.11 no mater if I have that line in /etc/hosts or not. If I delet...
by peppy.player
Tue Aug 20, 2019 3:24 pm
Forum: Networking and servers
Topic: Server starts on wrong IP
Replies: 11
Views: 1393

Re: Server starts on wrong IP

Thank you for replies! Another part of my code caused the confusion. After starting web server I print to console host an port: logging.debug("Web Server Started at %s:%s", host, port) I get host this way: host = socket.gethostbyname(socket.gethostname()) That returned 127.0.1.1 but server was actua...
by peppy.player
Tue Aug 20, 2019 4:26 am
Forum: Networking and servers
Topic: Server starts on wrong IP
Replies: 11
Views: 1393

Server starts on wrong IP

I'm trying to start web server (Tornado) on Raspbian Buster. I suspect that the order of 'lo' and 'eth0' causes the issue during server startup. I don't specify IP address explicitly. So I guess server takes the first from the top of the list. As a result it starts on address 127.0.1.1 and I cannot ...
by peppy.player
Tue Aug 20, 2019 12:43 am
Forum: Русский
Topic: датчики i2c и 1-wire
Replies: 2
Views: 2147

Re: датчики i2c и 1-wire

Земля она везде земля как и плюс, до тех пор пока вы не сожгли чего-нибудь. Если действительно другие земляные и плюсовые пины не работают, то берите питание с тех же пинов с которых питается первый датчик. Потребление датчиков не должно быть большим, так что и один пин выдюжит.
by peppy.player
Mon Aug 19, 2019 6:08 pm
Forum: Off topic discussion
Topic: Can REST API be a copyrightable subject matter?
Replies: 3
Views: 1355

Re: Can REST API be a copyrightable subject matter?

OK, I thought that maybe there are some lawyers who are also Raspberry Pi'ers :D
by peppy.player
Mon Aug 19, 2019 5:43 pm
Forum: Off topic discussion
Topic: Can REST API be a copyrightable subject matter?
Replies: 3
Views: 1355

Can REST API be a copyrightable subject matter?

For example can I use the same Web API from Spotify for my own server? That could simplify the client implementation which would use the same API to talk to Spotify and to my own server.
Thanks!
by peppy.player
Wed Jun 19, 2019 1:40 pm
Forum: Русский
Topic: Проблема "упс что то пошло не так" chromium
Replies: 1
Views: 1720

Re: Проблема "упс что то пошло не так" chromium

Часто сетевой драйвер не успевает загрузиться до того как он нужен в запускаемой программе. Если вы запускаете броузер из etc/rc.local добавьте перед запуском небольшую задержку например в 6 секунд: sleep 6 Перегрузка страницы обсуждалась здесь: https://www.raspberrypi.org/forums/viewtopic.php?t=178...
by peppy.player
Wed Jun 19, 2019 3:46 am
Forum: Русский
Topic: Доброго времени суток. Есть пару вопросов.
Replies: 1
Views: 1721

Re: Доброго времени суток. Есть пару вопросов.

1) https://github.com/aboudou/picheckvoltage
2) непонятны ваши требования, что вам нужно? Низкое разрешение например для маленького сенсорного экрана или ещё что-то?
by peppy.player
Tue Jun 11, 2019 4:32 pm
Forum: Media centres
Topic: Peppy player
Replies: 193
Views: 48942

Re: Peppy player

Yeah, that's the problem with some displays. Some of them work with 'fbi' some not.
If you will find a way to make it working please let me know. Thanks!
by peppy.player
Wed Jun 05, 2019 3:30 pm
Forum: Media centres
Topic: Peppy player
Replies: 193
Views: 48942

Re: Peppy player

OK, if you will face that pause issue again please let me know. I had some issues with splash screen for some displays. It starts service which in turn starts 'fbi' utility which should display images using framebuffer. For some displays it doesn't work. You can try to change the device name in the ...
by peppy.player
Tue Jun 04, 2019 8:17 pm
Forum: Русский
Topic: запуск работы с touchscreen
Replies: 1
Views: 1256

Re: запуск работы с touchscreen

Недавно объяснял как заставить работать touchscreen для дисплея 5" Waveshare,
посмотрите с пункта 3 по 6. В вашем случае драйвер и разрешение будут другие:
viewtopic.php?f=35&t=139983&start=50#p1457678
Может поможет.

Удачи
by peppy.player
Fri May 31, 2019 3:34 pm
Forum: Media centres
Topic: Peppy player
Replies: 193
Views: 48942

Re: Peppy player

the player will display images defined in property folder.images in file /home/pi/Peppy/config.txt: [file.browser] ... folder.images = folder.jpg, folder.png, cover.jpg, cover.png, front.jpg, front.png If you have such images in your folders they will be displayed when you browse through the folders...
by peppy.player
Thu May 30, 2019 6:51 pm
Forum: Media centres
Topic: Peppy player
Replies: 193
Views: 48942

Re: Peppy player

This is great that you found the solution! Could you clarify the issue with pause? In which mode that happens - radio, file playback or any other? The player shows album art from the Internet only for Radio and CD player modes. For the file playback mode it shows images from disk. Which mode do you ...
by peppy.player
Wed May 29, 2019 4:04 pm
Forum: Media centres
Topic: Peppy player
Replies: 193
Views: 48942

Re: Peppy player

Hi, I have never used this display. Does it work with Raspbian Desktop? If coordinates are flipped you can try to set parameter flip.touch.xy to True in file: /home/pi/Peppy/config.txt flip.touch.xy = True Did you try to run calibration utility: sudo TSLIB_FBDEVICE=/dev/fb0 TSLIB_TSDEVICE=/dev/input...

Go to advanced search