This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Now Playing Script

Tags: None
(comma "," separated)
FallenAngel
Karma
0

Now Playing Script

Thu Mar 03, 2005 12:58 am
Hi!

I just started to use amaroK oi i\'m a n00b in this matter :blush:

I have a question: could some1 of devs write me a script in phyton(like Playlist server) to show my current Playing song on my site???

I was trying to make on my own with \"dcop amarok player nowPlaying\" command, but i\'m to 1337 in phyton.

I will be thankful if you help me.
FallenAngel
Karma
0

Re:Now Playing Script

Sat Mar 19, 2005 9:09 am
So no is going to hel me ??? :(
php
Karma
0

Re:Now Playing Script

Thu Apr 07, 2005 3:00 am
If you are using Audio scrobble....
the are good php scripts to get that...
User avatar
eean
KDE Developer
Posts
1016
Karma
0
OS

Re:Now Playing Script

Thu Apr 07, 2005 6:54 am
There\'s uplisting, written in the superior language of ruby. It uploads the html page to a website with covers. There\'s a template that goes with it that would be easy to change around though.


Amarok Developer
Michael Mitton
Registered Member
Posts
30
Karma
0

Re:Now Playing Script

Mon Apr 11, 2005 7:56 am
I\'ve been learning Python (my first programming language, actually), and to help me learn, I\'ve been playing around with a script that does this. Eventually I\'ll package it for general use. I\'m just starting to dig into qt and config parser. You can take a look at what I\'ve got at the moment here:

http://mlmitton.com/~mlmitton/files/playlist2htmlTEST1.py
User avatar
eean
KDE Developer
Posts
1016
Karma
0
OS

Re:Now Playing Script

Mon Apr 11, 2005 8:04 am
If you add a PyKDE dep you could easily get it to upload the file for you. Then it would be just a stone throws from Uplisting, so I\'m sure thats not the point.

I found that using a scripting language was a good way to learn Qt/KDE since you don\'t have to deal with some of the rough parts of C++. Of course, in python its quite ugly ;).


Amarok Developer


Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], markhm, Sogou [Bot], Yahoo [Bot]