

Amarok 2.x Scripts
Plasma 4 Extensions
Hi!
> VERY good
> I find this extremely useful.
Thanks!
> Just one thing: am I stupid or there is no way to
> add just one track to the playlist? I sometimes
> don't want to add a whole album (in parties, for
> example).
Yes, you are right. Currently there is now way to add one specific track. I thought it might be a little cumbersome populating a playlist track by track with this web interface. I'll think of adding it in the next release when I have time.
Cheers,
Johannes - Jan 11 2010
> VERY good
> I find this extremely useful.
Thanks!
> Just one thing: am I stupid or there is no way to
> add just one track to the playlist? I sometimes
> don't want to add a whole album (in parties, for
> example).
Yes, you are right. Currently there is now way to add one specific track. I thought it might be a little cumbersome populating a playlist track by track with this web interface. I'll think of adding it in the next release when I have time.
Cheers,
Johannes - Jan 11 2010
I'm glad you like it:)
Quote:[...] this script relies on having apache installed on the amarok machine.
Actually this is not a requirement. The webpages are delivered by a simple HTTP-Server whithin in the script.
Quote:The web pages look great on my wifes machine running chrome, not so pretty on my nix machine running firefox. But it works!
So far I optimized the web pages for my own needs, the iPhone browser. Since Safari (iPhone) and Chrome both rely on WebKit it's not surprising that they look better on Chrome than Firefox. Once I implemented the major functionality I'll think about adding a "theme" which suits most desktop browsers.
Cheers,
Johannes - Oct 31 2009
Quote:[...] this script relies on having apache installed on the amarok machine.
Actually this is not a requirement. The webpages are delivered by a simple HTTP-Server whithin in the script.
Quote:The web pages look great on my wifes machine running chrome, not so pretty on my nix machine running firefox. But it works!
So far I optimized the web pages for my own needs, the iPhone browser. Since Safari (iPhone) and Chrome both rely on WebKit it's not surprising that they look better on Chrome than Firefox. Once I implemented the major functionality I'll think about adding a "theme" which suits most desktop browsers.
Cheers,
Johannes - Oct 31 2009
Thanks a lot for your feedback!
Hm, I'm not getting this error but I will upload a version with your suggested change since it fixes your problem.
Could you maybe tell me what version of Amarok and Qt you are using? And in the line you are referring to a string is concatenated with an QAbstractSocket (r[0]) and a string (r[1]):
Quote:Amarok.debug("Pending: Handling request (left: "+this.requestQueue.length+"): "+r[0]+" "+r[1]);
Since the leftmost argument already is a string (literal) I expected all the other arguments to be converted to a string automatically (as described in 11.6 in the ECMA spec http://www.ecma-international.org/publications/files/drafts/tc39-2009-025.pdf). But I'm relatively new to ECMA/JavaScript, so I'm glad if you/anyone can give me a hint.
Cheers,
Johannes - Oct 30 2009
Hm, I'm not getting this error but I will upload a version with your suggested change since it fixes your problem.
Could you maybe tell me what version of Amarok and Qt you are using? And in the line you are referring to a string is concatenated with an QAbstractSocket (r[0]) and a string (r[1]):
Quote:Amarok.debug("Pending: Handling request (left: "+this.requestQueue.length+"): "+r[0]+" "+r[1]);
Since the leftmost argument already is a string (literal) I expected all the other arguments to be converted to a string automatically (as described in 11.6 in the ECMA spec http://www.ecma-international.org/publications/files/drafts/tc39-2009-025.pdf). But I'm relatively new to ECMA/JavaScript, so I'm glad if you/anyone can give me a hint.
Cheers,
Johannes - Oct 30 2009
Thanks for the feedback!
> trying to instantiate PyKDE4.plasma.Plasma.TextBrowser
PyKDE4.plasma.Plasma.TextBrowser is part of (py)KDE since 4.3 and (K)Ubuntu 9.04 ships 4.2 (see http://api.kde.org/4.x-api/kdelibs-apidocs/plasma/html/classPlasma_1_1TextBrowser.html).
So you can either install KDE 4.3 packages for Jaunty which lack official support, or you wait for the Karmic release (which is supposed to be in 3 days).
> download for next years Losungen file
I did not implement it. So far I just planned to make a release with the new data.
> xml module [...] appeared to be a bit faster than using csv
I wouldn't expect much of a difference. And in case there is one, CSV should be faster since it only has to count newlines and split up one line, isn't it?
Cheers,
Johannes
- Oct 26 2009
> trying to instantiate PyKDE4.plasma.Plasma.TextBrowser
PyKDE4.plasma.Plasma.TextBrowser is part of (py)KDE since 4.3 and (K)Ubuntu 9.04 ships 4.2 (see http://api.kde.org/4.x-api/kdelibs-apidocs/plasma/html/classPlasma_1_1TextBrowser.html).
So you can either install KDE 4.3 packages for Jaunty which lack official support, or you wait for the Karmic release (which is supposed to be in 3 days).
> download for next years Losungen file
I did not implement it. So far I just planned to make a release with the new data.
> xml module [...] appeared to be a bit faster than using csv
I wouldn't expect much of a difference. And in case there is one, CSV should be faster since it only has to count newlines and split up one line, isn't it?
Cheers,
Johannes
- Oct 26 2009
Yes, it's similar, but there are some differences. Losungen uses an offline source for the bible verses and the selection is from the Moravian Church (Herrnhuter Brüdergemeinde). In German-speaking countries this selection is well-known and quite popular.
- Aug 31 2009