[prev in list] [next in list] [prev in thread] [next in thread] 

List:       amarok-devel
Subject:    How to get the playableUrl only when the track is about to be played?
From:       Dirley <dirleyrls () gmail ! com>
Date:       2012-01-13 11:15:58
Message-ID: CAE-a=uii=r7-=jc-eOZ8NAmJ6NQXyodHJhphLZ218kRBTTdiYA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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

[Attachment #5 (text/html)]

<div style><div>Hello, there.</div><div><br></div><div>I&#39;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&#39;t have a &quot;playable url&quot;. I have to ask the service a url f=
or each track I want to play. How would I do that on Amarok?</div>
<div><br></div><div>I&#39;ve considered using the MultiSourceCapability, bu=
t it didnt work, since the &quot;first&quot; 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.</div>
</div><div style><br></div><div style>So I&#39;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?</div><div><br></div>- D<br>


_______________________________________________
Amarok-devel mailing list
Amarok-devel@kde.org
https://mail.kde.org/mailman/listinfo/amarok-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic