RaspyFi - Topic: LCD display for now playing http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/ Simple:Press Version 5.2.6 coach factory outlet on LCD display for now playing http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/page-2/#p16619 Tweaks and optimizations http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/page-2/#p16619 coach factory outlet
coach factory outlet online
coach outlet online
coach factory outlet
coach black friday
coach factory
coach outlet online
coach factory outlet online
coach handbags new 2014
coach factory outlet
coach factory outlet
coach factory outlet
official coach outlet online
coach outlet online
coach factory outlet
coach outlet
coach factory
kate spade handbags
kate spade outlet online
kate spade outlet online
kate spade black friday
michael kors outlet online
michael kors outlet online
michael kors outlet
michael kors outlet
michael kors outlet store
michael kors handbags
michael kors outlet online
michael kors outlet
michael kors black friday
louis vuitton outlet
louis vuitton handbags
louis vuitton outlet
louis vuitton outlet stores
louis vuitton handbags
louis vuitton outlet
louis vuitton outlet online
louis vuitton black friday
prada outlet
prada handbags
prada black friday
marc by marc jacobs
celine handbags
celine outlet
true religion jeans
true religion outlet
true religion jeans outlet
true religion
true religion black friday
ray ban sunglasses
oakley sunglasses
ray-ban sunglasses
ray ban black friday
ray-ban sunglasses
ray ban sunglasses
oakley sunglasses
oakley sunglasses
oakley vault
oakley black friday
toms shoes outlet online
hollister clothing store
abercrombie and fitch
abercrombie and fitch
abercrombie black friday
polo ralph lauren
polo ralph lauren outlet
toms shoes outlet online
tory burch outlet online
tory burch
tory burch outlet
tory burch black friday
air jordans
valentino.com
supra.com
tiffany and co
tiffany black friday
frey wille jewellery
sac longchamp

]]>
Mon, 15 Sep 2014 11:09:26 +0200
Rogerio Neiva on LCD display for now playing http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/page-2/#p2170 Tweaks and optimizations http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/page-2/#p2170 Hi, my Raspyfi work fine but today I tried several time to put the LCD to work and I could not do it. It does lit but with the message:

LCDproc Server
Cli:o Scr:0

I would say that there is some misconfiguration in a file that is not routing the information to the LCD.

In order to see if this was a problem with wrong wiring, I installed RaspBMC and it worked beatifully.

Could any of you who have it working put the image in a Dropbox so I can download it ? I would have only to reconfigure my Wifi and DLNA.

Thanks for your help.

Roger

]]>
Sun, 22 Dec 2013 22:39:55 +0100
stotomas on LCD display for now playing http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/page-2/#p1569 Tweaks and optimizations http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/page-2/#p1569 I do a clean installation and everything goes. I test with four working radio stations, and code works fine! That´s great. Thanks. However, the last thing: Cron don´t work for me. I´m thinking about to put a little script in init.d. What do you think about?
Thanks again, i´m pretty happy.

]]>
Wed, 23 Oct 2013 00:33:36 +0200
R.U.Sirius on LCD display for now playing http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/page-2/#p1562 Tweaks and optimizations http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/page-2/#p1562

stotomas said

I found the problem, if you just select the code on the blog and paste it in an textfile the indentation will be messed up. This is caused by the java-script that embeds source-code on blogger-pages (I autogenerated that part at another webpage where I just pasted my code). I have manually fixed the code on the page, i.e. removed one white-space in the beginning of each row.
Try to copy the code from the blog again and it will hopefully work. :)
Don't forget to put the showSongInfo.py file with the code in /home/pi/Adafruit-Raspberry-Pi-Python-Code/Adafruit_CharLCDPlate/ (or wherever you installed the Adafruit libs), otherwise the import of Adafruit_CharLCDPlate will not work.
Thank you for pointing out the problem.
-R.U.Sirius
Ok. That´s right now. However, i can not change the radio station with buttons. This is message:
"Traceback (most recent call last):
File "showSongInfo.py", line 65, in
time = statusLines[1].split(' ',1)[1].strip()
IndexError: list index out of range"
I have 4 radio station on Raspyfi Playlist.
Thanks for your information and efforts

