![]() |
Re: [Support thread] Billboard Standby Screen
Quote:
Code:
python myscript.pyQuote:
Quote:
I'll have to think about the second alarm. I'm only learning python and scripting myself and this script was meant for just the next one. It sorts the alarms chronologically and prints the next one (from now) in the list. It could print the next two but then this next part would be more difficult: Quote:
Code:
#!/usr/bin/python |
Re: [Support thread] Billboard Standby Screen
1 Attachment(s)
Quote:
Quote:
So the syntax errors can be ignored? I'll settle for your edited script if I can't resolve this multi-line fields issue, many thanks for that. Quote:
I tried to place {{color}} and add special characters in several places in upcoming_alarms.py without success, where does it belong? Here's a screenshot, so you get a better idea what I'm trying to achieve: |
Re: [Support thread] Billboard Standby Screen
I just realised that the alarm trigger timestamps and cookies ARE in the contextkit. I'll write a much simpler script later today.
|
Re: [Support thread] Billboard Standby Screen
Ok, took a bit longer than I thought but here is the *Ultimate Customizable Alarm Attribute Getter*™
It's a lot more accurate than the ones before because it gets the times directly from the contextkit timestamps so they are always correct and in order. It even shows when an alarm will go off again after pressing snooze. Just follow the instructions in the comments and print out anything about an alarm or alarms. Code:
#!/usr/bin/python |
Re: [Support thread] Billboard Standby Screen
Whow... now we're talking... :D
Great job, very cool! :cool: I wish we could have this for events. Only thing left: where to put the {{color}} tag in the script for all alarms? @thp: a button to update/refresh all info would be nice. Actually I start/close music player every time... |
Re: [Support thread] Billboard Standby Screen
look for update script and use it with profilematic
|
Re: [Support thread] Billboard Standby Screen
Quote:
It's possible to get the cookies for the queued events, too. Might be doable with some changes. What attributes would have to be included? Quote:
Example: Code:
print ('{{green}}'+weekday+' '+title+' '+alarmtime+' '+time_to_alarm+' '+snooze+' '+sc).encode('utf-8') |
Re: [Support thread] Billboard Standby Screen
Quote:
Code:
text=$(gconftool -g /apps/billboard/text)The text in BB is still there, but it's not showing anymore. I also tried without the middle line, but it remains telling me "Updating..." Could you please provide a fix and the correct code for terminal too? Quote:
Quote:
Too bad actually I can't test it, because of the above issue... |
Re: [Support thread] Billboard Standby Screen
Quote:
Code:
gconftool -s -t string /apps/billboard/text "PASTE YOUR TEXT HERE"As your original text is probably lost, you'll just have to write it again...:( |
Re: [Support thread] Billboard Standby Screen
BIG BIG THANKS SLARTI! :)
Works again, text was still there in BB. I started editing in there and whoops, it came back... And after disabling and reenabling other logo and meecast appearence settings, the meecast logo came back too... :D So, for use in terminal is this script usable or does it have to be modified? Anyway, a button in BB would be way more comfortable, not only for Linux-noobs like me... ;) slarti, your script works great, I love it! |
| All times are GMT. The time now is 08:44. |
vBulletin® Version 3.8.8