Will euer Welpe nach Java ?

Christoph Spielmann spielc at gmail.com
Tue Feb 12 09:36:12 UTC 2008


Hi!

As this thing is almost purely C++ (because it uses the QT-Toolkit and 
parts of KDE) i don't think it makes much sense to port it to Java. This 
would be such an overhaul of everything, that i guess it would take 
years to get it near to the standards Amarok is at the moment. You could 
do one thing tho: You could create a Plugin-Wrapper-Framework for Java 
(such that ppl can write plugins for Amarok in Java). At the moment i'm 
working on something similar for Mono/.net. I even have my first working 
plugin using it. The reason why i chose to move away from Python, Ruby 
and all the other scripting languages (don't get me wrong i have my 
experiences using Python and Ruby and both are nice but...) is the way 
they handle variables. After creating my first Amarok plugin (was a 
reimplementation of the Suggested Songs-Dynamic-Playlist) using Ruby, i 
remarked that it is almost impossible to extend the existing code 
without more or less read through the whole code again (it was 
definitely my fault as i haven't documented it good enough but to be 
honest i didn't think that it would be such a pita to extend it). So i 
decided to write a object-oriented wrapper for Amarok-Plugins using C# 
and Mono. By doing it this way you can for example get the similar 
artists for the current artist via a GetSimilarArtists(int count)-Method 
instead of having to call dcop with rather cryptic commands (in the case 
of the similar artists it would be dcop amarok collection similarArtists 
count) and some additional code afterwards (e.g. to split the string 
returned by the dcop command i mentioned before into single 
string-object). And to be honest i personally definitely prefer the 
first, the Method-Way, to create my plugins.

Regards,

Christoph

Philippe BERNERY schrieb:
> 2008/2/6, Daniel Wasinger <d.wasinger at gmx.at>:
>   
>> Hallo liebe Amarok-Menschen,
>>
>> Auf der suche nach dem von euch verwendeten Algorithmus zum durchsuchen
>> der Verzeichnisse, hab ich mal auf eure Seite geschaut und frage mich
>> nun ob ihr Java-EntwicklerInnen braucht ?
>>
>> Ich nehme stark an das Amarok in C / C++ geschrieben ist, aber vll. gibt
>> es ja doch was zu tun ?
>>     
>
> Hallo Daniel,
>
> Ich glaube diese Liste nur ist englischsprachigz. Du solltest auf
> Englisch schreiben, zu mehr Antworten haben.
> Entshuldigung für mein shlechtes Deutsch.
>
> Herzlich,
>
> Philippe Bernery
> _______________________________________________
> Amarok mailing list
> Amarok at kde.org
> https://mail.kde.org/mailman/listinfo/amarok
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok/attachments/20080212/718c4c87/attachment.html>


More information about the Amarok mailing list