Hi,
I have the same problem when I try to play radio stations that mpd cannot connect to. When I play "working" stations everything looks fine. I didn't try the code on radio stations earlier but now I realise that I must add some error checking in the code to handle this error.
The workaround for this problem should be to only add working stations to the playlist. If this doesn't help please tell me which stations that hangs the python script and I will try to find the problem.

I will update the code on the blog as soon as possible to handle stations that the mpd cannot connect to.

-R.U.Sirius

]]>
Mon, 21 Oct 2013 21:30:05 +0200
stotomas on LCD display for now playing http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/page-2/#p1514 Tweaks and optimizations http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/page-2/#p1514 I found the problem, if you just select the code on the blog and paste it in an textfile the indentation will be messed up. This is caused by the java-script that embeds source-code on blogger-pages (I autogenerated that part at another webpage where I just pasted my code). I have manually fixed the code on the page, i.e. removed one white-space in the beginning of each row.
Try to copy the code from the blog again and it will hopefully work. :)
Don't forget to put the showSongInfo.py file with the code in /home/pi/Adafruit-Raspberry-Pi-Python-Code/Adafruit_CharLCDPlate/ (or wherever you installed the Adafruit libs), otherwise the import of Adafruit_CharLCDPlate will not work.
Thank you for pointing out the problem.
-R.U.Sirius

Ok. That´s right now. However, i can not change the radio station with buttons. This is message:

"Traceback (most recent call last):
File "showSongInfo.py", line 65, in
time = statusLines[1].split(' ',1)[1].strip()
IndexError: list index out of range"

I have 4 radio station on Raspyfi Playlist.
Thanks for your information and efforts

]]>
Thu, 17 Oct 2013 21:08:20 +0200
chrisr on LCD display for now playing http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/page-2/#p1465 Tweaks and optimizations http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/page-2/#p1465 Many thanks Leopoldo. I edited the file bootmisc.sh in /etc /init.d and added
su pi -c "mpdlcd -- no-syslog &"
at the end and it now works with the LCD display clear after booting up. I did need to add the --no-syslog part to achieve this. So problem solved.

If anyone knows how to display the radio station name on the top line of the display when streaming please share. At present the top line displays "" with the bottom line displaying the artist and song title. Thank you, Chris

]]>
Sun, 13 Oct 2013 23:16:31 +0200
hippyjake on LCD display for now playing http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/#p1462 Tweaks and optimizations http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/#p1462 Most of the System settings are reset on boot have a look in /var/www/_OS_SETTINGS/etc. In here you will find rc.local. Have a look at the github: https://github.com/Tsunamp/RaspyFi/tree/master/_OS_SETTINGS/etc

]]>
Sun, 13 Oct 2013 18:20:32 +0200
celeo on LCD display for now playing http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/#p1452 Tweaks and optimizations http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/#p1452

Chrisr said

celeo said

chrisr said
I followed your very helpful guide Andy and managed to get it working. Thank you for this.Did have one very strange thing happening though. I added the sudo mpdlcd --no-syslog & line to the rc.local file and saved it and checked it was there. But on rebooting the line disappears from rc.local every time and the LCD shows an error! Only way to fix this is to SSH into the Pi and then run sudo mpdlcd --no-syslog & from the command line. It then works fine - any idea how to stop rc.local removing the line at reboot? Also it took me a while to realize from your guide that sudo mpdlcd –no-syslog & really should be sudo mpdlcd --no-syslog & (ie need double dash -- and not a single – ) shown in your guide.
Chris

I had the same problem. You have to be SU before edit RC.LOCAL
;-)
Leopoldo

