Go to advanced search

by peppy.player
Sun Sep 15, 2019 9:07 pm
Forum: Automation, sensing and robotics
Topic: Automate IR Remote Control configuration
Replies: 0
Views: 47

Automate IR Remote Control configuration

Right now the configuration process of IR Remote Control using LIRC is a manual process. Is it possible to automate it somehow and avoid the need to go to the command line and run multiple utilities and change multiple files? Ideally just to show some simple UI, ask to press buttons and generate eve...
by peppy.player
Sun Sep 15, 2019 8:47 pm
Forum: Python
Topic: Speech to Text Engine
Replies: 8
Views: 346

Re: Speech to Text Engine

Yeah, I had the same bad experience with PocketSphinx on Windows machine. It's out-of-the-box functionality is not usable. You need to train the model. But if you are making the software which will be used by other people you cannot ask them to do that. In contrast to that any web based solution (e....
by peppy.player
Sat Sep 14, 2019 1:48 am
Forum: Media centres
Topic: Spotify client
Replies: 4
Views: 281

Re: Spotify client

I didn't even notice that :)
Anyway, I was saying that the spotipy library looks like as if it was abandoned and has many unresolved issues:
https://github.com/plamere/spotipy/issues/387

There is new one - pyfy:
https://github.com/omarryhan/pyfy
by peppy.player
Fri Sep 13, 2019 11:10 pm
Forum: Media centres
Topic: Spotify client
Replies: 4
Views: 281

Re: Spotify client

I'm not sure why this thread was "moderated" and why two replies disappeared.
by peppy.player
Fri Sep 13, 2019 8:03 pm
Forum: Python
Topic: Speech to Text Engine
Replies: 8
Views: 346

Re: Speech to Text Engine

Any chance to know what was the problem?
by peppy.player
Thu Sep 12, 2019 8:09 pm
Forum: Media centres
Topic: Peppy player
Replies: 77
Views: 27949

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: 281

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: 8
Views: 346

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: 77
Views: 27949

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: 77
Views: 27949

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: 77
Views: 27949

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: 2
Views: 177

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: 239

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: 239

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: 679

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: 679

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: pi@raspberrypi:~ $ hostname -i 127.0.1.1 If I comment out or delete that line: pi@raspberrypi:~ $ 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: 679

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: 679

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: 679

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: 351

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: 835

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: 835

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: 931

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: 958

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: 77
Views: 27949

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!

Go to advanced search