Posted on January 27, 2010 in Computers by seadog2 Comments »

Συνεχίζοντας την ωραία δουλειά που κάναμε με τον Μάνο για την δημιουργία playlist του eradio.gr, έκανα μεταφορά του προγράμματος με ελαφρές τροποποιήσεις στο maemo 5 για το nokia n900.

Κατεβάζοντας το greekiradio από τα devel repositories και πατώντας το update ενημερώσετε την λίστα του ενσωματωμένου media player με τους σταθμούς που προσφέρει το eradio.gr. Η λίστα δημιουργείται την στιγμή που πατάτε το update ώστε να μπορείτε να την ενημερώνετε κατά βούληση με νέους σταθμούς και ανανεωμένα feed για τους ήδη υπάρχοντες.

Πληροφορίες για το πως μπορείτε να επεξεργαστείτε την λίστα ραδιοφώνων του media player του maemo 5 θα βρείτε στο σχετικό post στο maemo.org

Posted on January 24, 2010 in Computers, maemo planet by seadogNo Comments »

Syncing your brand new N900 phone with google calendars and gnome evolution can be a really tedious task. I managed to bond all three of them successfully and get full two-way syncs from all components. We are going to sync the N900 with google calendars and then sync evolution with google calendars.

Syncing N900 with google calendars

Maemo 5 supports ActiveSync protocol which is used to synchronise Microsoft Exchange calendars, emails and contacts. Google calendar also supports activesync and that's the way we are going to sync. I followed these instructions (taken from here):

Device: Nokia N900
Carrier: unlocked
Country / Language: US-English
OS / Browser / build number (if applicable): Maemo v1.2009.42.11

I was unable to find any instructions on how to sync Google Mail, Calendar, and Contacts with my n900. So, I tried using the instructions for the Symbian v3/v5 phones. Two of three were successful. One of the successes does have a catch. So others don't have to spend the time I did experimenting here are the instructions for synchronizing Google Mail, Calendar, and Contacts with the n900 firmware v1.2009.42.11.

Gmail sync settings can be created on the n900 by either:

A. Activating the mail wizard by clicking on the "email" icon for the first time.

or

B. Within the "Settings" menu in the "Email" submenu press on the top status bar with "E-mail" pulldown and another submenu with a "New account" button will appear.

After you input your Gmail e-mail address most of the fields will populate themselves. In fact, almost ALL the fields will automatically populate themselves (finally effortless mail!). Just in case, check these settings:

For incoming server: port 993
For outgoing server: port 465

Calendar AND contacts sync settings can be created by:

1st Open settings menu.
2nd Open "Email for Exchange" submenu.
3rd Filling in the fields as:

a. Server: m.google.com
b. Port: 443
c. Secure connection: check yes
d. Conflict resolution: your choice
e. User name: joe.blow@gmail.com
f. Password: your password
g. Domain: leave blank
h. Synchronize e-mail: leave unchecked.
i. Synchronize calendar and tasks: check yes.
k. Calendar: N900 (to populate existing calendar) or create a new one
j. Synchronize calendar back: your choice
k. Synchronize completed tasks: your choice
l. Synchronize contacts: check yes
m. First synchronization: your choice

A note of caution: For this sync to work your calendar must be empty. If you have already used the synchronization tool to transfer the calendar data from your old phone to your n900 it will not allow you to write the Google calendar data from the server into it. The n900 calendar will remain as a local, unsynchronized calendar and you must create another calendar for synchronization purposes. However, I believe this is not the best way to go. Instead, if you have already transferred your calendar data from your old phone open the n900's calendar, select all, and delete. Then the Google server will synchronize its data with the N900 calendar.

Note 1: It is really important to initially have an empty calendar on the N900. I was trying with a calendar which already had entries and I always got a "Server is not responding error".

Note 2: The first time I succeeded it worked great for a couple of syncs but then I got again the "Server is not responding error". Deleting all entries and fully re-syncing fixed the problem.


Syncing Gnome's Evolution with Google calendars

Evolution supports Google calendars natively and it also supports Caldav another calendar protocol, also supported by google. Unfortunately none of them works on my machine. I found online hundreds of complains about broken functionality. And even if you manage to get them working they are totally unreliable.

Therefore I skipped evolution's build-in sync functionality and moved to gcaldaemon. From the project's website we learn that "GCALDaemon is an OS-independent Java program that offers two-way synchronization between Google Calendar and various iCalendar compatible calendar applications. GCALDaemon is primarily designed as a calendar synchronizer but it can also be used as a Gmail notifier, Address Book importer, Gmail terminal and RSS feed converter."

Gcaldaemon provides working syncing with google calendars. I don't need the fancy http features so I just setup it up for file synchronising, using the "dial-up internet" instructions from the project's website. So using gcalcdaemon I sync my google calendar with a local file in my computer.

Then in evolution you can add a new local calendar and specify the location of that new calendar (new feature in gnome 2.28 ;) ) and order evolution to update the calendar when the file changes on disk (e.g. when gcaldaemon get new updates from your google calendar).

The sync runs fine for the last two days. I tried unicode entries, creating, deleting and editing entries from all three of them and everything works like a charm!

Posted on January 18, 2010 in Computers by seadog4 Comments »

Συνέχισα λίγο την δουλειά του Μάνου γιατί ανακάλυψα ότι στην λίστα δεν υπήρχε ο RedFm. Το πρόβλημα ήταν ότι το σχήμα http://eradio.gr/asx/<όνομα σταθμού>.asx δεν το ακολουθούσαν όλα τα urls. Για παράδειγμα ο Red ανιχνεύεται απλά ως Red στο πρώτο μέρος του script αλλά το url του asx είναι red963. Έτσι προσπαθώ να βρω το σωστό url του asx. Τώρα ο Red υπάρχει στην λίστα, μαζί με άλλους 40 επιπλέον σταθμούς, συνολικά 205 αντί για 165 που είχαμε πριν. Extras bonus οι σταθμοί παρουσιάζονται αλφαβητικά.

Το script θα το βρείτε εδώ και όπως προτείνει και ο Μάνος είναι καλύτερο να ανανεώνετε το playlist σας καθημερινά για να έχετε πάντα τα λειτουργικά ενημερωμένα urls.

Posted on January 15, 2010 in Computers by seadogNo Comments »

Ο Emnik έφτιαξε μία νέα λίστα για το eradio.gr αφού οι δικές μου (εδώ και εδώ) είχαν πάψει να λειτουργούν εδώ και καιρό. Χρήσιμο script από ένα νέο site με pythonικές τάσεις!

Posted on January 13, 2010 in Computers by seadog2 Comments »

Αν και καταχείμωνο, τουλάχιστον στο Delft που έχει -2C, ο Πέτρος μου χάρισε το δώρο του ηλιόλουστου blog! Δεν ήξερα την όλη πρωτοβουλία που ουσιαστικά είναι ένα παιχνίδι μεταξύ ελληνόφωνων (;) bloggers, που δίνει ο καθένας το βραβείο σε αυτούς που επιλέγει. Ευχαριστώ Πέτρο, είναι ωραίο να σου υπενθυμίζουν ότι διαβάζουν το blog σου και το βρίσκουν ενδιαφέρον ;)

Σύμφωνα με τους κανόνες του παιχνιδιού, πρέπει να επιλέξω μέχρι 12 blogs στα οποία θα δώσω το βραβείο. Εν μέσω τυμπανοκρουσιών και χειροκροτημάτων το βραβείο απονέμεται στους:

Άντε και καλή χρονιά με πολλά ενδιαφέροντα posts.