From amarok-devel Fri Jan 13 11:15:58 2012 From: Dirley Date: Fri, 13 Jan 2012 11:15:58 +0000 To: amarok-devel Subject: How to get the playableUrl only when the track is about to be played? Message-Id: X-MARC-Message: https://marc.info/?l=amarok-devel&m=132653414321874 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0306548191682586486==" --===============0306548191682586486== Content-Type: multipart/alternative; boundary=f46d0438929143161004b666fdb0 --f46d0438929143161004b666fdb0 Content-Type: text/plain; charset=ISO-8859-1 Hello, there. I've been hacking into Amarok, trying to add an internet service. Turns out that my service is a little bit... uncommon. When the tracks come from the service, they don't have a "playable url". I have to ask the service a url for each track I want to play. How would I do that on Amarok? I've considered using the MultiSourceCapability, but it didnt work, since the "first" url is always invalid, so the engine skips the song. The MultiPlayableCapability almost works, since the engine do wait for the first source to be fetched. So I'm missing something? Is it feasible or should I give up and run a http server inside my service that redirects to the playable url? - D --f46d0438929143161004b666fdb0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello, there.

I've been hackin= g into Amarok, trying to add an internet service. Turns out that my service= is a little bit... uncommon. When the tracks come from the service, they d= on't have a "playable url". I have to ask the service a url f= or each track I want to play. How would I do that on Amarok?

I've considered using the MultiSourceCapability, bu= t it didnt work, since the "first" url is always invalid, so the = engine skips the song.=A0The MultiPlayableCapability almost works, since th= e engine do wait for the first source to be fetched.

So I'm missing something? Is it f= easible or should I give up and run a http server inside my service that re= directs to the playable url?

- D
--f46d0438929143161004b666fdb0-- --===============0306548191682586486== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Amarok-devel mailing list Amarok-devel@kde.org https://mail.kde.org/mailman/listinfo/amarok-devel --===============0306548191682586486==--