Read the statement by Michael Teeuw here.
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)
-
-
Looks like Evan Cohenās magic mirrorā¦ thatās a different forum my friendā¦
-
@Mykle1 Oh dammitā¦Iām so sorry for bothering you. I will install this magic mirror then :D Iām so stupid šš«
-
@cowboysdude I see it now š I will install this magic mirror then :) tkanks to you both for helping me :)
-
@hellboyhum No not stupidā¦easy mistake to makeā¦ we wonāt shoot you here LOL
If put MagicMirror in and have questions feel free to ask
:)
-
@hellboyhum said in Just installed magic mirror, now how do I change some things?:
Iām so stupid šš«
In that case, stay away from smartmirror. :-)
-
@cowboysdude Oh, you are so nice here š I will :) thanks! š³
-
@hellboyhum said in Just installed magic mirror, now how do I change some things?:
@cowboysdude Oh, you are so nice here š I will :) thanks! š³
Yeah, @cowboysdude will be happy to help you with any problems you might have. :-)
-
@Mykle1 hahaha I will, thanks for tip ššš