@Mykle1 hahaha I will, thanks for tip 😂😂😂
Read the statement by Michael Teeuw here.
Posts
-
RE: Just installed magic mirror, now how do I change some things?
-
RE: Just installed magic mirror, now how do I change some things?
@cowboysdude Oh, you are so nice here 😂 I will :) thanks! 😳
-
RE: Just installed magic mirror, now how do I change some things?
@cowboysdude I see it now 😂 I will install this magic mirror then :) tkanks to you both for helping me :)
-
RE: Just installed magic mirror, now how do I change some things?
@Mykle1 Oh dammit…I’m so sorry for bothering you. I will install this magic mirror then :D I’m so stupid 😒🔫
-
RE: Just installed magic mirror, now how do I change some things?
@Mykle1 I’m so sorry, i don’t know why I can’t past my code here :/
class News(Frame):
def init(self, parent, *args, **kwargs):
Frame.init(self, parent, *args, **kwargs)
self.config(bg=‘black’)
self.title = ‘Novosti’ # ‘News’ is more internationally generic
self.newsLbl = Label(self, text=self.title, font=(‘Helvetica’, medium_text_size), fg=“white”, bg=“black”)
self.newsLbl.pack(side=TOP, anchor=W)
self.headlinesContainer = Frame(self, bg=“black”)
self.headlinesContainer.pack(side=TOP)
self.get_headlines()def get_headlines(self): try: # remove all children for widget in self.headlinesContainer.winfo_children(): widget.destroy() if news_country_code == None: headlines_url = "http://www.hrt.hr/?id=316&type=100&rss=vijesti" else: headlines_url = "http://www.hrt.hr/?id=316&type=100&rss=vijesti" % news_country_code feed = feedparser.parse(headlines_url) for post in feed.entries[0:5]: headline = NewsHeadline(self.headlinesContainer, post.title) headline.pack(side=TOP, anchor=W) except Exception as e: traceback.print_exc() print "Error: %s. Cannot get news." % e self.after(600000, self.get_headlines)
-
RE: Just installed magic mirror, now how do I change some things?
@Mykle1 First, I want to thank you for your response.! :D Second, I forgot to tell you that I have a bit different magic mirror installed than you think :) I know that I need the RSS news but they don’t work :S
I will paste my magic mirror code here so you can see it :/
Here we go: --> the document is “smartmirror.py” and I start magic mirror in terminal with command “python smartmirror.py”[0_1509619008226_code.pdf](Uploading 100%)
-
RE: Just installed magic mirror, now how do I change some things?
Hello guys. I have just one question. I have installed my magic mirror, and changed everything like hours, temp. etc. But i can’t add my own news from my country…I am from Croatia. Please help me :/