makv wrote: 
> 
> > erland wrote: 
> > I just noticed that the central repositories still tries to retrieve the
> > repository data from
> > http://www.whizziwig.com/static/squeezecloud/public.xml which is no
> > longer available.
> > Should we switch to instead retrieve the repository from
> > http://grobbie.github.io/SqueezeCloud/public.xml ?
> > 
> > The result of switching would be that users doesn't have to manually add
> > the repository to LMS Settings/Plugins> > 
> 
> Yes, I think we should do that. It would also be useful if someone
> could make a code change to avoid folk having to do what I mentioned
> in my previous post.

Looking at this one more time, it seems like the move to github just
moved it to another place where it isn't maintained, so I'm not sure
it's worth to switch the official url to a new place unless someone with
write access maintains the source code in the new place. Currently this
doesn't seems to be the case as it hasn't been modified for 6 months and
still has broken access token logic.

If someone is really interested in maintaining the SoundCloud plugin, I
suggest that you fork either https://github.com/blackmad/squeezecloud or
https://github.com/grobbie/SqueezeCloud on github and make the necessary
corrections to make the access token retrieval/registration to work and
after that has been done we can add it to the official repository urls.

I don't want to do it myself since SoundCloud is one of the services we
are investigating in the ickStream Music Platform project, so I
personally prefer to spend any time related to SoundCloud integration in
ickStream rather than doing something temporary in this plugin and later
have to redo the same work also in ickStream.

However, what needs to be done for the access token stuff to work is
basically the following (this is an instruction to any developer
interested to take over the maintenance, it's NOT an instruction to
normal users):
1. The person who decides to maintain the plugin have to register a new
app at http://developer.soundcloud.com/
2. The redirect url needs to be configured correctly in the app
settings, I think it should work if you point it to a
https://raw.github.com/..../callback.html url. In the current github
repository, you will find it by navigating to
https://github.com/grobbie/SqueezeCloud/blob/master/webauth/callback.html
and pushing the "Raw" button. I'm not 100% sure it will work since the
MIME type from github is set to plain/text instead of html/text for raw
urls, so there is a risk you need to publish the callback.html as a
'Github Pages page' (http://pages.github.com/) or even on your own
server for it to work.
3. The client_id in the plugin needs to be changed to point to the new
app and the redirect_url in the plugin needs to be changed to point to
the url from point 2 above. These exists at least in
webauth/soundcloud.html,
HTML/EN/plugins/SqueezeCloud/settings/basic.html and Plugin.pm

There might be more changes than these needed, but I think the above is
a bare minimum for us to consider adding it to the official repository
urls.



Erland Isaksson ('My homepage' (http://erland.isaksson.info))
(Developer of 'many plugins/applets (both free and commercial)'
(http://wiki.slimdevices.com/index.php/User:Erland). 
If you like to encourage future presence on this forum and/or third
party plugin/applet development, 'consider purchasing some plugins'
(http://license.isaksson.info))
You may also want to try my Android apps 'Squeeze Display'
(https://play.google.com/store/apps/details?id=info.isaksson.squeezedisplay)
and 'RSS Photo Show'
(https://play.google.com/store/apps/details?id=info.isaksson.rssphotoshow)
*Interested in the future of music streaming ? 'ickStream -  A world of
music at your fingertips'
(http://forums.slimdevices.com/showthread.php?98467-Pre-Announcement-ickStream&p=743516)*.
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=92723

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to