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
21:08
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
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
00:33
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.
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
11:09
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
Most Users Ever Online: 200
Currently Online:
6 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Gyp: 82
yoghurtlidlicker: 37
PaulM: 36
icai: 35
Derek: 29
Karsten: 27
tc-fi: 22
Ronaldo: 21
ENSen: 21
chriz: 20
Member Stats:
Guest Posters: 3619
Members: 569
Moderators: 0
Admins: 1
Forum Stats:
Groups: 4
Forums: 10
Topics: 469
Posts: 13163
Newest Members: polo2016, dongdong8, wlpwlp, Sager, ninestab123, lmx66, lmx, jlgg, chenyan, guoyanying
Administrators: admin (401)