Many thanks for your comment Leopoldo. I logged in as SU and tried this, but on reboot the rc.local still lost the line. Would you please be kind enough to post your rc.local file so I can see if I am doing something daft. Was there anything else you had to change to get the modified file to stay modified?
Many thanks, Chris

You're right, the RC. LOCAL does not work well. If you do shutodown in the command console is cleared.
The command remains if you turn off the power supply. :-(
So I found another way. You must edit the filebootmisc.sh in / etc / init.d, get to the bottom and after: write a new line like this:
su pi -c "mpdlcd &"
where pi is the user, and the command is in quotes, the debug option is no longer needed.
The only limitation is if you restart MPD, because, of course, the connection between LCDMPD and MPD is broken.
When the raspberry restart everything works again

Leopoldo

]]>
Sat, 12 Oct 2013 16:35:10 +0200
R.U.Sirius on LCD display for now playing http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/#p1422 Tweaks and optimizations http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/#p1422

stotomas said

R.U.Sirius said
Hi everyone,
If you have an Adafruit 16x2 Char LCD Plate for your Pi I have written a tutorial how to use it with RaspyFi. It is basically a Python script with the following features:
* Presentation of play mode (playing/paused/stopped), Artist and Song name scrolling on line 1
* The elapsed song time, total song time and percentage of song played on line 2.
* Left button: Skip back
* Right button: Skip forward
* Up button: Play
* Down button: Stop
* Select button: Toggle Play/Pause
You can find the source code and a video of the display in action on: http://didtheypush.blogspot.se.....plate.html
-R.U.Sirius

Hi. I tried your code, but i got a line 5 error. Thanks by your efforts.

I found the problem, if you just select the code on the blog and paste it in an textfile the indentation will be messed up. This is caused by the java-script that embeds source-code on blogger-pages (I autogenerated that part at another webpage where I just pasted my code). I have manually fixed the code on the page, i.e. removed one white-space in the beginning of each row.
Try to copy the code from the blog again and it will hopefully work. :)
Don't forget to put the showSongInfo.py file with the code in /home/pi/Adafruit-Raspberry-Pi-Python-Code/Adafruit_CharLCDPlate/ (or wherever you installed the Adafruit libs), otherwise the import of Adafruit_CharLCDPlate will not work.

Thank you for pointing out the problem.

-R.U.Sirius

]]>
Thu, 10 Oct 2013 21:54:58 +0200
Chrisr on LCD display for now playing http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/#p1414 Tweaks and optimizations http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/#p1414

celeo said

chrisr said
I followed your very helpful guide Andy and managed to get it working. Thank you for this.Did have one very strange thing happening though. I added the sudo mpdlcd --no-syslog & line to the rc.local file and saved it and checked it was there. But on rebooting the line disappears from rc.local every time and the LCD shows an error! Only way to fix this is to SSH into the Pi and then run sudo mpdlcd --no-syslog & from the command line. It then works fine - any idea how to stop rc.local removing the line at reboot? Also it took me a while to realize from your guide that sudo mpdlcd –no-syslog & really should be sudo mpdlcd --no-syslog & (ie need double dash -- and not a single – ) shown in your guide.
Chris

I had the same problem. You have to be SU before edit RC.LOCAL
;-)
Leopoldo

Many thanks for your comment Leopoldo. I logged in as SU and tried this, but on reboot the rc.local still lost the line. Would you please be kind enough to post your rc.local file so I can see if I am doing something daft. Was there anything else you had to change to get the modified file to stay modified?
Many thanks, Chris

]]>
Wed, 09 Oct 2013 20:50:07 +0200
stotomas on LCD display for now playing http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/#p1412 Tweaks and optimizations http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/#p1412

R.U.Sirius said

Hi everyone,
If you have an Adafruit 16x2 Char LCD Plate for your Pi I have written a tutorial how to use it with RaspyFi. It is basically a Python script with the following features:
* Presentation of play mode (playing/paused/stopped), Artist and Song name scrolling on line 1
* The elapsed song time, total song time and percentage of song played on line 2.
* Left button: Skip back
* Right button: Skip forward
* Up button: Play
* Down button: Stop
* Select button: Toggle Play/Pause
You can find the source code and a video of the display in action on: http://didtheypush.blogspot.se.....plate.html
-R.U.Sirius

Hi. I tried your code, but i got a line 5 error. Thanks by your efforts.

]]>
Wed, 09 Oct 2013 13:03:36 +0200
Karli (guest) on LCD display for now playing http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/#p1410 Tweaks and optimizations http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/#p1410

R.U.Sirius said

Hi everyone,
If you have an Adafruit 16x2 Char LCD Plate for your Pi I have written a tutorial how to use it with RaspyFi. It is basically a Python script with the following features:
* Presentation of play mode (playing/paused/stopped), Artist and Song name scrolling on line 1
* The elapsed song time, total song time and percentage of song played on line 2.
* Left button: Skip back
* Right button: Skip forward
* Up button: Play
* Down button: Stop
* Select button: Toggle Play/Pause
You can find the source code and a video of the display in action on: http://didtheypush.blogspot.se.....plate.html
-R.U.Sirius

Excellent! Thanks for the info, I might have a go at that at some point when I get some time, maybe over christmas. I notice that us UK folks can get the LCD display + all the tools required from pimoroni (e.g. http://shop.pimoroni.com/produ.....spberry-pi)

The only trouble is that I haven't used a soldering iron in a very long time... and the last time I tried to do something serious with one (maybe 20 years ago?) an electrical engineer took pity on me and re-soldered the mess that I had made. Still, how hard can it be, right? Wink

Cheers,

Karli

]]>
Wed, 09 Oct 2013 00:22:02 +0200
R.U.Sirius on LCD display for now playing http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/#p1409 Tweaks and optimizations http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/#p1409 Hi everyone,
If you have an Adafruit 16x2 Char LCD Plate for your Pi I have written a tutorial how to use it with RaspyFi. It is basically a Python script with the following features:
* Presentation of play mode (playing/paused/stopped), Artist and Song name scrolling on line 1
* The elapsed song time, total song time and percentage of song played on line 2.
* Left button: Skip back
* Right button: Skip forward
* Up button: Play
* Down button: Stop
* Select button: Toggle Play/Pause

You can find the source code and a video of the display in action on: http://didtheypush.blogspot.se.....plate.html

-R.U.Sirius

]]>
Tue, 08 Oct 2013 21:55:26 +0200
celeo on LCD display for now playing http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/#p1388 Tweaks and optimizations http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/#p1388

chrisr said

I followed your very helpful guide Andy and managed to get it working. Thank you for this.Did have one very strange thing happening though. I added the sudo mpdlcd --no-syslog & line to the rc.local file and saved it and checked it was there. But on rebooting the line disappears from rc.local every time and the LCD shows an error! Only way to fix this is to SSH into the Pi and then run sudo mpdlcd --no-syslog & from the command line. It then works fine - any idea how to stop rc.local removing the line at reboot? Also it took me a while to realize from your guide that sudo mpdlcd –no-syslog & really should be sudo mpdlcd --no-syslog & (ie need double dash -- and not a single – ) shown in your guide.

Chris

I had the same problem. You have to be SU before edit RC.LOCAL
;-)
Leopoldo

]]>
Mon, 07 Oct 2013 10:38:15 +0200
oboema on LCD display for now playing http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/#p1346 Tweaks and optimizations http://www.raspyfi.com/forum/tweaks-and-optimizations/lcd-display-for-now-playing/#p1346 After I encounter a corrupted SD card i reinstalled the raspyfi image and installed everything. Now it is working!

]]>
Wed, 02 Oct 2013 14:04:13 +0200